Function at 0x40e622
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4afd64
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x4dfb64]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push esi
push edi
mov eax, dword [0x4dfb64]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [0x4e7270]
mov dword [esp + 0x24], eax
mov eax, dword [0x4e7264]
push eax
call fcn.0048bd30
test eax, eax
pop ecx
je 0x40e8cf
push esi
call fcn.0048bd30
test eax, eax
pop ecx
je 0x40e8cf
call fcn.0042efa9
mov esi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push 0xf
pop edi
xor ebx, ebx
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
call fcn.0040675d
mov dword [esp + 0x218], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x218], 1
call fcn.0042fec3
push 1
push ebx
add esi, 0x20
push esi
lea ecx, [esp + 0xc0]
mov byte [esp + 0x224], 2
call fcn.0042ff0b
lea ecx, [esp + 0xb4]
call fcn.0042fe4f
mov esi, eax
cmp esi, ebx
jbe 0x40e740
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.0040e968
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x40e721
lea eax, [esp + 0x2c]
push esi
push eax
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xbc]
call dword [eax + 0x28]
lea ecx, [esp + 0xb4]
call fcn.0042ffb8
cmp byte [0x4e6d65], bl
push 1
lea ecx, [esp + 0xb8]
push ebx
je 0x40e759
push str.srvflist.xml
jmp 0x40e75e
push str.flist.xml
call fcn.0042ff0b
test al, al
je 0x40e7a6
lea ecx, [esp + 0xb4]
call fcn.0042fe4f
mov esi, eax
cmp esi, ebx
jbe 0x40e79a
push ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.004084ef
mov eax, dword [esp + 0xb4]
push esi
push dword [esp + 0x1c]
lea ecx, [esp + 0xbc]
call dword [eax + 0x28]
lea ecx, [esp + 0xb4]
call fcn.0042ffb8
push ebx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], edi
call fcn.0040675d
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], edi
call fcn.0040675d
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x21c], 4
call fcn.0042f167
mov byte [esp + 0x21c], 5
lea eax, [esp + 0x80]
mov dword [esp], str.Config.ini
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040664a
add esp, 0xc
mov byte [esp + 0x218], 6
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x40e815
lea eax, [esp + 0x64]
push eax
push ebx
push str.ForceCrash
push str.other
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0x270f
lea ecx, [esp + 0x44]
jne 0x40e839
push 0x4ca0c8
jmp 0x40e83e
push 0x4ca0d4
call fcn.00406de9
cmp dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x2c]
jae 0x40e852
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x40e861
lea eax, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x1c]
call fcn.0040e213
pop ecx
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x68]
call fcn.004068b9
push ebx
push esi
lea ecx, [esp + 0x84]
call fcn.004068b9
push ebx
push esi
lea ecx, [esp + 0x4c]
call fcn.004068b9
push ebx
push esi
lea ecx, [esp + 0xa0]
call fcn.004068b9
lea ecx, [esp + 0xb4]
mov byte [esp + 0x218], 1
call fcn.0043000c
lea ecx, [esp + 0x14]
call fcn.00407ed4
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.004068b9
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.0048b5ab
mov esp, ebp
pop ebp
ret