Function at 0x401d00
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x46c3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x401f63
xor ecx, ecx
cmp dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
jle 0x401f57
or ebp, 0xffffffff
lea esp, [esp]
mov ecx, dword [eax + ecx*4]
lea edx, [esp + 0x18]
push edx
call fcn.00401990
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x18]
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x401f79
movzx ecx, word [eax]
movzx esi, cx
cmp si, 0x2d
je 0x401da5
test edx, edx
jl 0x401f79
movzx ecx, cx
cmp cx, 0x2f
jne 0x401e35
mov ecx, 1
lea esi, [esp + 0x30]
lea edx, [esp + 0x18]
call fcn.004020c0
mov byte [esp + 0x3c], 1
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x401e0d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x401e00
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x401e00
call fcn.00403a70
mov ebx, eax
mov eax, ebp
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x401df7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x401e0d
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004018b0
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x401e45
mov dword [esp + 0x3c], ebp
jmp 0x401f25
jle 0x401e72
push 0x3a
push eax
call fcn.00456af3
add esp, 8
test eax, eax
je 0x401e72
mov ecx, dword [esp + 0x18]
sub eax, ecx
sar eax, 1
mov esi, eax
jne 0x401e6e
mov dword [esp + 0x3c], ebp
lea eax, [ecx - 0x10]
jmp 0x401f28
cmp esi, ebp
jne 0x401e93
mov edi, dword [esp + 0x44]
add edi, 8
lea ebx, [esp + 0x18]
call fcn.00402150
push 0x470750
xor ebx, ebx
call fcn.004018b0
jmp 0x401f1d
mov eax, esi
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
call fcn.004020e0
lea ecx, [esi + 1]
lea esi, [esp + 0x1c]
lea edx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.004020c0
mov edi, dword [esp + 0x44]
add edi, 8
lea ebx, [esp + 0x20]
mov byte [esp + 0x3c], 3
call fcn.00402150
mov edi, eax
mov eax, esi
call fcn.00403ae0
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ef9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401f1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401f40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
inc ecx
cmp ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
jl 0x401d60
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
push 0x80070057
call fcn.00401890
int3