Function at 0x409c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484c48
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4b7134]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0x44
xor eax, eax
movlpd qword [ebp - 0xa8], xmm0
push 0x20
push dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x7a], xmm0
movlpd qword [ebp - 0x72], xmm0
mov word [ebp - 0x6a], ax
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x80], 1
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00417ef0
mov byte [ebp - 4], 2
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
cmovae edi, dword [ebp - 0x28]
cmp dword [ebp + 0x20], 0x10
push edi
cmovae ecx, dword [ebp + 0xc]
add eax, ecx
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
cmovae ecx, dword [ebp + 0xc]
push eax
push ecx
lea ecx, [ebp - 0xb0]
call fcn.0041a860
add esp, 0xc
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0x20
push dword [ebp + 0x34]
call fcn.00417ef0
mov byte [ebp - 4], 3
lea edi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp + 0x24]
mov eax, dword [ebp + 0x34]
cmovae edi, dword [ebp - 0x40]
cmp dword [ebp + 0x38], 0x10
push edi
cmovae ecx, dword [ebp + 0x24]
add eax, ecx
cmp dword [ebp + 0x38], 0x10
lea ecx, [ebp + 0x24]
cmovae ecx, dword [ebp + 0x24]
push eax
push ecx
lea ecx, [ebp - 0xb0]
call fcn.0041a860
mov ecx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0xb0], ecx
add esp, 0xc
cmp eax, 1
jb 0x40a184
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov esi, 7
mov dword [ebp - 0xc8], 0
cmovae edx, dword [ebp - 0x28]
lea edi, [ebp - 0xc8]
inc ecx
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xcc], ecx
cmp ecx, esi
jbe 0x409e68
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x409def
mov esi, 0x7ffffffe
mov eax, 0xfffffffe
jmp 0x409e10
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x40a189
add eax, eax
cmp eax, 0x1000
jb 0x409e43
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40a189
push ecx
call fcn.0045d477
add esp, 4
test eax, eax
je 0x40a18e
mov ecx, dword [ebp - 0xcc]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0xd0]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x409e62
test eax, eax
je 0x409e60
push eax
call fcn.0045d477
mov ecx, dword [ebp - 0xcc]
add esp, 4
mov edx, dword [ebp - 0xd0]
mov edi, eax
jmp 0x409e62
xor edi, edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xb4], esi
mov esi, dword [ebp - 0xb0]
add esi, esi
mov dword [ebp - 0xb8], ecx
push esi
push edx
push edi
call fcn.0045ef20
mov eax, 0x20
xor ecx, ecx
mov word [esi + edi], ax
add esp, 0xc
mov eax, dword [ebp - 0xb0]
mov word [edi + eax*2 + 2], cx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0xb8]
cmovae edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0xb0], ecx
cmp edi, eax
ja 0x409f0b
cmp dword [ebp - 0xb4], 8
lea eax, [edi + ecx]
lea esi, [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
cmovae esi, dword [ebp - 0xc8]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call fcn.0045ef20
mov eax, dword [ebp - 0xb0]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0xc8]
jmp 0x409f26
push edi
push edx
mov byte [ebp - 0xb0], 0
lea ecx, [ebp - 0xc8]
push dword [ebp - 0xb0]
push edi
call fcn.0041d150
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x409fa3
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409f99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a18e
push edx
push ecx
call fcn.0045d6f8
add esp, 8
lea edx, [ebp - 0x68]
mov dword [ebp - 0xb8], 0
push edx
lea edx, [ebp - 0xac]
mov dword [ebp - 0xb4], 7
push edx
push 0
push 0
xor eax, eax
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push 0
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push 0
push 0
mov word [ebp - 0xc8], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40a193
mov esi, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x68]
mov edx, dword [ebp - 0x44]
movups xmmword [esi], xmm0
cmp edx, 8
jb 0x40a041
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a037
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1c8
push edx
push ecx
call fcn.0045d6f8
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x40a08f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a085
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1c8
push edx
push ecx
call fcn.0045d6f8
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40a0dd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a0d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1c8
push edx
push ecx
call fcn.0045d6f8
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40a125
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a11b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1c8
push edx
push ecx
call fcn.0045d6f8
add esp, 8
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp edx, 0x10
jb 0x40a167
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a15d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1c8
push edx
push ecx
call fcn.0045d6f8
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.0045d24f
mov esp, ebp
pop ebp
ret
call fcn.00401870
call fcn.004017d0
call fcn.0046c2a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.00401560
add esp, 8
lea ecx, [ebp - 0xdc]
push str.Could_not_create_child_process
call fcn.004016d0
push 0x4b5550
lea eax, [ebp - 0xdc]
push eax
call fcn.0045eeaa
call fcn.0046c2a0
int3