Function at 0x140002160
Capabilities:
Create directory
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 - 0x37]
sub rsp, 0xb0
mov r15, rcx
mov dword [rbp - 0x2d], 0
movabs rax, 0x96411388f03db71c
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x19], rax
movabs r12, 0x534895cc3c0ad512
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x11], rax
movabs r13, 0x962067e9944dc77d
mov qword [rbp - 0x39], r13
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x1f], rax
movdqa xmm0, xmmword [rbp - 0x19]
xorps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002200
mov rcx, qword [r15 + 0x88]
cmp rbx, rcx
ja 0x14000223f
lea r14, [r15 + 0x70]
cmp rcx, 0xf
jbe 0x140002223
mov r14, qword [r15 + 0x70]
mov qword [r15 + 0x80], rbx
mov r8, rbx
mov rdx, rax
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x14000224f
mov r9, rax
mov rdx, rbx
lea rcx, [r15 + 0x70]
call fcn.140002e70
nop
mov rcx, qword [r15 + 0x80]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 5
jb 0x1400023a1
lea r9, [r15 + 0x70]
cmp qword [r15 + 0x88], 0xf
jbe 0x14000227f
mov r9, qword [r15 + 0x70]
mov qword [rsp + 0x30], 5
lea rax, str.Nomu
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [r15 + 0x70]
movzx edx, byte [rbp - 0x31]
lea rcx, [rbp - 9]
call fcn.140002fb0
mov ebx, 1
mov dword [rbp - 0x2d], ebx
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
and ebx, 0xfffffffe
mov dword [rbp - 0x2d], ebx
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000230a
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002305
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cefdc
movdqa xmm0, xmmword [0x14010a2b0]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
movabs rax, 0x96203b9cf9228921
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r13
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [rbp - 0x29]
xorps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x29], xmm0
lea rax, [rbp - 0x29]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140002367
mov r8, rdi
lea rcx, [r15 + 0x70]
lea rdx, [rbp - 0x29]
call fcn.140002750
lea r11, [rsp + 0xb0]
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.140002140
nop
int3