Function at 0x406c10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab6d8
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4dd434]
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
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [edi], xmm0
mov dword [ebp - 0xe8], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00404d60
mov dword [edi], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
cmp word [esi], ax
jne 0x406ca6
xor ecx, ecx
jmp 0x406cbf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406cb0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.00402fc0
push ecx
lea edx, [ebp - 0x50]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.00407760
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x406cea
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x30], esi
cmp eax, 8
jb 0x406d18
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.00401650
xor eax, eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], 0
cmp eax, 8
jb 0x406d4d
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00401650
xor eax, eax
mov dword [ebp - 0x3c], 7
xor ebx, ebx
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
cmp dword [ebp - 0x14], eax
jle 0x406fed
nop dword [eax]
mov edx, dword [esi + ebx*4]
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
cmp word [edx], ax
je 0x406da0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406d91
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00402fc0
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407760
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x406dd9
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00401650
xor eax, eax
mov dword [ebp - 0x54], 7
cmp dword [ebp - 0x18], 8
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
push 0x4d555c
mov dword [ebp - 0x58], 0
call fcn.00499caf
add esp, 0xc
test eax, eax
jne 0x406f7a
push 1
push eax
push 0x4d5560
lea ecx, [ebp - 0x2c]
call fcn.00402ed0
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x406f4f
push dword [ebp - 0x1c]
inc eax
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406040
mov esi, eax
push dword [ebp - 0x34]
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 5
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406040
push esi
mov edx, eax
lea ecx, [ebp - 0xe4]
call fcn.004073f0
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00407600
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.004053c0
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x406ea6
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.00401650
xor eax, eax
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], 0
cmp eax, 8
jb 0x406ee1
inc eax
lea ecx, [ebp - 0xe4]
push eax
push dword [ebp - 0xe4]
call fcn.00401650
xor eax, eax
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xd4], 0
cmp eax, 8
jb 0x406f1c
inc eax
lea ecx, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
call fcn.00401650
xor eax, eax
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xa4], 0
cmp eax, 8
jb 0x406fc7
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
jmp 0x406fc2
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.00407410
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00407640
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0xf8]
jmp 0x406fa3
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.00407410
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00407640
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, edi
call fcn.004053c0
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x406fc7
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00401650
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x406fe0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00401650
mov esi, dword [ebp - 0x30]
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x406d70
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
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.0048bdd6
mov esp, ebp
pop ebp
ret