Function at 0x140057c70
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov rdi, rcx
mov rax, qword [rcx]
mov edx, 0x138b
call qword [rax + 0x5a0]
cmp qword [rdi + 0x58], 0
je 0x140056cd8
mov dl, 1
mov rcx, rdi
call fcn.140056ec0
mov rax, qword [rdi]
mov edx, 0x138b
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x598]
xor al, al
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor esi, esi
mov qword [rbp + 0x38], rsi
lea r15, vtable.JRWndPtr.0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], esi
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x38]
call fcn.140067540
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov rax, qword [rdi]
lea rdx, [rbp + 0x48]
mov rcx, rdi
call qword [rax + 0x4d0]
cmp qword [rdi + 0x60], rsi
je 0x140056ea9
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x40], rax
mov rax, qword [rdi]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call qword [rax + 0x650]
cmp qword [rdi + 0x60], rax
jne 0x140056ea9
mov rbx, qword [rbp + 0x38]
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], esi
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.14004fca0
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140054b10
test al, al
je 0x140056ea9
mov rax, qword [rdi + 0x60]
mov qword [rdi + 0x58], rax
call fcn.1400260d0
mov qword [rdi + 0x68], rax
mov rax, qword [rdi]
mov edx, 0x138c
lea r8d, [rsi + 0x64]
mov rcx, rdi
call qword [rax + 0x598]
lea r14, vtable.JRWndDeleteProbe.0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], rdi
mov byte [rbp - 0x28], sil
mov rax, qword [rdi]
lea rdx, [rbp - 0x38]
mov rcx, rdi
call qword [rax + 0x600]
nop
mov rax, qword [rdi]
mov rdx, qword [rdi + 0x60]
mov rcx, rdi
call qword [rax + 0x658]
mov qword [rbp + 0x40], rsi
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], esi
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x40]
call fcn.140067540
lea rcx, [0x1400fad48]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400fad70]
test rbx, rbx
jne 0x140056e1f
mov ecx, 0xc0
call fcn.14008d9e0
mov qword [rbp + 0x50], rax
mov rcx, rax
call fcn.1400583f0
mov rbx, rax
mov qword [0x1400fad70], rax
lea rcx, [0x1400fad48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x40]
mov qword [rbx + 0x60], rcx
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140056e8c
cmp byte [rbp - 0x28], 0
jne 0x140056e8c
mov rax, qword [rcx]
call qword [rax + 0x308]
test al, al
je 0x140056e88
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x68], rsi
mov qword [rbp - 0x38], r14
cmp byte [rbp - 0x28], 0
jne 0x140056e79
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140056e79
mov rax, qword [rcx]
lea rdx, [rbp - 0x38]
call qword [rax + 0x608]
nop
mov al, 1
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x38], r14
cmp byte [rbp - 0x28], 0
jne 0x140056ea9
test rcx, rcx
je 0x140056ea9
mov rax, qword [rcx]
lea rdx, [rbp - 0x38]
call qword [rax + 0x608]
nop
mov al, 1
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
cmp edx, 0x1388
jne 0x140057ddd
mov rax, qword [rcx]
call qword [rax + 0x558]
test al, al
jne 0x140057e3a
xor ecx, ecx
mov qword [rbp + 0x20], rcx
lea rax, vtable.JRWndPtr.0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
mov dword [rbp - 0x10], ecx
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.140067540
mov rax, qword [rbx]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [rax + 0x480]
mov eax, dword [rbp + 0x20]
cmp eax, dword [rbp - 0x30]
jl 0x140057cfa
cmp eax, dword [rbp - 0x28]
jge 0x140057cfa
mov rax, qword [rbp + 0x20]
shr rax, 0x20
cmp eax, dword [rbp - 0x2c]
jl 0x140057cfa
cmp eax, dword [rbp - 0x24]
jge 0x140057cfa
mov al, 1
jmp 0x140057cfc
xor al, al
test al, al
jne 0x140057e3a
mov byte [rbx + 0x48], al
mov dword [rbp + 0x28], 0xffffffff
mov dword [rbp + 0x2c], 1
mov rax, qword [rbp + 0x28]
mov qword [rbx + 0x4c], rax
lea rdi, vtable.JRWndDeleteProbe.0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rbx
mov byte [rbp - 0x10], 0
mov rax, qword [rbx]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [rax + 0x600]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd8]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140057db0
cmp byte [rbp - 0x10], 0
jne 0x140057db0
mov rax, qword [rcx]
call qword [rax + 0x308]
test al, al
je 0x140057dac
mov rax, qword [rbx]
mov edx, 0x1388
mov rcx, rbx
call qword [rax + 0x5a0]
nop
mov qword [rbp - 0x20], rdi
cmp byte [rbp - 0x10], 0
jne 0x140057d9c
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140057d9c
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
call qword [rax + 0x608]
nop
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x20], rdi
cmp byte [rbp - 0x10], 0
jne 0x140057dcd
test rcx, rcx
je 0x140057dcd
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
call qword [rax + 0x608]
nop
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
cmp edx, 0x138b
jne 0x140057df9
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
jmp 0x140056c80
cmp edx, 0x138c
jne 0x140057e17
xor edx, edx
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
jmp fcn.140056ec0
mov rax, qword [rcx]
cmp edx, 0x138f
jne 0x140057e38
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
jmp qword [rax + 0x510]
call qword [rax]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret