Function at 0x45eac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9f31
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x6319d0]
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 ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push eax
push 0x3e8
lea eax, [ebp - 0x5ec]
push eax
push ecx
mov dword [ebp - 0x610], edx
xor ebx, ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp - 0x614], eax
cmp eax, ebx
jle 0x45ed9d
xor edi, edi
mov dword [ebp - 0x600], edi
mov dword [ebp - 0x5f8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x60c], ebx
mov dword [ebp - 0x604], ebx
mov dword [ebp - 0x62c], ebx
mov dword [ebp - 0x624], ebx
mov dword [ebp - 0x620], ebx
mov dword [ebp - 0x618], ebx
mov byte [ebp - 4], 2
mov byte [ebp + eax - 0x5ec], 0
mov dword [ebp - 0x5f4], ebx
mov ecx, dword [ebp - 0x5f4]
mov al, byte [ebp + ecx - 0x5ec]
test al, al
je 0x45eba5
lea edx, [ebp - 0x5f0]
push edx
lea ecx, [ebp - 0x600]
mov byte [ebp - 0x5f0], al
mov byte [ebp - 0x5ef], 0
call fcn.00404960
mov edi, dword [ebp - 0x600]
jmp 0x45ed2c
push 0x5d36cc
push edi
call fcn.0059ade0
add esp, 8
cmp eax, ebx
je 0x45ed25
sub eax, edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45ed23
mov eax, dword [ebp - 0x5f8]
cmp ebx, eax
jae 0x45ebf5
mov esi, dword [ebp - 0x5fc]
add eax, 5
push eax
push 0
push esi
call fcn.00599fb0
push ebx
push edi
push esi
call fcn.0059ae70
add esp, 0x18
mov byte [esi + ebx], 0
mov edi, esi
push edi
lea ecx, [ebp - 0x60c]
call fcn.004048c0
lea ecx, [ebp - 0x60c]
call fcn.004335d0
lea ecx, [ebp - 0x60c]
call fcn.00433680
mov esi, dword [ebp - 0x60c]
lea edx, [ebp - 0x204]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45ec27
lea eax, [ebp - 0x204]
push eax
call fcn.0045b060
add esp, 4
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x62c]
call fcn.004048c0
inc ebx
push ebx
push 0
lea ecx, [ebp - 0x600]
call fcn.00433760
lea ecx, [ebp - 0x600]
call fcn.004335d0
lea ecx, [ebp - 0x600]
call fcn.00433680
mov edi, dword [ebp - 0x600]
lea edx, [ebp - 0x204]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45ec87
lea edx, [ebp - 0x204]
push edx
call fcn.0045b060
add esp, 4
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x620]
call fcn.004048c0
lea ecx, [ebp - 0x62c]
push ecx
mov ecx, dword [ebp - 0x610]
call fcn.0045d920
call fcn.0046d4f0
test eax, eax
je 0x45ecf1
push esi
push str.INIData.ksParm0___s_n
push 0x68acb0
call fcn.00599ee3
add esp, 0xc
push 0x68acb0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d4f0
test eax, eax
je 0x45ed1e
push edi
push str.INIData.ksParm1___s_n
push 0x68abb0
call fcn.00599ee3
add esp, 0xc
push 0x68abb0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov esi, 1
xor ebx, ebx
cmp edi, ebx
je 0x45ed2c
mov byte [edi], 0
mov eax, dword [ebp - 0x5f4]
mov edx, eax
inc eax
mov dword [ebp - 0x5f4], eax
cmp edx, dword [ebp - 0x614]
jl 0x45eb6a
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 1
call fcn.00404dd0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x60c], ebx
je 0x45ed7d
mov eax, dword [ebp - 0x608]
push eax
call fcn.004a6dca
mov ecx, dword [ebp - 0x60c]
push ecx
call fcn.004a6dca
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x45ed9d
mov edx, dword [ebp - 0x5fc]
push edx
call fcn.004a6dca
push edi
call fcn.004a6dca
add esp, 8
mov eax, esi
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.00599ed4
mov esp, ebp
pop ebp
ret 0xc