Function at 0x14009d4f0
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 - 0xc8]
sub rsp, 0x1c8
xor r15d, r15d
mov edx, 0xfffffff0
mov rcx, qword [0x140389370]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
mov dword [rbp - 0x40], Ordinal_45
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 [0x140389370]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r14d, 1
test eax, eax
je 0x14009d5c7
mov edx, r14d
mov rcx, qword [0x140389370]
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 0x14009d5c7
and ebx, 0xff30ffff
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, qword [0x140389370]
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 [0x140389370]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 0x40
lea rax, [0x14009d220]
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.Steam_Overlay
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 [0x14038937c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140389378]
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 [0x140389368], 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 [0x140332830]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x140389368]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
movzx r8d, r14b
xor edx, edx
mov rcx, qword [0x140389368]
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_33
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 [0x140389368]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x74], r14
mov qword [rbp - 0x58], r14
mov dword [rbp + 0x108], 0xb000
mov dword [rbp + 0x10c], 0xa000
lea rax, [0x140389350]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
lea rax, [0x140389348]
mov qword [rsp + 0x48], rax
lea rax, [0x140389358]
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, r14d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14009d872
mov rcx, qword [0x140389360]
test rcx, rcx
je 0x14009d809
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140389360], r15
mov rcx, qword [0x140389358]
test rcx, rcx
je 0x14009d822
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140389358], r15
mov rcx, qword [0x140389350]
test rcx, rcx
je 0x14009d83b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140389350], r15
mov rcx, qword [0x140389348]
test rcx, rcx
je 0x14009d854
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140389348], r15
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassW]
add rsp, 0x1c8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x140389358]
mov rax, qword [rcx]
lea r9, [rbp + 0x110]
lea r8, [0x14032c220]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140389348]
mov rax, qword [rcx]
lea r9, [0x140389360]
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 [0x140389368]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140389368]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140388aa0]
mov ecx, 0x61c8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140388aa0]
test r8, r8
je 0x14009d95a
mov r10d, dword [r8 + 0x3f90]
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x14009d94f
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 + 0x108], r9
lea rax, [rbp + 0x100]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], r9
test r9, r9
je 0x14009d987
xor edx, edx
mov rcx, r9
call fcn.1400211c0
jmp 0x14009d98a
mov rax, r15
mov qword [0x140388aa0], rax
call fcn.1400cb120
test rbx, rbx
je 0x14009d9a2
mov qword [0x140388aa0], rbx
mov ecx, Ordinal_50
call fcn.140095b5c
mov qword [rbp + 0x100], rax
mov rdx, qword [0x140389350]
mov rcx, qword [0x140389348]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdx
mov rcx, qword [0x140389668]
mov qword [0x140389668], rax
test rcx, rcx
je 0x14009d9e6
mov edx, Ordinal_50
call fcn.140095dd8
mov ecx, Ordinal_50
call fcn.140095b5c
mov qword [rbp + 0x100], rax
mov r8, qword [0x140389350]
mov rcx, qword [0x140389348]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r8
mov rcx, qword [0x140389660]
mov qword [0x140389660], rax
test rcx, rcx
je 0x14009da2a
mov edx, Ordinal_50
call fcn.140095dd8
lea rcx, [0x1403858d0]
call fcn.14010d3b0
mov rcx, qword [0x140389368]
call fcn.1400ee000
mov rdx, qword [0x140389350]
mov rcx, qword [0x140389348]
call fcn.1400ecc40
mov edx, 0xffffffec
mov rcx, qword [0x140389368]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts eax, 0x13
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140389368]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor bl, bl
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14009dae2
nop dword [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, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14009daa0
test bl, bl
jne 0x14009df33
movzx eax, byte [0x1403892c0]
neg al
sbb edx, edx
and edx, 0x11
mov rcx, qword [0x140389368]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov ecx, dword [0x140389574]
test ecx, ecx
je 0x14009db15
cmp ecx, 1
jne 0x14009db23
mov rax, qword [0x1403858e8]
jmp 0x14009db1c
mov rax, qword [0x1403858d8]
mov qword [0x1403858f0], rax
mov rax, qword [0x140388aa0]
test rax, rax
je 0x14009db38
mov rcx, qword [rax + 0x98]
jmp 0x14009db3b
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x14009db47
call fcn.1400eb8e0
call fcn.1400eee00
call fcn.1400d3110
mov rax, qword [0x140388aa0]
mov rcx, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400c9600
mov rcx, qword [0x140389668]
mov qword [rcx], rax
mov rcx, qword [0x1403858f0]
mov qword [rbp + 0x100], rcx
mov rdi, qword [0x140388aa0]
mov rsi, rcx
test rcx, rcx
jne 0x14009dbb5
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x14009dbab
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rbp + 0x100], rcx
mov rsi, rcx
call fcn.1400c31a0
lea rcx, [rdi + 0x4a80]
lea rdx, [rbp + 0x100]
call fcn.1400228f0
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rdi + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.1400ea910
call fcn.1400a3f60
call fcn.1400a3560
call fcn.1400d4820
cmp byte [0x140389110], 0
je 0x14009dc0c
lea rcx, [0x1403858d0]
call fcn.14010c000
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
cmp rax, qword [0x140389370]
je 0x14009dc27
cmp rax, qword [0x140389368]
jne 0x14009dc41
mov ecx, dword [0x140389584]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009dc41
mov byte [0x1403896f2], 1
jmp 0x14009dc58
cmp byte [0x1403896f2], 0
mov byte [0x1403896f2], 0
mov byte [0x1403896f1], 1
jne 0x14009dc5f
mov byte [0x1403896f1], 0
mov ecx, dword [0x140389440]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14009dc90
cmp byte [0x1403896f3], 0
jne 0x14009dc97
cmp byte [0x140389444], 0
sete byte [0x140389444]
mov byte [0x1403896f3], 1
jmp 0x14009dc97
mov byte [0x1403896f3], 0
mov ecx, dword [0x14038944c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009dd13
movss xmm0, dword [0x140389454]
movss dword [rbp + 0x100], xmm0
mov ecx, dword [0x140388b20]
add rcx, qword [0x1403898c8]
je 0x14009dd13
mov eax, dword [0x140389688]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r14d
mov eax, dword [0x140389680]
mov dword [rsp + 0x74], eax
mov eax, dword [0x140389684]
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 [0x140388a90]
test rax, rax
je 0x14009dd13
lea rcx, [rsp + 0x70]
call rax
mov ecx, dword [0x140389450]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009dd8f
movss xmm0, dword [0x140389458]
movss dword [rbp + 0x100], xmm0
mov ecx, dword [0x140388b1c]
add rcx, qword [0x1403898c8]
je 0x14009dd8f
mov eax, dword [0x140389688]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r14d
mov eax, dword [0x140389680]
mov dword [rsp + 0x74], eax
mov eax, dword [0x140389684]
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 [0x140388a90]
test rax, rax
je 0x14009dd8f
lea rcx, [rsp + 0x70]
call rax
cmp byte [0x1403896f1], 0
je 0x14009ddfc
cmp byte [0x140389110], 0
sete byte [0x140389110]
mov edx, 0xffffffec
mov rcx, qword [0x140389368]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140389368]
cmp byte [0x140389110], 0
je 0x14009dde4
btr r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140389368]
jmp 0x14009ddf6
bts r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140389370]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x140389370]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009df2c
mov rax, qword [0x140389370]
cmp rdi, rax
je 0x14009de29
mov rcx, qword [0x140389368]
cmp rdi, rcx
jne 0x14009de3d
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14009de70
mov rcx, qword [0x140389368]
cmp byte [0x140389380], 0
je 0x14009deac
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 [0x140389380], 0
jmp 0x14009deac
cmp byte [0x140389380], 0
jne 0x14009deac
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 [0x140389368]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140389380], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x140389350]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov rdx, qword [0x140389360]
call qword [rax + 0x190]
call fcn.1400d4460
mov rcx, qword [0x140389350]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140389360]
mov edx, r14d
call qword [rax + 0x108]
mov rax, qword [0x140388aa0]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r15
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.1400ec200
mov rcx, qword [0x140389358]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
jmp 0x14009da82
mov byte [0x140389112], 1
add rsp, 0x1c8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret