Function at 0x14003f720
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1400ad368]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rdi, rdx
mov r13, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
lea rsi, [0x1400b0df0]
mov rbx, rsi
xor r12d, r12d
cmp dword [0x1400b0df4], 4
jne 0x14003f786
mov eax, dword [0x1400b0df0]
cmp eax, 1
jle 0x14003f7a9
lfence
mov ecx, 0x14
call fcn.1400514d8
mov rbx, rax
mov eax, 1
xchg dword [rbx], eax
mov dword [rbx + 4], 4
mov word [rbx + 0x10], r12w
mov rax, qword [str.Path]
mov qword [rbx + 8], rax
mov qword [rbp - 0x78], 5
lock inc dword [rbx]
mov qword [rbp - 0x70], rbx
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x60]
call fcn.14002c7a0
nop
lea rcx, [rbp - 0x78]
call fcn.14002c890
nop
mov r14, 0xffffffffffffffff
cmp rbx, rsi
je 0x14003f7fc
mov eax, r14d
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x14003f7fc
mov rcx, rbx
call fcn.140025970
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.140032000
nop
mov qword [rbp - 0x50], r12
mov eax, dword [rbp + 0x50]
cmp eax, 0xb
jne 0x14003f832
mov rax, qword [rbp + 0x58]
mov rcx, qword [rax + 0x10]
movsxd rdx, dword [rcx + 4]
lea rdi, [rcx + 8]
jmp 0x14003f84b
cmp eax, 5
jne 0x14003f8b1
mov rax, qword [rbp + 0x58]
movsxd rdx, dword [rax + 4]
lea rdi, [rax + 8]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdx
mov eax, edx
mov qword [rbp - 0x50], rdi
mov rsi, rdx
mov dword [rbp - 0x48], esi
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], esi
mov rbx, r12
mov qword [rsp + 0x68], rbx
test rdi, rdi
je 0x14003f8b9
test edx, edx
je 0x14003f8b9
mov r15d, edx
lea rcx, [r15*2 + 0xc]
call fcn.1400575d4
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14003f8b9
lea rcx, [rax + 8]
test rcx, rcx
je 0x14003f8a0
mov r8d, r15d
mov rdx, rdi
call fcn.140068fb0
mov dword [rbx], 1
mov dword [rbx + 4], esi
mov word [rbx + r15*2 + 8], r12w
jmp 0x14003f8b9
mov rbx, r12
mov qword [rsp + 0x68], rbx
test rbx, rbx
lea rdi, [rbx + 8]
jne 0x14003f8c9
lea rdi, [0x1400b0ec4]
call fcn.140002270
mov rcx, rax
test rax, rax
je 0x14003fca9
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001a4f5.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140034770
test al, al
jne 0x14003f92b
test rdi, rdi
jne 0x14003f90b
mov eax, r12d
jmp 0x14003f91a
mov rax, r14
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x14003f910
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140034840
nop
test rbx, rbx
je 0x14003f944
mov eax, dword [rbx]
sub eax, 1
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
jne 0x14003f944
call fcn.1400575c0
nop
lea rcx, [rbp + 0x50]
call fcn.14002c890
nop
lea rcx, [rbp + 0x60]
call fcn.14002c890
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, str._SystemRoot_System32cmd.exe
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, 0x104
ja 0x14003f9de
test eax, eax
jne 0x14003f999
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, str._ComSpec_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x14003f9de
cmp r12w, word [rbp + 0x70]
je 0x14003f9de
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
lea rcx, [rbp + 0x70]
call qword [0x1400ad108]
cmp rax, 0xffffffffffffffff
jne 0x14003fa3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14003fa46
cmp eax, 0x20
je 0x14003fa46
mov edi, 0xe
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14003fa0b
lfence
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14001a4f5.0]
mov eax, edi
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140050ca0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, rax
call qword [0x1400ad090]
mov r15, qword [r13 + 0x27a0]
lea r13, vtable.NodOsApiAuthStream.0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r12
mov ebx, r12d
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x80]
call qword [0x1400ad100]
mov esi, eax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 7]
lea rcx, [rbp + 0x70]
call qword [0x1400ad108]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003fb03
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x14003fab5
cmp eax, 2
jne 0x14003fb03
test ebx, ebx
jle 0x14003fb03
mov ecx, 0xc8
cmp ebx, ecx
cmovl ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 0xc8
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 7]
lea rcx, [rbp + 0x70]
call qword [0x1400ad108]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003faa5
test esi, esi
je 0x14003fb11
mov rcx, qword [rbp - 0x80]
call qword [0x1400ad110]
cmp rdi, 0xffffffffffffffff
jne 0x14003fb1e
mov qword [rsp + 0x78], r12
jmp 0x14003fb28
mov qword [rsp + 0x78], rdi
test rdi, rdi
jne 0x14003fb32
mov qword [rsp + 0x70], r13
jmp 0x14003f9de
xor r9d, r9d
mov r8d, 0xfb
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.140016390
mov ebx, eax
mov qword [rsp + 0x70], r13
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003fb5f
call qword [0x1400ad090]
test ebx, ebx
jne 0x14003f9de
call fcn.140002270
mov rcx, rax
test rax, rax
je 0x14003fc9e
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001a4f5.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x60]
lea rdx, str._C__s
lea rcx, [rsp + 0x58]
call fcn.140044c00
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
mov dword [rbp + 0x44], eax
mov dword [rbp - 0x20], 0x68
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov rbx, qword [rsp + 0x58]
cmp dword [rbx - 8], 1
jle 0x14003fbf0
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140025750
mov rbx, qword [rsp + 0x58]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbp - 0x60]
call qword [0x1400ad090]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rsp + 0x50]
mov edi, 0xe
test eax, eax
cmove ecx, edi
mov dword [rsp + 0x50], ecx
mov rcx, qword [rbp - 0x68]
call qword [0x1400ad090]
mov edi, dword [rsp + 0x50]
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003f9e3
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001a4f5.0]
jmp 0x14003f9e3
mov ecx, 0x80004005
call fcn.140025930
nop
mov ecx, 0x80004005
call fcn.140025930
int3