Function at 0x459c70
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce11d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x21c], 0
call fcn.004748d0
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459d4c
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45a019
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x228]
add eax, 0x10
mov dword [ebx], eax
push 0x4e2530
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004046b0
test al, al
jne 0x459d1e
push 0
push 0x4e2530
mov ecx, ebx
call fcn.00404980
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459ff9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x459ff9
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45a019
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 2
mov dword [ebp - 0x22c], eax
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45a023
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.InsTM
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.004046b0
test al, al
jne 0x459dc0
push 5
push str.InsTM
lea ecx, [ebp - 0x224]
call fcn.00404980
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
push eax
call fcn.00404490
lea edi, [eax + 0x10]
mov dword [ebp - 0x230], edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049edc0
mov ebx, dword [0x51350c]
add esp, 0x10
test ebx, ebx
je 0x459e06
lock inc dword [ebx + 4]
mov ebx, dword [0x51350c]
mov ecx, dword [0x513508]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], ebx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x22c]
mov eax, dword [ecx]
push edx
call dword [eax + 0xf4]
push edi
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x4e719c
push dword [ebp - 0x224]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x22c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459e6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
test ebx, ebx
je 0x459e92
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x459e92
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x459e92
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [ebp - 0x230]
mov eax, 0x2a
add ebx, 0xfffffff0
cmp ax, word [ebp - 0x218]
je 0x459f71
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459eb6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00404980
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x459ef0
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459f11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
add esi, 0xfffffff0
push esi
call fcn.00404490
mov ebx, dword [ebp - 0x228]
add eax, 0x10
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebx], eax
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x459f46
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x459ff9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x459ff9
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x459f89
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459faa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x228]
mov ecx, ebx
push 0x4e2530
call fcn.00404a80
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x459fd7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x459ff9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
int3