Function at 0x409f51
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x444dbf
call fcn.00431df8
mov ebx, ecx
mov esi, 0x45a964
push esi
lea ecx, [ebp - 0x14]
call fcn.004021e1
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x28]
call fcn.004021e1
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004021e1
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00402078
mov ecx, dword [ebp + 0xc]
call fcn.00402078
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
test eax, eax
je 0x409fb6
push eax
lea ecx, [ebp - 0x14]
call fcn.0040227b
lea edi, [ebp - 0x14]
call fcn.0040a663
and dword [ebp - 0x1c], 0
push esi
lea ecx, [ebp - 0x18]
call fcn.004021e1
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004021e1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xe]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea esi, [ebp - 0x1c]
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0x2f
call fcn.00425992
mov edi, dword [ebp - 0x1c]
add esp, 0x14
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004067d6
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0040222e
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040113c
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.0040222e
mov eax, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, ebx
call dword [eax + 0x44]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xf]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x2c], edi
mov byte [ebp + 0xf], 0x2f
call fcn.00425992
add esp, 0x14
test al, al
je 0x40a13c
mov ebx, 0x44a038
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x40a13c
lea eax, [ebp - 0x34]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040771d
lea ecx, [ebp - 0x24]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0040684a
add esp, 0x10
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040113c
push dword [ebp - 0x24]
xor ecx, ecx
lea esi, [ebp - 0x30]
call fcn.0040677b
test eax, eax
jl 0x40a102
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xf]
push eax
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x1c]
mov byte [ebp + 0xf], 0x2f
call fcn.00425992
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
add esp, 0x14
add ecx, 0xfffffff0
mov byte [ebp + 0xf], al
call fcn.0040113c
cmp byte [ebp + 0xf], 0
jne 0x40a071
jmp 0x40a13c
sub edi, dword [ebp - 0x2c]
lea eax, [ebp + 0xc]
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00406933
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040222e
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040113c
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040113c
push 0x65
lea ecx, [ebp - 0x28]
call fcn.00401faf
lea edi, [ebp - 0x28]
call fcn.0040a663
mov esi, dword [ebp - 0x28]
cmp dword [esi - 0xc], 0
je 0x40a170
mov ecx, dword [ebp + 8]
push 0x449df4
call fcn.00401fd3
push dword [esi - 0xc]
mov ecx, dword [ebp + 8]
push esi
call fcn.00401ff8
push dword [ebp + 8]
call fcn.0041cbd1
pop ecx
call fcn.0040a1ed
push 0x44946e
push 0x44a184
push 4
push 0x2b0a
call fcn.004262bf
add esp, 0xc
push eax
call fcn.0041cb5c
pop ecx
pop ecx
call fcn.0041dc4b
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0040113c
lea ecx, [esi - 0x10]
call fcn.0040113c
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040113c
mov al, 1
call fcn.00431ed0
ret 8