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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf8cd
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5000a8]
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.00476d50
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45a8ac
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x45ab79
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x228]
add eax, 0x10
mov dword [ebx], eax
push 0x4e524c
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00404690
test al, al
jne 0x45a87e
push 0
push 0x4e524c
mov ecx, ebx
call fcn.00404960
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 0x45ab59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ab59
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x45ab79
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.00404d30
mov ecx, eax
test ecx, ecx
je 0x45ab83
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.00404690
test al, al
jne 0x45a920
push 5
push str.InsTM
lea ecx, [ebp - 0x224]
call fcn.00404960
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
push eax
call fcn.00404470
lea edi, [eax + 0x10]
mov dword [ebp - 0x230], edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049edd0
mov ebx, dword [0x51539c]
add esp, 0x10
test ebx, ebx
je 0x45a966
lock inc dword [ebx + 4]
mov ebx, dword [0x51539c]
mov ecx, dword [0x515398]
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 + 0xec]
push edi
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x4e9ee8
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 0x45a9cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
test ebx, ebx
je 0x45a9f2
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x45a9f2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x45a9f2
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 0x45aad1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aa16
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00404960
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x45aa50
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 0x45aa71
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.00404470
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 0x45aaa6
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 0x45ab59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ab59
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x45aae9
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 0x45ab0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x228]
mov ecx, ebx
push 0x4e524c
call fcn.00404a60
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ab37
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 0x45ab59
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.0049d3ed
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b10
push 0x80004005
call fcn.00404b10
int3