Function at 0x413c80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43d5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
mov eax, dword [0x44ed90]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x438], 0
mov dword [esp + 0x14], eax
lea esi, [ebp + 0xb4]
lea ecx, [esp + 0x14]
push esi
mov byte [esp + 0x43c], 1
call fcn.00431b20
push 0x44e7cc
push 0x44de38
lea ecx, [esp + 0x1c]
call fcn.0042c3e2
mov al, byte [ebp + 0x9c]
test al, al
mov eax, dword [esp + 0x14]
push eax
je 0x413d26
lea ecx, [esp + 0x14]
push str._simageslarge_
push ecx
call fcn.0042ca77
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea edi, [ebp + 0xa4]
push edx
push str.__SCRIPT_IMAGE_DIR__
mov ecx, edi
call fcn.0042c3e2
mov eax, dword [esi]
push eax
push 0x44e78c
jmp 0x413d57
lea ecx, [esp + 0x14]
push str._simages_small_
push ecx
call fcn.0042ca77
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea edi, [ebp + 0xa4]
push edx
push str.__SCRIPT_IMAGE_DIR__
mov ecx, edi
call fcn.0042c3e2
mov eax, dword [esi]
push eax
push 0x44e764
lea ecx, [esp + 0x18]
push ecx
call fcn.0042ca77
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
push edx
push str.__IMAGE_DIR__
call fcn.0042c3e2
push 0x44e7cc
lea ecx, [esp + 0x18]
call fcn.00431dc3
mov eax, dword [esp + 0x14]
lea ecx, [ebp + 0xa4]
push eax
push str.__USER_DIR__
call fcn.0042c3e2
push str.OPTION
lea ecx, [esp + 0x30]
call fcn.00431a55
mov ebx, 1
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, dword [0x44ed90]
mov dword [esp + 0x1c], ecx
push ebx
lea edx, [esp + 0x20]
push 0x44d194
push edx
mov byte [esp + 0x444], 3
call fcn.0042ca77
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x24]
push eax
push ecx
push edx
call fcn.00431c16
mov eax, dword [ebp + 0xac]
mov ecx, dword [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push 0x400
push eax
push 0x452ac0
push ecx
push 0x44ea74
mov byte [esp + 0x450], 4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x413f19
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
push edx
call fcn.00431a55
push 0x44d12c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x43c], 5
call fcn.0042c6f1
mov esi, eax
cmp esi, 0xffffffff
jle 0x413ee0
lea eax, [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.0042c657
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov byte [esp + 0x438], 6
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
sub eax, esi
push eax
push edx
call fcn.0042c5db
push 0x44d180
lea ecx, [esp + 0x24]
mov byte [esp + 0x43c], 7
call fcn.0042cadd
push 0x44d128
lea ecx, [esp + 0x24]
call fcn.0042ca8a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [ebp + 0xa4]
call fcn.0042c3e2
lea ecx, [esp + 0x20]
mov byte [esp + 0x438], 6
call fcn.004319e7
lea ecx, [esp + 0x28]
mov byte [esp + 0x438], 5
call fcn.004319e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x438], 4
call fcn.004319e7
lea ecx, [esp + 0x24]
mov byte [esp + 0x438], 3
call fcn.004319e7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x438], 2
call fcn.004319e7
inc ebx
jmp 0x413dab
lea ecx, [esp + 0x24]
mov byte [esp + 0x438], 3
call fcn.004319e7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x438], 2
call fcn.004319e7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x438], 1
call fcn.004319e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x438], 0
call fcn.004319e7
lea ecx, [esp + 0x10]
mov dword [esp + 0x438], 0xffffffff
call fcn.004319e7
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x42c
ret