Function at 0x140002d90
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x388]
sub rsp, 0x460
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r13, rcx
mov qword [rbp - 0x10], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], r12b
jne 0x140002e06
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140007140
nop
mov qword [rsp + 0x20], r12
lea rcx, [rbp + 0x90]
call fcn.1400060e0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140005ce0
mov dword [rsp + 0x30], 0x20
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140002e89
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000858c
movdqa xmm0, xmmword [0x14000ab90]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
sub rax, r8
mov esi, 9
cmp rax, rsi
jb 0x140002f41
lea rax, [r8 + 9]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x48]
lea rax, [0x14000a791]
lea r15, str.C:Users_
cmp rax, rbx
jbe 0x140002f04
lea rax, [rbx + r8]
cmp r15, rax
ja 0x140002f04
cmp rbx, r15
ja 0x140002efc
mov rdi, r12
jmp 0x140002f07
mov rdi, rbx
sub rdi, r15
jmp 0x140002f07
mov rdi, rsi
lea rcx, [rbx + 9]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub rsi, rdi
lea rdx, [r15 + 9]
add rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x48]
jmp 0x140002f53
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140007ee0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 0x60
mov r8d, 0x1a
lea rdx, str.AppDataLocalRobloxlogs
lea rcx, [rsp + 0x68]
call fcn.140006260
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 0xe0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140003020
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000301b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000301b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000858c
movdqa xmm0, xmmword [0x14000ab90]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140003073
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000306e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000306e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000858c
movdqa xmm0, xmmword [0x14000ab90]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
xorps xmm1, xmm1
movups xmmword [r13], xmm1
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov r8d, 4
lea rdx, str.none
mov rcx, r13
call fcn.140007140
mov dword [rsp + 0x30], 0xe1
movabs rax, 0x2540be3ff
mov qword [rsp + 0x38], rax
mov rdi, qword [rbp + 0x80]
lea rbx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rbx, qword [rbp + 0x70]
call fcn.1400081b8
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140001a10
mov dword [rsp + 0x30], 0x3e1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x40]
call fcn.1400065c0
test eax, eax
jne 0x140003635
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14000315e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003159
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003159
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000858c
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140003176
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x48]
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
test rcx, rcx
je 0x14000318c
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x48]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
test rcx, rcx
je 0x1400031cd
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400031cd
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400031cd
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
xorps xmm6, xmm6
mov rsi, qword [rbp + 0x30]
test rsi, rsi
je 0x140003543
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x1400031ec
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
call fcn.1400081b8
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140006300
or dword [rsp + 0x30], 0xe
mov r15, qword [rbp + 0x80]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 8
jb 0x14000362f
lea r12, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova r12, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
lea r14, [r15 + 8]
mov ebx, 0xf
lea rdi, [rbp - 0x78]
cmp r14, rbx
jbe 0x1400032df
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003284
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400032ab
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400032ca
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003641
mov rcx, rax
call fcn.140008550
test rax, rax
je 0x140003535
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400032db
test rcx, rcx
je 0x1400032d9
call fcn.140008550
mov rdi, rax
jmp 0x1400032db
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], rbx
mov r8, r15
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x657669686372615c
mov qword [rdi + r15], rax
mov byte [rdi + r14], 0
or dword [rsp + 0x30], 0x10
lea rdx, [rbp - 0x78]
mov r15, qword [rbp - 0x60]
cmp r15, 0xf
seta r12b
mov rdi, qword [rbp - 0x78]
cmova rdx, rdi
lea rcx, [rbp + 0x50]
mov rbx, qword [rbp + 0x68]
cmp rbx, 0xf
cmova rcx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
cmp r8, qword [rbp - 0x68]
jne 0x14000334e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000334e
xor r14b, r14b
jmp 0x140003351
mov r14b, 1
test r12b, r12b
je 0x14000338b
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000337f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003535
mov rcx, rdi
call fcn.14000858c
mov rbx, qword [rbp + 0x68]
test r14b, r14b
je 0x140003442
lea rcx, [rbp + 0x50]
cmp rbx, 0xf
cmova rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0xc0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
xor r12d, r12d
mov r14d, r12d
test eax, eax
cmove r14, qword [rbp + 0xe0]
mov rdx, r14
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__difftime64]
ucomisd xmm0, xmm6
jp 0x1400033da
jne 0x1400033da
mov rbx, qword [rbp + 0x68]
jmp 0x140003445
lea rax, [rbp + 0x50]
cmp r13, rax
je 0x140003437
mov rbx, qword [rbp + 0x60]
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov rax, qword [r13 + 0x18]
cmp rbx, rax
ja 0x14000342c
mov rdi, r13
cmp rax, 0xf
jbe 0x14000340b
mov rdi, qword [r13]
mov qword [r13 + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r12b
mov qword [rsp + 0x38], r14
mov rbx, qword [rbp + 0x68]
jmp 0x140003445
mov rdx, rbx
mov rcx, r13
call fcn.140007700
mov qword [rsp + 0x38], r14
mov rbx, qword [rbp + 0x68]
jmp 0x140003445
xor r12d, r12d
cmp rbx, 0xf
jbe 0x140003480
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003478
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000353c
call fcn.14000858c
nop dword [rax]
lea rdx, [rbp + 0xf0]
mov rcx, qword [rsi + 0x40]
call fcn.140008418
cmp eax, 0x12
je 0x1400034de
test eax, eax
jne 0x140003647
cmp word [rbp + 0x11c], 0x2e
jne 0x1400034c3
movzx eax, word [rbp + 0x11e]
test ax, ax
je 0x140003480
cmp ax, 0x2e
jne 0x1400034c3
cmp word [rbp + 0x120], 0
je 0x140003480
lea rdx, [rbp + 0xf0]
mov rcx, rsi
call fcn.140002b60
mov r14, 0xffffffffffffffff
jmp 0x1400031d4
mov rsi, r12
mov qword [rbp + 0x30], r12
mov rbx, qword [rbp + 0x38]
mov qword [rbp + 0x38], r12
test rbx, rbx
mov r14, 0xffffffffffffffff
je 0x1400031d4
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400031d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400031d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x1400031d0
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
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14000357d
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000357d
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000357d
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400035b6
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400035b6
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x1400035b6
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1400035f7
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400035f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000858c
mov rax, r13
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140008530
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001220
nop
lea r8, [rbp - 0x30]
mov edx, eax
call fcn.140002960
nop
call fcn.140001180
nop
mov edx, eax
call fcn.140002870
int3