Function at 0x45d0d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6700
mov eax, dword fs:[0]
push eax
sub esp, 0x58
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 edi, ecx
mov eax, dword [ebp + 8]
lea ebx, [edi + 0x68]
xor esi, esi
push ebx
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call fcn.0046a3a0
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
jne 0x45d32c
lea ecx, [ebp - 0x4c]
call fcn.00458810
mov dword [ebp - 4], esi
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp word [edx], ax
jne 0x45d149
xor ecx, ecx
jmp 0x45d161
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x48], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d151
sub ecx, dword [ebp - 0x48]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004393e0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d18a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048d390
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x45d1ab
push 0xffffffffffffffff
push 0
push eax
call fcn.00439070
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x45d1c4
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0x30], 7
push str.Info.ini
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
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
jne 0x45d227
mov eax, dword [edi]
mov ecx, edi
push 0x17
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x45d37e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00433850
jmp 0x45d37e
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x45d23c
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov ecx, 1
cmovae eax, dword [ebp - 0x2c]
sub ecx, dword [esi - 4]
mov dword [ebp - 0x50], eax
mov eax, dword [esi - 8]
sub eax, 0x105
or eax, ecx
jge 0x45d27d
push 0x105
lea ecx, [ebp - 0x48]
call fcn.0041cbd0
mov esi, dword [ebp - 0x48]
push dword [ebp - 0x50]
push 0x104
push esi
push 0x4ec230
push str.PacketVersion
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 0x45d35b
cmp eax, dword [esi - 8]
jg 0x45d35b
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x4f52ac
push 0x515408
mov word [esi + eax*2], cx
call fcn.0048be90
add esp, 8
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.0041c740
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d2fa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x45d316
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor esi, esi
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push str._u._u._u._u
push dword [ebx]
call fcn.004673c0
add esp, 0x18
cmp eax, 4
je 0x45d365
mov eax, dword [edi]
mov ecx, edi
push 0x18
call dword [eax + 0x1c]
jmp 0x45d37e
push 0x80070057
call fcn.0041ce60
push dword [ebx]
mov esi, 1
push 0x4f52d4
push 0x515408
call fcn.0048be90
add esp, 0xc
mov eax, esi
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