Function at 0x437520
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x604106
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x437556
jmp 0x43781c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x65c]
call fcn.0040aca0
mov dword [ebp - 4], 0
mov dword [ebp - 0x660], 0x280000
push 0x500000
call fcn.00536dfd
add esp, 4
mov dword [ebp - 0x648], eax
mov ecx, dword [ebp - 0x648]
mov dword [ebp - 0x638], ecx
push 0x500000
push 0
mov edx, dword [ebp - 0x638]
push edx
call fcn.0058a9f0
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0058a9f0
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0058a9f0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x628]
push edx
call fcn.0058a9f0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x63c]
call fcn.0040aca0
mov byte [ebp - 4], 1
push 0x65368c
lea ecx, [ebp - 0x63c]
call fcn.00414c20
lea ecx, [ebp - 0x63c]
call fcn.0040f210
push eax
push 0x280000
mov ecx, dword [ebp - 0x638]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x634], 0
jmp 0x43765f
mov edx, dword [ebp - 0x630]
add edx, 1
mov dword [ebp - 0x630], edx
mov eax, dword [ebp - 0x630]
cmp eax, dword [ebp - 0x64c]
jae 0x4377e0
mov ecx, dword [ebp - 0x630]
mov edx, dword [ebp - 0x638]
movzx eax, word [edx + ecx*2]
test eax, eax
jne 0x4377ae
mov ecx, dword [ebp - 0x634]
shl ecx, 1
mov dword [ebp - 0x644], ecx
cmp dword [ebp - 0x644], 0x208
jae 0x4376a5
jmp 0x4376aa
call fcn.00536f27
xor edx, edx
mov eax, dword [ebp - 0x644]
mov word [ebp + eax - 0x218], dx
mov dword [ebp - 0x634], 0
lea ecx, [ebp - 0x63c]
call fcn.0040f210
push eax
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
push str.path
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x420]
test edx, edx
je 0x4377ac
mov eax, dword [ebp + 8]
mov dword [ebp - 0x62c], eax
mov ecx, dword [ebp - 0x62c]
add ecx, 2
mov dword [ebp - 0x650], ecx
mov edx, dword [ebp - 0x62c]
mov ax, word [edx]
mov word [ebp - 0x63e], ax
add dword [ebp - 0x62c], 2
cmp word [ebp - 0x63e], 0
jne 0x437720
mov ecx, dword [ebp - 0x62c]
sub ecx, dword [ebp - 0x650]
sar ecx, 1
mov dword [ebp - 0x654], ecx
mov edx, dword [ebp - 0x654]
shl edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x628]
push ecx
call fcn.004373d0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x63c]
call fcn.0040f210
push eax
lea ecx, [ebp - 0x628]
push ecx
push 0x6536ac
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4377db
mov eax, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x630]
mov edx, dword [ebp - 0x638]
mov cx, word [edx + ecx*2]
mov word [ebp + eax*2 - 0x218], cx
mov edx, dword [ebp - 0x634]
add edx, 1
mov dword [ebp - 0x634], edx
jmp 0x437650
mov eax, dword [ebp - 0x638]
mov dword [ebp - 0x658], eax
mov ecx, dword [ebp - 0x658]
push ecx
call fcn.00536df8
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x63c]
call fcn.0040ac80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x65c]
call fcn.0040ac80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret