Function at 0x4029b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428c35
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x438040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
or edi, 0xffffffff
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
test esi, esi
jne 0x4029fa
lea esi, [edi + 0x58]
jmp 0x402f94
lea ecx, [esi - 1]
test ecx, ecx
js 0x403026
cmp ecx, esi
jg 0x403026
cmp word [eax + ecx*2], 0x5c
je 0x402a58
mov ecx, dword [eax - 8]
lea ebx, [esi + 1]
mov edx, 1
sub ecx, ebx
sub edx, dword [eax - 4]
or ecx, edx
jge 0x402a34
push ebx
lea ecx, [ebp + 8]
call fcn.0040d840
mov eax, dword [ebp + 8]
mov ecx, 0x5c
mov word [eax + esi*2], cx
mov eax, dword [ebp + 8]
cmp ebx, dword [eax - 8]
jg 0x403026
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + ebx*2], cx
mov eax, dword [ebp + 8]
mov ecx, eax
call fcn.0040dee0
push 0x14
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.0040ee95
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp word [esi], 0
je 0x402f71
nop dword [eax]
push 0x3d
push esi
call fcn.0040ff19
mov esi, eax
add esp, 8
test esi, esi
je 0x402f41
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
add esi, 2
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], eax
je 0x40301c
sub esi, dword [ebp - 0x28]
xor ebx, ebx
sar esi, 1
mov dword [ebp - 0x30], ebx
dec esi
call fcn.0040db30
mov ecx, eax
test ecx, ecx
je 0x403035
mov eax, dword [ecx]
push 2
push esi
call dword [eax]
test eax, eax
je 0x403030
add eax, 0x10
mov dword [ebp - 0x20], eax
test esi, esi
js 0x403026
cmp esi, dword [eax - 8]
jg 0x403026
mov dword [eax - 0xc], esi
xor ecx, ecx
add esi, esi
mov word [esi + eax], cx
test esi, esi
je 0x402b49
test eax, eax
jne 0x402b3c
call fcn.00411fa6
mov dword [eax], 0x16
call fcn.00411ecc
jmp 0x402b49
push esi
push dword [ebp - 0x28]
push eax
call fcn.00410070
add esp, 0xc
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040b250
cmp byte [eax + 4], 0
je 0x402f23
mov esi, 1
cmp dword [ebp - 0x2c], esi
je 0x402bdd
mov eax, dword [ebp - 0x24]
push str.DATA
push dword [eax + esi*4]
call fcn.004160a2
add esp, 8
test eax, eax
jne 0x402b8d
or ebx, 1
jmp 0x402bc7
mov eax, dword [ebp - 0x24]
push str.NoImp
push dword [eax + esi*4]
call fcn.004160a2
add esp, 8
test eax, eax
jne 0x402ba9
or ebx, 2
jmp 0x402bc7
mov eax, dword [ebp - 0x24]
push str.NoPrefix
push dword [eax + esi*4]
call fcn.004160a2
add esp, 8
test eax, eax
jne 0x402fc4
or ebx, 4
inc esi
mov eax, ebx
cmp esi, dword [ebp - 0x2c]
jne 0x402b71
and eax, 3
mov dword [ebp - 0x30], ebx
cmp al, 3
je 0x402fc4
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.00409e80
add esp, 4
mov byte [ebp - 4], 3
xor dl, dl
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov esi, dword [ecx - 0xc]
test esi, esi
jle 0x402c69
lea ebx, [eax + 0x5e]
lea edi, [eax + eax]
cmp word [edi + ecx], 0x3f
jne 0x402c3e
test dl, dl
jne 0x402c3a
mov eax, dword [ebp - 0x14]
mov ecx, 1
mov dl, 1
mov byte [ebp - 0xd], dl
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x402c37
push esi
lea ecx, [ebp - 0x14]
call fcn.0040d840
mov dl, byte [ebp - 0xd]
mov ecx, dword [ebp - 0x14]
mov word [ecx + edi], bx
lea eax, [edi + 2]
sar eax, 1
cmp eax, esi
jl 0x402c04
mov ebx, dword [ebp - 0x30]
test dl, dl
je 0x402c66
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax - 8]
jg 0x403026
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + esi*2], cx
or edi, 0xffffffff
test bl, 1
jne 0x402db6
push 0x431320
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x3c]
call fcn.00409cf0
mov ecx, dword [ebp - 0x24]
mov edx, eax
mov byte [ebp - 4], 4
push dword [ecx]
lea ecx, [ebp - 0x38]
call fcn.00409cf0
push str._NoImp
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00409cf0
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402cc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402ce7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
shr eax, 2
test al, 1
je 0x402cff
push 9
push 0x431324
lea ecx, [ebp - 0x18]
call fcn.0040b060
mov eax, dword [ebp - 0x18]
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
js 0x403026
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x402d2d
push esi
lea ecx, [ebp - 0x18]
call fcn.0040d840
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x18]
cmp esi, dword [eax - 8]
jg 0x403026
mov dword [eax - 0xc], esi
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push str..obj
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x40]
call fcn.00409cf0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 9
push dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.004026f0
mov byte [ebp - 4], 8
or edi, 0xffffffff
mov edx, dword [ebp - 0x40]
mov esi, eax
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402d90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test esi, esi
jne 0x402fcb
test eax, eax
jg 0x402db6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
shr eax, 1
test al, 1
jne 0x402f05
push 0x431320
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.00409cf0
mov ecx, dword [ebp - 0x24]
mov edx, eax
mov byte [ebp - 4], 0xa
push dword [ecx]
lea ecx, [ebp - 0x44]
call fcn.00409cf0
push 0x431344
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.00409cf0
add esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, edi
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402e19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402e37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
shr ebx, 2
test bl, 1
je 0x402e4e
push 9
push 0x431324
lea ecx, [ebp - 0x1c]
call fcn.0040b060
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
js 0x403026
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x402e7c
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040d840
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x1c]
cmp esi, dword [eax - 8]
jg 0x403026
mov dword [eax - 0xc], esi
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push str..obi
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x4c]
call fcn.00409cf0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 0xf
push dword [eax]
mov edx, dword [ebp - 0x1c]
call fcn.004026f0
mov byte [ebp - 4], 0xe
or edi, 0xffffffff
mov edx, dword [ebp - 0x4c]
mov esi, eax
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402edf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test esi, esi
jne 0x402fcb
test eax, eax
jg 0x402f05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402f23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402f41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402f50
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
mov dword [ebp - 0x28], esi
cmp word [esi], ax
jne 0x402aa0
xor esi, esi
mov eax, dword [ebp - 0x54]
push dword [eax + 4]
lea eax, [ebp - 0x54]
push eax
mov ecx, eax
call fcn.0040ba70
push 0x14
push dword [ebp - 0x54]
call fcn.0040e95e
mov eax, dword [ebp + 8]
add esp, 8
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x402fb0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x57
jmp 0x402ff5
test eax, eax
jg 0x402fd7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402ff5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402f73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x402f73
mov esi, 0x57
jmp 0x402f73
push 0x80070057
call fcn.0040d910
call fcn.0040d6a0
push 0x80004005
call fcn.0040d910
int3