Function at 0x412805
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push esi
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x412baa
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x4128bb
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 1
push dword [ebp - 0xe4]
call fcn.00412bde
add esp, 0xc
jmp 0x412ba8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x41293d
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x412ba8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x412a12
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x412a2a
push 2
mov ecx, dword [ebp - 4]
call fcn.00430996
cmp dword [eax], 0
je 0x412a2a
mov dword [ebp - 0x24], 1
jmp 0x412a2e
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jle 0x412a41
mov dword [ebp - 0x3c], 1
jmp 0x412a45
and dword [ebp - 0x3c], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00430996
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
jne 0x412a5f
mov dword [ebp - 0x18], 1
jmp 0x412a63
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0xa54e
je 0x412a84
mov dword [ebp - 0x2c], 1
jmp 0x412a88
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jle 0x412a9b
mov dword [ebp - 0x1c], 1
jmp 0x412a9f
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0xc]
cmp ecx, dword [eax]
jne 0x412ab7
mov dword [ebp - 0x20], 1
jmp 0x412abb
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00430996
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
je 0x412ad5
mov dword [ebp - 0x28], 1
jmp 0x412ad9
and dword [ebp - 0x28], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.00430996
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax]
je 0x412af8
mov dword [ebp - 0x30], 1
jmp 0x412afc
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.00430996
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.00430996
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 4]
call fcn.00430996
cmp esi, dword [eax]
jg 0x412b64
mov dword [ebp - 0x14], 1
jmp 0x412b68
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.00430996
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jge 0x412b8d
mov dword [ebp - 0x40], 1
jmp 0x412b91
and dword [ebp - 0x40], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.00430996
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax]
mov eax, dword [ebp - 0xd0]
mov dword [eax], ecx
jmp 0x412bd9
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xe0], eax
push 1
push dword [ebp - 0xd8]
push 0x6adf
push 0x1e
push dword [ebp - 0xe0]
call fcn.004092aa
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret