Function at 0x409650
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x536324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x40969e
xor ecx, ecx
jmp 0x4096ac
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4096a3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004052e0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x5c], eax
jle 0x409887
nop dword [eax + eax]
mov edx, dword [ecx + eax*4]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x409710
xor ecx, ecx
jmp 0x409724
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409715
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004064e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040b590
mov edx, dword [ebp + 8]
add esp, 8
mov ecx, eax
cmp dword [edx + 0x14], 0x10
jb 0x409751
mov esi, dword [edx]
jmp 0x409753
mov esi, edx
cmp dword [ecx + 0x14], 0x10
lea eax, [ecx + 0x10]
jb 0x40975e
mov ecx, dword [ecx]
mov edi, dword [edx + 0x10]
mov edx, edi
mov ebx, dword [eax]
cmp ebx, edi
cmovb edx, ebx
test edx, edx
je 0x4097c3
sub edx, 4
jb 0x409784
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x409789
add ecx, 4
add esi, 4
sub edx, 4
jae 0x409773
cmp edx, 0xfffffffc
je 0x4097bd
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x4097b6
cmp edx, 0xfffffffd
je 0x4097bd
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x4097b6
cmp edx, 0xfffffffe
je 0x4097bd
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4097b6
cmp edx, 0xffffffff
je 0x4097bd
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x4097bd
sbb esi, esi
or esi, 1
jmp 0x4097bf
xor esi, esi
test esi, esi
jne 0x4097d0
cmp edi, ebx
jbe 0x4097cc
or esi, 0xffffffff
jmp 0x4097d0
sbb esi, esi
neg esi
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x409816
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x40980d
test cl, 0x1f
jne 0x4098a1
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4098a1
sub ecx, eax
cmp ecx, 4
jb 0x4098a1
cmp ecx, 0x23
ja 0x4098a1
mov ecx, eax
push ecx
call fcn.00462a58
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x40986b
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x4098a1
add eax, eax
cmp eax, 0x1000
jb 0x409862
test cl, 0x1f
jne 0x4098a1
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4098a1
sub ecx, eax
cmp ecx, 4
jb 0x4098a1
cmp ecx, 0x23
ja 0x4098a1
mov ecx, eax
push ecx
call fcn.00462a58
add esp, 4
test esi, esi
je 0x409883
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x5c]
jge 0x409887
mov ecx, dword [ebp - 0x64]
jmp 0x4096f0
mov bl, 1
jmp 0x409889
xor bl, bl
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4098d3
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x4098ca
test cl, 0x1f
je 0x4098a6
call fcn.00468921
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4098b2
call fcn.00468921
sub ecx, eax
cmp ecx, 4
jae 0x4098be
call fcn.00468921
cmp ecx, 0x23
jbe 0x4098c8
call fcn.00468921
mov ecx, eax
push ecx
call fcn.00462a58
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462ba5
mov esp, ebp
pop ebp
ret