Function at 0x467720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7552
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
call fcn.00458810
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [edx], ax
jne 0x46778e
xor ecx, ecx
jmp 0x4677a2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467793
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004393e0
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x9c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4677d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0048d390
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x4677f1
push 0xffffffffffffffff
push 0
push eax
call fcn.00439070
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x46780a
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00433850
push str.Info.ini
lea ecx, [ebp - 0x44]
call fcn.0048d880
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x46782c
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x90], esi
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov ecx, 1
mov eax, dword [esi - 8]
cmovae ebx, dword [ebp - 0x44]
sub eax, 0x105
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x467873
push 0x105
lea ecx, [ebp - 0x90]
call fcn.0041cbd0
mov esi, dword [ebp - 0x90]
push ebx
push 0x104
push esi
push 0x4ec230
push 0x4f7bbc
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.004aa82a
add esp, 8
test eax, eax
js 0x467c0f
cmp eax, dword [esi - 8]
jg 0x467c0f
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x467bbe
lea ecx, [ebp - 0x94]
call fcn.00458810
mov byte [ebp - 4], 5
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [edx], ax
jne 0x4678ec
xor ecx, ecx
jmp 0x467900
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4678f1
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004393e0
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46792b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048d390
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp ecx, eax
je 0x46794c
push 0xffffffffffffffff
push 0
push eax
call fcn.00439070
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x467965
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00433850
push esi
lea ecx, [ebp - 0x2c]
call fcn.0048d880
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004ae3cc
add esp, 8
cmp eax, 0xffffffff
je 0x467ba9
cmp dword [ebp - 0x30], 8
lea ebx, [ebp - 0x44]
mov eax, dword [esi - 8]
mov ecx, 1
cmovae ebx, dword [ebp - 0x44]
sub eax, 0x105
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x4679c2
push 0x105
lea ecx, [ebp - 0x90]
call fcn.0041cbd0
mov esi, dword [ebp - 0x90]
push ebx
push 0x104
push esi
push 0x4ec230
push str.PacketExe
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.004aa82a
add esp, 8
test eax, eax
js 0x467c0f
cmp eax, dword [esi - 8]
jg 0x467c0f
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x5c]
push esi
call fcn.004388e0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.0048d1c0
lea ecx, [ebp - 0x94]
call fcn.00458810
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
push dword [eax]
call fcn.004388e0
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x467a53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0048c8f0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x467a77
push 0xffffffffffffffff
push 0
push eax
call fcn.00439070
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x467a96
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00433850
lea ecx, [ebp - 0x74]
call fcn.0048d1c0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x98]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0041c9e0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x60], 8
jb 0x467ad0
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x467ad3
push 0x80004005
call fcn.0041ce60
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x98]
call fcn.004aa58e
add esp, 8
test eax, eax
jne 0x467b4a
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push 0
push str.PacketDataType
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x467b15
mov eax, dword [ebp - 0xa0]
mov dword [eax + 8], 1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.CheckExeFile_Defence_Data:__ws
push 0x515408
call fcn.0048be90
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0041cdf0
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x467b6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x467b80
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x467ba9
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00433850
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x467bbe
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00433850
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x467bd7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x467bec
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00433850
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0041ce60
int3