Function at 0x404ce0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5131be
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x314]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x324]
xor edi, edi
mov eax, 7
mov dword [esp + 0x100], eax
mov dword [esp + 0xfc], edi
mov word [esp + 0xec], di
mov dword [esp + 0x31c], edi
push 0xd
push str.ExeConfig.ini
lea esi, [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
call fcn.00407330
lea eax, [ebp + 0x2ec]
push eax
lea esi, [esp + 0x98]
mov byte [esp + 0x320], 1
mov dword [esp + 0x20], eax
call fcn.0043b9f0
add esp, 4
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x324], 2
call fcn.0043b740
add esp, 8
mov ebx, 8
cmp dword [esp + 0xac], ebx
jb 0x404dc0
mov edx, dword [esp + 0x98]
push edx
call fcn.004e7d7e
add esp, 4
mov esi, 7
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edi
mov word [esp + 0x98], di
mov byte [esp + 0x31c], 5
cmp dword [esp + 0x38], ebx
jb 0x404df6
mov eax, dword [esp + 0x24]
push eax
call fcn.004e7d7e
add esp, 4
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.0043a7a0
add esp, 4
test al, al
je 0x404fce
push 0x206
lea edx, [esp + 0x10a]
push edi
push edx
mov word [esp + 0x110], di
call fcn.004f1960
mov eax, dword [esp + 0xc0]
add esp, 0xc
cmp dword [esp + 0xc8], ebx
jae 0x404e50
lea eax, [esp + 0xb4]
push eax
push 0x104
lea eax, [esp + 0x10c]
push eax
push 0x51a1d4
push str.ExeIcon
push str.setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x104]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404e80
sub eax, edx
sar eax, 1
jne 0x404ee0
cmp dword [esp + 0xc8], ebx
jb 0x404eaa
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.004e7d7e
add esp, 4
cmp dword [esp + 0x100], ebx
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], edi
mov word [esp + 0xb4], di
jb 0x404ed9
mov edx, dword [esp + 0xec]
push edx
call fcn.004e7d7e
add esp, 4
xor al, al
jmp 0x40519f
lea eax, [esp + 0x104]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404ef7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x108]
push eax
lea esi, [esp + 0x44]
call fcn.00407330
mov ecx, dword [esp + 0x1c]
push ecx
lea esi, [esp + 0x5c]
mov byte [esp + 0x320], 6
call fcn.0043b9f0
add esp, 4
lea edx, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x324], 7
call fcn.0043b740
add esp, 8
push 0xffffffffffffffff
push edi
push eax
lea eax, [esp + 0xf4]
mov byte [esp + 0x328], bl
call fcn.00401610
cmp dword [esp + 0x90], ebx
jb 0x404f7b
mov eax, dword [esp + 0x7c]
push eax
call fcn.004e7d7e
add esp, 4
cmp dword [esp + 0x70], ebx
mov esi, 7
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], di
jb 0x404fa6
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004e7d7e
add esp, 4
mov byte [esp + 0x31c], 5
cmp dword [esp + 0x54], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], di
jb 0x404fce
mov edx, dword [esp + 0x40]
push edx
call fcn.004e7d7e
add esp, 4
lea esi, [esp + 0xcc]
call fcn.0043e4a0
lea eax, [ebp + 0x298]
push eax
mov ecx, esi
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x324], 9
call fcn.0043b740
add esp, 8
push 0xffffffffffffffff
push edi
push eax
mov eax, esi
mov byte [esp + 0x328], 0xa
call fcn.00401610
mov byte [esp + 0x31c], 9
cmp dword [esp + 0x70], ebx
jb 0x405026
mov edx, dword [esp + 0x5c]
push edx
call fcn.004e7d7e
add esp, 4
push 4
push 0x51a628
lea ecx, [esp + 0xd4]
call fcn.00407230
push 2
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov byte [esp + 0x31c], 0xb
push edi
push 0x51a1d4
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
call fcn.00407330
mov byte [esp + 0x31c], 0xc
push edi
push 0x51a1d4
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
call fcn.00407330
mov byte [esp + 0x31c], 0xd
cmp dword [ebp + 0x2e8], ebx
jb 0x4050aa
mov eax, dword [ebp + 0x2d4]
jmp 0x4050b0
lea eax, [ebp + 0x2d4]
mov edx, dword [esp + 0x1c]
push edi
push eax
push edi
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
lea edx, [esp + 0x100]
lea ecx, [esp + 0x54]
call fcn.0043f260
cmp dword [esp + 0x38], ebx
mov byte [esp + 0x1b], al
jb 0x4050ec
mov eax, dword [esp + 0x24]
push eax
call fcn.004e7d7e
add esp, 4
cmp dword [esp + 0x54], ebx
mov esi, 7
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jb 0x405111
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004e7d7e
add esp, 4
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0xe4], ebx
jb 0x40513d
mov edx, dword [esp + 0xd0]
push edx
call fcn.004e7d7e
add esp, 4
cmp dword [esp + 0xc8], ebx
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], edi
mov word [esp + 0xd0], di
jb 0x40516c
mov eax, dword [esp + 0xb4]
push eax
call fcn.004e7d7e
add esp, 4
cmp dword [esp + 0x100], ebx
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], edi
mov word [esp + 0xb4], di
jb 0x40519b
mov ecx, dword [esp + 0xec]
push ecx
call fcn.004e7d7e
add esp, 4
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x314]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.004e7d6f
add esp, 0x30c
ret 4