Function at 0x14004d210
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x14006c0e4]
mov bl, 1
xor ebp, ebp
nop word [rax + rax]
mov rdx, qword [0x1400792b0]
lea rcx, [0x140079280]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004d2d5
nop word [rax + rax]
lea rcx, [0x140079280]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140079280]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x140079288], 0x12
lea rcx, [0x140079280]
mov rdx, qword [0x1400792b0]
movzx ebx, bl
cmove ebx, ebp
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14004d280
test bl, bl
je 0x14004d676
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140079270]
cmp rax, rcx
jne 0x14004d322
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400792b0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140079270]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbp
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140079270]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov rdi, qword [0x140079200]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rax, qword [0x140079270]
mov qword [rdi + 0xc8], rax
mov dword [rdi + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x58]
mov ecx, 1
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xe00], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004d3dd
mov byte [rdi + 0xe08], 1
mov eax, dword [rdi + 0xe04]
mov dword [rdi + 0x36f0], eax
mov byte [rdi + 0x3740], 1
jmp 0x14004d3e4
mov byte [rdi + 0xe08], bpl
mov eax, dword [0x1400793b0]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x14004d414
cmp edx, dword [0x1400793b8]
jne 0x14004d414
mov eax, dword [0x1400793b4]
cmp dword [rsp + 0x4c], eax
jne 0x14004d414
cmp ecx, dword [0x1400793bc]
je 0x14004d478
movups xmm0, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1400793cc], edx
mov dword [0x140079400], ecx
mov dword [0x140079230], edx
xor edx, edx
mov dword [0x140079234], ecx
mov rcx, qword [0x1400792b0]
movups xmmword [0x1400793b0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140079210]
lea rdx, [0x140079230]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140079200]
test rax, rax
je 0x14004d48d
mov rcx, qword [rax + 0x98]
jmp 0x14004d490
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x14004d4b1
test rax, rax
je 0x14004d4b1
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14004d4b1
cmp qword [rcx], rbp
je 0x14004d4b1
call fcn.14002cdc0
call fcn.14002d970
call fcn.140007870
call fcn.14004b1f0
call fcn.14004bc20
call fcn.1400095d0
mov rcx, qword [0x140079210]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140079210]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140079210]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140079210]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140079210]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004d587
call fcn.1400099e0
mov rax, qword [0x140079200]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002c800
mov rcx, qword [0x140079210]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140079210]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004d250
mov rcx, qword [0x140079210]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004d250
mov rdi, qword [0x140079200]
test rdi, rdi
je 0x14004d62c
mov rdi, qword [rdi + 0x98]
test rdi, rdi
je 0x14004d62c
cmp qword [rdi], rbp
je 0x14004d62c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14004d5f7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rbp
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14004d60a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rbp
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14004d62c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140079200]
mov qword [rdi + 0x18], rbp
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rbp
mov rcx, qword [0x140079210]
lea rdx, [0x140079230]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140079200]
test rax, rax
je 0x14004d250
mov rax, qword [rax + 0x98]
test rax, rax
je 0x14004d250
cmp qword [rax], rbp
je 0x14004d250
call fcn.14002cdc0
jmp 0x14004d250
mov rcx, qword [0x140079200]
test rcx, rcx
je 0x14004d68b
mov rsi, qword [rcx + 0x98]
jmp 0x14004d68e
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x14004d707
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x14004d707
cmp qword [rbx], rbp
je 0x14004d707
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14004d6c5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140079200]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14004d6e2
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140079200]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14004d707
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140079200]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x14004d71f
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140079200]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x14004d73c
dec dword [rcx + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140079200]
test rax, rax
je 0x14004d75a
mov rdi, qword [rax + 0x90]
jmp 0x14004d75d
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x14004d777
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140079200]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x14004d791
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140079200]
mov qword [0x140079200], rbx
call fcn.140005790
mov qword [0x140079200], rbp
test rbx, rbx
je 0x14004d7dc
mov rcx, rbx
call fcn.14001bf40
mov rax, qword [0x140079200]
test rax, rax
je 0x14004d7d3
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140079210]
test rcx, rcx
je 0x14004d7fe
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140079210]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400792b8]
test rcx, rcx
je 0x14004d810
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400792b0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140079290]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005f050
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rdi
ret