Function at 0x18014a090
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1803d9938]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r14d, r14d
mov dword [rsp + 0x48], r14d
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], 0xa
mov qword [rbp + 0x98], 0xf
movsd xmm0, qword [str.C:Sumano_]
movzx eax, word [0x1802ad3f8]
mov word [rbp + 0x88], ax
mov byte [rbp + 0x8a], r14b
movups xmm7, xmmword [rbp + 0x80]
movsd xmm7, xmm0
movups xmmword [rbp + 0x80], xmm7
movups xmmword [rbp + 0xc0], xmm7
movups xmm6, xmmword [rbp + 0x90]
movups xmmword [rbp + 0xd0], xmm6
lea rsi, [rbp + 0xc0]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea ecx, [r14 + 0x20]
call fcn.1802697d0
mov rdi, rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xb0], 0x17
mov qword [rbp + 0xb8], 0x1f
movq rbx, xmm6
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.Settings.json]
movsd qword [rbx + rdi], xmm0
mov eax, dword [0x1802ae1b8]
mov dword [rbx + rdi + 8], eax
movzx eax, byte [0x1802ae1bc]
mov byte [rbx + rdi + 0xc], al
mov byte [rdi + 0x17], r14b
mov byte [rsp + 0x50], r14b
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.18013cbc0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rdi, qword [0x1803cd028]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.18013f770
mov byte [rsp + 0x38], 3
lea ecx, [r14 + 0x20]
call fcn.1802697d0
mov rbx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
lea rdx, [rdi + 0x498]
mov rcx, rbx
call fcn.1800be2c0
nop
mov qword [rsp + 0x40], rbx
mov word [rbp + 0x8e], r14w
mov qword [rbp + 0x90], 0xd
mov qword [rbp + 0x98], 0xf
movsd xmm0, qword [str.default_theme]
movsd qword [rbp + 0x80], xmm0
mov eax, dword [0x1802ada88]
mov dword [rbp + 0x88], eax
movzx eax, byte [0x1802ada8c]
mov byte [rbp + 0x8c], al
mov byte [rbp + 0x8d], r14b
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.18013d950
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x38]
mov byte [rax], cl
mov byte [rsp + 0x38], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x40]
mov qword [rax + 8], rdx
mov qword [rsp + 0x40], rcx
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.18013f770
nop
lea rbx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rbx, qword [rbp + 0xa0]
lea rax, [0x1802ad3c8]
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 0x18]
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 + 0x48], 7
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_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 + 0x70]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
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 + 0x78], rax
mov byte [rbp - 0xc], r14b
mov byte [rbp - 0x17], r14b
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 8], r14
mov rax, qword [0x18041c0a0]
mov qword [rbp - 0x14], rax
mov qword [rbp - 0x20], r14
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 2]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.180148a70
test rax, rax
jne 0x18014a3b3
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r14 + 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 + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
cmp qword [rbp - 8], 0
je 0x18014a52a
mov dword [rsp + 0x28], r14d
mov byte [rsp + 0x20], 0
mov r9b, 0x20
mov r8d, 4
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.18013fc60
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x18014a412
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1800d47c0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x18014a464
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014a45f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014a45f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
lea rcx, [rsp + 0x78]
cmp qword [rbp - 8], 0
je 0x18014a4ea
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp - 0x18]
cmp rax, rcx
jne 0x18014a495
mov r9, qword [rbp + 8]
mov rdx, qword [rbp]
mov r8, rdx
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
lea rcx, [rsp + 0x78]
call fcn.18013e750
lea rbx, [rsp + 0x78]
test al, al
cmove rbx, r14
mov rcx, qword [rbp - 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, r14
test eax, eax
cmove rdi, rbx
mov byte [rbp - 0xc], 0
mov byte [rbp - 0x17], 0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 8], r14
mov rax, qword [0x18041c0a0]
mov qword [rbp - 0x14], rax
mov qword [rbp - 0x20], r14
test rdi, rdi
jne 0x18014a52a
jmp 0x18014a50b
mov byte [rbp - 0xc], 0
mov byte [rbp - 0x17], 0
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 8], r14
mov rax, qword [0x18041c0a0]
mov qword [rbp - 0x14], rax
mov qword [rbp - 0x20], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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 + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.18013d0d0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.18013f770
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x18014a5be
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014a5b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014a5b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
movdqa xmm0, xmmword [0x18029c040]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 0x10
jb 0x18014a61a
inc rdx
movq rcx, xmm7
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014a615
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014a615
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180269d00
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret