Function at 0x140003140
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor ebx, ebx
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140003197
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140003040
nop
movabs rax, 0x7fffffffffffffff
mov r12, rax
mov r8, qword [rbp + 0x17]
sub r12, r8
cmp r12, 6
jb 0x1400039e8
lea r13, [rbp + 7]
mov r14, qword [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea r15, [r8 + 6]
mov edi, 0xf
mov ebx, edi
lea rsi, [rbp - 0x49]
movabs rcx, 0x8000000000000000
mov edx, 0x16
cmp r15, rdi
jbe 0x140003277
mov rbx, r15
or rbx, rdi
cmp rbx, rax
jbe 0x14000323f
mov rbx, rax
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.140005950
test rax, rax
je 0x140003396
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140003273
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140003253
xor eax, eax
jmp 0x140003270
cmp rcx, 0x1000
jb 0x14000326b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400039d0
jmp 0x140003220
call fcn.140005950
mov rsi, rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rbx
mov rbx, qword [rbp + 0x17]
mov r8, rbx
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.cheat]
mov dword [rsi + rbx], eax
movzx eax, word [0x14000887c]
mov word [rsi + rbx + 4], ax
mov byte [rsi + r15], 0
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 1], rax
call fcn.1400053e0
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea r8, [rbp - 9]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.140002530
nop
xor r13d, r13d
mov qword [rbp - 9], r13
lea rax, [0x1400110c8]
mov qword [rbp - 1], rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.140002ed0
movzx esi, al
cmp dword [rbp - 9], r13d
jne 0x1400039ee
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140003352
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000334d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000334d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd4
movdqa xmm0, xmmword [0x14000daa0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r13w
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x1400033a2
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000339d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000339d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd4
test sil, sil
jne 0x14000357d
lea r13, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov rbx, rdi
lea rsi, [rbp - 0x49]
cmp r15, rdi
jbe 0x14000345b
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x14000341d
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005950
test rax, rax
je 0x140003571
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140003457
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140003437
xor eax, eax
jmp 0x140003454
cmp rcx, 0x1000
jb 0x14000344f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400039d6
jmp 0x1400033fe
call fcn.140005950
mov rsi, rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rbx
mov rbx, qword [rbp + 0x17]
mov r8, rbx
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.cheat]
mov dword [rsi + rbx], eax
movzx eax, word [0x14000887c]
mov word [rsi + rbx + 4], ax
mov byte [rsi + r15], 0
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 1], rax
call fcn.1400053e0
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea r8, [rbp - 9]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.140002530
nop
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rcx, qword [rbp - 0x29]
call fcn.14000551c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400039fc
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x14000352c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003527
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003527
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd4
movdqa xmm0, xmmword [0x14000daa0]
movdqu xmmword [rbp - 0x19], xmm0
xor eax, eax
mov word [rbp - 0x29], ax
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14000357f
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003578
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003578
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd4
xor eax, eax
cmp r12, 0xe
jb 0x140003a0a
lea r12, [rbp + 7]
mov r13, qword [rbp + 0x1f]
cmp r13, 0xf
cmova r12, r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea r15, [rbx + 0xe]
mov rbx, rdi
lea rsi, [rbp - 0x49]
cmp r15, rdi
jbe 0x14000363c
mov rbx, r15
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x140003602
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005950
test rax, rax
je 0x14000376a
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140003638
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x140003635
cmp rcx, 0x1000
jb 0x140003630
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400039dc
jmp 0x1400035e3
call fcn.140005950
mov rsi, rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rbx
mov r8, qword [rbp + 0x17]
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.cheatconfigs]
mov r12, qword [rbp + 0x17]
movsd qword [rsi + r12], xmm0
mov eax, dword [0x140008888]
mov dword [rsi + r12 + 8], eax
movzx eax, word [0x14000888c]
mov word [rsi + r12 + 0xc], ax
mov byte [rsi + r15], 0
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 1], rax
call fcn.1400053e0
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea r8, [rbp - 9]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.140002530
nop
xor esi, esi
mov qword [rbp - 9], rsi
lea rax, [0x1400110c8]
mov qword [rbp - 1], rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.140002ed0
movzx ebx, al
cmp dword [rbp - 9], esi
jne 0x140003a10
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140003727
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003722
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003722
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd4
movdqa xmm0, xmmword [0x14000daa0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], si
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140003776
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003771
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003771
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd4
test bl, bl
jne 0x14000395b
lea rsi, [rbp + 7]
cmp r13, 0xf
cmova rsi, r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rbx, [rbp - 0x49]
cmp r15, 0xf
jbe 0x14000382b
mov rdi, r15
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x1400037ed
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005950
test rax, rax
je 0x14000394e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140003827
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140003807
xor eax, eax
jmp 0x140003824
cmp rcx, 0x1000
jb 0x14000381f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400039e2
jmp 0x1400037ce
call fcn.140005950
mov rbx, rax
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rdi
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.cheatconfigs]
movsd qword [rbx + r12], xmm0
mov eax, dword [0x140008888]
mov dword [rbx + r12 + 8], eax
movzx eax, word [0x14000888c]
mov word [rbx + r12 + 0xc], ax
mov byte [rbx + r15], 0
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 1], rax
call fcn.1400053e0
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea r8, [rbp - 9]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.140002530
nop
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rcx, qword [rbp - 0x29]
call fcn.14000551c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400039c2
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140003909
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003904
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd4
movdqa xmm0, xmmword [0x14000daa0]
movdqu xmmword [rbp - 0x19], xmm0
xor eax, eax
mov word [rbp - 0x29], ax
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14000395b
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003955
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003955
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd4
nop
cmp r13, 0xf
jbe 0x140003995
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000398d
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000398d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140005bd4
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140005930
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp - 0x29]
call fcn.140002e00
nop
call fcn.140001c70
int3
call fcn.140001c70
int3
call fcn.140001c70
int3
call fcn.140001c70
int3
call fcn.140001d10
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
call fcn.140002e70
nop
shr rdx, 0x20
lea r8, [rbp - 0x29]
call fcn.140002e00
nop
call fcn.140001d10
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
call fcn.140002e70
int3