Function at 0x140085390
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 [0x140350230]
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 + 0x60]
mov rcx, qword [0x140350230]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r14d, 1
test eax, eax
je 0x140085464
mov edx, r14d
mov rcx, qword [0x140350230]
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 0x140085464
and ebx, 0xff30ffff
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, qword [0x140350230]
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 [0x140350230]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 0x40
lea rax, [0x1400850c0]
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 [0x14035023c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140350238]
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 [0x140350228], 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 [0x140311510]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x140350228]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
movzx r8d, r14b
xor edx, edx
mov rcx, qword [0x140350228]
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 [0x140350228]
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, [0x140350210]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x50], rax
lea rax, [0x140350208]
mov qword [rsp + 0x48], rax
lea rax, [0x140350218]
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 0x14008570f
mov rcx, qword [0x140350220]
test rcx, rcx
je 0x1400856a6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140350220], r15
mov rcx, qword [0x140350218]
test rcx, rcx
je 0x1400856bf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140350218], r15
mov rcx, qword [0x140350210]
test rcx, rcx
je 0x1400856d8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140350210], r15
mov rcx, qword [0x140350208]
test rcx, rcx
je 0x1400856f1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140350208], 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 [0x140350218]
mov rax, qword [rcx]
lea r9, [rbp + 0xe0]
lea r8, [0x14030b348]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140350208]
mov rax, qword [rcx]
lea r9, [0x140350220]
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 [0x140350228]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140350228]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14034ff00]
mov ecx, 0x61c8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x14034ff00]
test r8, r8
je 0x1400857f7
mov r10d, dword [r8 + 0x3f90]
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x1400857ec
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 0x140085824
xor edx, edx
mov rcx, r9
call fcn.140018640
jmp 0x140085827
mov rax, r15
mov qword [0x14034ff00], rax
call fcn.1400b3f30
test rbx, rbx
je 0x14008583f
mov qword [0x14034ff00], rbx
mov ecx, Ordinal_50
call fcn.14007e2a8
mov qword [rbp + 0xd0], rax
mov rdx, qword [0x140350210]
mov rcx, qword [0x140350208]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdx
mov rcx, qword [0x1403504d0]
mov qword [0x1403504d0], rax
test rcx, rcx
je 0x140085883
mov edx, Ordinal_50
call fcn.14007e524
mov ecx, Ordinal_50
call fcn.14007e2a8
mov qword [rbp + 0xd0], rax
mov r8, qword [0x140350210]
mov rcx, qword [0x140350208]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r8
mov rcx, qword [0x140350448]
mov qword [0x140350448], rax
test rcx, rcx
je 0x1400858c7
mov edx, Ordinal_50
call fcn.14007e524
lea rcx, [0x14034c050]
call fcn.1400eeff0
mov rcx, qword [0x140350228]
call fcn.1400d4500
mov rdx, qword [0x140350210]
mov rcx, qword [0x140350208]
call fcn.1400d3140
mov edx, 0xffffffec
mov rcx, qword [0x140350228]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts eax, 0x13
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140350228]
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 0x140085986
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 0x140085940
test bl, bl
jne 0x140085cc4
movzx eax, byte [0x140350180]
neg al
sbb edx, edx
and edx, 0x11
mov rcx, qword [0x140350228]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov ecx, dword [0x1403503d4]
test ecx, ecx
je 0x1400859b9
cmp ecx, 1
jne 0x1400859c7
mov rax, qword [0x14034c060]
jmp 0x1400859c0
mov rax, qword [0x14034c050]
mov qword [0x14034c068], rax
mov rax, qword [0x14034ff00]
test rax, rax
je 0x1400859dc
mov rcx, qword [rax + 0x98]
jmp 0x1400859df
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x1400859eb
call fcn.1400d1de0
call fcn.1400d5300
call fcn.1400b9610
mov rax, qword [0x14034ff00]
mov rcx, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400b2410
mov rcx, qword [0x1403504d0]
mov qword [rcx], rax
mov rcx, qword [0x14034c068]
mov qword [rbp + 0xd0], rcx
mov rdi, qword [0x14034ff00]
mov rsi, rcx
test rcx, rcx
jne 0x140085a59
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x140085a4f
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rbp + 0xd0], rcx
mov rsi, rcx
call fcn.1400a9770
lea rcx, [rdi + 0x4a80]
lea rdx, [rbp + 0xd0]
call fcn.140019d70
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rdi + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.1400d0e10
call fcn.14008b9f0
call fcn.14008b030
call fcn.1400bad20
cmp byte [0x14034ffd0], 0
je 0x140085ab0
lea rcx, [0x14034c050]
call fcn.1400ee7b0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
cmp rax, qword [0x140350230]
je 0x140085ad2
mov rcx, qword [0x140350228]
cmp rax, rcx
jne 0x140085b7b
mov ecx, dword [0x1403503e8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140085b74
mov byte [0x14035053d], 1
mov byte [0x14035053c], 0
mov rcx, qword [0x140350230]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140085cbd
mov rax, qword [0x140350230]
cmp rdi, rax
je 0x140085b22
mov rcx, qword [0x140350228]
cmp rdi, rcx
jne 0x140085b3a
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140085c01
mov rcx, qword [0x140350228]
cmp byte [0x140350240], 0
je 0x140085c3d
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 [0x140350240], 0
jmp 0x140085c3d
mov rcx, qword [0x140350228]
cmp byte [0x14035053d], 0
mov byte [0x14035053d], 0
je 0x140085aee
mov byte [0x14035053c], 1
cmp byte [0x14034ffd0], 0
sete byte [0x14034ffd0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140350228]
cmp byte [0x14034ffd0], 0
je 0x140085be4
btr r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140350228]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140085af5
bts r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140350230]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140085af5
cmp byte [0x140350240], 0
jne 0x140085c3d
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 [0x140350228]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140350240], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x140350210]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov rdx, qword [0x140350220]
call qword [rax + 0x190]
call fcn.1400ba960
mov rcx, qword [0x140350210]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140350220]
mov edx, r14d
call qword [rax + 0x108]
mov rax, qword [0x14034ff00]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r15
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.1400d2700
mov rcx, qword [0x140350218]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
jmp 0x140085920
mov byte [0x14034ffd2], 1
add rsp, 0x198
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret