Function at 0x40e78c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc5c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x40e888
lea eax, [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x40e847
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x40e823
push 1
push 0x469a
call fcn.0040ea28
pop ecx
pop ecx
jmp 0x40e845
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
push 0
push dword [ebp - 0x34]
push dword [ebp - 0xb4]
call fcn.0041f06a
add esp, 0xc
jmp 0x40e883
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
push 1
push 0x3bde
push 0x4e58
push dword [ebp - 0x44]
push 0x7688
push 0x7a9
push 0
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
push eax
call fcn.0041b52d
add esp, 0x20
jmp 0x40ea17
lea eax, [ebp + 0xc]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x40ea09
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x40e955
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x40e939
push 0
push 0x2358
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x40e950
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push dword [eax]
call fcn.004b69fa
pop ecx
jmp 0x40ea07
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x40e9e4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
and dword [ebp - 4], 0
push dword [ebp - 0x98]
push dword [ebp - 0xa0]
push 0
push 0x129c
push 0x3214
call fcn.00409e58
add esp, 0x14
jmp 0x40e9d8
or dword [ebp - 4], 0xffffffff
jmp 0x40e9e2
jmp 0x40ea07
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
and dword [eax], 0
jmp 0x40ea17
push 0x910
push 0
call fcn.0041a919
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret