Function at 0x1401d5a50
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x690]
sub rsp, 0x790
mov rax, qword [0x1401f2040]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov ebx, r8d
mov rdi, rcx
xor r14d, r14d
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.1401d2780
cmp qword [0x1401f3038], r14
je 0x1401d5acc
mov edx, ebx
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401d5acc
mov dword [rbp + 0x10], 0x438
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x104
lea rdx, [rbp + 0x470]
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1401d5f2b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x470]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], r14w
jne 0x1401d5b10
lea rdx, [rbp + 0x470]
lea rcx, [rsp + 0x50]
call fcn.1401d5060
nop
mov r8d, 0xc
lea rdx, str.Robloxlogs
lea rcx, [rsp + 0x50]
call fcn.1401db050
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp - 0x10]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 7
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401d5b90
lea rcx, [rbp - 0x70]
call fcn.1401d5060
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.1401d3860
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp + 0x470]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1401d5bd0
lea rdx, [rbp + 0x470]
lea rcx, [rsp + 0x30]
call fcn.1401d5060
nop
mov r8d, 0xc
lea rdx, str.Robloxlogs
lea rcx, [rsp + 0x30]
call fcn.1401db050
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp - 0x50]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 7
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
nop
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1401d5c50
mov r8, rbx
lea rcx, [rsp + 0x70]
call fcn.1401d5060
nop
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.1401d30a0
mov rbx, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1401d5cbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d5cb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d5cb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e4f80
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1401d5d01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d5cfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d5cfb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e4f80
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1401d5d46
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d5d41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d5d41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e4f80
movdqa xmm0, xmmword [0x1401ea150]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x1401d5da5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d5d98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d5d98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e4f80
movdqa xmm0, xmmword [0x1401ea150]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1401d5dfa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d5ded
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d5ded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e4f80
movdqa xmm0, xmmword [0x1401ea150]
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x1401d5e45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d5e38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d5e38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e4f80
movdqa xmm0, xmmword [0x1401ea150]
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1401d5e92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d5e85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d5e85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e4f80
movdqa xmm0, xmmword [0x1401ea150]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov r10, qword [0x1401f3078]
test r10, r10
je 0x1401d5eda
lea rdx, [rbx + 0x118]
lea rax, [rbp + 0x450]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rbp + 0x458]
mov rcx, qword [r10]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r10, qword [0x1401f3078]
mov rdx, qword [rbp + 0x458]
add rdx, 0x198
test r10, r10
je 0x1401d5f16
lea rax, [rbp + 0x468]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rbp + 0x460]
mov rcx, qword [r10]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r10, qword [0x1401f3078]
mov qword [rdi], r14
mov rcx, qword [rbp + 0x460]
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r10
mov rax, rdi
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1401e4f60
add rsp, 0x790
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret