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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov ebx, 0xf
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x50], al
lea rcx, str.temp
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400013b5
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002510
mov ecx, 3
call qword [sym.imp.KERNEL32.DLL_SetErrorMode]
mov dword [rbp - 0x30], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r13, qword [rsp + 0x60]
sub rax, r13
cmp rax, 0xf
jb 0x140001660
lea r12, [rsp + 0x50]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x68]
cmp r14, 0xf
cmova r12, rsi
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r15, [r13 + 0xf]
lea rdi, [rsp + 0x70]
cmp r15, 0xf
jbe 0x1400014c5
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001487
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002a58
test rax, rax
je 0x1400015ec
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400014c0
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400014af
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001666
jmp 0x140001468
test rcx, rcx
je 0x1400014be
call fcn.140002a58
mov rdi, rax
jmp 0x1400014c0
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rbx
mov r8, r13
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._tgp_daemon.exe]
movsd qword [rdi + r13], xmm0
mov eax, dword [0x1400044d0]
mov dword [rdi + r13 + 8], eax
movzx eax, word [0x1400044d4]
mov word [rdi + r13 + 0xc], ax
movzx eax, byte [0x1400044d6]
mov byte [rdi + r13 + 0xe], al
mov byte [rdi + r15], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400011e0
cmp qword [rax + 0x18], 7
jbe 0x14000152a
mov rax, qword [rax]
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1400015a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a94
movdqa xmm0, xmmword [0x140004680]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], bx
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400015f8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a94
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
cmp r14, 0xf
jbe 0x14000163f
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001637
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001637
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140002a94
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140001100
int3