Function at 0x140055620
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rbp - 8], rax
lea rcx, [rbp - 0x40]
call fcn.140053cf0
mov rax, qword [rbp - 0x40]
movabs r14, 0x7ffffffffa0a1efe
movabs rsi, 0x7fffffffffffffff
cmp rax, r14
jg 0x14005566c
add rax, 0x5f5e100
mov qword [rbp - 0x40], rax
jmp 0x140055670
mov qword [rbp - 0x40], rsi
lea rcx, [rbp - 0x40]
call fcn.140055140
cmp byte [0x140240bfc], 0
jne 0x14005593b
mov rax, qword [0x140240bb0]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x80], rbx
lea rcx, [rbp - 0x40]
mov qword [0x140240c20], rax
mov rax, qword [0x140240ba0]
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], r12
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x98], r15
call fcn.14006e2a0
mov rax, qword [rbp - 0x10]
lea rdx, [rbp - 0x40]
mov qword [0x140240c38], rax
lea rcx, [rbp - 0x10]
mov rax, qword [0x140240ba0]
mov qword [rbp - 0x10], rax
call fcn.14006e0b0
cmp byte [0x140240b0f], 0
mov rax, qword [rbp - 0x40]
mov qword [0x140240c10], rax
mov byte [0x140240bfc], 1
je 0x140055914
lea r12, [0x140240e30]
xor edi, edi
movabs r15, 0x7ffffffffff0bdbe
cmp byte [0x140240b77], dil
je 0x140055914
mov ecx, dword [reloc.WS2_32.dll_accept]
test ecx, ecx
je 0x140055762
sub ecx, 1
je 0x14005574a
cmp ecx, 1
jne 0x140055780
mov byte [0x14023bce0], cl
jmp 0x140055780
mov ecx, dword [0x14023bcd0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x14023bce0]
jmp 0x140055780
mov ecx, dword [0x14023bcd0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140055780
cmp byte [0x14023bce0], dil
sete byte [0x14023bce0]
mov rdx, qword [reloc.WLDAP32.dll_Ordinal_200]
mov rax, qword [0x140240bd0]
add rdx, qword [0x140240c38]
mov rcx, qword [0x140240df0]
mov qword [0x140240c30], rax
call fcn.140054440
lea rdx, [rbp - 0x28]
mov qword [0x140240c28], rax
call fcn.140068850
mov rbx, rax
cmp r12, rax
je 0x140055845
mov rcx, qword [0x140240e30]
test rcx, rcx
je 0x14005581a
mov rdx, qword [0x140240e40]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x140055803
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140055950
mov rcx, r8
call fcn.1400f8f64
xorps xmm0, xmm0
mov qword [0x140240e40], rdi
movdqu xmmword [0x140240e30], xmm0
mov rax, qword [rbx]
mov qword [0x140240e30], rax
mov rax, qword [rbx + 8]
mov qword [0x140240e38], rax
mov rax, qword [rbx + 0x10]
mov qword [0x140240e40], rax
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140055883
mov rdx, qword [rbp - 0x18]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14005587e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055950
call fcn.1400f8f64
cmp byte [0x14023bce0], dil
je 0x1400558c5
lea rcx, [rbp - 0x10]
call fcn.140055ba0
mov rcx, qword [rbp - 0x10]
cmp qword [0x140240dc8], rcx
je 0x1400558a7
call fcn.140056180
lea rcx, [rbp - 0x38]
call fcn.140053cf0
mov rax, qword [rbp - 0x38]
cmp rax, r15
jg 0x1400558fa
add rax, 0xf4240
mov qword [rbp - 0x40], rax
jmp 0x1400558fe
mov rax, qword [0x140240c18]
cmp qword [0x140240dc8], rax
je 0x1400558dc
mov qword [0x140240c18], rdi
lea rcx, [rbp - 0x30]
call fcn.140053cf0
mov rax, qword [rbp - 0x30]
cmp rax, r14
jg 0x1400558fa
add rax, 0x5f5e100
mov qword [rbp - 0x40], rax
jmp 0x1400558fe
mov qword [rbp - 0x40], rsi
lea rcx, [rbp - 0x40]
call fcn.140055140
cmp byte [0x140240b0f], dil
jne 0x140055721
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x98]
mov byte [0x140240bfc], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x60
pop r14
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3