Function at 0x140085320
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
lea edx, [r15 - 0x10]
mov rcx, qword [0x140375f40]
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 + 0x60]
mov rcx, qword [0x140375f40]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
lea r14d, [r15 + 1]
test eax, eax
je 0x1400853f0
mov edx, r14d
mov rcx, qword [0x140375f40]
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 0x1400853f0
and ebx, 0xff30ffff
mov r8d, ebx
lea edx, [r15 - 0x10]
mov rcx, qword [0x140375f40]
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 [0x140375f40]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 0x40
lea rax, [0x140085050]
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 [0x140375f4c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140375f48]
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 [0x140375f38], 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 [0x140315680]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x140375f38]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
movzx r8d, r14b
xor edx, edx
mov rcx, qword [0x140375f38]
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 [0x140375f38]
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, [0x140375f20]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x50], rax
lea rax, [0x140375f18]
mov qword [rsp + 0x48], rax
lea rax, [0x140375f28]
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 0x14008569b
mov rcx, qword [0x140375f30]
test rcx, rcx
je 0x140085632
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140375f30], r15
mov rcx, qword [0x140375f28]
test rcx, rcx
je 0x14008564b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140375f28], r15
mov rcx, qword [0x140375f20]
test rcx, rcx
je 0x140085664
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140375f20], r15
mov rcx, qword [0x140375f18]
test rcx, rcx
je 0x14008567d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140375f18], 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 [0x140375f28]
mov rax, qword [rcx]
lea r9, [rbp + 0xe0]
lea r8, [0x14030f478]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140375f18]
mov rax, qword [rcx]
lea r9, [0x140375f30]
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 [0x140375f38]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140375f38]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140375988]
mov ecx, 0x61c8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140375988]
test r8, r8
je 0x140085783
mov r10d, dword [r8 + 0x3f90]
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140085778
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 0x1400857b0
xor edx, edx
mov rcx, r9
call fcn.140018390
jmp 0x1400857b3
mov rax, r15
mov qword [0x140375988], rax
call fcn.1400b6630
mov rax, qword [0x140375988]
test rbx, rbx
cmovne rax, rbx
mov qword [0x140375988], rax
mov ecx, Ordinal_50
call fcn.14007de98
mov qword [rbp + 0xd0], rax
mov rdx, qword [0x140375f20]
mov rcx, qword [0x140375f18]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdx
mov rcx, qword [0x140376238]
mov qword [0x140376238], rax
test rcx, rcx
je 0x140085818
mov edx, Ordinal_50
call fcn.14007e124
mov ecx, Ordinal_50
call fcn.14007de98
mov qword [rbp + 0xd0], rax
mov r8, qword [0x140375f20]
mov rcx, qword [0x140375f18]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r8
mov rcx, qword [0x140376230]
mov qword [0x140376230], rax
test rcx, rcx
je 0x14008585c
mov edx, Ordinal_50
call fcn.14007e124
lea rcx, [0x140371940]
call fcn.1400f34e0
mov rcx, qword [0x140375f38]
call fcn.1400d7960
mov rdx, qword [0x140375f20]
mov rcx, qword [0x140375f18]
call fcn.1400d65b0
mov edx, 0xffffffec
mov rcx, qword [0x140375f38]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts eax, 0x13
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140375f38]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor bl, bl
nop dword [rax]
nop dword [rax + rax]
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 0x140085926
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 0x1400858e0
test bl, bl
jne 0x140085c67
movzx eax, byte [0x140375e90]
neg al
sbb edx, edx
and edx, 0x11
mov rcx, qword [0x140375f38]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov ecx, dword [0x1403760e4]
test ecx, ecx
je 0x140085959
cmp ecx, 1
jne 0x140085967
mov rax, qword [0x140371950]
jmp 0x140085960
mov rax, qword [0x140371940]
mov qword [0x140371958], rax
mov rax, qword [0x140375988]
test rax, rax
je 0x14008597c
mov rcx, qword [rax + 0x98]
jmp 0x14008597f
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x14008598b
call fcn.1400d5220
call fcn.1400d8760
call fcn.1400bbd40
mov rax, qword [0x140375988]
mov rcx, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400b4af0
mov rcx, qword [0x140376238]
mov qword [rcx], rax
mov rcx, qword [0x140371958]
mov qword [rbp + 0xd0], rcx
mov rdi, qword [0x140375988]
mov rsi, rcx
test rcx, rcx
jne 0x1400859f9
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x1400859ef
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov rsi, rcx
mov qword [rbp + 0xd0], rcx
call fcn.1400abe50
lea rcx, [rdi + 0x4a80]
lea rdx, [rbp + 0xd0]
call fcn.140019ad0
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rdi + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.1400d4260
call fcn.14008d0a0
call fcn.14008bf80
call fcn.1400bd4b0
cmp byte [0x140375ce0], 0
je 0x140085a50
lea rcx, [0x140371940]
call fcn.1400f2880
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
cmp rax, qword [0x140375f40]
je 0x140085a72
mov rcx, qword [0x140375f38]
cmp rax, rcx
jne 0x140085b1b
mov ecx, dword [0x1403760f4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140085b14
mov byte [0x1403762a2], 1
mov byte [0x1403762a1], 0
mov rcx, qword [0x140375f40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140085c60
mov rax, qword [0x140375f40]
cmp rdi, rax
je 0x140085ac2
mov rcx, qword [0x140375f38]
cmp rdi, rcx
jne 0x140085ada
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140085ba1
mov rcx, qword [0x140375f38]
cmp byte [0x140375f50], 0
je 0x140085be0
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 [0x140375f50], 0
jmp 0x140085be0
mov rcx, qword [0x140375f38]
cmp byte [0x1403762a2], 0
mov byte [0x1403762a2], 0
je 0x140085a8e
mov byte [0x1403762a1], 1
cmp byte [0x140375ce0], 0
sete byte [0x140375ce0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140375f38]
cmp byte [0x140375ce0], 0
je 0x140085b84
btr r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140375f38]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140085a95
bts r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140375f40]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140085a95
cmp byte [0x140375f50], 0
jne 0x140085be0
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
lea rdx, [r9 - 1]
mov rcx, qword [0x140375f38]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140375f50], 1
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x140375f20]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov rdx, qword [0x140375f30]
call qword [rax + 0x190]
call fcn.1400bd050
mov rcx, qword [0x140375f20]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140375f30]
mov edx, r14d
call qword [rax + 0x108]
mov rax, qword [0x140375988]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r15
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.1400d5b40
mov rcx, qword [0x140375f28]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
jmp 0x1400858c0
mov byte [0x140375ce2], 1
add rsp, 0x198
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret