Function at 0x1400866b0
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 [0x140377870]
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 [0x140377870]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r14d, 1
test eax, eax
je 0x140086784
mov edx, r14d
mov rcx, qword [0x140377870]
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 0x140086784
and ebx, 0xff30ffff
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, qword [0x140377870]
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 [0x140377870]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 0x40
lea rax, [0x1400863e0]
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 [0x14037787c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140377878]
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 [0x140377868], 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 [0x1403125a0]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x140377868]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
movzx r8d, r14b
xor edx, edx
mov rcx, qword [0x140377868]
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 [0x140377868]
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, [0x140377850]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x50], rax
lea rax, [0x140377848]
mov qword [rsp + 0x48], rax
lea rax, [0x140377858]
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 0x140086a2f
mov rcx, qword [0x140377860]
test rcx, rcx
je 0x1400869c6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140377860], r15
mov rcx, qword [0x140377858]
test rcx, rcx
je 0x1400869df
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140377858], r15
mov rcx, qword [0x140377850]
test rcx, rcx
je 0x1400869f8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140377850], r15
mov rcx, qword [0x140377848]
test rcx, rcx
je 0x140086a11
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140377848], 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 [0x140377858]
mov rax, qword [rcx]
lea r9, [rbp + 0xe0]
lea r8, [0x14030c3c0]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140377848]
mov rax, qword [rcx]
lea r9, [0x140377860]
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 [0x140377868]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140377868]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140377550]
mov ecx, 0x61c8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140377550]
test r8, r8
je 0x140086b17
mov r10d, dword [r8 + 0x3f90]
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140086b0c
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 0x140086b44
xor edx, edx
mov rcx, r9
call fcn.140018a60
jmp 0x140086b47
mov rax, r15
mov qword [0x140377550], rax
call fcn.1400b51e0
test rbx, rbx
je 0x140086b5f
mov qword [0x140377550], rbx
mov ecx, Ordinal_50
call fcn.14007ef08
mov qword [rbp + 0xd0], rax
mov rdx, qword [0x140377850]
mov rcx, qword [0x140377848]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdx
mov rcx, qword [0x140377b18]
mov qword [0x140377b18], rax
test rcx, rcx
je 0x140086ba3
mov edx, Ordinal_50
call fcn.14007f184
mov ecx, Ordinal_50
call fcn.14007ef08
mov qword [rbp + 0xd0], rax
mov r8, qword [0x140377850]
mov rcx, qword [0x140377848]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r8
mov rcx, qword [0x140377b10]
mov qword [0x140377b10], rax
test rcx, rcx
je 0x140086be7
mov edx, Ordinal_50
call fcn.14007f184
lea rcx, [0x1403736a0]
call fcn.1400f0250
mov rcx, qword [0x140377868]
call fcn.1400d5790
mov rdx, qword [0x140377850]
mov rcx, qword [0x140377848]
call fcn.1400d43d0
mov edx, 0xffffffec
mov rcx, qword [0x140377868]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts eax, 0x13
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140377868]
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 0x140086ca6
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 0x140086c60
test bl, bl
jne 0x140086fe4
movzx eax, byte [0x1403777c0]
neg al
sbb edx, edx
and edx, 0x11
mov rcx, qword [0x140377868]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov ecx, dword [0x140377a14]
test ecx, ecx
je 0x140086cd9
cmp ecx, 1
jne 0x140086ce7
mov rax, qword [0x1403736b0]
jmp 0x140086ce0
mov rax, qword [0x1403736a0]
mov qword [0x1403736b8], rax
mov rax, qword [0x140377550]
test rax, rax
je 0x140086cfc
mov rcx, qword [rax + 0x98]
jmp 0x140086cff
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x140086d0b
call fcn.1400d3070
call fcn.1400d6590
call fcn.1400ba8c0
mov rax, qword [0x140377550]
mov rcx, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400b36c0
mov rcx, qword [0x140377b18]
mov qword [rcx], rax
mov rcx, qword [0x1403736b8]
mov qword [rbp + 0xd0], rcx
mov rdi, qword [0x140377550]
mov rsi, rcx
test rcx, rcx
jne 0x140086d79
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x140086d6f
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rbp + 0xd0], rcx
mov rsi, rcx
call fcn.1400aaa20
lea rcx, [rdi + 0x4a80]
lea rdx, [rbp + 0xd0]
call fcn.14001a190
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rdi + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.1400d20a0
call fcn.14008cc80
call fcn.14008c2c0
call fcn.1400bbfd0
cmp byte [0x140377610], 0
je 0x140086dd0
lea rcx, [0x1403736a0]
call fcn.1400efa10
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
cmp rax, qword [0x140377870]
je 0x140086df2
mov rcx, qword [0x140377868]
cmp rax, rcx
jne 0x140086e9b
mov ecx, dword [0x140377a24]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140086e94
mov byte [0x140377b89], 1
mov byte [0x140377b88], 0
mov rcx, qword [0x140377870]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140086fdd
mov rax, qword [0x140377870]
cmp rdi, rax
je 0x140086e42
mov rcx, qword [0x140377868]
cmp rdi, rcx
jne 0x140086e5a
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140086f21
mov rcx, qword [0x140377868]
cmp byte [0x140377880], 0
je 0x140086f5d
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 [0x140377880], 0
jmp 0x140086f5d
mov rcx, qword [0x140377868]
cmp byte [0x140377b89], 0
mov byte [0x140377b89], 0
je 0x140086e0e
mov byte [0x140377b88], 1
cmp byte [0x140377610], 0
sete byte [0x140377610]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140377868]
cmp byte [0x140377610], 0
je 0x140086f04
btr r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140377868]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140086e15
bts r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140377870]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140086e15
cmp byte [0x140377880], 0
jne 0x140086f5d
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 [0x140377868]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140377880], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x140377850]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov rdx, qword [0x140377860]
call qword [rax + 0x190]
call fcn.1400bbc10
mov rcx, qword [0x140377850]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140377860]
mov edx, r14d
call qword [rax + 0x108]
mov rax, qword [0x140377550]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r15
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.1400d3990
mov rcx, qword [0x140377858]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
jmp 0x140086c40
mov byte [0x140377612], 1
add rsp, 0x198
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret