Function at 0x4030b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x425040]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0xc]
push ebx
push esi
push edi
push ecx
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x18], 3
mov esi, eax
je 0x4030fe
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0040a26b
mov esp, ebp
pop ebp
ret 0x10
push dword [esi]
lea ecx, [esp + 0x50]
call fcn.00401b30
push dword [esi + 4]
lea ecx, [esp + 0x38]
call fcn.00401b30
push dword [esi + 8]
lea ecx, [esp + 0x20]
call fcn.00401b30
cmp dword [esp + 0x60], 7
lea edi, [esp + 0x4c]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
cmova edi, ebx
cmp edx, 7
jne 0x403184
mov esi, edx
mov ecx, 0x422b6c
test esi, esi
je 0x403158
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x403184
add ecx, 2
sub esi, 1
jne 0x403147
cmp dword [esp + 0x30], 7
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x34]
cmova edx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 7
cmova ecx, dword [esp + 0x34]
call fcn.00402940
mov edi, dword [esp + 0x60]
mov ebx, eax
jmp 0x4032f1
mov edi, dword [esp + 0x60]
lea esi, [esp + 0x4c]
cmp edi, 7
cmova esi, ebx
cmp edx, 4
jne 0x4032ef
mov ecx, str.move
test edx, edx
je 0x4031c5
sub esi, ecx
nop word [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4032ef
add ecx, 2
sub edx, 1
jne 0x4031b0
cmp dword [esp + 0x48], 7
lea esi, [esp + 0x34]
cmova esi, dword [esp + 0x34]
call fcn.00401ec0
test eax, eax
je 0x4033dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
test esi, esi
je 0x403221
test esi, 0xffff0000
jne 0x403209
movzx eax, si
lea ecx, [esp + 0x14]
push eax
call fcn.004033f0
jmp 0x40322e
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403210
sub ecx, edx
sar ecx, 1
jmp 0x403223
xor ecx, ecx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00402600
cmp dword [esp + 0x30], 7
lea esi, [esp + 0x1c]
cmova esi, dword [esp + 0x1c]
call fcn.00401ec0
test eax, eax
je 0x4033dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
test esi, esi
je 0x403288
test esi, 0xffff0000
jne 0x403272
movzx eax, si
lea ecx, [esp + 0x10]
push eax
call fcn.004033f0
jmp 0x403295
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403277
sub ecx, edx
sar ecx, 1
jmp 0x40328a
xor ecx, ecx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00402600
lea ecx, [esp + 0x14]
call fcn.00402200
lea ecx, [esp + 0x10]
call fcn.00402200
mov esi, dword [esp + 0x10]
mov edx, esi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00402b00
lea edx, [esi - 0x10]
mov ebx, eax
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4032d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4032e9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x60]
jmp 0x4032f1
xor ebx, ebx
mov ecx, dword [esp + 0x30]
cmp ecx, 7
jbe 0x40332d
mov edx, dword [esp + 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4033e7
push ecx
push edx
call fcn.0040a2a9
add esp, 8
mov ecx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
cmp ecx, 7
jbe 0x40337c
mov edx, dword [esp + 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403372
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4033e7
push ecx
push edx
call fcn.0040a2a9
add esp, 8
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 7
mov word [esp + 0x34], ax
cmp edi, 7
jbe 0x4033c7
mov edx, dword [esp + 0x4c]
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4033bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4033e7
push ecx
push edx
call fcn.0040a2a9
add esp, 8
mov ecx, dword [esp + 0x64]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a26b
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00401d90
call fcn.0040d671
int3