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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481b58
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4a5018]
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 ebx, dword [ebp + 8]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x21c], 0
call fcn.00419f20
mov dword [ebp - 4], 0
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x447892
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x447b90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x492e10
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004067d0
test al, al
jne 0x447864
push 0
push 0x492e10
mov ecx, ebx
call fcn.004069d0
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 0x447b70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x447b70
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x447b90
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 - 0x228], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x447b9a
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.004067d0
test al, al
jne 0x447906
push 5
push str.InsTM
lea ecx, [ebp - 0x224]
call fcn.004069d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406910
lea edi, [eax + 0x10]
mov dword [ebp - 0x22c], edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004573c0
mov ebx, dword [0x4aaa7c]
add esp, 0xc
test ebx, ebx
je 0x44794b
lock inc dword [ebx + 4]
mov ebx, dword [0x4aaa7c]
mov ecx, dword [0x4aaa78]
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x228]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
push edi
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x492c60
push dword [ebp - 0x224]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x228]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4479b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
test ebx, ebx
je 0x4479d7
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4479d7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4479d7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [ebp - 0x22c]
mov eax, 0x2a
add ebx, 0xfffffff0
cmp ax, word [ebp - 0x218]
je 0x447ab9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447a00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.004069d0
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x447a3a
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 0x447a5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
add esi, 0xfffffff0
mov ecx, esi
call fcn.00406910
mov ebx, dword [ebp - 0x230]
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [ebx], eax
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x447a8e
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 0x447b70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x447b70
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x447ad1
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 0x447af2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x447ba4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x230]
add eax, 0x10
mov dword [ebx], eax
push 0x492e10
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.004067d0
test al, al
jne 0x447b33
push 0
push 0x492e10
mov ecx, ebx
call fcn.004069d0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x447b4e
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 0x447b70
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.00454d47
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
int3