Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void sub_616268()
- {
- int v0; // eax@1
- DWORD v1; // eax@2
- unsigned int v2; // edi@7
- int *v3; // esi@8
- int v4; // eax@20
- char v5; // [sp+Ch] [bp-24h]@6
- unsigned int v6; // [sp+1Ch] [bp-14h]@7
- char v7; // [sp+23h] [bp-Dh]@6
- int v8; // [sp+2Ch] [bp-4h]@6
- char v9; // [sp+30h] [bp+0h]@7
- char Dst; // [sp+31h] [bp+1h]@7
- v0 = sub_4C9CF9();
- if ( !(unsigned __int8)sub_5D3AE0(v0) )
- return;
- v1 = timeGetTime();
- if ( byte_A4CD90 || v1 - dword_A56470 < dword_A56474 + 1800000 )
- goto LABEL_18;
- if ( (unsigned __int8)sub_67D1D2(cp) )
- {
- sub_40BE37();
- sub_6A4419(7, 0, 0, 0, 0);
- }
- CFile::CFile(&v5);
- v8 = 0;
- v7 = 1;
- if ( !CFile::Open((CFile *)&v5, "server.dat", 0x8000u, 0) )
- goto LABEL_16;
- v9 = 0;
- memset(&Dst, 0, 0x3FFu);
- v2 = 0;
- v6 = CFile::Read((CFile *)&v5, &v9, 0x400u);
- if ( (signed int)v6 <= 0 )
- goto LABEL_15;
- while ( 1 )
- {
- v3 = (int *)(&v9 + v2);
- if ( !IsDBCSLeadByte(*(&v9 + v2)) )
- break;
- ++v2;
- LABEL_12:
- ++v2;
- if ( (signed int)v2 >= (signed int)v6 )
- goto LABEL_15;
- }
- if ( isprint(*(_BYTE *)v3) || isspace(*(_BYTE *)v3) )
- goto LABEL_12;
- v7 = 0;
- LABEL_15:
- CFile::Close((CFile *)&v5);
- if ( v7 )
- {
- LABEL_16:
- sub_40BE37();
- sub_6A4419(16, 0, 0, 0, 0);
- }
- byte_A4CD90 = 1;
- v8 = -1;
- CFile::~CFile((CFile *)&v5);
- LABEL_18:
- if ( byte_A4CDA0 )
- {
- sub_40BE37();
- sub_6A4419(14, 0, 0, 0, 0);
- byte_A4CDA0 = 0;
- }
- v4 = sub_61534A();
- sub_6B7CEF(v4);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement