Function at 0x426cbe
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x48ba24
call fcn.004874e0
sub esp, 0x64
push ebx
push esi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.00435475
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
push 0x44
lea eax, [ebp - 0x70]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0x18
cmp dword [0x4c1ec8], 0x50001
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], eax
mov dword [ebp + 0xc], ebx
jne 0x426d1b
cmp dword [ebp + 8], ebx
mov byte [ebp + 0x13], 1
ja 0x426d1e
mov byte [ebp + 0x13], bl
movzx eax, byte [ebp + 0x13]
push eax
mov esi, 0x4c2700
push dword [ebp + 8]
push str.CreateProcess1__1_session_d_custom_d
push esi
call fcn.004319df
add esp, 0x10
cmp byte [ebp + 0x13], bl
je 0x426dc9
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00435b75
push eax
push ebx
push ebx
push 1
push dword [ebp + 8]
call fcn.0042692e
add esp, 0x34
cmp eax, ebx
mov dword [ebp + 0x14], eax
jne 0x426d7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
jmp 0x426e5a
cmp dword [ebp - 0x2c], ebx
jne 0x426e5a
push dword [ebp - 0x24]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x426e5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push dword [ebp - 0x24]
push str.ERROR:_OpenProcess__u__error_d
push eax
call fcn.00430892
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp byte [ebp + 0x14], bl
push edi
jne 0x426dfe
lea ecx, [ebp - 0x18]
call fcn.00420a78
push dword [ebp + 8]
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
mov dword [ebp + 0x14], ebx
call fcn.00420b86
lea ecx, [ebp - 0x18]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00420a82
cmp edi, ebx
jne 0x426e09
push dword [ebp + 8]
call fcn.00426ba2
pop ecx
mov edi, eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004358fb
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp eax, ebx
mov dword [ebp + 0x14], eax
jne 0x426e39
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
pop edi
jne 0x426e5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_CloseHandle_hToken___d
push esi
call fcn.004319c7
add esp, 0xc
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push str.CreateProcess1__3__d_error_d
push esi
call fcn.004319df
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jne 0x426e98
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push dword [ebp + 0xc]
push str.ERROR:_CreateProcessAsUser___error_d__session_d
push eax
call fcn.00430892
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x28], 0xffffffff
je 0x426ec5
cmp dword [ebp - 0x28], ebx
je 0x426ec5
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x426ec5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_CloseHandle_pi.hThread___d
push esi
call fcn.004319c7
add esp, 0xc
mov esi, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004353fc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret