Function at 0x4050b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436af7
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x446f30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
add ecx, 4
call fcn.004046b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa0]
add ecx, 0x2c
call fcn.004046b0
mov byte [ebp - 4], 2
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004361a2
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00403ec0
sub eax, 1
push eax
lea ecx, [ebp + 0xc]
call fcn.00403e90
movsx edx, byte [eax]
cmp edx, 0x5c
jne 0x405185
lea ecx, [ebp + 0xc]
call fcn.00403ec0
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0xc]
call fcn.00403f50
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp + 0xc]
call fcn.00403e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00404760
lea eax, [ebp + 0xc]
push eax
push 0x439dd4
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004046e0
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00405df0
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00404520
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 4
call fcn.00403e20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.00404760
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
call fcn.00404760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00404760
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp + 8]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0xa0]
mov byte [ecx + 2], 0
lea edx, [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x2c
call fcn.00403e20
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp + 0x28]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0xa0]
mov al, byte [ebp + 0x2c]
mov byte [edx], al
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx]
test edx, edx
je 0x4052ae
push 0
push 0x439dd8
lea ecx, [ebp + 0xc]
call fcn.00405dc0
cmp eax, 0xffffffff
jne 0x4052fa
mov eax, dword [ebp - 0xa0]
add eax, 0x20
push eax
push 0xf003f
push 0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x2c
call fcn.00404780
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4052ee
mov eax, dword [ebp - 0xa0]
mov byte [eax + 1], 1
jmp 0x4052f8
mov ecx, dword [ebp - 0xa0]
mov byte [ecx + 1], 0
jmp 0x405345
push 3
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00421900
add esp, 0xc
mov ecx, 0x4482e8
call fcn.00404780
push eax
push 3
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 4
call fcn.00404780
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp - 0x28], eax
xor ecx, ecx
cmp ecx, dword [ebp - 0x28]
sbb edx, edx
neg edx
mov eax, dword [ebp - 0xa0]
mov byte [eax + 1], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404760
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421364
mov esp, ebp
pop ebp
ret 0x28