Function at 0x428240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push fcn.00422200
lea ecx, [ebp - 4]
lea eax, [ebp + 4]
add eax, 0xfffffffc
push ecx
push eax
call fcn.004207e0
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 0x428370
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0
push eax
call fcn.0043d2a0
mov edx, dword [ebp + 0x1c]
add esp, 8
xor esi, esi
mov eax, dword [edx]
test eax, eax
je 0x4282ff
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4282e4
sub eax, ebx
add edx, 4
sar eax, 1
inc eax
add esi, eax
mov eax, dword [edx]
test eax, eax
jne 0x4282e1
push esi
push dword [ebp - 8]
call fcn.00422290
mov esi, dword [ebp + 0x1c]
add esp, 8
xor ebx, ebx
mov ecx, dword [esi]
test ecx, ecx
je 0x42835e
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 0x428325
mov ecx, dword [esi]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428340
sub ecx, edx
add esi, 4
sar ecx, 1
inc ecx
add ebx, ecx
mov ecx, dword [esi]
test ecx, ecx
jne 0x428320
mov edi, dword [ebp - 0xc]
lea eax, [ebp + 0x1c]
push eax
call fcn.0043d260
mov ecx, dword [ebp - 0x38]
add esp, 4
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4283c4
or ecx, 0x100
push 0
push ebx
mov dword [ebp - 0x38], ecx
call fcn.00428610
add esp, 8
test eax, eax
je 0x4283ad
lea eax, [esi + 0x1610]
push eax
push str.redir_failed:__s
push 0x360003
call fcn.00424200
add esp, 0xc
jmp 0x4284e6
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 0x42845e
mov dword [ebp - 0x5c], 0x56f324
test eax, eax
je 0x4283f3
push eax
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.00420ea0
add esp, 8
mov eax, dword [eax]
mov dword [ebp + 0x1c], eax
jmp 0x4283fa
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.00420ea0
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 0x4284da
push str.CreateProcessAsUser_failed:__m
push 0x360003
call fcn.00424200
add esp, 8
jmp 0x4284e6
test eax, eax
je 0x428479
push eax
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.00420ea0
add esp, 8
mov eax, dword [eax]
mov dword [ebp + 0x1c], eax
jmp 0x428480
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.00420ea0
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 0x4284da
push str.CreateProcess_failed:__m
push 0x360003
call fcn.00424200
add esp, 8
jmp 0x4284e6
lea eax, [ebp - 0x1c]
push eax
call fcn.00443880
add esp, 4
test ebx, ebx
je 0x428501
mov esi, 3
nop
push edi
call fcn.00443880
add esp, 4
add edi, 4
sub esi, 1
jne 0x4284f0
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret