Function at 0x140002782
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xb0]
mov dword [rbp + 0x20], ecx
mov dword [rbp + 0x28], edx
cmp dword [rbp + 0x20], 1
jne 0x1400029c0
cmp dword [rbp + 0x28], 0xffff
jne 0x1400029c0
lea rax, [0x14000a100]
mov rcx, rax
call fcn.140002a38
lea rax, [sym.__tcf_0]
mov rcx, rax
call dbg.atexit
lea rax, [rbp - 0x61]
mov rcx, rax
call fcn.140002b30
lea rdx, [rbp - 0x61]
lea rax, [rbp - 0x90]
mov r8, rdx
lea rdx, str._SongOfHorror
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, str.LOCALAPPDATA
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rax, [0x14000a0a0]
lea rcx, [rbp - 0x90]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x90]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x61]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [sym.__tcf_1]
mov rcx, rax
call dbg.atexit
lea rax, [rbp - 0x31]
mov rcx, rax
call fcn.140002b30
lea rdx, [rbp - 0x31]
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, str._SongOfHorrorFull
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, str.LOCALAPPDATA
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rax, [0x14000a0c0]
lea rcx, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x31]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [sym.__tcf_2]
mov rcx, rax
call dbg.atexit
lea rax, [rbp - 1]
mov rcx, rax
call fcn.140002b30
lea rdx, [rbp - 1]
lea rax, [rbp - 0x30]
mov r8, rdx
lea rdx, str._SongOfHorrorDemo
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, str.LOCALAPPDATA
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rax, [0x14000a0e0]
lea rcx, [rbp - 0x30]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 1]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [sym.__tcf_3]
mov rcx, rax
call dbg.atexit
jmp 0x1400029c0
add rsp, 0xb8
pop rbx
pop rbp
ret