Function at 0x4024d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4b0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x4027aa
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], eax
jle 0x40279e
mov esi, dword [ecx + eax*4]
call fcn.00401cf0
test eax, eax
je 0x4027bc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00401f70
test al, al
jne 0x40257c
test esi, esi
jne 0x40255e
xor eax, eax
jmp 0x402572
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402563
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00402220
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 0xc]
test edx, edx
js 0x4027c6
movzx ecx, word [eax]
cmp ecx, 0x2d
je 0x4025a2
cmp ecx, 0x2f
jne 0x40262b
lea eax, [edx - 1]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402c40
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea esi, [eax - 0x10]
cmp esi, edi
je 0x40260f
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x402600
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x402600
mov ecx, esi
call fcn.00403340
mov dword [ebp - 0x2c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4025f8
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x40260c
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.00402220
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x402628
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x402641
mov dword [ebp - 4], 0xffffffff
lea edx, [eax - 0x10]
jmp 0x402776
jg 0x402648
lea edi, [ebx + 8]
jmp 0x40267e
push 0x3a
push eax
call fcn.00468f0f
mov esi, eax
add esp, 8
test esi, esi
jne 0x40265e
lea edi, [ebx + 8]
jmp 0x40267e
mov eax, dword [ebp - 0x10]
sub esi, eax
sar esi, 1
jne 0x402676
mov dword [ebp - 4], 0xffffffff
lea edx, [eax - 0x10]
jmp 0x402776
lea edi, [ebx + 8]
cmp esi, 0xffffffff
jne 0x40269c
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00402a40
push 0
push 0x499b14
mov ecx, eax
call fcn.00402220
jmp 0x402769
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402b40
mov byte [ebp - 4], 3
lea ecx, [esi + 1]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402c40
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00402a40
mov ecx, dword [ebp - 0x30]
mov edx, eax
mov dword [ebp - 0x34], edx
mov edi, dword [edx]
lea esi, [ecx - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x402731
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x402723
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x402723
mov ecx, esi
call fcn.00403340
mov dword [ebp - 0x2c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x402719
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
add eax, 0x10
mov dword [ecx], eax
jmp 0x40272e
push dword [ecx - 0xc]
push ecx
mov ecx, edx
call fcn.00402220
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40274a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402769
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40278b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x20]
jl 0x402525
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402200
push 0x80070057
call fcn.00402200
int3