Function at 0x1800990f0
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x18012c038]
xor rax, rsp
mov qword [rbp + 0xd8], rax
mov rdi, rcx
mov qword [rbp - 0x20], rcx
xor r15d, r15d
mov dword [rsp + 0x24], r15d
movabs rcx, 0x142738080
mov rcx, qword [rcx]
test rcx, rcx
jne 0x18009914a
mov ecx, r15d
jmp 0x18009915f
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x180099158
mov rcx, r15
jmp 0x18009915f
mov rcx, qword [rcx + 0xf0]
mov qword [rdi], rcx
test rcx, rcx
je 0x18009916e
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rbp + 0xb0], r15
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [rbp + 0xb0]
lea rdx, [0x180115620]
call qword [rax + 0x38]
test eax, eax
js 0x1800997e0
mov rbx, qword [rbp + 0xb0]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800991b2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rbx
mov rax, qword [rbx]
lea rdx, [rdi + 0x10]
mov rcx, rbx
call qword [rax + 0x140]
nop
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rsi, rax
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800991e0
call fcn.1800b1ba8
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rbx
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rbp + 0xb8]
call fcn.18001b200
mov dword [rsp + 0x24], 7
lea rcx, [rbp + 0xb8]
call fcn.180031180
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x28]
call fcn.18001b860
mov rcx, rax
call fcn.1800a36f0
call fcn.1800b1ba8
lea rcx, str.imgui.ini
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], 9
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.18001b200
mov dword [rsp + 0x24], 0x1f
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0xb8]
call fcn.18001b480
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800992ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800992c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800992c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
movdqa xmm0, xmmword [0x180116990]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r15w
mov rax, qword [0x18012f970]
test rax, rax
je 0x1800992f4
inc dword [rax + 0x3bc]
mov ecx, 0x3d68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x90], rax
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x80], rax
test rax, rax
je 0x18009932b
mov rcx, rax
call fcn.18004d4d0
mov rcx, rax
jmp 0x18009932e
mov rcx, r15
mov rax, qword [0x18012f970]
test rax, rax
cmove rax, rcx
mov qword [0x18012f970], rax
call fcn.180054790
mov rax, qword [0x18012f970]
test rax, rax
jne 0x180099375
mov r8d, 0xc58
lea rdx, [0x18010cd20]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x18012f970]
lea rsi, [rax + 8]
mov dword [rsi + 0x10], 0x3c888889
mov r14, qword [rdi + 0x10]
mov rbx, qword [rdi + 8]
test rax, rax
jne 0x1800993ae
mov r8d, 0xc58
lea rdx, [0x18010cd20]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x18012f970]
lea rcx, str.imgui_impl_dx11
mov qword [rax + 0xe0], rcx
or dword [rax + 0xc], 8
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], r15
mov rax, qword [rbx]
lea r8, [rbp + 0x80]
lea rdx, [0x180111688]
mov rcx, rbx
call qword [rax]
test eax, eax
jne 0x180099449
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
lea rdx, [0x180111698]
call qword [rax + 0x30]
test eax, eax
jne 0x180099449
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
lea rdx, [0x1801116a8]
call qword [rax + 0x30]
test eax, eax
jne 0x180099449
mov qword [0x180134958], rbx
mov qword [0x180134978], r14
mov rax, qword [rbp + 0x90]
mov qword [0x180134960], rax
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x18009945b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x18009946d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x180134958]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x180134978]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [0x18012d410]
lea rcx, [0x180134998]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800995ae
lea rcx, [0x180134990]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800995ae
mov qword [0x180134988], rbx
mov rax, qword [0x18012f970]
test rax, rax
jne 0x1800994ec
mov r8d, 0xc58
lea rdx, [0x18010cd20]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x18012f970]
or dword [rax + 0xc], 6
lea rcx, [0x1801116b8]
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x120], rbx
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0xd
mov dword [rax + 0x7c], 0x41
mov dword [rax + 0x80], 0x43
mov dword [rax + 0x84], 0x56
mov dword [rax + 0x88], 0x58
mov dword [rax + 0x8c], 0x59
mov dword [rax + 0x90], 0x5a
mov rcx, qword [rsi + 0xa0]
call fcn.180070590
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x74], 0
mov qword [rsp + 0x7c], 0
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], 0
mov dword [rbp - 0x6c], 0x7f7fffff
mov byte [rbp - 0x68], 0
mov dword [rbp - 0x64], r15d
mov dword [rbp - 0x60], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x5c], ax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x5a], xmm0
movups xmmword [rbp - 0x4a], xmm0
mov qword [rbp - 0x3a], rax
mov qword [rbp - 0x30], r15
mov byte [rsp + 0x5c], al
mov eax, dword [str.Rubik]
mov dword [rbp - 0x5a], eax
movzx eax, word [0x180115618]
mov word [rbp - 0x56], ax
mov rax, qword [0x18012f970]
test rax, rax
jne 0x180099674
mov r8d, 0xc58
lea rdx, [0x18010cd20]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x18012f970]
mov rbx, qword [rax + 0xa8]
cmp byte [rbx], 0
je 0x18009969a
mov r8d, 0x6c3
lea rdx, [0x180110420]
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp], xmm1
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x70], xmm0
lea rax, [0x1800d5dc0]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x35db8
mov dword [rbp + 4], 0x41a00000
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.180070260
mov qword [rdi + 0x18], rax
mov qword [rsi + 0xb0], rax
mov rcx, qword [0x18012f970]
test rcx, rcx
jne 0x180099744
mov r8d, 0xc58
lea rdx, [0x18010cd20]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x18012f970]
mov rcx, qword [rcx + 0xa8]
call fcn.180070590
mov qword [rdi + 0x20], rax
lea rcx, [0x18012f930]
call fcn.180095160
mov qword [0x18012f938], rdi
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x1800997b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800997ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800997ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
nop
mov rax, rdi
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.1800b2700
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, str.Failed_to_get_D3D_device.
lea rcx, [rbp + 0x90]
call fcn.18001a9b0
lea rdx, [0x1801289f0]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
int3