Function at 0x401610
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412fdb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x41d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x14], eax
jle 0x4018be
mov edx, dword [ecx + edi*4]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401685
sub eax, esi
lea ecx, [ebp - 0x64]
sar eax, 1
push eax
push edx
call fcn.00402190
lea edx, [ebp - 0x64]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00404840
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x4016ee
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4016e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018db
push ecx
push edx
call fcn.00406906
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x44]
mov dword [ebp - 0x50], 7
lea ecx, [ebp - 0x34]
mov word [ebp - 0x64], ax
call fcn.00404950
test al, al
je 0x401876
push 0xa8
call fcn.00406680
mov esi, eax
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
push 0x9c
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0
push eax
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_Process_.0
call fcn.00407fe0
add esp, 0x10
lea ecx, [esi + 0xc]
call fcn.004022e0
or dword [ebp - 0x3c], 2
lea eax, [esi + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
push ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.00402e70
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3c]
or ecx, 1
cmp dword [eax + 4], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], ecx
jne 0x4017d3
sub esp, 8
lea ecx, [esi + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
lea ecx, [esi + 0xc]
mov dword [eax + 4], esi
mov dword [eax], ecx
call fcn.00401950
mov byte [ebp - 0x35], 0
test al, al
jne 0x4017d7
mov byte [ebp - 0x35], 1
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x3c]
test al, 1
je 0x40183f
mov ecx, dword [ebp - 0x70]
and eax, 0xfffffffe
mov dword [ebp - 0x3c], eax
cmp ecx, 7
jbe 0x401828
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40181e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018db
push ecx
push edx
call fcn.00406906
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x40]
mov ecx, 1
cmp byte [ebp - 0x35], 0
cmovne eax, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x40], eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x401876
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x401876
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x4018ad
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4018a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018db
push ecx
push edx
call fcn.00406906
add esp, 8
inc edi
cmp edi, dword [ebp - 0x14]
jge 0x4018bb
mov ecx, dword [ebp - 0x4c]
jmp 0x401668
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004065bd
mov esp, ebp
pop ebp
ret 4
call fcn.00409a1f
int3