Function at 0x409420
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push 0x42ac64
lea ecx, [esp + 0x18]
call fcn.00401130
push 0x104
xor ebp, ebp
call fcn.00409b95
push 0x104
mov ebx, eax
call fcn.00409b95
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test ebx, ebx
mov esi, eax
je 0x40967b
test edi, edi
je 0x409654
push esi
call fcn.00412a4c
push esi
lea eax, [esp + 0x1c]
push str.CommandLine:__s
push eax
call fcn.00401460
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0x10
push 0x104
push ebx
push ebp
call edi
test eax, eax
je 0x409654
push ebx
call fcn.00412a4c
push str..exe
push ebx
call fcn.00412936
add esp, 0xc
test eax, eax
je 0x409507
mov ecx, dword [str..ini]
mov dword [eax], ecx
mov dl, byte [0x42ac50]
mov byte [eax + 4], dl
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00413ee3
add esp, 8
test eax, eax
jne 0x409507
mov ebp, dword [esp + 0x10]
mov edx, ebp
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4094e3
push ebp
lea ecx, [esp + 0x18]
push str.ini_file_found:__s
push ecx
call fcn.00401460
add esp, 0xc
mov ebp, 1
push 0x104
push ebx
push 0
call edi
test eax, eax
je 0x409654
push ebx
call fcn.00412a4c
push ebx
push esi
call fcn.00412936
add esp, 0xc
test eax, eax
je 0x409654
mov ecx, ebx
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x409536
sub ecx, esi
push ecx
push eax
call fcn.0041463f
mov esi, eax
push 0x42ac34
push esi
call fcn.00412936
add esp, 0x10
cmp eax, esi
jne 0x409567
push esi
call fcn.00413daf
add esp, 4
mov esi, eax
movsx edx, byte [esi]
push edx
call fcn.00415ad7
add esp, 4
test eax, eax
je 0x40958f
push esi
call fcn.00413daf
mov esi, eax
movsx eax, byte [esi]
push eax
call fcn.00415ad7
add esp, 8
test eax, eax
jne 0x409577
push 0x42ac34
push esi
call fcn.00412936
add esp, 8
cmp eax, esi
jne 0x4095ac
push esi
call fcn.00413daf
add esp, 4
mov esi, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4095b1
sub eax, edx
cmp eax, 1
jbe 0x409654
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4095d0
sub eax, edx
add eax, 0xffffffff
push eax
push esi
call fcn.0041463f
mov edi, eax
push 0x42ac34
push edi
call fcn.00412936
add esp, 0x10
test eax, eax
je 0x409604
push 0
push edi
call fcn.004155c4
add esp, 8
push esi
lea ecx, [esp + 0x18]
push str.lptTempPtr:__s
push ecx
call fcn.00401460
lea edx, [esp + 0x28]
push edx
push esi
call fcn.00413ee3
add esp, 0x14
test eax, eax
jne 0x409654
mov edi, dword [esp + 0x10]
mov edx, edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x409630
push edi
lea eax, [esp + 0x18]
push str.ini_file_found:__s
push eax
call fcn.00401460
add esp, 0xc
mov ebp, 1
push ebx
call fcn.00409b90
add esp, 4
cmp ebp, 1
jne 0x409677
lea ecx, [esp + 0x14]
call fcn.004012e0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edi, dword [esp + 0x10]
push edi
call fcn.00409b90
add esp, 4
lea ecx, [esp + 0x14]
call fcn.004012e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret