Function at 0x42fa57
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.00439f30
mov eax, dword [0x62c144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2008], edi
mov dword [ebp - 0x2014], eax
je 0x42fdcb
call fcn.0043d387
test al, al
je 0x42faad
mov esp, 0xec6117e5
cmc
mov eax, 0x3626c66f
ret 0xe88d
call fcn.0043d2fd
test al, al
je 0x42facc
push 0x26dea26c
push esi
cmp ebp, dword [esp + ecx + 0x31c4f61a]
sub eax, 0x3374dee6
daa
cmpsb byte [esi], byte es:[edi]
in al, 0xf1
xor ebx, ebx
lea eax, [ebp - 0x2004]
push 0x2000
push ebx
push eax
mov dword [ebp - 0x2010], ebx
mov dword [ebp - 0x200c], ebx
call fcn.00446360
push dword [ebp - 0x2014]
lea eax, [ebp - 0x2004]
push edi
push str.__s___s
push eax
call fcn.00408fc0
add esp, 0x1c
call fcn.0043d411
test al, al
je 0x42fb31
retf 0x611d
push str.EXPLORER.EXE
call fcn.004305de
pop ecx
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2018], eax
test eax, eax
je 0x42fd1c
lea ecx, [ebp - 0x2010]
mov esi, 0xf01ff
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42fd1c
lea eax, [ebp - 0x200c]
push eax
push 1
push 1
push ebx
push esi
push dword [ebp - 0x2010]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x42fd1c
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42fbe3
push str.WTSGetActiveConsoleSessionId
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42fbdc
call eax
push 4
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2014]
push eax
push 0xc
push dword [ebp - 0x200c]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x42fd1c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x206c]
push ebx
push eax
call fcn.00446360
push 0x10
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.00446360
add esp, 0x18
mov dword [ebp - 0x206c], esi
call fcn.0043d342
test al, al
je 0x42fc29
add edi, ebx
test dword [eax + 0x1a], esi
salc
stc
and ebx, dword [eax + 6]
invalid
call fcn.0043d5f4
test al, al
je 0x42fc4e
push edx
jnp 0x42fc7f
fadd st(6), st(0)
fsubr dword [ebx - 0x563a6c3f]
mov esi, 0xce38f6de
mov word [esi + 0x5ab702e], es
mov esi, 0xd23fb84
sub eax, 0xdbc9e8
add byte [eax + eax*8 + 0x68e51574], al
call fcn.0043d81c
test al, al
je 0x42fc6c
in eax, 0x68
pushal
sub eax, dword [ecx + 0xa]
insb byte es:[edi], dx
test ebx, esp
pop esp
pop ebp
cmp eax, ebp
mov dword [0xa62ade46], eax
psubusw mm6, qword [ecx + 0x6a]
add eax, 0xc7db3358
test dword [edi + ebx*8 - 0x51f30001], ebx
pop edx
add byte [esi - 0x77], ah
test esp, eax
push 5
pop eax
xor ebx, ebx
mov dword [ebp - 0x2064], str.WinSta0Default
mov word [ebp - 0x203c], ax
mov dword [ebp - 0x2040], 1
mov dword [ebp - 0x2008], ebx
call fcn.0043d411
test al, al
je 0x42fcbc
invalid
pop edi
ret 0xa13f
push ebx
push dword [ebp - 0x200c]
lea eax, [ebp - 0x2008]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x42fd1c
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x206c]
push eax
push ebx
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push 0x430
push ebx
push ebx
push ebx
push eax
push ebx
push dword [ebp - 0x200c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x42fd1c
invalid
cmp dword [ebp - 0x2008], 0
je 0x42fd1c
push dword [ebp - 0x2008]
call sub.USERENV.dll_DestroyEnvironmentBlock
call fcn.0043d74d
test al, al
je 0x42fd41
call 0x319369da
aaa
jg 0x42fcec
stosb byte es:[edi], al
sbb dword [edx], eax
js 0x42fcbc
jno 0x42fda2
int 0x8e
xlatb
sbb dword [eax + 0x4e023875], 0xffffffb4
lcall 0xdff4, 0x858b4d11
invalid
mov eax, dword [ebp - 0x200c]
test eax, eax
je 0x42fd57
cmp eax, 0xffffffff
je 0x42fd57
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043d81c
test al, al
je 0x42fd7b
test eax, 0x4c13cbbe
cdq
leave
ret 0x1051
mov eax, dword [ebp - 0x2010]
test eax, eax
je 0x42fd91
cmp eax, 0xffffffff
je 0x42fd91
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2018], 0
jne 0x42fda2
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043d74d
test al, al
je 0x42fdc7
pushal
push es
leave
push 0xfffffffffffffff8
test dword [eax], eax
or al, 0xed
clc
adc al, 0x64
cmp byte [eax - 0x7b], ch
in al, 0x5d
xor al, 0x54
pop ebx
dec edx
pushal
in al, 0x55
invalid
xor al, al
jmp 0x42fde0
push 0
push 0
push 0
push eax
push edi
call fcn.0042f725
add esp, 0x14
test eax, eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439cb7
mov esp, ebp
pop ebp
ret