Function at 0x140081660
Capabilities:
Create process on windows

Disassembly:
jmp 0x140081660
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1401199f8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x80], rdx
xor r12d, r12d
mov dword [rsp + 0x70], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov r8d, r12d
mov qword [rsp + 0x68], r12
mov rbx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400816c4
mov rbx, qword [rdi]
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x140081709
mov rdx, qword [rsp + 0x60]
cmp r8, rdx
je 0x1400816e8
movzx eax, word [rbx]
mov word [rdx], ax
add rdx, 2
mov qword [rsp + 0x60], rdx
jmp 0x1400816ff
mov r8, rbx
lea rcx, [rsp + 0x58]
call fcn.140003729
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
add rbx, 2
sub rdi, 1
jne 0x1400816d2
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140003e36
mov word [rsp + 0x50], r12w
mov rdx, qword [rsp + 0x60]
cmp qword [rsp + 0x68], rdx
je 0x140081737
mov word [rdx], r12w
add rdx, 2
mov qword [rsp + 0x60], rdx
jmp 0x140081746
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400032d3
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], 0x68
or dword [rbp - 0x24], 1
mov word [rbp - 0x20], r12w
lea r14, [0x140002095]
mov qword [rsp + 0x20], r14
lea r9, [0x140002522]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp + 0x10]
call fcn.140002635
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140002e23
mov byte [r15 + 8], 0
lea rax, [r15 + 0x10]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov edi, 1
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14008190d
mov qword [rsi], r12
mov qword [rsi + 8], r12
lea rcx, [rsi + 0x10]
lea rax, [0x140004282]
mov qword [rsp + 0x20], rax
lea r9, [0x140002d1a]
lea edx, [rdi + 0xf]
lea r8d, [rdi + 2]
call fcn.140002635
nop
mov dword [rsp + 0x70], edi
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x140081836
lock xadd dword [rax + 8], edi
mov rbx, qword [rsp + 0x58]
mov qword [rsi], rcx
mov rdi, qword [rsi + 8]
mov qword [rsi + 8], rax
test rdi, rdi
je 0x140081878
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140081873
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140081873
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x58]
lea rcx, [rsi + 0x20]
lea rdx, [rbp + 0x30]
call fcn.1400037dd
lea rcx, [rsi + 0x30]
lea rdx, [rbp + 0x50]
call fcn.1400037dd
nop
mov r9, r14
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp + 0x10]
call fcn.140002211
nop
test rbx, rbx
je 0x1400818ec
mov rdx, qword [rsp + 0x68]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400818e4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400818e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140001785
mov rax, rsi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140001c17
add rsp, 0x180
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateProcessW_failed
lea rcx, [rbp - 0x78]
call fcn.1400016b3
lea rdx, [0x140117a08]
lea rcx, [rbp - 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3