Function at 0x140038c50
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140038c73
cmp byte [0x140049067], 0
sete byte [0x140049067]
mov rax, qword [0x140049a50]
xor edi, edi
test rax, rax
je 0x140038c8a
mov rcx, qword [rax + 0xf0]
jmp 0x140038c8d
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x140038cae
test rax, rax
je 0x140038cae
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x140038cae
cmp qword [rcx], rdi
je 0x140038cae
call fcn.140027930
call fcn.140027fb0
call fcn.140005ee0
call fcn.140037b20
movzx eax, byte [0x140049067]
mov rcx, qword [0x140049a50]
mov byte [rcx + 0xc8], al
cmp al, 1
jne 0x140038d39
mov dword [rcx + 0x130], edi
mov byte [rcx + 0x134], dil
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140038d00
mov rax, qword [0x140049a50]
mov byte [rax + 0x130], 1
call fcn.1400366d0
mov rcx, qword [0x140049ac0]
mov edx, 0xffffffec
mov r8d, pe_nt_image_headers64
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140049ac0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140049ac0]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x140038d5e
mov rcx, qword [0x140049ac0]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140049ac0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140008170
mov rcx, qword [0x1400490b8]
mov r9d, 1
movss xmm0, dword [0x140042354]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x1400490b8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140038dde
call fcn.1400084f0
mov rax, qword [0x140049a50]
mov rcx, qword [rax + 0x1e00]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140027380
mov rcx, qword [0x1400490b8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400490b8]
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 0x140038ece
mov rcx, qword [0x1400490b8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140038ece
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x140049a50]
test rbx, rbx
je 0x140038e8b
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
je 0x140038e8b
cmp qword [rbx], rdi
je 0x140038e8b
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140038e53
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140038e66
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140038e8b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140049a50]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400490b8]
lea rdx, [0x1400490c0]
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rax, qword [0x140049a50]
mov rbx, qword [rsp + 0x50]
test rax, rax
je 0x140038ece
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x140038ece
cmp qword [rax], rdi
je 0x140038ece
add rsp, 0x40
pop rdi
jmp fcn.140027930
add rsp, 0x40
pop rdi
ret