Function at 0x1400965f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
xor r15d, r15d
mov edx, 0xfffffff0
mov rcx, qword [0x140386540]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
mov dword [rbp - 0x40], Ordinal_46
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x1c], eax
lea rdx, [rbp + 0x60]
mov rcx, qword [0x140386540]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r14d, 1
test eax, eax
je 0x1400966c4
mov edx, r14d
mov rcx, qword [0x140386540]
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
test eax, eax
je 0x1400966c4
and ebx, 0xff30ffff
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, qword [0x140386540]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [rbp - 0x30]
mov r9d, dword [rbp - 0x38]
sub ecx, r9d
mov eax, dword [rbp - 0x34]
mov r8d, dword [rbp - 0x3c]
sub eax, r8d
mov dword [rsp + 0x30], 0x220
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [0x140386540]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 0x40
lea rax, [0x140096320]
mov qword [rbp - 8], rax
mov qword [rbp], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
lea rax, str.ImGui_Example
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r15
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx edi, ax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.CreateWindowInBand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x58], r15
mov rcx, qword [rbp + 8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov ecx, dword [0x14038654c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140386548]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x90000000
lea r8, str.awdijawid
movzx edx, di
mov ecx, 0xa8
call rbx
mov qword [0x140386538], rax
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
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.Dear_ImGui_DirectX11_Example
movzx edx, di
mov ecx, 0x8000008
call rbx
movdqa xmm0, xmmword [0x1403249b0]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x140386538]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
movzx r8d, r14b
xor edx, edx
mov rcx, qword [0x140386538]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov qword [rbp - 0x7c], r15
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r15
mov dword [rbp - 0x80], Ordinal_32
mov dword [rsp + 0x78], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x7c], r14d
mov dword [rbp - 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [0x140386538]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x74], r14
mov qword [rbp - 0x58], r14
mov dword [rbp + 0xd8], 0xb000
mov dword [rbp + 0xdc], 0xa000
lea rax, [0x140386520]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x50], rax
lea rax, [0x140386518]
mov qword [rsp + 0x48], rax
lea rax, [0x140386528]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14009696f
mov rcx, qword [0x140386530]
test rcx, rcx
je 0x140096906
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140386530], r15
mov rcx, qword [0x140386528]
test rcx, rcx
je 0x14009691f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140386528], r15
mov rcx, qword [0x140386520]
test rcx, rcx
je 0x140096938
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140386520], r15
mov rcx, qword [0x140386518]
test rcx, rcx
je 0x140096951
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140386518], r15
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassW]
add rsp, 0x198
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x140386528]
mov rax, qword [rcx]
lea r9, [rbp + 0xe0]
lea r8, [0x14031e7f8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140386518]
mov rax, qword [rcx]
lea r9, [0x140386530]
xor r8d, r8d
mov rdx, qword [rbp + 0xe0]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 0xa
mov rcx, qword [0x140386538]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140386538]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140386220]
mov ecx, 0x61c8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140386220]
test r8, r8
je 0x140096a57
mov r10d, dword [r8 + 0x3f90]
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140096a4c
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 + 0x6078], cx
movsx rax, cx
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r15d
inc word [rdx + 4]
inc dword [r8 + 0x6070]
mov qword [rbp + 0xd8], r9
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], r9
test r9, r9
je 0x140096a84
xor edx, edx
mov rcx, r9
call fcn.14001cbf0
jmp 0x140096a87
mov rax, r15
mov qword [0x140386220], rax
call fcn.1400c5100
test rbx, rbx
je 0x140096a9f
mov qword [0x140386220], rbx
mov ecx, Ordinal_50
call fcn.14008d508
mov qword [rbp + 0xd0], rax
mov rdx, qword [0x140386520]
mov rcx, qword [0x140386518]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdx
mov rcx, qword [0x1403867e8]
mov qword [0x1403867e8], rax
test rcx, rcx
je 0x140096ae3
mov edx, Ordinal_50
call fcn.14008d784
mov ecx, Ordinal_50
call fcn.14008d508
mov qword [rbp + 0xd0], rax
mov r8, qword [0x140386520]
mov rcx, qword [0x140386518]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r8
mov rcx, qword [0x1403867e0]
mov qword [0x1403867e0], rax
test rcx, rcx
je 0x140096b27
mov edx, Ordinal_50
call fcn.14008d784
lea rcx, [0x140381050]
call fcn.1401001d0
mov rcx, qword [0x140386538]
call fcn.1400e56d0
mov rdx, qword [0x140386520]
mov rcx, qword [0x140386518]
call fcn.1400e4310
mov edx, 0xffffffec
mov rcx, qword [0x140386538]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts eax, 0x13
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140386538]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor bl, bl
nop
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140096be6
nop dword [rax]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rsp + 0x78], 0x12
cmove ebx, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140096ba0
test bl, bl
jne 0x140096f24
movzx eax, byte [0x140386490]
neg al
sbb edx, edx
and edx, 0x11
mov rcx, qword [0x140386538]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov ecx, dword [0x1403866e4]
test ecx, ecx
je 0x140096c19
cmp ecx, 1
jne 0x140096c27
mov rax, qword [0x140381060]
jmp 0x140096c20
mov rax, qword [0x140381050]
mov qword [0x140381068], rax
mov rax, qword [0x140386220]
test rax, rax
je 0x140096c3c
mov rcx, qword [rax + 0x98]
jmp 0x140096c3f
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x140096c4b
call fcn.1400e2fb0
call fcn.1400e64d0
call fcn.1400ca7e0
mov rax, qword [0x140386220]
mov rcx, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400c35e0
mov rcx, qword [0x1403867e8]
mov qword [rcx], rax
mov rcx, qword [0x140381068]
mov qword [rbp + 0xd0], rcx
mov rdi, qword [0x140386220]
mov rsi, rcx
test rcx, rcx
jne 0x140096cb9
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x140096caf
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rbp + 0xd0], rcx
mov rsi, rcx
call fcn.1400ba940
lea rcx, [rdi + 0x4a80]
lea rdx, [rbp + 0xd0]
call fcn.14001e320
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rdi + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.1400e1fe0
call fcn.14009cbc0
call fcn.14009c200
call fcn.1400cbef0
cmp byte [0x1403862e0], 0
je 0x140096d10
lea rcx, [0x140381050]
call fcn.1400ff990
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
cmp rax, qword [0x140386540]
je 0x140096d32
mov rcx, qword [0x140386538]
cmp rax, rcx
jne 0x140096ddb
mov ecx, dword [0x1403866f4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140096dd4
mov byte [0x14038685d], 1
mov byte [0x14038685c], 0
mov rcx, qword [0x140386540]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140096f1d
mov rax, qword [0x140386540]
cmp rdi, rax
je 0x140096d82
mov rcx, qword [0x140386538]
cmp rdi, rcx
jne 0x140096d9a
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140096e61
mov rcx, qword [0x140386538]
cmp byte [0x140386550], 0
je 0x140096e9d
mov dword [rsp + 0x30], reloc.WS2_32.dll_send
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140386550], 0
jmp 0x140096e9d
mov rcx, qword [0x140386538]
cmp byte [0x14038685d], 0
mov byte [0x14038685d], 0
je 0x140096d4e
mov byte [0x14038685c], 1
cmp byte [0x1403862e0], 0
sete byte [0x1403862e0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140386538]
cmp byte [0x1403862e0], 0
je 0x140096e44
btr r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140386538]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140096d55
bts r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140386540]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140096d55
cmp byte [0x140386550], 0
jne 0x140096e9d
mov dword [rsp + 0x30], reloc.WS2_32.dll_send
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x140386538]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140386550], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x140386520]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov rdx, qword [0x140386530]
call qword [rax + 0x190]
call fcn.1400cbb30
mov rcx, qword [0x140386520]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140386530]
mov edx, r14d
call qword [rax + 0x108]
mov rax, qword [0x140386220]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r15
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.1400e38d0
mov rcx, qword [0x140386528]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
jmp 0x140096b80
mov byte [0x1403862e2], 1
add rsp, 0x198
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret