Function at 0x421a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50d29b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x248], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov dword [esp + 0x14], edx
mov esi, ecx
mov eax, dword [esp + 0x26c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x421ab4
mov dword [eax], 0
cmp dword [esi + 0x10], 0
jne 0x421ac1
xor al, al
jmp 0x422136
xor eax, eax
mov dword [esp + 0x230], 0
mov dword [esp + 0x234], 0
mov dword [esp + 0x234], 7
mov dword [esp + 0x230], 0
mov word [esp + 0x220], ax
mov dword [esp + 0x260], eax
lea edx, [esp + 0x220]
mov ecx, esi
call fcn.00435440
mov edx, esi
mov byte [esp + 0x1f], 0
lea ecx, [esp + 0x1d8]
call fcn.0042db80
mov byte [esp + 0x260], 1
lea ecx, [esp + 0x1d8]
cmp dword [esp + 0x1ec], 8
mov edx, 0x535bac
cmovae ecx, dword [esp + 0x1d8]
call fcn.0042fa70
movzx ecx, byte [esp + 0x1f]
test al, al
mov edx, 1
cmovne ecx, edx
cmp byte [esp + 0x268], 0
mov dword [esp + 0x18], ecx
je 0x421bbd
lea ecx, [esp + 0x238]
mov dword [esp + 0x238], 0
call fcn.0044b930
mov byte [esp + 0x260], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x23c]
call fcn.0044e150
mov ecx, dword [esp + 0x18]
neg al
sbb al, al
and cl, al
mov dword [esp + 0x18], ecx
mov byte [esp + 0x260], 1
lea ecx, [esp + 0x238]
call fcn.0044b9b0
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test cl, cl
je 0x421e4f
push 0x44
lea eax, [esp + 0x190]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, 1
mov dword [esp + 0x258], 0
mov word [esp + 0x1c8], ax
xorps xmm0, xmm0
xor eax, eax
mov dword [esp + 0x25c], 0
add esp, 0xc
mov dword [esp + 0x18c], 0x44
movdqu xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x1b8], 0x81
mov dword [esp + 0x250], 7
mov dword [esp + 0x24c], 0
mov word [esp + 0x23c], ax
mov byte [esp + 0x260], 3
mov edx, dword [esp + 0x24c]
mov dword [esp + 0x18], edx
cmp edx, 0x104
ja 0x421ca9
mov ecx, dword [esp + 0x250]
cmp ecx, 0x104
je 0x421ca9
jae 0x421c8a
push edx
push 0x104
lea ecx, [esp + 0x244]
call fcn.00405770
mov ecx, dword [esp + 0x250]
mov edx, dword [esp + 0x18]
cmp ecx, 8
mov dword [esp + 0x24c], edx
lea eax, [esp + 0x23c]
cmovae eax, dword [esp + 0x23c]
xor ecx, ecx
mov word [eax + edx*2], cx
push 1
push 0x535470
lea ecx, [esp + 0x244]
call fcn.00405240
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x248]
call fcn.00407e20
push 1
push 0x535470
lea ecx, [esp + 0x244]
call fcn.00407ee0
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x10], 0
je 0x421d0f
push 0x53546c
lea ecx, [esp + 0x240]
call fcn.00407d40
push 0xffffffffffffffff
push 0
push dword [esp + 0x1c]
lea ecx, [esp + 0x248]
call fcn.00407e20
cmp dword [esp + 0x230], 0
jne 0x421d1d
xor eax, eax
jmp 0x421d34
cmp dword [esp + 0x234], 8
lea eax, [esp + 0x220]
cmovae eax, dword [esp + 0x220]
cmp dword [esp + 0x250], 8
lea ecx, [esp + 0x23c]
cmovae ecx, dword [esp + 0x23c]
cmp dword [esi + 0x14], 8
jb 0x421d55
mov edx, dword [esi]
jmp 0x421d57
mov edx, esi
lea edi, [esp + 0x5c]
push edi
lea edi, [esp + 0x190]
push edi
push eax
push 0
push 0x30
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x421e11
mov eax, dword [esp + 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x421d9e
push eax
call esi
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x421dac
mov byte [esp + 0x1f], cl
jmp 0x421dc8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x421db8
mov dword [eax], ecx
jmp 0x421dc3
push ecx
call esi
mov dword [esp + 0x5c], 0
mov byte [esp + 0x1f], 1
mov byte [esp + 0x260], 1
cmp dword [esp + 0x250], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x421dec
push dword [esp + 0x23c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x250], 7
mov dword [esp + 0x24c], 0
mov word [esp + 0x23c], ax
jmp 0x4220b3
mov byte [esp + 0x260], 1
cmp dword [esp + 0x250], 8
jb 0x421e2f
push dword [esp + 0x23c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x250], 7
mov dword [esp + 0x24c], 0
mov word [esp + 0x23c], ax
push str.open
lea ecx, [esp + 0x1f4]
call fcn.00404840
mov byte [esp + 0x260], 4
cmp byte [esp + 0x268], 0
je 0x421e98
lea ecx, [esp + 0x6c]
call fcn.0042eb40
cmp dword [esp + 0x70], 6
setae al
test al, al
je 0x421e98
push str.runas
lea ecx, [esp + 0x1f4]
call fcn.00404910
xor eax, eax
mov dword [esp + 0x218], 0
push 0xffffffffffffffff
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x228], 0
lea ecx, [esp + 0x214]
mov dword [esp + 0x228], 7
mov dword [esp + 0x224], 0
mov word [esp + 0x214], ax
call fcn.00404c30
mov byte [esp + 0x260], 5
lea eax, [esp + 0x20]
push 0x3c
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x20], 0x3c
cmp dword [esp + 0x204], 8
lea eax, [esp + 0x1f0]
mov dword [esp + 0x28], 0
cmovae eax, dword [esp + 0x1f0]
cmp dword [esi + 0x14], 8
mov dword [esp + 0x24], 0x100540
mov dword [esp + 0x2c], eax
jb 0x421f35
mov esi, dword [esi]
cmp dword [esp + 0x234], 8
lea eax, [esp + 0x220]
push 0x535970
cmovae eax, dword [esp + 0x224]
lea ecx, [esp + 0x240]
cmp dword [esp + 0x220], 8
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20c]
cmovae eax, dword [esp + 0x20c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 1
call fcn.00404840
mov byte [esp + 0x260], 6
lea eax, [esp + 0x23c]
push eax
call fcn.00452360
mov ecx, eax
call fcn.004523f0
mov esi, eax
mov byte [esp + 0x260], 5
cmp dword [esp + 0x250], 8
jb 0x421fc4
push dword [esp + 0x23c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x250], 7
mov dword [esp + 0x24c], 0
mov word [esp + 0x23c], ax
test esi, esi
je 0x422032
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422032
lea ecx, [esp + 0x20]
push ecx
call eax
test eax, eax
je 0x422032
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x422032
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42201c
mov dword [eax], ecx
mov byte [esp + 0x1f], 1
jmp 0x422037
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x58], 0
mov byte [esp + 0x1f], 1
jmp 0x422037
mov byte [esp + 0x1f], 0
mov byte [esp + 0x260], 4
cmp dword [esp + 0x21c], 8
jb 0x422055
push dword [esp + 0x208]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x21c], 7
mov dword [esp + 0x218], 0
mov word [esp + 0x208], ax
mov byte [esp + 0x260], 1
cmp dword [esp + 0x204], 8
jb 0x422093
push dword [esp + 0x1f0]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x204], 7
mov dword [esp + 0x200], 0
mov word [esp + 0x1f0], ax
mov byte [esp + 0x260], 0
cmp dword [esp + 0x1ec], 8
jb 0x4220d1
push dword [esp + 0x1d8]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x1ec], 7
mov dword [esp + 0x1e8], 0
mov word [esp + 0x1d8], ax
mov dword [esp + 0x260], 0xffffffff
cmp dword [esp + 0x234], 8
jb 0x422112
push dword [esp + 0x220]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x234], 7
mov word [esp + 0x220], ax
mov al, byte [esp + 0x1f]
mov dword [esp + 0x230], 0
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00505b1e
add esp, 0x258
ret