Function at 0x18006f680
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x498]
sub rsp, 0x570
vmovaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1801f9600]
xor rax, rsp
mov qword [rbp + 0x450], rax
xor r15d, r15d
mov dword [rsp + 0x44], r15d
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xe0], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xf0], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x18006f6f0
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.180008ac0
nop
mov r8d, 0x16
lea rdx, str.Impulse_settings.json
lea rcx, [rbp + 0xe0]
call fcn.180007770
lea rbx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rbx, qword [rbp + 0xe0]
lea r12, [0x180000000]
lea rax, [r12 + 0x1dc8ac]
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x44], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rdi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x70], rax
mov byte [rbp - 0x14], 0
mov byte [rbp - 0x1f], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x10], r15
mov rax, qword [0x18020cbd0]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], r15
mov r9d, 0x40
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.18006bdf0
test rax, rax
jne 0x18006f81a
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], rdi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
cmp qword [rbp - 0x10], 0
jne 0x18006f8a5
call fcn.180067860
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r9d, 0x40
mov r8d, 1
lea rcx, [rsp + 0x70]
call fcn.18006bdf0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
je 0x18006f897
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x18006f8a5
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov qword [rbp + 0xb8], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx - 0x58]
mov qword [rsp + 0x50], rax
lea r8, [rbp + 0x80]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x220]
call fcn.18006b800
nop
mov rcx, rax
call fcn.180069d20
nop
lea rcx, [rbp + 0x268]
call fcn.18006ba00
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x18006f916
mov rax, qword [rcx]
lea rdx, [rbp + 0x220]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xor r14b, r14b
lea r13, [0x18020c928]
lea r8, [r13 + 0x10]
mov qword [rbp + 0xc0], r8
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp + 0xc8], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xd0], xmm1
movabs r9, 0x8000000000000000
mov qword [rbp + 0xd8], r9
movzx edx, byte [r8]
cmp edx, 9
ja case.0x18006f97d.3
movsxd rax, edx
mov ecx, dword [r12 + rax*4 + 0x6ff9c]
add rcx, r12
jmp rcx
cmp edx, 9
ja case.0x18006f97d.3
mov ecx, dword [r12 + rdx*4 + 0x6ffc4]
add rcx, r12
jmp rcx
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov qword [rbp + 0xc8], rax
jmp 0x18006f9b6
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov qword [rbp + 0xd0], rcx
jmp 0x18006f9b6
mov qword [rbp + 0xd8], 1
jmp 0x18006f9b6
mov qword [rbp + 0xd8], r15
vmovups ymm0, ymmword [rbp + 0xc0]
vmovups ymmword [rbp + 0x100], ymm0
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], r15
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x130], xmm0
vmovdqu xmm6, xmmword [0x1801ddfb0]
vmovdqu xmmword [rbp + 0x140], xmm6
mov word [rbp + 0x130], 0x30
vmovups xmmword [rbp + 0x150], xmm0
vmovdqu xmm2, xmmword [0x1801ddfa0]
vmovdqu xmmword [rbp + 0x160], xmm2
mov byte [rbp + 0x150], 0
lea r8, [r13 + 0x10]
mov qword [rbp + 0xc0], r8
vmovdqu xmmword [rbp + 0xc8], xmm0
vmovdqu xmmword [rbp + 0xd0], xmm1
mov qword [rbp + 0xd8], r9
movzx edx, byte [r8]
cmp edx, 9
ja case.0x18006fa63.0
movsxd rax, edx
mov ecx, dword [r12 + rax*4 + 0x6ffec]
add rcx, r12
jmp rcx
cmp edx, 9
ja case.0x18006fa63.0
mov ecx, dword [r12 + rdx*4 + 0x70014]
add rcx, r12
jmp rcx
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov qword [rbp + 0xc8], rcx
jmp 0x18006fa91
mov rax, qword [r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rbp + 0xd0], rcx
jmp 0x18006fa91
mov qword [rbp + 0xd8], 1
vmovups ymm0, ymmword [rbp + 0xc0]
vmovups ymmword [rbp + 0x170], ymm0
mov qword [rbp + 0x190], r15
mov qword [rbp + 0x198], r15
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x1a0], xmm0
vmovdqu xmmword [rbp + 0x1b0], xmm6
mov word [rbp + 0x1a0], 0x30
vmovups xmmword [rbp + 0x1c0], xmm0
vmovdqu xmmword [rbp + 0x1d0], xmm2
mov byte [rbp + 0x1c0], 0
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x100]
vzeroupper
call fcn.1800086d0
test al, al
je 0x18006fcb1
lea rcx, [rbp + 0x100]
call fcn.18006bc50
mov rbx, rax
cmp byte [0x18020c928], 1
jne 0x18006fb59
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x18020c930]
call fcn.18000efe0
mov r8, qword [rax + 0x10]
cmp byte [r8 + 0x19], 0
jne 0x18006fb4d
add r8, 0x20
mov rdx, rbx
call fcn.1800139f0
test al, al
mov eax, 1
je 0x18006fb50
mov rax, r15
test rax, rax
jne 0x18006fc7c
mov r14b, 1
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp + 0x100]
movzx eax, byte [rdx]
cmp eax, 9
ja case.0x18006fb7f.3
mov ecx, dword [r12 + rax*4 + 0x7003c]
add rcx, r12
jmp rcx
mov rdx, qword [rbp + 0x108]
add rdx, 0x40
jmp 0x18006fba5
mov rdx, qword [rbp + 0x110]
jmp 0x18006fba5
cmp qword [rbp + 0x118], 0
jne 0x18006fec4
lea rcx, [rbp + 0x70]
call fcn.180006750
mov rdi, rax
lea rcx, [rbp + 0x100]
call fcn.18006bc50
mov rsi, rax
movzx ecx, byte [0x18020c928]
test cl, cl
jne 0x18006fc2e
mov byte [0x18020c928], 1
mov ecx, 0x10
call fcn.180154540
mov rbx, rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov ecx, 0x50
call fcn.180154540
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rbp + 0x1e8], r15
mov qword [0x18020c930], rbx
movzx ecx, byte [0x18020c928]
jmp 0x18006fc35
mov rbx, qword [0x18020c930]
cmp cl, 1
jne 0x18006ff44
mov r8, rsi
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call fcn.180009100
mov r8, qword [rax]
movzx ecx, byte [r8 + 0x40]
movzx eax, byte [rdi]
mov byte [r8 + 0x40], al
mov byte [rdi], cl
lea rcx, [rdi + 8]
mov rax, qword [r8 + 0x48]
mov rdx, qword [rcx]
mov qword [r8 + 0x48], rdx
mov qword [rcx], rax
movzx edx, byte [rdi]
call fcn.180006ec0
nop
lea rcx, [rbp + 0x100]
call fcn.1800073f0
inc qword [rbp + 0x120]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x100]
call fcn.1800086d0
test al, al
jne 0x18006fb01
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
vpextrq rdx, xmm6, 1
cmp rdx, 0xf
jbe 0x18006fcf5
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006fcef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006fcef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0xf
jbe 0x18006fd32
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006fd2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006fd81
call fcn.1801548ec
vmovdqu xmm0, xmmword [0x1801ddfa0]
vmovdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
mov rdx, qword [rbp + 0x148]
cmp rdx, 0xf
jbe 0x18006fd8d
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006fd88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006fd88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
test r14b, r14b
je 0x18006fe07
lea rbx, [0x1801f9a08]
mov rcx, rbx
call fcn.18013f3b0
test al, al
je 0x18006fe01
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x16
lea rax, [0x18016c72b]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, str.big::settings::load
mov r8d, 0x3e
lea rdx, str.F:Area_de_trabalho1.Muito_ImportanteMeus_menuImpulseImpulse_src_settings.h
lea rcx, [rbp + 0x310]
call fcn.18013f440
nop
lea rcx, [rax + 8]
lea rdx, str.Updating_settings.
call fcn.180016250
nop
lea rcx, [rbp + 0x310]
call fcn.18013f610
call fcn.18006f490
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], rdi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.18006cc80
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18006fe8c
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006fe87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006fe87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
mov al, 1
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.180154520
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
vmovaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.cannot_get_value
lea rcx, [rbp + 0xc0]
call fcn.180006c90
nop
lea r8, [rbp + 0xc0]
mov edx, 0xd6
lea rcx, [rbp + 0x80]
call fcn.180009320
lea rdx, [0x1801f4df0]
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.cannot_get_value
lea rcx, [rbp + 0xc0]
call fcn.180006c90
nop
lea r8, [rbp + 0xc0]
mov edx, 0xd6
lea rcx, [rbp + 0x1e0]
call fcn.180009320
lea rdx, [0x1801f4df0]
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, r13
call fcn.1800074b0
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.180006c90
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rbp + 0x1e0]
call fcn.180008490
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp + 0x80]
call fcn.1800087b0
lea rdx, [0x1801f4f88]
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3