Function at 0x180004210
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, 0x100
mov r15, rcx
movabs rax, 0x4ea7d1c00df5596c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x79], rax
movabs r12, 0x5f5368accf01ba36
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x71], rax
movabs r13, 0x4ec6a5a16985290d
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 9], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 1], rax
movdqa xmm0, xmmword [rbp - 0x79]
xorps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x79]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rsi, [r15 + 0xf8]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800042b6
mov rcx, qword [rsi + 0x18]
cmp rbx, rcx
ja 0x1800042ed
mov r14, rsi
cmp rcx, 0xf
jbe 0x1800042d4
mov r14, qword [rsi]
mov qword [rsi + 0x10], rbx
mov r8, rbx
mov rdx, rax
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x1800042fb
mov r9, rax
mov rdx, rbx
mov rcx, rsi
call fcn.1800049e0
movabs rax, 0x4ec6a5d21aec4251
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x69], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x61], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 7], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xf], rax
movdqa xmm0, xmmword [rbp - 0x69]
xorps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.180004700
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180004366
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x1800043ae
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800043a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800043a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180066c0c
movdqa xmm0, xmmword [0x180073ab0]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
movabs rax, 0x4ec6f9d21aec4251
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x17], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rsp + 0x40], xmm0
lea rax, [rsp + 0x40]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180004420
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180004467
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
cmp rdx, 0xf
jbe 0x18000444d
mov rsi, qword [rsi]
lea rbx, [rsi + rcx]
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x18000447c
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
mov rdx, rdi
mov rcx, rsi
call fcn.180004850
movabs rax, 0x60a3c9c80fea5b5d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x59], rax
movabs rax, 0x5f5368accf68d45f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x51], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x27], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [rbp - 0x59]
xorps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x59], xmm0
lea rdx, [r15 + 0xf8]
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.180004700
mov rdi, rax
lea rbx, [r15 + 0x118]
cmp rbx, rax
je 0x18000455b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18000452f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18000452a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004594
mov rcx, r8
call fcn.180066c0c
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 0xf
mov byte [rdi], al
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1800045a0
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000459b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000459b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180066c0c
movdqa xmm0, xmmword [0x180073ab0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
lea r11, [rsp + 0x100]
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