Function at 0x401650
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41db7c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x4251d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x41f464]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x45], 0
mov byte [ebp - 0x2d], 0
lea ecx, [ebp - 0x64]
call fcn.00406f70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.004111bb
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x401759
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x88]
call fcn.00406560
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x118], ecx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x114]
call fcn.0040a0b0
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], edx
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x64]
call fcn.00407ec0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.004077c0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
call fcn.004111bb
add esp, 0xc
mov dword [ebp - 0x34], eax
jmp 0x4016bb
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a0b0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x124], ecx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x90]
call fcn.0040a0b0
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00408020
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x401895
lea ecx, [ebp - 0x44]
call fcn.0040a100
mov dword [ebp - 0x128], eax
push 0x41f460
call fcn.00411130
add esp, 4
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
push ecx
push 0x41f460
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x128]
call fcn.00407700
test eax, eax
jne 0x401812
mov byte [ebp - 0x45], 1
lea ecx, [ebp - 0x44]
call fcn.0040a100
mov dword [ebp - 0x130], eax
push str._verbose
call fcn.00411130
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
push str._verbose
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x130]
call fcn.00407700
test eax, eax
jne 0x40185e
mov byte [ebp - 0x2d], 1
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], edx
lea ecx, [ebp - 0x44]
call fcn.0040a190
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x94], ecx
jmp 0x401783
lea ecx, [ebp - 0x64]
call fcn.00407080
mov dword [ebp - 0x150], eax
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.004077c0
mov edx, dword [0x41ff6c]
push edx
push 0
mov eax, dword [ebp - 0x150]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407220
mov byte [ebp - 4], 2
mov ecx, dword [0x41ff6c]
mov dword [ebp - 0x158], ecx
push 0x41f450
call fcn.00411130
add esp, 4
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x158]
push eax
push 0x41f450
lea ecx, [ebp - 0x2c]
call fcn.00407610
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x15c]
sub edx, dword [ebp - 0x6c]
sub edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004065d0
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 3
mov ecx, dword [0x41ff6c]
push ecx
push 0
mov edx, dword [ebp - 0x160]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407220
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0xb4]
call fcn.004077c0
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x45]
mov byte [eax], cl
mov edx, dword [ebp + 8]
mov al, byte [ebp - 0x2d]
mov byte [edx + 1], al
mov ecx, dword [0x41ff6c]
push ecx
push 0
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00407220
lea ecx, [ebp - 0x64]
call fcn.00407080
push eax
call fcn.00401580
add esp, 4
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4019f5
push str.___s_option
lea ecx, [ebp - 0xd0]
call fcn.00406560
mov byte [ebp - 4], 4
lea edx, [ebp - 0xd0]
push edx
call fcn.00401580
add esp, 4
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0xd0]
call fcn.004077c0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
test ecx, ecx
je 0x401a36
push str.___verbose_option
lea ecx, [ebp - 0xec]
call fcn.00406560
mov byte [ebp - 4], 5
lea edx, [ebp - 0xec]
push edx
call fcn.00401580
add esp, 4
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0xec]
call fcn.004077c0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004077c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00406ff0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411116
mov esp, ebp
pop ebp
ret