Function at 0x59b840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9046
mov eax, dword fs:[0]
push eax
sub esp, 0x8d8
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8d4], ecx
mov dword [ebp - 0x8d8], 0
mov eax, dword [ebp - 0x8d4]
add eax, 0xc
push eax
lea ecx, [ebp - 0x840]
call fcn.0042f050
mov dword [ebp - 4], 0
push str.MiNi
lea ecx, [ebp - 0x858]
call fcn.004276b0
mov byte [ebp - 4], 1
push str.MiNiNews
lea ecx, [ebp - 0x888]
call fcn.004276b0
mov byte [ebp - 4], 2
push 0x60c978
lea ecx, [ebp - 0x870]
call fcn.004276b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x888]
push ecx
lea edx, [ebp - 0x870]
push edx
lea eax, [ebp - 0x840]
push eax
call fcn.004b7c9c
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x870]
call fcn.00427660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x888]
call fcn.00427660
push str.Config.ini
lea ecx, [ebp - 0x840]
call fcn.00427600
xor ecx, ecx
mov word [ebp - 0x810], cx
push 0x7fe
push 0
lea edx, [ebp - 0x80e]
push edx
call fcn.004d7c10
add esp, 0xc
lea ecx, [ebp - 0x840]
call fcn.004275c0
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x828]
call fcn.004276b0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x828]
call fcn.004275c0
push eax
call fcn.004d93a0
add esp, 8
test eax, eax
jne 0x59bab0
mov eax, dword [ebp - 0x8d4]
movzx ecx, byte [eax + 1]
test ecx, ecx
je 0x59ba66
push 0x60c9a4
mov edx, dword [ebp - 0x8d4]
add edx, 0xcc
push edx
call fcn.00432d10
add esp, 8
movzx eax, al
test eax, eax
je 0x59ba08
lea ecx, [ebp - 0x8a0]
push ecx
call fcn.004b523c
add esp, 4
mov dword [ebp - 0x8dc], eax
mov edx, dword [ebp - 0x8dc]
push edx
mov ecx, dword [ebp - 0x8d4]
add ecx, 0xcc
call fcn.00430d70
lea ecx, [ebp - 0x8a0]
call fcn.00427660
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x8d4]
add ecx, 0xcc
call fcn.004275c0
push eax
lea ecx, [ebp - 0x858]
call fcn.004275c0
push eax
lea eax, [ebp - 0x8b8]
push eax
call fcn.004b646a
add esp, 0x18
mov dword [ebp - 0x8e0], eax
mov ecx, dword [ebp - 0x8e0]
push ecx
lea ecx, [ebp - 0x828]
call fcn.00430d70
lea ecx, [ebp - 0x8b8]
call fcn.00427660
jmp 0x59bab0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x858]
call fcn.004275c0
push eax
lea edx, [ebp - 0x8d0]
push edx
call fcn.004b67dc
add esp, 0x14
mov dword [ebp - 0x8e4], eax
mov eax, dword [ebp - 0x8e4]
push eax
lea ecx, [ebp - 0x828]
call fcn.00430d70
lea ecx, [ebp - 0x8d0]
call fcn.00427660
lea ecx, [ebp - 0x828]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042ef80
mov edx, dword [ebp - 0x8d8]
or edx, 1
mov dword [ebp - 0x8d8], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00427660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x858]
call fcn.00427660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00427660
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret 0x10