Function at 0x40c500
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4877d8
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4af3d4]
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.00407fb0
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 0x40c596
xor ecx, ecx
jmp 0x40c5af
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c5a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.00402360
push ecx
lea edx, [ebp - 0x50]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.0040d3a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40c5da
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 0x40c608
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.004024c0
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 0x40c63d
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.004024c0
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 0x40c8dd
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 0x40c690
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c681
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00402360
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040d3a0
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x40c6c9
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.004024c0
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 0x4a6580
mov dword [ebp - 0x58], 0
call fcn.0047497f
add esp, 0xc
test eax, eax
jne 0x40c86a
push 1
push eax
push 0x4a6584
lea ecx, [ebp - 0x2c]
call fcn.0040cab0
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x40c83f
push dword [ebp - 0x1c]
inc eax
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00407ed0
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.00407ed0
push esi
mov edx, eax
lea ecx, [ebp - 0xe4]
call fcn.0040cba0
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0040cc30
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.00408680
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x40c796
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.004024c0
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 0x40c7d1
inc eax
lea ecx, [ebp - 0xe4]
push eax
push dword [ebp - 0xe4]
call fcn.004024c0
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 0x40c80c
inc eax
lea ecx, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
call fcn.004024c0
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 0x40c8b7
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
jmp 0x40c8b2
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.0040cbf0
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0040cc90
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0xf8]
jmp 0x40c893
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.0040cbf0
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0040cc90
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, edi
call fcn.00408680
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x40c8b7
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004024c0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40c8d0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004024c0
mov esi, dword [ebp - 0x30]
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x40c660
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.0046756e
mov esp, ebp
pop ebp
ret