Function at 0x422539
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x3c
call fcn.005080aa
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 0x422588
push 0x52b36d
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00404a8f
add esp, 8
cmp eax, 0
je 0x422588
xor eax, eax
jmp 0x42258d
mov eax, 1
test eax, eax
je 0x4226ff
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
push 0
mov ebx, 0x104
call fcn.0050a220
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 0x4225c9
push ebx
call fcn.005080b0
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 SysStringLen
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4225f9
mov eax, 0x52b36d
push eax
push 2
mov ebx, 0x138
call fcn.0050a340
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 0x5e7e96
push dword [ebp - 0xc]
call fcn.00404a8f
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 0x42263d
push ebx
call fcn.005080b0
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x42268f
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 0x5e7e96
mov ebx, dword [ebp - 0xc]
push dword [ebx]
mov ecx, 2
call fcn.004018f7
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 0x422689
push ebx
call fcn.005080b0
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, 0x108
call fcn.0050dc50
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.004018f7
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4226de
push ebx
call fcn.005080b0
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4226f4
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
jmp 0x42273f
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 0x422726
push eax
mov ebx, eax
call fcn.0040188c
inc eax
push eax
call fcn.005080aa
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 0x422739
push ebx
call fcn.005080b0
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 0x422766
push eax
mov ebx, eax
call fcn.0040188c
inc eax
push eax
call fcn.005080aa
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 0x422779
push ebx
call fcn.005080b0
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 0x4227a0
push ebx
call fcn.005080b0
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], pe_nt_image_headers32
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x68f31a]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4227fc
push 0x28e
push 0x4011f0d
push 6
call fcn.005080bc
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 0x42282d
push 0x2cd
push 0x4011f0d
push 6
call fcn.005080bc
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
jmp 0x422841
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x422859
push ebx
call fcn.005080b0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42286d
push ebx
call fcn.005080b0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x422881
push ebx
call fcn.005080b0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x422895
push ebx
call fcn.005080b0
add esp, 4
pop ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4228a9
push ebx
call fcn.005080b0
add esp, 4
pop ebx
call fcn.005080b0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10