Function at 0x18010b9d0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rsp + 0x20], edi
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 0x27], 0xf
mov qword [rbp + 0x1f], rdi
mov byte [rbp + 0xf], dil
cmp byte [rax], dil
jne 0x18010ba2a
mov r8d, edi
jmp 0x18010ba39
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x18010ba30
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.18003d620
nop
mov ecx, 0x20
call fcn.1801e61b4
mov rbx, rax
mov qword [rbp - 0x41], rax
lea r8, str.._bool_
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.1800a97a0
nop
mov dword [rsp + 0x20], 1
lea r8, str..ini
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.180035800
mov rdx, rax
mov rcx, rbx
call fcn.1800cf800
mov rbx, rax
mov rcx, qword [rbp + 0x47]
cmp rcx, 0x10
jb 0x18010baf3
inc rcx
mov rdx, qword [rbp + 0x2f]
cmp rcx, 0x1000
jb 0x18010baeb
test dl, 0x1f
je 0x18010babb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rdx - 8]
cmp rax, rdx
jb 0x18010bacb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rdx, rax
cmp rdx, 8
jae 0x18010badb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdx, 0x27
jbe 0x18010bae8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rax
mov rcx, rdx
call fcn.1801e6174
mov qword [rbp + 0x47], 0xf
mov qword [rbp + 0x3f], rdi
mov byte [rbp + 0x2f], 0
lea rax, [rsp + 0x28]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x69], 0xf
mov qword [rbp - 0x71], rdi
mov byte [rsp + 0x28], 0
mov r8d, 1
lea rdx, [0x18020a6ec]
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
mov qword [rbp - 0x49], 0xf
mov qword [rbp - 0x51], rdi
mov byte [rbp - 0x61], 0
mov r8d, 9
lea rdx, str.Locations
lea rcx, [rbp - 0x61]
call fcn.18003d620
nop
lea r9, [rsp + 0x28]
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.1800cf890
mov rdx, rax
lea rcx, [0x18034eaa8]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010bbda
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010bbd5
test cl, 0x1f
je 0x18010bba5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18010bbb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18010bbc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bbd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
lea rax, [rbp - 0x61]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x49], 0xf
mov qword [rbp - 0x51], rdi
mov byte [rbp - 0x61], 0
mov r8d, 1
lea rdx, [0x18022ec70]
lea rcx, [rbp - 0x61]
call fcn.18003d620
nop
mov qword [rbp - 0x69], 0xf
mov qword [rbp - 0x71], rdi
mov byte [rsp + 0x28], 0
mov r8d, 9
lea rdx, str.Locations
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rbp - 0x61]
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.1800cf890
mov rdx, rax
lea rcx, [0x18034eba8]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010bcb0
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010bcab
test cl, 0x1f
je 0x18010bc7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18010bc8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18010bc9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
lea rax, [rbp - 0x61]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x49], 0xf
mov qword [rbp - 0x51], rdi
mov byte [rbp - 0x61], 0
mov r8d, 1
lea rdx, [0x18020a6f0]
lea rcx, [rbp - 0x61]
call fcn.18003d620
nop
mov qword [rbp - 0x69], 0xf
mov qword [rbp - 0x71], rdi
mov byte [rsp + 0x28], 0
mov r8d, 9
lea rdx, str.Locations
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rbp - 0x61]
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.1800cf890
mov rdx, rax
lea rcx, [0x18034ea88]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010bd86
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010bd81
test cl, 0x1f
je 0x18010bd51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18010bd61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18010bd71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bd7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
lea rax, [rbp - 0x61]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x49], 0xf
mov qword [rbp - 0x51], rdi
mov byte [rbp - 0x61], 0
mov r8d, 1
lea rdx, [0x18020ce64]
lea rcx, [rbp - 0x61]
call fcn.18003d620
nop
mov qword [rbp - 0x69], 0xf
mov qword [rbp - 0x71], rdi
mov byte [rsp + 0x28], 0
mov r8d, 9
lea rdx, str.Locations
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rbp - 0x61]
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.1800cf890
mov rdx, rax
lea rcx, [0x18034ebc8]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010be5c
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010be57
test cl, 0x1f
je 0x18010be27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18010be37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18010be47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010be54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
lea rax, [rbp - 0x61]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x49], 0xf
mov qword [rbp - 0x51], rdi
mov byte [rbp - 0x61], 0
mov r8d, 1
lea rdx, [0x18022ec88]
lea rcx, [rbp - 0x61]
call fcn.18003d620
nop
mov qword [rbp - 0x69], 0xf
mov qword [rbp - 0x71], rdi
mov byte [rsp + 0x28], 0
mov r8d, 9
lea rdx, str.Locations
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rbp - 0x61]
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.1800cf890
mov rdx, rax
lea rcx, [0x18034ebe8]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010bf33
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010bf2d
test cl, 0x1f
je 0x18010befd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18010bf0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18010bf1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bf2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
nop
mov rax, qword [rbp + 0x27]
cmp rax, 0x10
jb 0x18010bf8d
inc rax
mov rcx, qword [rbp + 0xf]
cmp rax, 0x1000
jb 0x18010bf88
test cl, 0x1f
je 0x18010bf58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18010bf68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18010bf78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bf85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1801e6190
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret