Function at 0x4044e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x456ea4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.00406900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00406900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00406900
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406a30
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00406b40
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406a30
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406b40
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406a30
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406b40
mov ecx, dword [ebp + 0x14]
call fcn.00407310
lea ecx, [ebp - 0x24]
call fcn.00406900
mov byte [ebp - 4], 3
push str.__GetProfString:
lea ecx, [ebp - 0x24]
call fcn.00406a30
mov eax, dword [ebp + 0x10]
push eax
push 0x443ebc
mov ecx, dword [ebp + 0xc]
push ecx
push str.____
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00405f60
add esp, 0xc
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.00405f60
add esp, 0xc
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.00405f60
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00405f60
add esp, 0xc
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00405f60
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406a00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.004069e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.004069e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.004069e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call fcn.004069e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.004069e0
push 0
lea ecx, [ebp - 0x18]
call fcn.00406ab0
push eax
push 0x800
push 0x800
mov ecx, dword [ebp + 0x14]
call fcn.00406ae0
push eax
push 0x442630
push 0
lea ecx, [ebp - 0x20]
call fcn.00406ab0
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.00406ab0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x14]
call fcn.00406b40
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x14], 0x7ff
je 0x40471f
cmp dword [ebp - 0x14], 0x7fe
jne 0x404728
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x40473a
mov ecx, dword [ebp + 0x14]
call fcn.00406b20
test eax, eax
jle 0x40473a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004069e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004069e0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret