Function at 0x428270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push fcn.00422230
lea ecx, [ebp - 4]
lea eax, [ebp + 4]
add eax, 0xfffffffc
push ecx
push eax
call fcn.00420810
push 0x44
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.0053f310
mov eax, dword fs:[0x2c]
add esp, 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x44
mov ecx, 1
movups xmmword [ebp - 0x20], xmm0
mov esi, dword [eax]
mov eax, dword [ebp + 0x1c]
lea edi, [esi + 0x1600]
neg eax
movq qword [edi], xmm0
mov dword [ebp - 0x10], esi
sbb eax, eax
mov dword [ebp - 0xc], edi
and eax, 5
mov dword [edi + 8], 0
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], ecx
test eax, eax
je 0x4283a0
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0
push eax
call fcn.0043d300
mov edx, dword [ebp + 0x1c]
add esp, 8
xor esi, esi
mov eax, dword [edx]
test eax, eax
je 0x42832f
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428314
sub eax, ebx
add edx, 4
sar eax, 1
inc eax
add esi, eax
mov eax, dword [edx]
test eax, eax
jne 0x428311
push esi
push dword [ebp - 8]
call fcn.004222c0
mov esi, dword [ebp + 0x1c]
add esp, 8
xor ebx, ebx
mov ecx, dword [esi]
test ecx, ecx
je 0x42838e
mov edi, dword [ebp - 8]
nop dword [eax]
mov eax, dword [edi]
lea edx, [eax + ebx*2]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x428355
mov ecx, dword [esi]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428370
sub ecx, edx
add esi, 4
sar ecx, 1
inc ecx
add ebx, ecx
mov ecx, dword [esi]
test ecx, ecx
jne 0x428350
mov edi, dword [ebp - 0xc]
lea eax, [ebp + 0x1c]
push eax
call fcn.0043d2c0
mov ecx, dword [ebp - 0x38]
add esp, 4
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4283f4
or ecx, 0x100
push 0
push ebx
mov dword [ebp - 0x38], ecx
call fcn.00428640
add esp, 8
test eax, eax
je 0x4283dd
lea eax, [esi + 0x1610]
push eax
push str.redir_failed:__s
push 0x360003
call fcn.00424230
add esp, 0xc
jmp 0x428516
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x1604]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1608]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x20], 0
mov eax, dword [ebp + 0xc]
je 0x42848e
mov dword [ebp - 0x5c], 0x56f394
test eax, eax
je 0x428423
push eax
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.00420ed0
add esp, 8
mov eax, dword [eax]
mov dword [ebp + 0x1c], eax
jmp 0x42842a
mov dword [ebp + 0x1c], 0
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov esi, dword [eax]
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.00420ed0
add esp, 8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push dword [ebp + 0x1c]
push esi
push 0x400
push dword [ebp + 0x18]
push 0
push 0
push dword [eax]
push 0
push dword [ebp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push eax
call fcn.0053b400
add esp, 4
test eax, eax
jne 0x42850a
push str.CreateProcessAsUser_failed:__m
push 0x360003
call fcn.00424230
add esp, 8
jmp 0x428516
test eax, eax
je 0x4284a9
push eax
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.00420ed0
add esp, 8
mov eax, dword [eax]
mov dword [ebp + 0x1c], eax
jmp 0x4284b0
mov dword [ebp + 0x1c], 0
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov esi, dword [eax]
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.00420ed0
add esp, 8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push dword [ebp + 0x1c]
push esi
push 0x400
push dword [ebp + 0x18]
push 0
push 0
push dword [eax]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push eax
call fcn.0053b400
add esp, 4
test eax, eax
jne 0x42850a
push str.CreateProcess_failed:__m
push 0x360003
call fcn.00424230
add esp, 8
jmp 0x428516
lea eax, [ebp - 0x1c]
push eax
call fcn.004438e0
add esp, 4
test ebx, ebx
je 0x428531
mov esi, 3
nop
push edi
call fcn.004438e0
add esp, 4
add edi, 4
sub esi, 1
jne 0x428520
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret