Function at 0x18010b8f0
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 0x18010b94a
mov r8d, edi
jmp 0x18010b959
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x18010b950
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.18003d620
nop
mov ecx, 0x20
call fcn.1801e6074
mov rbx, rax
mov qword [rbp - 0x41], rax
lea r8, str.._bool_
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.1800a9640
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.1800cf720
mov rbx, rax
mov rcx, qword [rbp + 0x47]
cmp rcx, 0x10
jb 0x18010ba13
inc rcx
mov rdx, qword [rbp + 0x2f]
cmp rcx, 0x1000
jb 0x18010ba0b
test dl, 0x1f
je 0x18010b9db
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 0x18010b9eb
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 0x18010b9fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdx, 0x27
jbe 0x18010ba08
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.1801e6034
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, [0x18020a73c]
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.1800cf7b0
mov rdx, rax
lea rcx, [0x18034eab0]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010bafa
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010baf5
test cl, 0x1f
je 0x18010bac5
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 0x18010bad5
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 0x18010bae5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010baf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
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, [0x18022ed34]
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.1800cf7b0
mov rdx, rax
lea rcx, [0x18034ebb0]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010bbd0
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010bbcb
test cl, 0x1f
je 0x18010bb9b
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 0x18010bbab
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 0x18010bbbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bbc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
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, [0x18020a740]
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.1800cf7b0
mov rdx, rax
lea rcx, [0x18034ea90]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010bca6
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010bca1
test cl, 0x1f
je 0x18010bc71
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 0x18010bc81
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 0x18010bc91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bc9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
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, [0x18020ce84]
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.1800cf7b0
mov rdx, rax
lea rcx, [0x18034ebd0]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010bd7c
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010bd77
test cl, 0x1f
je 0x18010bd47
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 0x18010bd57
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 0x18010bd67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bd74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
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, [0x18022ed40]
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.1800cf7b0
mov rdx, rax
lea rcx, [0x18034ebf0]
call fcn.18003c8f0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x18010be53
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x18010be4d
test cl, 0x1f
je 0x18010be1d
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 0x18010be2d
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 0x18010be3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010be4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
nop
mov rax, qword [rbp + 0x27]
cmp rax, 0x10
jb 0x18010bead
inc rax
mov rcx, qword [rbp + 0xf]
cmp rax, 0x1000
jb 0x18010bea8
test cl, 0x1f
je 0x18010be78
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 0x18010be88
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 0x18010be98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18010bea5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1801e6050
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret