Function at 0x140029cd4
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0xb0
mov rdi, rcx
mov r12b, r9b
mov rcx, rdx
mov rbx, r8
mov r15, rdx
call qword [sym.imp.mozglue.dll__wcsdup]
mov rcx, qword [rdi + 0x50]
mov qword [rdi + 0x50], rax
test rcx, rcx
je 0x140029d1f
call qword [sym.imp.mozglue.dll_free]
mov rcx, rbx
call qword [sym.imp.mozglue.dll__wcsdup]
mov r14, qword [rbp + 0x6f]
mov rbx, rax
mov rax, qword [r14 + 0x68]
neg rax
sbb esi, esi
and esi, 0x80000
add esi, 0x40c
cmp qword [rdi + 0x30], 0
mov ecx, esi
je 0x140029d5d
call fcn.140010a48
mov ecx, esi
cmp dword [rax], 5
jge 0x140029d5d
bts ecx, 0x18
xor eax, eax
lea rdx, [rbp - 9]
mov qword [rsp + 0x50], rdx
xor r9d, r9d
mov qword [rsp + 0x48], r14
mov r8, rbx
and qword [rsp + 0x40], 0
mov rdx, r15
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], ecx
mov rcx, qword [rdi + 0x18]
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
movzx eax, r12b
mov dword [rsp + 0x28], eax
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x140029dc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
mov edi, 0x12
mov dword [rcx], eax
jmp 0x140029eed
and dword [rbp - 0x11], 0
lea rdx, [rbp - 9]
and dword [rbp - 0xd], 0
lea rcx, [rbp - 0x21]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
call fcn.1400104d8
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140029e1a
mov rdx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140029e1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x140029ee4
mov rdx, qword [rdi + 0x20]
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140029e69
mov rax, qword [rbp - 0x19]
lea rcx, [rbp + 0x6f]
mov qword [rbp + 0x6f], rax
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x140029e60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x15
jmp 0x140029ee4
lea rcx, [rdi + 0x20]
call fcn.1400050c8
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp - 0x21]
call fcn.14001046c
test al, al
jne 0x140029e99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x140029ee4
mov rcx, qword [rbp - 0x21]
call fcn.14002af1c
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x140029eca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x140029ee4
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x21]
call fcn.140010528
mov rdx, rax
mov rcx, rdi
call fcn.1400104d8
xor edi, edi
lea rcx, [rbp - 0x21]
call fcn.140010394
test rbx, rbx
je 0x140029efb
mov rcx, rbx
call qword [sym.imp.mozglue.dll_free]
lea r11, [rsp + 0xb0]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret