Function at 0x14003e910
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x140050348]
xor rax, rsp
mov qword [rsp + 0x58], rax
movss xmm6, dword [0x140043f20]
xorps xmm0, xmm0
movups xmmword [0x1400502a0], xmm0
xor edi, edi
movups xmmword [0x1400502b0], xmm0
movups xmmword [0x1400502c0], xmm0
mov rdx, qword [0x140050570]
lea rcx, [0x1400502a0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14003e990
lea rcx, [0x1400502a0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400502a0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400504e0]
cmp rax, rcx
jne 0x14003e9dd
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140050570]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400504e0]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400504e0]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
call fcn.1400098f0
mov rcx, qword [0x1400504e0]
mov qword [rax + 0x118], rcx
mov eax, dword [0x140050610]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x14003ea5a
cmp edx, dword [0x140050618]
jne 0x14003ea5a
mov eax, dword [0x140050614]
cmp dword [rsp + 0x4c], eax
jne 0x14003ea5a
cmp ecx, dword [0x14005061c]
je 0x14003eabe
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 [0x140050584], edx
mov dword [0x140050580], ecx
mov dword [0x140050250], edx
xor edx, edx
mov dword [0x140050254], ecx
mov rcx, qword [0x140050570]
movups xmmword [0x140050610], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140050248]
lea rdx, [0x140050250]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003eadb
cmp byte [0x1400501d4], dil
sete byte [0x1400501d4]
call fcn.140029990
call fcn.14002a730
call fcn.14000fb00
call fcn.14003c530
call fcn.14003ce50
movzx ebx, byte [0x1400501d4]
call fcn.1400098f0
mov byte [rax + 0xc0], bl
cmp byte [0x1400501d4], 1
jne 0x14003eba4
call fcn.1400098f0
mov byte [rax + 0x128], dil
call fcn.1400098f0
mov byte [rax + 0x129], dil
call fcn.1400098f0
mov byte [rax + 0x12a], dil
call fcn.1400098f0
mov byte [rax + 0x12b], dil
call fcn.1400098f0
mov ecx, 1
mov byte [rax + 0x12c], dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003eb6b
call fcn.1400098f0
mov byte [rax + 0x128], 1
call fcn.14003ed20
mov rcx, qword [0x140050570]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140050570]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140050570]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x14003ebc9
mov rcx, qword [0x140050570]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140050570]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140008180
mov rcx, qword [0x140050248]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140050248]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003ec2d
call fcn.140011b30
call fcn.140009690
mov rcx, rax
call fcn.1400299f0
mov rcx, qword [0x140050248]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140050248]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003ec86
mov rcx, qword [0x140050248]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003ec86
call fcn.140029900
mov rcx, qword [0x140050248]
lea rdx, [0x140050250]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140029640
cmp dword [0x1400502a8], 0x12
jne 0x14003e950
call fcn.14002a420
call fcn.14002a970
xor ecx, ecx
call fcn.140007be0
mov rcx, qword [0x140050248]
test rcx, rcx
je 0x14003ecc6
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140050248]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140050240]
test rcx, rcx
je 0x14003ecd8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140050570]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140050538]
mov rcx, qword [0x140050560]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400406c0
mov rbx, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rdi
ret