Function at 0x14006c9f0
Capabilities:
Create thread
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10e0]
mov eax, 0x11e0
call fcn.140098cb0
sub rsp, rax
movaps xmmword [rsp + 0x11d0], xmm6
movaps xmmword [rsp + 0x11c0], xmm7
movaps xmmword [rsp + 0x11b0], xmm8
movaps xmmword [rsp + 0x11a0], xmm9
movaps xmmword [rsp + 0x1190], xmm10
xor r14d, r14d
mov dword [rbp - 0x40], 0x50
mov dword [rbp - 0x3c], 0x20
lea rax, [0x14006da80]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
lea rax, str.ImGui_Example
mov qword [rbp], rax
mov qword [rbp + 8], r14
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x320
mov dword [rsp + 0x30], 0x500
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
lea r8, str.SNES_SEQ
mov rdx, qword [rbp]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r15, rax
mov qword [rbp - 0x50], rax
mov qword [0x140185fa0], rax
lea rdx, [0x1401a3ac8]
mov rcx, rax
call fcn.14006d9b0
test al, al
jne 0x14006cb41
xor edx, edx
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rdx, qword [0x1401a3ac8]
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea eax, [r14 + 1]
jmp 0x14006d95b
mov rdx, qword [0x1401a3ab8]
mov rcx, qword [0x1401a3ac8]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov edx, 0xa
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rsi, qword [0x1400be390]
mov qword [rbp + 0x1138], rsi
mov ecx, 0x63d0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x1400be390]
test r8, r8
je 0x14006cbf4
mov r10d, dword [r8 + 0x40a0]
movsx rax, word [r8 + 0x6278]
lea rdx, [r8 + 0x627c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x14006cbe9
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6278], cx
movsx rax, cx
lea rdx, [r8 + 0x627c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 4]
inc dword [r8 + 0x6270]
mov qword [rbp - 0x80], r9
lea rax, [rbp + 0x1130]
mov qword [rbp + 0x10], rax
mov qword [rbp - 0x78], r9
test r9, r9
je 0x14006cc18
xor edx, edx
mov rcx, r9
call fcn.140002390
jmp 0x14006cc1b
mov rax, r14
mov qword [0x1400be390], rax
call fcn.140007760
test rsi, rsi
je 0x14006cc35
mov qword [0x1400be390], rsi
jmp 0x14006cc43
mov rsi, qword [0x1400be390]
mov qword [rbp + 0x1138], rsi
test rsi, rsi
jne 0x14006cc70
mov r8d, 0x1134
lea rdx, str.D:TheVaultimgui_dockingimgui.cpp
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 rsi, qword [0x1400be390]
mov qword [rbp + 0x1138], rsi
or dword [rsi + 8], 0x43
xor ecx, ecx
call fcn.14003d150
mov rax, qword [0x1400be390]
test rax, rax
jne 0x14006cca8
mov r8d, 0xc24
lea rdx, str.D:TheVaultimgui_dockingimgui.cpp
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 [0x1400be390]
test dword [rsi + 8], 0x400
je 0x14006ccc2
mov dword [rax + 0x3a10], r14d
mov dword [rax + 0x3b14], 0x3f800000
mov rcx, r15
call fcn.140068130
call fcn.140066a70
test dword [rsi + 8], 0x400
je 0x14006cdd1
mov rbx, qword [0x1400be390]
test rbx, rbx
jne 0x14006cd09
mov r8d, 0x113a
lea rdx, str.D:TheVaultimgui_dockingimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400be390]
cmp qword [rbx + 0x39b8], 0
je 0x14006cd2d
mov r8d, 0x12e
lea rdx, str.D:TheVaultimgui_dockingexamplesSnes_Seqmain.cpp
lea rcx, str.platform_io.Renderer_CreateWindow__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rbx + 0x39c0], 0
je 0x14006cd51
mov r8d, 0x12f
lea rdx, str.D:TheVaultimgui_dockingexamplesSnes_Seqmain.cpp
lea rcx, str.platform_io.Renderer_DestroyWindow__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rbx + 0x39d8], 0
je 0x14006cd75
mov r8d, 0x130
lea rdx, str.D:TheVaultimgui_dockingexamplesSnes_Seqmain.cpp
lea rcx, str.platform_io.Renderer_SwapBuffers__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rbx + 0x3990], 0
je 0x14006cd99
mov r8d, 0x131
lea rdx, str.D:TheVaultimgui_dockingexamplesSnes_Seqmain.cpp
lea rcx, str.platform_io.Platform_RenderWindow__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rax, [0x14006bd70]
mov qword [rbx + 0x39b8], rax
lea rax, [0x14006be40]
mov qword [rbx + 0x39c0], rax
lea rax, [0x14006bf30]
mov qword [rbx + 0x39d8], rax
lea rax, [0x14006bf10]
mov qword [rbx + 0x3990], rax
lea rdx, [rbp + 0x90]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rax, [rbp + 0x90]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14006ce03
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x14006d996
mov qword [rsp + 0x78], 0xf
cmp rbx, 0x10
jae 0x14006ce51
mov qword [rsp + 0x70], rbx
mov r8, rbx
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x60], 0
jmp 0x14006cef3
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x14006ce8a
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140098360
test rax, rax
je 0x14006cfe5
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14006cec7
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14006ceb5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006d99c
jmp 0x14006ce6b
test rcx, rcx
je 0x14006cec4
call fcn.140098360
mov rsi, rax
jmp 0x14006cec7
mov rsi, r14
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
mov r8, rbx
lea rdx, [rbp + 0x90]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rsi, qword [rbp + 0x1138]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
mov r13d, 1
cmp rax, r13
jb 0x14006cf33
lea rax, [rcx + 1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x60]
mov word [rax + rcx], 0x5c
lea rax, [rsp + 0x60]
jmp 0x14006cf45
mov qword [rsp + 0x20], r13
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14006e4a0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x70], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm7
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [0x1400be090]
cmp rdx, 0x10
jb 0x14006cfa3
mov rcx, qword [0x1400be078]
inc rdx
cmp rdx, 0x1000
jb 0x14006cf9e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006cfec
mov rcx, r8
call fcn.1400982e8
movups xmmword [0x1400be078], xmm6
movups xmmword [0x1400be088], xmm7
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14006cff8
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cff3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400982e8
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov r8d, 0x12
lea rdx, str.._fonts_slkscr.ttf
lea rcx, [0x1400be1c0]
call fcn.14006dd50
mov dword [0x1400be060], 0x12
lea rdx, [0x1400be1c0]
cmp qword [0x1400be1d8], 0x10
cmovae rdx, qword [0x1400be1c0]
movss xmm2, dword [0x1400b2fe0]
mov rcx, qword [rsi + 0x38]
call fcn.140042be0
mov byte [rsi + 0x44], 0
mov dword [0x1400be060], 0xffffffff
call fcn.14006bf50
call fcn.14006e810
movss xmm6, dword [0x1400b2d7c]
movss xmm7, dword [0x1400b2e88]
movss xmm8, dword [0x1400b2de4]
movss xmm9, dword [0x1400b2de0]
movss xmm10, dword [0x1400b2dc8]
nop dword [rax]
mov r12d, r14d
mov ebx, dword [0x140182f90]
call fcn.1400969c0
mov dword [rbp - 0x68], 0x20001
mov dword [rbp - 0x5c], 0x100004
mov dword [rbp - 0x64], 0xac44
mov dword [rbp - 0x60], 0x2b110
mov rax, qword [0x140102600]
test rax, rax
jne 0x14006d0f1
lea r9, str.AudioEvent
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140102600], rax
mov dword [rsp + 0x28], 0x50000
mov qword [rsp + 0x20], r14
mov r9, rax
lea r8, [rbp - 0x68]
mov edx, ebx
lea rcx, [0x1400be5f0]
call qword [sym.imp.WINMM.dll_waveOutOpen]
cmp qword [0x1401a3ad0], 0
jne 0x14006d150
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x14006f240]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1401a3ad0], rax
nop dword [rax]
nop word [rax + rax]
mov dword [0x140182628], r13d
mov dword [0x140182658], r13d
mov dword [0x140182688], r13d
mov dword [0x1401826b8], r13d
mov dword [0x1401826e8], r13d
mov dword [0x140182718], r13d
mov dword [0x140182748], r13d
mov dword [0x140182778], r13d
mov byte [0x1400be389], 0
mov rcx, qword [0x140102600]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [rax]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14006d202
nop dword [rax + rax]
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0x48], 0x12
cmove r12d, r13d
mov ebx, r12d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14006d1c0
test ebx, ebx
jne 0x14006d647
cmp dword [0x1400be060], 0xffffffff
je 0x14006d2b0
mov rcx, qword [rsi + 0x38]
call fcn.140042580
lea r8, [0x1400be1c0]
lea rcx, [rbp + 0x20]
call fcn.14006dff0
cmp qword [rax + 0x18], 0x10
jb 0x14006d232
mov rax, qword [rax]
movd xmm2, dword [0x1400be060]
cvtdq2ps xmm2, xmm2
mov rdx, rax
mov rcx, qword [rsi + 0x38]
call fcn.140042be0
mov qword [0x1401f3ec0], rax
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14006d292
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d286
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d98f
call fcn.1400982e8
mov rax, qword [0x1401f3ec0]
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov dword [0x1400be060], 0xffffffff
mov qword [rsi + 0x48], rax
mov rbx, qword [0x1400be390]
test rbx, rbx
je 0x14006d2ca
mov rdi, qword [rbx + 0xa0]
test rdi, rdi
jne 0x14006d2ee
jmp 0x14006d2cd
mov rdi, r14
mov r8d, 0x192
lea rdx, str.D:TheVaultimgui_docking_backendsimgui_impl_opengl3.cpp
lea rcx, str.bd___nullptr___Did_you_call_ImGui_ImplOpenGL3_Init____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400be390]
cmp dword [rdi + 0x30], 0
jne 0x14006d300
call fcn.140067d50
mov rbx, qword [0x1400be390]
test rbx, rbx
jne 0x14006d32b
mov r8d, 0x1134
lea rdx, str.D:TheVaultimgui_dockingimgui.cpp
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 rbx, qword [0x1400be390]
test rbx, rbx
je 0x14006d339
mov rdi, qword [rbx + 0x98]
test rdi, rdi
jne 0x14006d356
jmp 0x14006d33c
mov rdi, r14
mov r8d, 0x1bf
lea rdx, str.D:TheVaultimgui_docking_backendsimgui_impl_win32.cpp
lea rcx, str.bd___nullptr___Did_you_call_ImGui_ImplWin32_Init____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
lea rdx, [rbp - 0x78]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x70]
sub eax, dword [rbp - 0x78]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp - 0x6c]
sub eax, dword [rbp - 0x74]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [rdi + 0x30], 0
je 0x14006d39a
call fcn.140069510
mov qword [rbp - 0x80], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x80]
sub rax, qword [rdi + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov rax, qword [rbp - 0x80]
mov qword [rdi + 0x18], rax
call fcn.1400688f0
call fcn.140068660
cmp byte [rbx + 0x60], 0
je 0x14006d3e9
mov eax, 0xffffffff
jmp 0x14006d3f6
mov rax, qword [0x1400be390]
mov eax, dword [rax + 0x5048]
cmp dword [rdi + 0x28], eax
je 0x14006d403
mov dword [rdi + 0x28], eax
call fcn.1400683f0
call fcn.140068c10
call fcn.14000ade0
lea rdx, [rbp + 0x10]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClientRect]
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [0x140186140], xmm0
movss xmm1, dword [0x1400be5e4]
addss xmm1, xmm6
movss dword [0x1400be5e4], xmm1
call fcn.140093170
mov r12d, eax
call fcn.14000d600
mov r9d, dword [0x1401a3ac4]
mov r8d, dword [0x1401a3ac0]
xor edx, edx
xor ecx, ecx
call qword [0x1400be588]
movaps xmm3, xmm7
movaps xmm2, xmm8
movaps xmm1, xmm9
movaps xmm0, xmm10
call qword [0x1400be400]
mov ecx, 0x4000
call qword [0x1400be3f8]
mov rbx, qword [0x1400be390]
cmp dword [rbx + 0x4c30], 0
jg 0x14006d4a8
mov r8d, 0x7b6
lea rdx, str.D:TheVaultimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4c38]
mov rcx, qword [rax]
add rcx, 0xa8
mov rax, r14
cmp byte [rcx], 0
cmovne rax, rcx
mov rcx, rax
call fcn.140067360
test dword [rsi + 8], 0x400
je 0x14006d631
call fcn.140025960
mov rsi, qword [0x1400be390]
test rsi, rsi
jne 0x14006d50a
mov r8d, 0x113a
lea rdx, str.D:TheVaultimgui_dockingimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [0x1400be390]
mov r14d, r13d
mov rdi, r13
mov eax, dword [rsi + 0x39f0]
cmp eax, r13d
jle 0x14006d58f
nop dword [rax + rax]
test rdi, rdi
js 0x14006d52a
cmp r14d, eax
jl 0x14006d544
mov r8d, 0x7b6
lea rdx, str.D:TheVaultimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x39f8]
mov rbx, qword [rax + rdi*8]
test dword [rbx + 4], 0x1000
jne 0x14006d57e
mov rax, qword [rsi + 0x3990]
test rax, rax
je 0x14006d56b
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [rsi + 0x39d0]
test rax, rax
je 0x14006d57e
xor edx, edx
mov rcx, rbx
call rax
inc r14d
inc rdi
mov eax, dword [rsi + 0x39f0]
cmp r14d, eax
jl 0x14006d520
mov r14d, r13d
mov rdi, r13
cmp eax, r13d
jle 0x14006d60f
nop word [rax + rax]
test rdi, rdi
js 0x14006d5aa
cmp r14d, eax
jl 0x14006d5c4
mov r8d, 0x7b6
lea rdx, str.D:TheVaultimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x39f8]
mov rbx, qword [rax + rdi*8]
test dword [rbx + 4], 0x1000
jne 0x14006d5fe
mov rax, qword [rsi + 0x3998]
test rax, rax
je 0x14006d5eb
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [rsi + 0x39d8]
test rax, rax
je 0x14006d5fe
xor edx, edx
mov rcx, rbx
call rax
inc r14d
inc rdi
mov eax, dword [rsi + 0x39f0]
cmp r14d, eax
jl 0x14006d5a0
mov rdx, qword [0x1401a3ab8]
mov rcx, qword [0x1401a3ac8]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rsi, qword [rbp + 0x1138]
mov r15, qword [rbp - 0x50]
xor r14d, r14d
mov rcx, qword [0x1401a3ac8]
call qword [sym.imp.GDI32.dll_SwapBuffers]
test r12d, r12d
je 0x14006d1a0
cmp r12d, 2
jne 0x14006d6c5
mov byte [0x1400be389], 1
movzx eax, byte [0x1400be389]
test al, al
jne 0x14006d66c
mov rcx, qword [0x140102600]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400be5f0]
call qword [sym.imp.WINMM.dll_waveOutReset]
nop dword [rax]
mov rcx, qword [0x1400be5f0]
call qword [sym.imp.WINMM.dll_waveOutClose]
cmp eax, 0x21
je 0x14006d680
lea rbx, [0x140182610]
mov edi, 8
nop
mov r8d, 0x30
mov rdx, rbx
mov rcx, qword [0x1400be5f0]
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
add rbx, 0x30
sub rdi, 1
jne 0x14006d6a0
jmp 0x14006d0a0
mov byte [0x1400be389], 0
movzx eax, byte [0x1400be389]
test al, al
jne 0x14006d6e4
mov rcx, qword [0x140102600]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400be5f0]
call qword [sym.imp.WINMM.dll_waveOutReset]
mov rcx, qword [0x1400be5f0]
call qword [sym.imp.WINMM.dll_waveOutClose]
cmp eax, 0x21
je 0x14006d6f1
lea rbx, [0x140182610]
mov edi, 8
nop
mov r8d, 0x30
mov rdx, rbx
mov rcx, qword [0x1400be5f0]
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
add rbx, 0x30
sub rdi, 1
jne 0x14006d710
cmp r12d, 1
jne 0x14006d0a0
call fcn.140066e70
mov rdi, qword [0x1400be390]
test rdi, rdi
je 0x14006d757
mov r14, qword [rdi + 0x98]
test r14, r14
jne 0x14006d778
mov r8d, 0xd7
lea rdx, str.D:TheVaultimgui_docking_backendsimgui_impl_win32.cpp
lea rcx, str.bd___nullptr___No_platform_backend_to_shutdown__or_already_shutdown__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x1400be390]
test rdi, rdi
jne 0x14006d79e
mov r8d, 0x1134
lea rdx, str.D:TheVaultimgui_dockingimgui.cpp
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 rdi, qword [0x1400be390]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rax, qword [0x1400be390]
mov rbx, qword [rax + 0x4c38]
movsxd rax, dword [rax + 0x4c30]
lea rsi, [rbx + rax*8]
cmp rbx, rsi
je 0x14006d7e5
mov rcx, qword [rbx]
call fcn.140025f60
add rbx, 8
cmp rbx, rsi
jne 0x14006d7d4
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x14006d7f4
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x98], rsi
and dword [rdi + 0xc], 0xfffff3f8
mov r8, qword [0x1400be390]
test r8, r8
je 0x14006d876
mov r9d, dword [r8 + 0x40a0]
movsx rdx, word [r8 + 0x6278]
lea rcx, [r8 + 0x627c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006d86b
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6278], cx
movsx rax, cx
lea rcx, [r8 + 0x627c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x6274]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400be390]
mov qword [0x1400be390], rbx
call fcn.140007da0
mov qword [0x1400be390], rsi
test rbx, rbx
je 0x14006d91b
mov rcx, rbx
call fcn.140034c20
mov r8, qword [0x1400be390]
test r8, r8
je 0x14006d912
mov r9d, dword [r8 + 0x40a0]
movsx r10, word [r8 + 0x6278]
lea rdx, [r8 + 0x627c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14006d907
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6278], cx
movsx rax, cx
lea rdx, [r8 + 0x627c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], esi
inc word [rdx + 6]
inc dword [r8 + 0x6274]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rdx, qword [0x1401a3ac8]
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [0x1401a3ab8]
call qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
lea r11, [rsp + 0x11e0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bd50
int3
call fcn.14006bcb0
int3