Function at 0x140045940
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2d0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
mov dword [rbp + 0x70], 0x50
mov dword [rbp + 0x74], 0x40
lea rax, [0x140046b80]
mov qword [rbp + 0x78], rax
xor r12d, r12d
mov qword [rbp + 0x80], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x88], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
lea rax, str.ImGui_Example
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], r12
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x438
mov dword [rsp + 0x30], 0x780
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x80880000
lea r8, str.Dear_ImGui_DirectX9_Example
mov rdx, qword [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r15, rax
lea ecx, [r12 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x1400c2650], rax
lea r13d, [r12 + 1]
test rax, rax
je 0x140046ae9
mov qword [0x1400c2660], r12
mov qword [0x1400c266c], r12
mov dword [0x1400c2674], r12d
mov qword [0x1400c267c], r12
mov dword [0x1400c2684], r12d
mov qword [0x1400c2694], r12
mov dword [0x1400c2688], r13d
mov dword [0x1400c2678], r13d
mov dword [0x1400c2668], r12d
mov dword [0x1400c268c], r13d
mov dword [0x1400c2690], 0x50
mov dword [0x1400c269c], r13d
mov rax, qword [rax]
lea rdx, [0x1400c2658]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1400c2660]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, r15
mov r8d, r13d
xor edx, edx
call qword [rax + 0x80]
test eax, eax
js 0x140046ae2
lea edx, [r12 + 0xa]
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400c25e0]
test rbx, rbx
je 0x140045b29
inc dword [rbx + 0xec]
mov ecx, 0x56a8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x228], rax
lea rcx, [rbp + 0x220]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140045b5b
xor edx, edx
mov rcx, rax
call fcn.140001210
jmp 0x140045b5e
mov rax, r12
mov qword [0x1400c25e0], rax
call fcn.140008c00
mov r14, qword [0x1400c25e0]
test rbx, rbx
cmovne r14, rbx
mov qword [0x1400c25e0], r14
test r14, r14
jne 0x140045ba5
mov r8d, 0xec0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 r14, qword [0x1400c25e0]
xor ecx, ecx
call fcn.140023d90
mov rbx, qword [0x1400c25e0]
test rbx, rbx
jne 0x140045bd9
mov r8d, 0xadb
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 [0x1400c25e0]
mov qword [rbx + 0x3834], 0x3f800000
mov dword [rbx + 0x383c], 0x40400000
mov dword [rbx + 0x380c], r12d
mov dword [rbx + 0x3870], 0x40400000
mov dword [rbx + 0x386c], 0x40a00000
test rbx, rbx
jne 0x140045c2f
mov r8d, 0xec0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 [0x1400c25e0]
cmp qword [rbx + 0x90], 0
je 0x140045c53
mov r8d, 0x71
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobia_backendsimgui_impl_win32.cpp
lea rcx, str.io.BackendPlatformUserData__0___Already_initialized_a_platform_backend__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rcx, [rbp + 0x228]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140045dba
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140045dba
mov rax, qword [0x1400c25e0]
test rax, rax
je 0x140045c8c
inc dword [rax + 0xec]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140045cb9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x140045cbc
mov rdi, r12
mov qword [rbx + 0x90], rdi
lea rax, str.imgui_impl_win32
mov qword [rbx + 0x80], rax
or dword [rbx + 0xc], 6
mov qword [rdi], r15
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp + 0x228]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp - 0x80]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rbx, qword [0x1400c25e0]
cmp dword [rbx + 0x40d8], 0
jg 0x140045d20
mov r8d, 0x708
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 + 0x40e0]
mov rcx, qword [rax]
mov qword [rcx + 0x28], r15
lea rax, str.xinput1_4.dll
mov qword [rbp + 0x40], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0x48], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x50], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x58], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0x60], rax
mov rbx, r12
nop dword [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140045d8e
inc rbx
cmp rbx, 5
jl 0x140045d70
jmp 0x140045dba
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [0x1400c2658]
mov rax, qword [0x1400c25e0]
test rax, rax
jne 0x140045dee
mov r8d, 0xec0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 [0x1400c25e0]
lea rbx, [rax + 8]
cmp qword [rbx + 0x90], 0
je 0x140045e1d
mov r8d, 0x11a
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobia_backendsimgui_impl_dx9.cpp
lea rcx, str.io.BackendRendererUserData__0___Already_initialized_a_renderer_backend__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1400c25e0]
test rax, rax
je 0x140045e28
inc dword [rax + 0xec]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x220], rax
test rax, rax
je 0x140045e5f
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140045e62
mov rax, r12
mov qword [rbx + 0x90], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x80], rcx
or dword [rbx + 4], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp + 0xc0], xmm6
movups xmmword [rbp + 0xd0], xmm6
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm6
movups xmmword [rbp + 0x100], xmm6
movups xmmword [rbp + 0x110], xmm6
movaps xmmword [rbp + 0x120], xmm6
movaps xmmword [rbp + 0x130], xmm6
mov qword [rbp + 0x140], rax
mov byte [rbp + 0xcc], 1
mov dword [rbp + 0x104], 0x7f7fffff
mov eax, 0xffff
mov word [rbp + 0x114], ax
mov byte [rbp + 0xe0], 0
mov dword [rbp + 0xd8], 5
mov dword [rbp + 0xdc], 5
mov dword [rbp + 0x110], 0x3f99999a
lea rsi, [0x140055058]
mov qword [rbp + 0xf8], rsi
mov rdi, qword [r14 + 0x50]
cmp byte [rdi + 0x18], 0
je 0x140045f3f
mov r8d, 0xba0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui_draw.cpp
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 xmm7, xmmword [rbp + 0xc0]
movaps xmmword [rbp - 0x50], xmm7
movaps xmm8, xmmword [rbp + 0xd0]
movaps xmmword [rbp - 0x40], xmm8
movaps xmm9, xmmword [rbp + 0xe0]
movaps xmmword [rbp - 0x30], xmm9
movaps xmm10, xmmword [rbp + 0xf0]
movaps xmmword [rbp - 0x20], xmm10
movaps xmm11, xmmword [rbp + 0x100]
movaps xmmword [rbp - 0x10], xmm11
movaps xmm12, xmmword [rbp + 0x110]
movaps xmmword [rbp], xmm12
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp + 0x20], xmm6
movsd xmm13, qword [rbp + 0x140]
movsd qword [rbp + 0x30], xmm13
movq rbx, xmm7
test rbx, rbx
je 0x140045fc6
mov r8d, 0xba2
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui_draw.cpp
lea rcx, str.font_cfg.FontData__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rax, [0x14005c820]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], 0x26368
mov dword [rbp - 0x3c], 0x41800000
mov qword [rbp - 0x18], rsi
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14002a660
lea r9, [rbp + 0xc0]
movss xmm2, dword [0x140055190]
mov rcx, qword [r14 + 0x50]
call fcn.14002a9b0
mov rdi, qword [r14 + 0x50]
cmp byte [rdi + 0x18], 0
je 0x14004602b
mov r8d, 0xba0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui_draw.cpp
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 xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm8
movaps xmmword [rbp - 0x30], xmm9
movaps xmmword [rbp - 0x20], xmm10
movaps xmmword [rbp - 0x10], xmm11
movaps xmmword [rbp], xmm12
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp + 0x20], xmm6
movsd qword [rbp + 0x30], xmm13
test rbx, rbx
je 0x140046075
mov r8d, 0xba2
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui_draw.cpp
lea rcx, str.font_cfg.FontData__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rax, [0x1400c14f0]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], 0xa28
mov dword [rbp - 0x3c], 0x41c80000
mov qword [rbp - 0x18], rsi
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14002a660
mov qword [0x1400c25f8], rax
mov rdi, qword [r14 + 0x50]
cmp byte [rdi + 0x18], 0
je 0x1400460c9
mov r8d, 0xba0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui_draw.cpp
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 xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm8
movaps xmmword [rbp - 0x30], xmm9
movaps xmmword [rbp - 0x20], xmm10
movaps xmmword [rbp - 0x10], xmm11
movaps xmmword [rbp], xmm12
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp + 0x20], xmm6
movsd qword [rbp + 0x30], xmm13
test rbx, rbx
je 0x140046113
mov r8d, 0xba2
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui_draw.cpp
lea rcx, str.font_cfg.FontData__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rax, [0x14005c820]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], 0x26368
mov dword [rbp - 0x3c], 0x41c80000
mov qword [rbp - 0x18], rsi
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14002a660
mov qword [0x1400c2600], rax
cmp qword [0x1400c2610], 0
jne 0x1400461ba
lea rax, [0x1400c2610]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], 0x200
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x438
mov r9d, 0x780
mov r8d, 0x3bff9
lea rdx, [0x140082b90]
mov rcx, qword [0x1400c2658]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx]
cmp qword [0x1400c2608], 0
jne 0x140046231
lea rax, [0x1400c2608]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], 0x200
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x19
mov r9d, 0x78
mov r8d, 0x51b
lea rdx, [0x1400c1f20]
mov rcx, qword [0x1400c2658]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx]
cmp qword [0x1400c2618], 0
jne 0x1400462a8
lea rax, [0x1400c2618]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], 0x200
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x62
mov r9d, 0x55
mov r8d, 0x295e
lea rdx, [0x1400beb90]
mov rcx, qword [0x1400c2658]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx]
cmp qword [0x1400c2620], 0
jne 0x14004631f
lea rax, [0x1400c2620]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], 0x200
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x1c
mov r9d, 0x1c
mov r8d, 0x7c9
lea rdx, [0x14005c050]
mov rcx, qword [0x1400c2658]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx]
xor r14b, r14b
xorps xmm8, xmm8
movss xmm9, dword [0x140055120]
movss xmm10, dword [0x140055280]
movss xmm11, dword [0x140055094]
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 0x1400463a4
nop dword [rax]
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx r14d, r14b
cmp dword [rbp + 0x48], 0x12
cmove r14d, r13d
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 0x140046360
test r14b, r14b
jne 0x140046910
mov rax, qword [0x1400c25e0]
test rax, rax
je 0x1400463be
mov rbx, qword [rax + 0x98]
test rbx, rbx
jne 0x1400463e2
jmp 0x1400463c1
mov rbx, r12
mov r8d, 0x176
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobia_backendsimgui_impl_dx9.cpp
lea rcx, str.bd___0___Did_you_call_ImGui_ImplDX9_Init____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1400c25e0]
cmp qword [rbx + 0x18], 0
jne 0x140046405
test rax, rax
je 0x140046405
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140046405
cmp qword [rcx], 0
je 0x140046405
call fcn.140041990
call fcn.140042770
call fcn.140007910
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm6, eax
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm7, eax
mov rbx, qword [0x1400c25e0]
movss xmm1, dword [rbx + 0x3800]
movss xmm0, dword [rbx + 0x3804]
mov dword [rbp - 0x68], 2
movss dword [rbp - 0x64], xmm1
movss dword [rbp - 0x60], xmm0
lea rcx, [rbx + 0x4060]
lea rdx, [rbp - 0x68]
call fcn.14001b270
mov dword [rbx + 0x3800], 0xbf800000
mov dword [rbx + 0x3804], 0xbf800000
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
mov rax, qword [0x1400c25e0]
movaps xmm0, xmm6
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm7
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm6
shufps xmm0, xmm0, 0x27
movss xmm0, xmm7
shufps xmm0, xmm0, 0x39
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rax + 0x401c], xmm0
mov qword [rax + 0x4030], r12
mov qword [rax + 0x4038], r12
or dword [rax + 0x3fe0], 0x11
mov qword [rax + 0x3ff0], r12
mov qword [rax + 0x3ff8], r12
mov dword [rax + 0x3fe4], r13d
xor edx, edx
mov r8d, 0x20bb
lea rcx, [0x140054f90]
call fcn.14000e1c0
mov rcx, qword [0x1400c25e0]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
mov rbx, qword [rax + 0x288]
cmp byte [0x1400c25c8], 0
jne 0x140046541
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [0x1400116c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x1400c25c8], 1
mov rcx, qword [0x1400c25e0]
mov rax, qword [rcx + 0x3ed8]
movsd xmm1, qword [rax + 0x18]
mov dword [rbp + 0x220], 0x3f800000
mov dword [rbp + 0x224], 0x3f800000
mov qword [rbp + 0x228], 0
addss xmm6, xmm1
movss dword [rbp - 0x80], xmm6
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [rbp - 0x78], xmm1
addss xmm7, xmm0
movss dword [rbp - 0x7c], xmm7
mov rsi, qword [0x1400c2610]
mov eax, dword [rbx + 0x68]
test eax, eax
je 0x1400465c8
jg 0x1400465b4
mov r8d, 0x711
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0x68]
mov rax, qword [rbx + 0x70]
cmp rsi, qword [rax + rcx*8 - 8]
jne 0x1400465c8
xor dil, dil
jmp 0x1400465d6
mov dil, 1
mov rdx, rsi
mov rcx, rbx
call fcn.140024c40
mov edx, 6
lea r8d, [rdx - 2]
mov rcx, rbx
call fcn.140024cc0
mov dword [rsp + 0x28], 0xffffffff
lea rax, [rbp + 0x220]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x228]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140024e00
test dil, dil
je 0x140046662
cmp dword [rbx + 0x68], 0
jg 0x140046637
mov r8d, 0x71e
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0x68]
lea eax, [rcx - 1]
mov dword [rbx + 0x68], eax
test eax, eax
jne 0x14004664a
mov rax, r12
jmp 0x140046653
mov rax, qword [rbx + 0x70]
mov rax, qword [rax + rcx*8 - 0x10]
mov qword [rbx + 0x98], rax
mov rcx, rbx
call fcn.1400249d0
call fcn.140010990
mov ecx, r13d
call fcn.140003770
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140046690
cmp byte [0x1400c243b], 0
sete al
mov byte [0x1400c243b], al
jmp 0x140046697
movzx eax, byte [0x1400c243b]
test al, al
je 0x1400466a1
movaps xmm6, xmm9
jmp 0x1400466a5
movaps xmm6, xmm10
mov rax, qword [0x1400c25e0]
test rax, rax
jne 0x1400466d2
mov r8d, 0xec0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 [0x1400c25e0]
movss xmm0, dword [rax + 0x18]
addss xmm0, xmm0
mulss xmm0, xmm6
addss xmm0, dword [0x1400c264c]
comiss xmm8, xmm0
jbe 0x1400466f3
movaps xmm1, xmm8
jmp 0x1400466ff
movss xmm1, dword [0x140055108]
minss xmm1, xmm0
movss dword [0x1400c264c], xmm1
comiss xmm1, xmm11
jbe 0x14004676b
or dword [rax + 0x3fe0], 2
mov dword [rax + 0x4000], 0x44518000
mov dword [rax + 0x4004], 0x4405c000
mov dword [rax + 0x3fe8], r13d
xor ecx, ecx
call fcn.1400036a0
xor edx, edx
mov r8d, 0x1ab
lea rcx, str.Dear_ImGui
call fcn.14000e1c0
call fcn.140045310
call fcn.1400443d0
call fcn.140044dd0
call fcn.140044040
call fcn.140010990
mov ecx, r13d
call fcn.140003770
call fcn.14000a560
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r12d
movss xmm0, dword [0x140055108]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0xff728c99
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004685f
call fcn.14000aa20
mov rbx, qword [0x1400c25e0]
cmp dword [rbx + 0x40d8], 0
jg 0x14004682f
mov r8d, 0x708
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 + 0x40e0]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, r12
cmp byte [rcx], r12b
cmovne rax, rcx
mov rcx, rax
call fcn.1400413a0
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140046341
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140046341
call fcn.140041bd0
mov rcx, qword [0x1400c2658]
mov rax, qword [rcx]
lea rdx, [0x1400c2660]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x1400468dc
mov r8d, 0x1d8
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaexamplesexample_win32_directx9main.cpp
lea rcx, [0x1400497b4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1400c25e0]
test rax, rax
je 0x140046341
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140046341
cmp qword [rcx], 0
je 0x140046341
call fcn.140041990
jmp 0x140046341
mov rbx, qword [0x1400c25e0]
test rbx, rbx
je 0x14004692a
mov rdi, qword [rbx + 0x98]
test rdi, rdi
jne 0x14004694e
jmp 0x14004692d
mov rdi, r12
mov r8d, 0x12b
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobia_backendsimgui_impl_dx9.cpp
lea rcx, str.bd___0___No_renderer_backend_to_shutdown__or_already_shutdown__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400c25e0]
test rbx, rbx
jne 0x140046974
mov r8d, 0xec0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 [0x1400c25e0]
call fcn.140041bd0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140046987
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
mov rax, qword [0x1400c25e0]
test rax, rax
je 0x1400469a7
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400c25e0]
test rax, rax
je 0x1400469ca
mov rbx, qword [rax + 0x90]
test rbx, rbx
jne 0x1400469ee
jmp 0x1400469cd
mov rbx, r12
mov r8d, 0xa3
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobia_backendsimgui_impl_win32.cpp
lea rcx, str.bd___0___No_platform_backend_to_shutdown__or_already_shutdown__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1400c25e0]
test rax, rax
jne 0x140046a14
mov r8d, 0xec0
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.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 [0x1400c25e0]
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140046a2e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400c25e0]
mov qword [rdi + 0x78], r12
mov qword [rdi + 0x88], r12
test rax, rax
je 0x140046a44
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400c25e0]
mov qword [0x1400c25e0], rbx
call fcn.140008f70
mov qword [0x1400c25e0], r12
test rbx, rbx
je 0x140046a8f
mov rcx, rbx
call fcn.14001bec0
mov rax, qword [0x1400c25e0]
test rax, rax
je 0x140046a86
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400c2658]
test rcx, rcx
je 0x140046aa8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400c2658], r12
mov rcx, qword [0x1400c2650]
test rcx, rcx
je 0x140046ac1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400c2650], r12
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xb0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
jmp 0x140046b35
mov rcx, qword [0x1400c2650]
mov rdx, qword [0x1400c2658]
test rdx, rdx
je 0x140046b0c
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x1400c2658], r12
mov rcx, qword [0x1400c2650]
test rcx, rcx
je 0x140046b1e
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x1400c2650], r12
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xb0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r13d
lea r11, [rsp + 0x2d0]
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]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret