Function at 0x4022a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40444b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xa0], 0
lea ecx, [ebp - 0x124]
push dword [ebp - 0xa0]
mov dword [ebp - 0xa4], 0
call fcn.00403320
mov byte [ebp - 0xa0], 0
lea ecx, [ebp - 0x10c]
push dword [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.004032f0
add esp, 4
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
xor eax, eax
mov dword [ebp - 0xa8], 7
movups xmmword [ebp - 0xbc], xmm0
push 0x104
push dword [ebp - 0x14]
lea ecx, [ebp - 0xbc]
mov word [ebp - 0xbc], ax
push 0x104
mov dword [ebp - 0xa4], 0x20
call fcn.00402ff0
nop
cmp dword [ebp - 0xa8], 7
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 0xac]
cmova eax, dword [ebp - 0xbc]
push eax
push ecx
mov dword [ebp - 0x14], ecx
call fcn.00403401
mov ecx, dword [ebp - 0xac]
mov esi, eax
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xc0], ecx
cmp esi, ecx
ja 0x4023be
cmp dword [ebp - 0xa8], 7
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xac], esi
cmova eax, dword [ebp - 0xbc]
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x40242e
mov edi, dword [ebp - 0xa8]
mov edx, esi
mov eax, edi
sub edx, ecx
sub eax, ecx
cmp edx, eax
ja 0x402417
cmp edi, 7
mov dword [ebp - 0xac], esi
lea eax, [ebp - 0xbc]
cmova eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
lea edi, [eax + ecx*2]
test edx, edx
je 0x402406
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0xc0]
lea eax, [ecx + edx]
mov ecx, dword [ebp - 0xc4]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x402428
push ecx
push edx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xbc]
push edx
call fcn.00402ff0
mov edx, dword [ebp - 0xa0]
cmp esi, dword [ebp - 0x14]
jae 0x402360
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0x407060
mov dword [ebp - 0xa4], 0x10
test edx, edx
jne 0x402828
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xdc]
call fcn.00402840
lea eax, [ebp - 0x10c]
mov dword [ebp - 0xa4], 0x50
push eax
lea ecx, [ebp - 0xdc]
call fcn.00401ab0
lea eax, [ebp - 0x124]
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x48]
call fcn.00401dc0
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xc8]
cmp ecx, 7
jbe 0x4024e8
mov edx, dword [ebp - 0xdc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4024de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025ff
push ecx
push edx
call fcn.004034ea
add esp, 8
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa8]
cmp ecx, 7
jbe 0x40254f
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402545
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025ff
push ecx
push edx
call fcn.004034ea
add esp, 8
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x4025ac
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4025a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025ff
push ecx
push edx
call fcn.004034ea
add esp, 8
xor eax, eax
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x110]
cmp ecx, 7
jbe 0x40260f
mov edx, dword [ebp - 0x124]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402605
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402605
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004034ea
add esp, 8
xor eax, eax
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0x13c]
push dword [ebp - 0x14]
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
call fcn.00403350
add esp, 4
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xf4]
call fcn.00402840
lea eax, [ebp - 0x48]
mov dword [ebp - 0xa4], 0x400
push eax
lea ecx, [ebp - 0xf4]
call fcn.00401ab0
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402840
mov ecx, dword [ebp - 0xe0]
cmp ecx, 7
jbe 0x4026ba
mov edx, dword [ebp - 0xf4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4026b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402709
push ecx
push edx
call fcn.004034ea
add esp, 8
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
cmp ecx, 7
jbe 0x402719
mov edx, dword [ebp - 0x13c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40270f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40270f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004034ea
add esp, 8
push 0x44
lea eax, [ebp - 0x8c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
cmova eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
movups xmmword [ebp - 0x9c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402782
push dword [ebp - 0x9c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x98]
call esi
xor esi, esi
jmp 0x402785
or esi, 0xffffffff
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x4027bb
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4027b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4027fb
push ecx
push edx
call fcn.004034ea
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x40280b
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402801
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402801
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004034ea
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004034a7
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x18]
call fcn.00402240
int3