Function at 0x14009ccd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
xor r12d, r12d
mov edx, 0xfffffff0
mov rcx, qword [0x14038c400]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
mov dword [rbp - 0x40], Ordinal_41
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x1c], eax
lea rdx, [rbp + 0x90]
mov rcx, qword [0x14038c400]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r15d, 1
test eax, eax
je 0x14009cda9
mov edx, r15d
mov rcx, qword [0x14038c400]
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 0x14009cda9
and ebx, 0xff30ffff
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, qword [0x14038c400]
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 [0x14038c400]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 0x40
lea rax, [0x14009ca00]
mov qword [rbp - 8], rax
mov qword [rbp], r12
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.Steam_Overlay
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r12
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], r12
mov rcx, qword [rbp + 8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov ecx, dword [0x14038c40c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x14038c408]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x90000000
lea r8, str.awdijawid
movzx edx, di
mov ecx, 0xa8
call rbx
mov qword [0x14038c3f8], rax
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x58], r12
mov rax, qword [rbp + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
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 [0x140335060]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
movzx r8d, r15b
xor edx, edx
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov qword [rbp - 0x7c], r12
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r12
mov dword [rbp - 0x80], Ordinal_32
mov dword [rsp + 0x78], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x7c], r15d
mov dword [rbp - 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [0x14038c3f8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x74], r15
mov qword [rbp - 0x58], r15
mov dword [rbp + 0x108], 0xb000
mov dword [rbp + 0x10c], 0xa000
lea rax, [0x14038c3e0]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
lea rax, [0x14038c3d8]
mov qword [rsp + 0x48], rax
lea rax, [0x14038c3e8]
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 + 0x108]
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 0x14009d045
mov rcx, qword [0x14038c3f0]
test rcx, rcx
je 0x14009cfe7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14038c3f0], r12
mov rcx, qword [0x14038c3e8]
test rcx, rcx
je 0x14009d000
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14038c3e8], r12
mov rcx, qword [0x14038c3e0]
test rcx, rcx
je 0x14009d019
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14038c3e0], r12
mov rcx, qword [0x14038c3d8]
test rcx, rcx
je 0x14009d032
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14038c3d8], r12
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14009d7c3
mov rcx, qword [0x14038c3e8]
mov rax, qword [rcx]
lea r9, [rbp + 0x110]
lea r8, [0x14032e2a0]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x14038c3d8]
mov rax, qword [rcx]
lea r9, [0x14038c3f0]
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x110]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 0xa
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14038bb10]
mov ecx, 0x61c8
call fcn.1400c90c0
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x118], rax
test rax, rax
je 0x14009d0ea
xor edx, edx
mov rcx, rax
call fcn.140020750
jmp 0x14009d0ed
mov rax, r12
mov qword [0x14038bb10], rax
call fcn.1400ca880
test rbx, rbx
je 0x14009d105
mov qword [0x14038bb10], rbx
mov ecx, Ordinal_50
call fcn.140094c1c
mov qword [rbp + 0x100], rax
mov rdx, qword [0x14038c3e0]
mov rcx, qword [0x14038c3d8]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdx
mov rcx, qword [0x14038c728]
mov qword [0x14038c728], rax
test rcx, rcx
je 0x14009d149
mov edx, Ordinal_50
call fcn.140094e98
mov ecx, Ordinal_50
call fcn.140094c1c
mov qword [rbp + 0x100], rax
mov r8, qword [0x14038c3e0]
mov rcx, qword [0x14038c3d8]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r8
mov rcx, qword [0x14038c720]
mov qword [0x14038c720], rax
test rcx, rcx
je 0x14009d18d
mov edx, Ordinal_50
call fcn.140094e98
lea rcx, [0x140388900]
call fcn.14010e8f0
mov rcx, qword [0x14038c3f8]
call fcn.1400ed1a0
mov r14, qword [0x14038c3e0]
mov rsi, qword [0x14038c3d8]
mov rdi, qword [0x14038bb10]
mov ecx, 0x78
call fcn.1400c90c0
mov rbx, rax
mov qword [rbp + 0x100], rax
test rax, rax
je 0x14009d207
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x14009d20a
mov rbx, r12
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], r12
mov rax, qword [rsi]
lea r8, [rbp + 0x100]
lea rdx, [0x1403331d0]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14009d2a2
mov rcx, qword [rbp + 0x100]
mov rax, qword [rcx]
lea r8, [rbp + 0x108]
lea rdx, [0x1403331e0]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14009d2a2
mov rcx, qword [rbp + 0x108]
mov rax, qword [rcx]
lea r8, [rbp + 0x110]
lea rdx, [0x1403331f0]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14009d2a2
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x110]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x14009d2b4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14009d2c6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov edx, 0xffffffec
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts eax, 0x13
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor bl, bl
nop word [rax + rax]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14009d372
nop dword [rax + rax]
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rbp + 0x68], 0x12
cmove ebx, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14009d330
test bl, bl
jne 0x14009d7c3
movzx eax, byte [0x14038c350]
neg al
sbb edx, edx
and edx, 0x11
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov ecx, dword [0x14038c634]
test ecx, ecx
je 0x14009d3a5
cmp ecx, 1
jne 0x14009d3b3
mov rax, qword [0x140388918]
jmp 0x14009d3ac
mov rax, qword [0x140388908]
mov qword [0x140388920], rax
mov rax, qword [0x14038bb10]
test rax, rax
je 0x14009d3c8
mov rcx, qword [rax + 0x98]
jmp 0x14009d3cb
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x14009d3d7
call fcn.1400eaae0
call fcn.1400edfa0
call fcn.1400d27b0
mov rax, qword [0x14038bb10]
mov rcx, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400c8e20
mov rcx, qword [0x14038c728]
mov qword [rcx], rax
mov rcx, qword [0x140388920]
mov qword [rbp + 0x100], rcx
mov rdi, qword [0x14038bb10]
mov rsi, rcx
test rcx, rcx
jne 0x14009d445
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x14009d43b
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rbp + 0x100], rcx
mov rsi, rcx
call fcn.1400c29a0
lea rcx, [rdi + 0x4a80]
lea rdx, [rbp + 0x100]
call fcn.140021f10
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rdi + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.1400e9bc0
call fcn.1400a3c70
call fcn.1400a3340
call fcn.1400d3e00
cmp byte [0x14038c1a0], 0
je 0x14009d49c
lea rcx, [0x140388900]
call fcn.14010db20
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
cmp rax, qword [0x14038c400]
je 0x14009d4b7
cmp rax, qword [0x14038c3f8]
jne 0x14009d4d1
mov ecx, dword [0x14038c644]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009d4d1
mov byte [0x14038c7a2], 1
jmp 0x14009d4e8
cmp byte [0x14038c7a2], 0
mov byte [0x14038c7a2], 0
mov byte [0x14038c7a1], 1
jne 0x14009d4ef
mov byte [0x14038c7a1], 0
mov ecx, dword [0x14038c4d8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14009d520
cmp byte [0x14038c7a3], 0
jne 0x14009d527
cmp byte [0x14038c4dc], 0
sete byte [0x14038c4dc]
mov byte [0x14038c7a3], 1
jmp 0x14009d527
mov byte [0x14038c7a3], 0
mov ecx, dword [0x14038c4e4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009d5a3
movss xmm0, dword [0x14038c4ec]
movss dword [rbp + 0x100], xmm0
mov ecx, dword [0x14038bb94]
add rcx, qword [0x14038c970]
je 0x14009d5a3
mov eax, dword [0x14038b270]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r15d
mov eax, dword [0x14038b268]
mov dword [rsp + 0x74], eax
mov eax, dword [0x14038b26c]
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x80], rcx
lea rax, [rbp + 0x100]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 4
mov rax, qword [0x14038bb00]
test rax, rax
je 0x14009d5a3
lea rcx, [rsp + 0x70]
call rax
mov ecx, dword [0x14038c4e8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009d61f
movss xmm0, dword [0x14038c4f0]
movss dword [rbp + 0x100], xmm0
mov ecx, dword [0x14038bb90]
add rcx, qword [0x14038c970]
je 0x14009d61f
mov eax, dword [0x14038b270]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r15d
mov eax, dword [0x14038b268]
mov dword [rsp + 0x74], eax
mov eax, dword [0x14038b26c]
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x80], rcx
lea rax, [rbp + 0x100]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 4
mov rax, qword [0x14038bb00]
test rax, rax
je 0x14009d61f
lea rcx, [rsp + 0x70]
call rax
cmp byte [0x14038c7a1], 0
je 0x14009d68c
cmp byte [0x14038c1a0], 0
sete byte [0x14038c1a0]
mov edx, 0xffffffec
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x14038c3f8]
cmp byte [0x14038c1a0], 0
je 0x14009d674
btr r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x14038c3f8]
jmp 0x14009d686
bts r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x14038c400]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x14038c400]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009d7bc
mov rax, qword [0x14038c400]
cmp rdi, rax
je 0x14009d6b9
mov rcx, qword [0x14038c3f8]
cmp rdi, rcx
jne 0x14009d6cd
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14009d700
mov rcx, qword [0x14038c3f8]
cmp byte [0x14038c410], 0
je 0x14009d73c
mov dword [rsp + 0x30], reloc.WS2_32.dll_send
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x14038c410], 0
jmp 0x14009d73c
cmp byte [0x14038c410], 0
jne 0x14009d73c
mov dword [rsp + 0x30], reloc.WS2_32.dll_send
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x14038c3f8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x14038c410], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x14038c3e0]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov rdx, qword [0x14038c3f0]
call qword [rax + 0x190]
call fcn.1400d3980
mov rcx, qword [0x14038c3e0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14038c3f0]
mov edx, r15d
call qword [rax + 0x108]
mov rax, qword [0x14038bb10]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.1400eb400
mov rcx, qword [0x14038c3e8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r15d
call qword [rax + 0x40]
jmp 0x14009d310
mov byte [0x14038c1a2], 1
add rsp, 0x1c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret