Function at 0x421ee6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x3c
call fcn.0050fbee
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 0
je 0x421f35
push 0x537282
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040423a
add esp, 8
cmp eax, 0
je 0x421f35
xor eax, eax
jmp 0x421f3a
mov eax, 1
test eax, eax
je 0x4220ac
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
push 0
mov ebx, 0x104
call fcn.00511ab0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x421f76
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
push 0x80000301
push 0
push 1
push VariantClear
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x421fa6
mov eax, 0x537282
push eax
push 2
mov ebx, 0x138
call fcn.00511be0
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 0x5377ce
push dword [ebp - 0xc]
call fcn.0040423a
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x421fea
push ebx
call fcn.0050fbf4
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x42203c
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
push 0x5377ce
mov ebx, dword [ebp - 0xc]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x422036
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
push 0
mov ebx, pe_nt_image_headers32
call fcn.005158c0
add esp, 4
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42208b
push ebx
call fcn.0050fbf4
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4220a1
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
jmp 0x4220ec
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4220d3
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0050fbee
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4220e6
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x422113
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0050fbee
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x422126
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov eax, str.runas
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42214d
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0xa
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x100
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x5decb6]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4221a9
push 0x28e
push 0x4011f0d
push 6
call fcn.0050fc00
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x4221da
push 0x2cd
push 0x4011f0d
push 6
call fcn.0050fc00
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
jmp 0x4221ee
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x422206
push ebx
call fcn.0050fbf4
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42221a
push ebx
call fcn.0050fbf4
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42222e
push ebx
call fcn.0050fbf4
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x422242
push ebx
call fcn.0050fbf4
add esp, 4
pop ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x422256
push ebx
call fcn.0050fbf4
add esp, 4
pop ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10