Function at 0x4089a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42b82b
push eax
mov dword fs:[0], esp
sub esp, 0x3f0
mov edx, dword [esp + 0x404]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
lea eax, [esi + 0x20c]
push eax
mov eax, dword [esp + 0x408]
push 0x3e8
push ecx
push 0x43a370
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
test al, al
jne 0x4089f9
xor eax, eax
jmp 0x408c82
lea ecx, [esp + 0xc]
push edi
push ecx
lea ecx, [esp + 0x10]
call fcn.0041fa47
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x40c], 0
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
mov edi, dword [esp + 0x414]
add esp, 4
lea ecx, [esp + 8]
mov dword [edi], eax
call fcn.0041f9d9
lea ecx, [esp + 0x10]
push 1
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov dword [edi + 4], eax
call fcn.0041f9d9
lea eax, [esp + 0x10]
push 2
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov dword [edi + 8], eax
call fcn.0041f9d9
lea edx, [esp + 0x10]
push 3
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov dword [edi + 0xc], eax
call fcn.0041f9d9
lea ecx, [esp + 0x10]
push 4
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov dword [edi + 0x10], eax
call fcn.0041f9d9
lea eax, [esp + 0x10]
push 5
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov byte [edi + 0x14], al
call fcn.0041f9d9
lea edx, [esp + 0x10]
push 6
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov byte [edi + 0x15], al
call fcn.0041f9d9
lea ecx, [esp + 0x10]
push 7
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov byte [edi + 0x16], al
call fcn.0041f9d9
lea eax, [esp + 0x10]
push 8
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov byte [edi + 0x17], al
call fcn.0041f9d9
lea edx, [esp + 0x10]
push 9
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov byte [edi + 0x18], al
call fcn.0041f9d9
lea ecx, [esp + 0x10]
push 0xa
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov byte [edi + 0x19], al
call fcn.0041f9d9
lea eax, [esp + 0x10]
push 0xb
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov byte [edi + 0x1a], al
call fcn.0041f9d9
lea edx, [esp + 0x10]
push 0xc
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push eax
call fcn.00411c26
add esp, 4
lea ecx, [esp + 8]
mov byte [edi + 0x1b], al
call fcn.0041f9d9
lea ecx, [esp + 0x10]
push 0xd
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.00408d70
mov eax, dword [eax]
push 0x1f
add edi, 0x1c
push eax
push edi
call fcn.00411a52
add esp, 0xc
lea ecx, [esp + 8]
call fcn.0041f9d9
lea ecx, [esp + 0xc]
mov dword [esp + 0x400], 0xffffffff
call fcn.0041f9d9
mov eax, 1
pop edi
mov ecx, dword [esp + 0x3f4]
pop esi
mov dword fs:[0], ecx
add esp, 0x3fc
ret 0xc