Function at 0x422b10
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcbf1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x525008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x24c], esi
mov edi, ecx
call fcn.00403760
test al, al
je 0x422b6b
xor al, al
jmp 0x422fb4
lea ecx, [ebp - 0x48]
call fcn.00403810
mov dword [ebp - 4], 0
mov edx, ecx
mov ecx, edi
call fcn.004288d0
mov edx, edi
lea ecx, [ebp - 0xd8]
call fcn.00422010
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.00403840
cmp dword [eax + 0x14], 8
jb 0x422ba7
mov eax, dword [eax]
mov edx, 0x50d264
mov ecx, eax
call fcn.0041c800
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x245], al
mov dword [ebp - 0x18], 0
call fcn.004354b0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x18]
call fcn.004363f0
neg al
sbb al, al
and byte [ebp - 0x245], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00435530
cmp byte [ebp - 0x245], 0
je 0x422dfa
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0x44
xor eax, eax
movlpd qword [ebp - 0x8c], xmm0
mov word [ebp - 0x4e], ax
lea ecx, [ebp - 0x30]
mov eax, 1
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x5e], xmm0
movlpd qword [ebp - 0x56], xmm0
movups xmmword [ebp - 0x208], xmm0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x64], 0x81
call fcn.00403810
mov byte [ebp - 4], 3
call fcn.00403840
mov esi, eax
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x250], edx
cmp edx, 0x104
ja 0x422c9b
cmp dword [esi + 0x14], 0x104
jae 0x422c9b
mov byte [ebp - 0x18], 0
mov eax, 0x104
push dword [ebp - 0x18]
sub eax, edx
push eax
call fcn.00406090
mov eax, dword [ebp - 0x250]
mov dword [esi + 0x10], eax
mov ecx, 0x50d204
call fcn.00403ba0
push eax
push 0x50d204
lea ecx, [ebp - 0x30]
call fcn.00403930
mov ecx, edi
call fcn.00403840
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x422cc4
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x30]
push eax
call fcn.00405af0
mov ecx, 0x50d204
call fcn.00403ba0
push eax
push 0x50d204
lea ecx, [ebp - 0x30]
call fcn.00405af0
mov ecx, dword [ebp - 0x24c]
call fcn.00403760
test al, al
jne 0x422d30
mov ecx, 0x50d208
call fcn.00403ba0
push eax
push 0x50d208
lea ecx, [ebp - 0x30]
call fcn.00405af0
mov ecx, dword [ebp - 0x24c]
call fcn.00403840
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x422d24
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00405af0
lea ecx, [ebp - 0x48]
call fcn.00403760
test al, al
je 0x422d40
xor edx, edx
jmp 0x422d52
lea ecx, [ebp - 0x48]
call fcn.00403840
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x422d52
mov edx, dword [edx]
lea ecx, [ebp - 0x30]
call fcn.00403840
cmp dword [eax + 0x14], 8
jb 0x422d62
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x422d6a
mov esi, dword [esi]
lea ecx, [ebp - 0x208]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push edx
push 0
push 0x30
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x422de8
mov eax, dword [ebp - 0x204]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x422dac
push eax
call esi
mov dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x208]
test eax, eax
jne 0x422dc8
mov byte [ebp - 0x245], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x422f8b
push eax
call esi
mov dword [ebp - 0x208], 0
mov byte [ebp - 0x245], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x422f8b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004037b0
mov esi, dword [ebp - 0x24c]
push str.open
lea ecx, [ebp - 0xa8]
call fcn.004037c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f8]
call fcn.0042d570
cmp dword [ebp - 0x1f4], 6
jb 0x422e3d
mov ecx, str.runas
call fcn.00403ba0
push eax
push str.runas
lea ecx, [ebp - 0xa8]
call fcn.00403930
push esi
lea ecx, [ebp - 0xc0]
call fcn.00404670
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0xa8]
movlpd qword [ebp - 0x224], xmm0
movlpd qword [ebp - 0x21c], xmm0
movlpd qword [ebp - 0x214], xmm0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x244], 0x3c
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0x100540
call fcn.00403840
cmp dword [eax + 0x14], 8
jb 0x422ea3
mov eax, dword [eax]
mov ecx, edi
mov dword [ebp - 0x238], eax
call fcn.00403840
cmp dword [eax + 0x14], 8
jb 0x422eb8
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x234], eax
call fcn.00403840
cmp dword [eax + 0x14], 8
jb 0x422ece
mov eax, dword [eax]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x22c], eax
call fcn.00403840
cmp dword [eax + 0x14], 8
jb 0x422ee7
mov eax, dword [eax]
push str.Shell32.dll
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x228], 1
call fcn.004037c0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push eax
call fcn.0042e610
mov ecx, eax
call fcn.0042e6d0
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004037b0
test esi, esi
je 0x422f6b
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422f6b
lea ecx, [ebp - 0x244]
push ecx
call eax
test eax, eax
je 0x422f6b
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x422f6b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x245], 1
jmp 0x422f72
mov byte [ebp - 0x245], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.004037b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.004037b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.004037b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004037b0
mov al, byte [ebp - 0x245]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f63f1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret