Function at 0x14009e720
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 [0x140391410]
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 [0x140391410]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r15d, 1
test eax, eax
je 0x14009e7f9
mov edx, r15d
mov rcx, qword [0x140391410]
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 0x14009e7f9
and ebx, 0xff30ffff
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, qword [0x140391410]
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 [0x140391410]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 0x40
lea rax, [0x14009e450]
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 [0x14039141c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140391418]
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 [0x140391408], 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 [0x1403393c0]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x140391408]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
movzx r8d, r15b
xor edx, edx
mov rcx, qword [0x140391408]
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_30
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 [0x140391408]
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, [0x1403913f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
lea rax, [0x1403913e8]
mov qword [rsp + 0x48], rax
lea rax, [0x1403913f8]
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 0x14009ea95
mov rcx, qword [0x140391400]
test rcx, rcx
je 0x14009ea37
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140391400], r12
mov rcx, qword [0x1403913f8]
test rcx, rcx
je 0x14009ea50
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1403913f8], r12
mov rcx, qword [0x1403913f0]
test rcx, rcx
je 0x14009ea69
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1403913f0], r12
mov rcx, qword [0x1403913e8]
test rcx, rcx
je 0x14009ea82
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1403913e8], r12
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14009f232
mov rcx, qword [0x1403913f8]
mov rax, qword [rcx]
lea r9, [rbp + 0x110]
lea r8, [0x140332290]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1403913e8]
mov rax, qword [rcx]
lea r9, [0x140391400]
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 [0x140391408]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140391408]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140390b10]
mov ecx, 0x61c8
call fcn.1400cbf20
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x118], rax
test rax, rax
je 0x14009eb3a
xor edx, edx
mov rcx, rax
call fcn.140021440
jmp 0x14009eb3d
mov rax, r12
mov qword [0x140390b10], rax
call fcn.1400cd6e0
test rbx, rbx
je 0x14009eb55
mov qword [0x140390b10], rbx
mov ecx, Ordinal_50
call fcn.14009629c
mov qword [rbp + 0x100], rax
mov rdx, qword [0x1403913f0]
mov rcx, qword [0x1403913e8]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdx
mov rcx, qword [0x1403917a0]
mov qword [0x1403917a0], rax
test rcx, rcx
je 0x14009eb99
mov edx, Ordinal_50
call fcn.140096518
mov ecx, Ordinal_50
call fcn.14009629c
mov qword [rbp + 0x100], rax
mov r8, qword [0x1403913f0]
mov rcx, qword [0x1403913e8]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r8
mov rcx, qword [0x140391718]
mov qword [0x140391718], rax
test rcx, rcx
je 0x14009ebdd
mov edx, Ordinal_50
call fcn.140096518
lea rcx, [0x14038d900]
call fcn.1401122f0
mov rcx, qword [0x140391408]
call fcn.1400f0090
mov r14, qword [0x1403913f0]
mov rsi, qword [0x1403913e8]
mov rdi, qword [0x140390b10]
mov ecx, 0x78
call fcn.1400cbf20
mov rbx, rax
mov qword [rbp + 0x100], rax
test rax, rax
je 0x14009ec57
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 0x14009ec5a
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, [0x1403372a0]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14009ecf2
mov rcx, qword [rbp + 0x100]
mov rax, qword [rcx]
lea r8, [rbp + 0x108]
lea rdx, [0x1403372b0]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14009ecf2
mov rcx, qword [rbp + 0x108]
mov rax, qword [rcx]
lea r8, [rbp + 0x110]
lea rdx, [0x1403372c0]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14009ecf2
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 0x14009ed04
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14009ed16
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 [0x140391408]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts eax, 0x13
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140391408]
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 0x14009edc2
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 0x14009ed80
test bl, bl
jne 0x14009f232
movzx eax, byte [0x140391360]
neg al
sbb edx, edx
and edx, 0x11
mov rcx, qword [0x140391408]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov ecx, dword [0x1403916b0]
test ecx, ecx
je 0x14009edf5
cmp ecx, 1
jne 0x14009ee03
mov rax, qword [0x14038d918]
jmp 0x14009edfc
mov rax, qword [0x14038d908]
mov qword [0x14038d920], rax
mov rax, qword [0x140390b10]
test rax, rax
je 0x14009ee18
mov rcx, qword [rax + 0x98]
jmp 0x14009ee1b
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x14009ee27
call fcn.1400ed9d0
call fcn.1400f0e90
call fcn.1400d5610
mov rax, qword [0x140390b10]
mov rcx, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400cbc80
mov rcx, qword [0x1403917a0]
mov qword [rcx], rax
mov rcx, qword [0x14038d920]
mov qword [rbp + 0x100], rcx
mov rdi, qword [0x140390b10]
mov rsi, rcx
test rcx, rcx
jne 0x14009ee95
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x14009ee8b
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rbp + 0x100], rcx
mov rsi, rcx
call fcn.1400c5800
lea rcx, [rdi + 0x4a80]
lea rdx, [rbp + 0x100]
call fcn.140022c00
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rdi + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.1400ec7f0
lea rcx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400a57a0
call fcn.1400a4e00
call fcn.1400d6c60
cmp byte [0x1403911b0], 0
je 0x14009eef3
lea rcx, [0x14038d900]
call fcn.140111520
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
cmp rax, qword [0x140391410]
je 0x14009ef0e
cmp rax, qword [0x140391408]
jne 0x14009ef28
mov ecx, dword [0x1403916c0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009ef28
mov byte [0x140391812], 1
jmp 0x14009ef3f
cmp byte [0x140391812], 0
mov byte [0x140391812], 0
mov byte [0x140391811], 1
jne 0x14009ef46
mov byte [0x140391811], 0
mov ecx, dword [0x140391530]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14009ef77
cmp byte [0x140391813], 0
jne 0x14009ef7e
cmp byte [0x140391534], 0
sete byte [0x140391534]
mov byte [0x140391813], 1
jmp 0x14009ef7e
mov byte [0x140391813], 0
mov ecx, dword [0x1403914cc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009effa
movss xmm0, dword [0x1403914d4]
movss dword [rbp + 0x100], xmm0
mov ecx, dword [0x140390ba0]
add rcx, qword [0x140391a28]
je 0x14009effa
mov eax, dword [0x140390278]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r15d
mov eax, dword [0x140390270]
mov dword [rsp + 0x74], eax
mov eax, dword [0x140390274]
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 [0x140390b00]
test rax, rax
je 0x14009effa
lea rcx, [rsp + 0x70]
call rax
mov ecx, dword [0x1403914d0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009f076
movss xmm0, dword [0x1403914d8]
movss dword [rbp + 0x100], xmm0
mov ecx, dword [0x140390b9c]
add rcx, qword [0x140391a28]
je 0x14009f076
mov eax, dword [0x140390278]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r15d
mov eax, dword [0x140390270]
mov dword [rsp + 0x74], eax
mov eax, dword [0x140390274]
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 [0x140390b00]
test rax, rax
je 0x14009f076
lea rcx, [rsp + 0x70]
call rax
mov ecx, dword [0x1403914c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009f08e
mov byte [0x1403914c8], 1
cmp byte [0x140391811], 0
je 0x14009f0fb
cmp byte [0x1403911b0], 0
sete byte [0x1403911b0]
mov edx, 0xffffffec
mov rcx, qword [0x140391408]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140391408]
cmp byte [0x1403911b0], 0
je 0x14009f0e3
btr r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140391408]
jmp 0x14009f0f5
bts r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140391410]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x140391410]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009f22b
mov rax, qword [0x140391410]
cmp rdi, rax
je 0x14009f128
mov rcx, qword [0x140391408]
cmp rdi, rcx
jne 0x14009f13c
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14009f16f
mov rcx, qword [0x140391408]
cmp byte [0x140391420], 0
je 0x14009f1ab
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 [0x140391420], 0
jmp 0x14009f1ab
cmp byte [0x140391420], 0
jne 0x14009f1ab
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 [0x140391408]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140391420], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x1403913f0]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov rdx, qword [0x140391400]
call qword [rax + 0x190]
call fcn.1400d67e0
mov rcx, qword [0x1403913f0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140391400]
mov edx, r15d
call qword [rax + 0x108]
mov rax, qword [0x140390b10]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.1400ee2f0
mov rcx, qword [0x1403913f8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r15d
call qword [rax + 0x40]
jmp 0x14009ed60
mov byte [0x1403911b2], 1
add rsp, 0x1c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret