Function at 0x10003270
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000aba0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x10010040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea esi, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100032f0
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x1000358f
mov dword [ebp - 0x224], 7
cmp esi, 7
ja 0x10003348
mov dword [ebp - 0x228], esi
lea eax, [ebp - 0x220]
add esi, esi
push esi
push eax
lea eax, [ebp - 0x238]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x238], ax
jmp 0x100033f5
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x10003363
mov eax, 0x7fffffff
mov edi, 0x7ffffffe
add eax, eax
jmp 0x10003384
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x1000358a
add eax, eax
cmp eax, 0x1000
jb 0x100033ad
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1000358a
push ecx
call fcn.10009d9e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1000355c
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x100033be
test eax, eax
je 0x100033bc
push eax
call fcn.10009d9e
add esp, 4
jmp 0x100033be
xor eax, eax
mov dword [ebp - 0x228], esi
lea ecx, [ebp - 0x220]
add esi, esi
mov dword [ebp - 0x2ac], eax
push esi
push ecx
push eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x224], edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x2ac]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
cmp dword [ebp - 0x224], 7
mov eax, dword [ebp - 0x228]
cmova ecx, dword [ebp - 0x238]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x238]
cmova ecx, dword [ebp - 0x238]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.10005fb0
cmp dword [ebp - 0x23c], 0xf
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x298], 0x44
push ecx
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x28c], xmm0
movlpd qword [ebp - 0x284], xmm0
movlpd qword [ebp - 0x27c], xmm0
movlpd qword [ebp - 0x274], xmm0
movlpd qword [ebp - 0x26c], xmm0
movlpd qword [ebp - 0x264], xmm0
movlpd qword [ebp - 0x25c], xmm0
movups xmmword [ebp - 0x2a8], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100034d9
push dword [ebp - 0x2a8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2a4]
call esi
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0xf
jbe 0x1000350f
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003505
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000355c
push ecx
push edx
call fcn.1000a0e8
add esp, 8
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
cmp ecx, 7
jbe 0x1000356c
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003562
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003562
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000a0e8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10009d90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10003120
call fcn.100031c0
int3