Function at 0x1400b3930
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x33f0
call fcn.140114010
sub rsp, rax
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rsp + 0x3430], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x33e0], rax
movzx r12d, r8b
mov esi, edx
mov rdi, rcx
mov dword [rsp + 0x68], edx
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
test al, al
je 0x1400b399b
mov edx, esi
mov rcx, rdi
call fcn.1400b2270
mov qword [rsp + 0x70], rax
jmp 0x1400b39dd
lea rdx, [rsp + 0x70]
mov ecx, esi
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
jne 0x1400b39dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_obtain_user_token_when_starting_recorder_process:__d
lea rcx, [rsp + 0x160]
call fcn.140023c00
lea rdx, [0x140307e10]
lea rcx, [rsp + 0x160]
call fcn.1401419e8
int3
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xb8]
call fcn.1400b0fa0
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1400b3a34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, esi
lea rdx, str.Failed_to_impersonate_logged_on_user__session_ID:__ud__error_code:__ud
lea rcx, [rsp + 0x1180]
call fcn.140023c00
lea rdx, [0x140307e10]
lea rcx, [rsp + 0x1180]
call fcn.1401419e8
int3
xor eax, eax
mov byte [rsp + 0x64], al
movzx edx, al
lea rcx, [rsp + 0x60]
call fcn.1400b0f70
nop
mov eax, 0x22
mov word [rsp + 0x31c0], ax
xor edx, edx
mov r8d, 0x102
lea rcx, [rsp + 0x31c2]
call fcn.140141ad0
lea rcx, [rdi + 0x28]
call fcn.140022a60
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x31c0]
call fcn.140157c7c
lea r8, [0x140288388]
mov edx, 0x104
lea rcx, [rsp + 0x31c0]
call fcn.140157c7c
movups xmm0, xmmword [str.WinSta0Default]
movaps xmmword [rsp + 0x32d0], xmm0
xor edx, edx
mov r8d, 0xf4
lea rcx, [rsp + 0x32e0]
call fcn.140141ad0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.140141ad0
mov dword [rsp + 0xd0], WSAGetLastError
lea rax, [rsp + 0x32d0]
mov qword [rsp + 0xe0], rax
xor eax, eax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + gethostbyname], 0x30
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x31c0]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x1400b3b98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x31c0]
lea rdx, str.Failed_to_start_recorder_process:__s__error:__ud
lea rcx, [rsp + 0x21a0]
call fcn.140023c00
lea rdx, [0x140307e10]
lea rcx, [rsp + 0x21a0]
call fcn.1401419e8
int3
lea rcx, [rsp + 0x78]
call fcn.1400b16c0
nop
mov rax, qword [rsp + 0x78]
mov dword [rax], esi
mov r14, qword [rsp + 0x90]
mov qword [rsp + 0x88], r14
mov rbx, qword [rsp + 0x78]
call fcn.140019140
mov qword [rsp + 0x88], rax
cmp r14, qword [rbx + 8]
je 0x1400b3bf5
mov r15, qword [rbx + 8]
call fcn.140019140
cmp r15, rax
je 0x1400b3bf1
mov rcx, r15
call fcn.140023a90
call fcn.140019140
mov qword [rbx + 8], rax
mov qword [rbx + 8], r14
lea rcx, [rsp + 0x88]
call fcn.140023ea0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0xa0]
mov dword [rcx + 4], eax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rdi + 0x68]
call fcn.1400b1000
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0xa8]
lea rcx, [rdi + 0x68]
call fcn.1400b13f0
cmp byte [rsp + 0xb0], 0
jne 0x1400b3cb8
mov r14, qword [rsp + 0xa8]
mov rbx, qword [r14 + 0x28]
call fcn.140019140
cmp qword [rbx + 8], rax
je 0x1400b3caa
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x1400b3d51
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400b3d51
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400b3d51
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WSOCK32.dll_htonl]
jmp 0x1400b3d51
lea rcx, [r14 + 0x28]
lea rdx, [rsp + 0x78]
call fcn.1400b1e00
test r12b, r12b
je 0x1400b3cca
lea rcx, [rdi + 0xc0]
call fcn.140030190
nop
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x1400b3d05
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400b3d01
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400b3d01
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WSOCK32.dll_htonl]
mov esi, dword [rsp + 0x68]
call fcn.140029640
mov rbx, rax
lea rdx, str.COMMON
lea rcx, [rsp + 0x140]
call fcn.140022180
nop
mov dword [rsp + 0x20], esi
lea r9, str.Host_Process_has_been_successfully_started_within_session:__d
lea r8, [rsp + 0x140]
mov edx, 2
mov rcx, rbx
call fcn.140027ff0
nop
lea rcx, [rsp + 0x140]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x60]
call fcn.1400b1b80
nop
lea rcx, [rsp + 0xb8]
call fcn.1400b1ba0
mov rcx, qword [rsp + 0x33e0]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x3430]
add rsp, 0x33f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret