Function at 0x4281f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push fcn.004221a0
lea ecx, [ebp - 4]
lea eax, [ebp + 4]
add eax, 0xfffffffc
push ecx
push eax
call fcn.00420780
push 0x44
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.0053f280
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 0x428320
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0
push eax
call fcn.0043d250
mov edx, dword [ebp + 0x1c]
add esp, 8
xor esi, esi
mov eax, dword [edx]
test eax, eax
je 0x4282af
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428294
sub eax, ebx
add edx, 4
sar eax, 1
inc eax
add esi, eax
mov eax, dword [edx]
test eax, eax
jne 0x428291
push esi
push dword [ebp - 8]
call fcn.00422230
mov esi, dword [ebp + 0x1c]
add esp, 8
xor ebx, ebx
mov ecx, dword [esi]
test ecx, ecx
je 0x42830e
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 0x4282d5
mov ecx, dword [esi]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4282f0
sub ecx, edx
add esi, 4
sar ecx, 1
inc ecx
add ebx, ecx
mov ecx, dword [esi]
test ecx, ecx
jne 0x4282d0
mov edi, dword [ebp - 0xc]
lea eax, [ebp + 0x1c]
push eax
call fcn.0043d210
mov ecx, dword [ebp - 0x38]
add esp, 4
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x428374
or ecx, 0x100
push 0
push ebx
mov dword [ebp - 0x38], ecx
call fcn.004285c0
add esp, 8
test eax, eax
je 0x42835d
lea eax, [esi + 0x1610]
push eax
push str.redir_failed:__s
push 0x360003
call fcn.004241a0
add esp, 0xc
jmp 0x428496
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 0x42840e
mov dword [ebp - 0x5c], 0x56f264
test eax, eax
je 0x4283a3
push eax
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.00420e40
add esp, 8
mov eax, dword [eax]
mov dword [ebp + 0x1c], eax
jmp 0x4283aa
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.00420e40
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.0053b370
add esp, 4
test eax, eax
jne 0x42848a
push str.CreateProcessAsUser_failed:__m
push 0x360003
call fcn.004241a0
add esp, 8
jmp 0x428496
test eax, eax
je 0x428429
push eax
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.00420e40
add esp, 8
mov eax, dword [eax]
mov dword [ebp + 0x1c], eax
jmp 0x428430
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.00420e40
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.0053b370
add esp, 4
test eax, eax
jne 0x42848a
push str.CreateProcess_failed:__m
push 0x360003
call fcn.004241a0
add esp, 8
jmp 0x428496
lea eax, [ebp - 0x1c]
push eax
call fcn.00443830
add esp, 4
test ebx, ebx
je 0x4284b1
mov esi, 3
nop
push edi
call fcn.00443830
add esp, 4
add edi, 4
sub esi, 1
jne 0x4284a0
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret