Function at 0x402300
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x423040]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, 1
mov esi, eax
mov dword [esp + 0xc], esi
cmp dword [esp + 0x54], edi
jle 0x4024a0
push 0x41fdf8
push dword [esi + edi*4]
call fcn.00406a62
mov edx, dword [esi + edi*4]
add esp, 8
test eax, eax
je 0x402502
mov eax, edx
mov dword [esp + 0x44], 7
xorps xmm0, xmm0
mov dword [esp + 0x40], 1
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], 0x22
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4023a3
sub eax, esi
sar eax, 1
cmp eax, 6
ja 0x4023d8
lea esi, [eax + 1]
add eax, eax
push eax
push edx
lea eax, [esp + 0x3a]
mov dword [esp + 0x48], esi
push eax
call fcn.00406f00
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x30], ax
jmp 0x4023e8
push eax
push edx
push dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
call fcn.00403cb0
mov edx, dword [esp + 0x44]
mov eax, edx
mov ecx, dword [esp + 0x40]
sub eax, ecx
cmp eax, 1
jb 0x402415
lea eax, [ecx + 1]
cmp edx, 7
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
mov dword [eax + ecx*2], 0x22
jmp 0x40242b
push 1
push 0x41fdfc
push dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push 1
call fcn.00403cb0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
cmp eax, dword [esp + 0x30]
je 0x40244b
mov edx, eax
call fcn.00404ad0
add esp, 4
add dword [esp + 0x28], 0x18
jmp 0x402455
push eax
lea ecx, [esp + 0x2c]
call fcn.00404510
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x402491
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402487
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026fa
push ecx
push edx
call fcn.00405753
add esp, 8
mov esi, dword [esp + 0xc]
inc edi
cmp edi, dword [esp + 0x54]
jl 0x402363
push 0x41fdf8
lea ecx, [esp + 0x34]
call fcn.004034a0
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x5c]
call fcn.00402030
mov ecx, dword [esp + 0x48]
add esp, 4
cmp ecx, 7
jbe 0x402591
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402587
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026fa
jmp 0x402587
push edx
lea ecx, [esp + 0x34]
call fcn.004034a0
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
je 0x402533
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [eax + 0x10], xmm0
add dword [esp + 0x28], 0x18
jmp 0x402495
lea ecx, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00404320
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x402495
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402578
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026ff
push ecx
push edx
call fcn.00405753
add esp, 8
jmp 0x402495
push ecx
push edx
call fcn.00405753
add esp, 8
cmp dword [esp + 0x6c], 7
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], 0x44
push ecx
push 0
push 0
push 0x8000000
push 0
xorps xmm0, xmm0
lea eax, [esp + 0x70]
cmova eax, dword [esp + 0x70]
push 0
push 0
push eax
push 0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
movlpd qword [esp + 0xd4], xmm0
movaps xmmword [esp + 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
mov ecx, dword [esp + 0x6c]
cmp ecx, 7
jbe 0x402673
mov edx, dword [esp + 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402669
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026ff
push ecx
push edx
call fcn.00405753
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 7
mov word [esp + 0x58], ax
test ecx, ecx
je 0x4026e4
mov edx, dword [esp + 0x28]
push ecx
call fcn.00403c40
mov ecx, dword [esp + 0x30]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4026da
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026ff
push ecx
push esi
call fcn.00405753
add esp, 8
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.00405710
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040a52a
call fcn.0040a52a
int3