Function at 0x14007a270
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400a5008]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [0x1400a6370]
test rax, rax
je 0x14007a2c4
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14007a2c4
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.14006a230
test eax, eax
je 0x14007a34a
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400a6490], eax
jle 0x14007a323
lea rcx, [0x1400a6490]
call fcn.14007eac0
cmp dword [0x1400a6490], 0xffffffff
jne 0x14007a323
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400a64a0], rax
lea rcx, [0x1400a6490]
call fcn.14007ea60
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x1400a64a0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007a34a
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x14007a3cf
mov edx, 3
lea ecx, [rdx + 3]
call fcn.14006a230
test eax, eax
je 0x14007a3c9
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400a6498], eax
jle 0x14007a3a7
lea rcx, [0x1400a6498]
call fcn.14007eac0
cmp dword [0x1400a6498], 0xffffffff
jne 0x14007a3a7
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400a6480], rax
lea rcx, [0x1400a6498]
call fcn.14007ea60
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x1400a6480]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007a3c9
mov ecx, 2
call rax
jmp 0x14007a3cf
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0x10], 0x50
mov dword [rbp + 0x14], 0x40
lea rax, [0x14007a110]
mov qword [rbp + 0x18], rax
xor r14d, r14d
mov qword [rbp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
lea rbx, str.ImGui_Standalone
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], r14
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExA]
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], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rsi, rax
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x6c], r14
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov r15d, 1
mov dword [rbp - 0x74], r15d
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x64], r15
mov qword [rbp - 0x48], r15
mov dword [rbp + 0x90], 0xb000
mov dword [rbp + 0x94], 0xa000
lea rax, [0x1400a6390]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [0x1400a6380]
mov qword [rsp + 0x48], rax
lea rax, [0x1400a6398]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14007a541
call fcn.14007a090
jmp 0x14007ad2b
call fcn.14007a020
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400a6370]
test rbx, rbx
je 0x14007a56c
inc dword [rbx + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x90], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x60], rcx
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14007a59d
xor edx, edx
mov rcx, rax
call fcn.140027930
jmp 0x14007a5a0
mov rax, r14
mov qword [0x1400a6370], rax
call fcn.14002fd70
mov r13, qword [0x1400a6370]
test rbx, rbx
cmovne r13, rbx
mov qword [0x1400a6370], r13
test r13, r13
jne 0x14007a5e7
mov r8d, 0xed1
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 r13, qword [0x1400a6370]
or dword [r13 + 8], 0x401
xor ecx, ecx
call fcn.14005bcf0
mov rax, qword [0x1400a6370]
test rax, rax
jne 0x14007a623
mov r8d, 0xae2
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 [0x1400a6370]
test dword [r13 + 8], 0x400
je 0x14007a641
mov dword [rax + 0x3918], 0x40800000
mov dword [rax + 0x39fc], 0x3f800000
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rcx
mov dword [rbp + 0x68], 0x28
lea rdx, [rbp + 0x68]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [rbp + 0x78]
sub eax, dword [rbp + 0x70]
cmp eax, 0x438
jle 0x14007a72a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], r15d
movss xmm0, dword [0x140095e04]
movss dword [rbp - 0x3c], xmm0
movss xmm1, dword [0x140095d40]
movss dword [rbp - 0x30], xmm1
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movss xmm0, dword [0x140095db4]
movss dword [rbp - 0x6c], xmm0
mov rcx, qword [0x1400a6370]
test rcx, rcx
jne 0x14007a71d
mov r8d, 0xed1
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 rcx, qword [0x1400a6370]
lea rdx, [rbp - 0x80]
mov rcx, qword [rcx + 0x50]
call fcn.140060ca0
mov rax, qword [0x1400a6370]
test rax, rax
jne 0x14007a757
mov r8d, 0xed1
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 [0x1400a6370]
mov qword [rax + 0x20], r14
mov rcx, rsi
call fcn.140067fb0
call fcn.140067970
xor r12b, r12b
nop dword [rax + rax]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14007a7cb
nop dword [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx r12d, r12b
cmp dword [rbp - 0x78], 0x12
cmove r12d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14007a790
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14007ab5d
test r12b, r12b
jne 0x14007ab5d
mov rbx, qword [0x1400a6370]
test rbx, rbx
je 0x14007a801
mov rdi, qword [rbx + 0xa0]
test rdi, rdi
jne 0x14007a825
jmp 0x14007a804
mov rdi, r14
mov r8d, 0x25a
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui_impl_dx11.cpp
lea rcx, str.bd___0___Did_you_call_ImGui_ImplDX11_Init____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400a6370]
cmp qword [rdi + 0x48], 0
jne 0x14007a838
call fcn.140067430
mov rbx, qword [0x1400a6370]
test rbx, rbx
jne 0x14007a863
mov r8d, 0xed1
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 [0x1400a6370]
test rbx, rbx
je 0x14007a871
mov rdi, qword [rbx + 0x98]
test rdi, rdi
jne 0x14007a88e
jmp 0x14007a874
mov rdi, r14
mov r8d, 0x196
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui_impl_win32.cpp
lea rcx, str.bd___0___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 [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x78]
sub eax, dword [rsp + 0x70]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [rdi + 0x2e], 0
je 0x14007a8d8
call fcn.140069240
mov qword [rbp + 0x60], r14
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x60]
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 + 0x60]
mov qword [rdi + 0x18], rax
call fcn.1400688a0
call fcn.1400686b0
cmp byte [rbx + 0x78], 0
je 0x14007a927
mov eax, 0xffffffff
jmp 0x14007a934
mov rax, qword [0x1400a6370]
mov eax, dword [rax + 0x43f8]
cmp dword [rdi + 0x28], eax
je 0x14007a941
mov dword [rdi + 0x28], eax
call fcn.140068440
call fcn.140068b20
call fcn.14002ec70
call fcn.1400257f0
call fcn.140031ae0
call fcn.140032020
movaps xmm0, xmmword [0x140096180]
movups xmmword [rbp + 0x90], xmm0
mov rcx, qword [0x1400a6390]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400a6388]
mov edx, r15d
call qword [rax + 0x108]
mov rcx, qword [0x1400a6390]
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
mov rdx, qword [0x1400a6388]
call qword [rax + 0x190]
mov rbx, qword [0x1400a6370]
cmp dword [rbx + 0x4208], 0
jg 0x14007a9cd
mov r8d, 0x74d
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 + 0x4210]
mov rcx, qword [rax]
add rcx, 0xa8
mov rax, r14
cmp byte [rcx], 0
cmovne rax, rcx
mov rcx, rax
call fcn.140066720
test dword [r13 + 8], 0x400
je 0x14007ab3d
call fcn.1400460a0
mov rdi, qword [0x1400a6370]
test rdi, rdi
jne 0x14007aa30
mov r8d, 0xed7
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 rdi, qword [0x1400a6370]
mov r14d, r15d
mov rsi, r15
mov eax, dword [rdi + 0x38d8]
cmp eax, 1
jle 0x14007aab0
test rsi, rsi
js 0x14007aa4b
cmp r14d, eax
jl 0x14007aa65
mov r8d, 0x74d
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 [rdi + 0x38e0]
mov rbx, qword [rax + rsi*8]
test dword [rbx + 4], 0x400
jne 0x14007aa9f
mov rax, qword [rdi + 0x3878]
test rax, rax
je 0x14007aa8c
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [rdi + 0x38b8]
test rax, rax
je 0x14007aa9f
xor edx, edx
mov rcx, rbx
call rax
inc r14d
inc rsi
mov eax, dword [rdi + 0x38d8]
cmp r14d, eax
jl 0x14007aa41
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x14007ab37
nop dword [rax]
test rsi, rsi
js 0x14007aaca
cmp r14d, eax
jl 0x14007aae4
mov r8d, 0x74d
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 [rdi + 0x38e0]
mov rbx, qword [rax + rsi*8]
test dword [rbx + 4], 0x400
jne 0x14007ab1e
mov rax, qword [rdi + 0x3880]
test rax, rax
je 0x14007ab0b
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [rdi + 0x38c0]
test rax, rax
je 0x14007ab1e
xor edx, edx
mov rcx, rbx
call rax
inc r14d
inc rsi
mov eax, dword [rdi + 0x38d8]
cmp r14d, eax
jl 0x14007aac0
mov r15d, 1
jmp 0x14007ab3a
mov r15, rsi
xor r14d, r14d
mov rcx, qword [0x1400a6398]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r15d
call qword [rax + 0x40]
cmp byte [0x1400a5048], 1
je 0x14007a770
mov rbx, qword [0x1400a6370]
test rbx, rbx
je 0x14007ab77
mov rdi, qword [rbx + 0xa0]
test rdi, rdi
jne 0x14007ab9b
jmp 0x14007ab7a
mov rdi, r14
mov r8d, 0x24a
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui_impl_dx11.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 [0x1400a6370]
test rbx, rbx
jne 0x14007abc1
mov r8d, 0xed1
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 [0x1400a6370]
call fcn.1400468b0
call fcn.140067830
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14007abda
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007abe8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14007abf7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x90], r14
mov qword [rbx + 0xa0], r14
mov rax, qword [0x1400a6370]
test rax, rax
je 0x14007ac17
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400a6370]
test rbx, rbx
je 0x14007ac3a
mov rdi, qword [rbx + 0x98]
test rdi, rdi
jne 0x14007ac5e
jmp 0x14007ac3d
mov rdi, r14
mov r8d, 0xb1
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui_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 rbx, qword [0x1400a6370]
test rbx, rbx
jne 0x14007ac84
mov r8d, 0xed1
lea rdx, str.C:UsersGavinDesktopImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.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 [0x1400a6370]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.1400468b0
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14007acb0
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
mov rax, qword [0x1400a6370]
test rax, rax
je 0x14007acd0
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400a6370]
mov qword [0x1400a6370], rbx
call fcn.140030170
mov qword [0x1400a6370], r14
test rbx, rbx
je 0x14007ad1b
mov rcx, rbx
call fcn.140053e20
mov rax, qword [0x1400a6370]
test rax, rax
je 0x14007ad12
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.14007a090
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14007e680
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret