Function at 0x1400fcf10
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x178
cmp qword [0x1401cf180], 0
je 0x1400fd4de
cmp qword [0x1401cf1b0], 0
je 0x1400fd4de
mov edx, 0x100
mov rcx, qword [0x1401cf1b0]
call fcn.1400facd0
movzx eax, al
test eax, eax
je 0x1400fd4de
mov rcx, qword [0x1401cf1b0]
call fcn.1400fc6e0
test eax, eax
jne 0x1400fd4de
mov rcx, qword [0x1401cf1b0]
call fcn.1400fd5b0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400fcf84
jmp 0x1400fd4de
mov rcx, qword [0x1401cf1b0]
call fcn.1400f1ff0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400fcfa2
jmp 0x1400fd4de
movzx eax, byte [0x1401cc9f3]
test eax, eax
je 0x1400fcfcf
mov ecx, dword [0x1401ccadc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x1400fcfcf
mov edx, 4
mov rcx, qword [0x1401cf1b0]
call fcn.1400e43d0
movzx eax, byte [0x1401cc9f4]
test eax, eax
je 0x1400fd002
call fcn.1400ea140
mov qword [rsp + 0x50], rax
cvtsi2ss xmm0, dword [0x1401cc9fc]
movss dword [rsp + 0x38], xmm0
movss xmm1, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call fcn.1400e8100
movzx eax, byte [0x1401cc9f5]
test eax, eax
je 0x1400fd04c
cvtsi2ss xmm0, dword [0x1401cca10]
movaps xmm1, xmm0
mov rcx, qword [0x1401cf1a8]
call fcn.1401054b0
movss xmm1, dword [0x140162224]
mov rcx, qword [0x1401cf1a0]
call fcn.1401052b0
movss xmm1, dword [0x140162224]
mov rcx, qword [0x1401cf1a0]
call fcn.140105270
movzx eax, byte [0x1401cc9f6]
test eax, eax
je 0x1400fd074
mov rcx, qword [0x1401cf1b0]
call fcn.1400fd5b0
mov qword [rsp + 0x58], rax
mov dl, 1
mov rcx, qword [rsp + 0x58]
call fcn.140105570
movzx eax, byte [0x1401cc9f7]
test eax, eax
je 0x1400fd332
lea rax, [rsp + 0x158]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x21]
call fcn.1400305d0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x98], 0x33dba48
mov qword [rsp + 0xa0], 0xb8
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], reloc.WS2_32.dll_recv
mov qword [rsp + 0xb8], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0xc0]
mov r8, rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x148]
call fcn.140031b60
lea rcx, [rsp + 0x100]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x68]
call fcn.1400e0610
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [0x1401cf070]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [0x1401cf070]
call fcn.1400deb50
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rax, 0x58
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400dee90
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
add rax, 0x90
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400dee90
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x28]
add rax, 0x70
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400dee90
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
add rax, 0xb8
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400df210
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400fd332
mov rax, qword [rsp + 0x28]
add rax, 0x230
xorps xmm3, xmm3
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400df510
mov rax, qword [rsp + 0x28]
add rax, 0x234
xorps xmm3, xmm3
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400df510
mov rax, qword [rsp + 0x40]
add rax, 0x48
movss xmm3, dword [0x140166844]
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400df510
mov rax, qword [rsp + 0x40]
add rax, 0x50
movss xmm3, dword [0x140166844]
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400df510
mov rax, qword [rsp + 0x88]
add rax, 0x14
movss xmm3, dword [0x1401ae168]
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400df510
mov rax, qword [rsp + 0x90]
add rax, 0x18
movss xmm3, dword [0x1401ae170]
mov r8, rax
mov rax, qword [0x1401cf070]
mov edx, dword [rax + 0x20]
mov rcx, qword [0x1401cf070]
call fcn.1400df510
movzx eax, byte [0x1401cca00]
test eax, eax
je 0x1400fd47e
mov ecx, dword [0x1401cca04]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400fd46a
movss xmm1, dword [0x140162224]
mov rcx, qword [0x1401cf1b0]
call fcn.1401053f0
mov ecx, dword [0x1401cca04]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400fd3c2
xorps xmm3, xmm3
movss xmm2, dword [0x14016c9cc]
xorps xmm1, xmm1
lea rcx, [rsp + 0x120]
call fcn.1400e0ed0
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x30]
call fcn.140105bd0
jmp 0x1400fd468
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400fd416
xorps xmm3, xmm3
xorps xmm2, xmm2
movss xmm1, dword [0x1401ae19c]
lea rcx, [rsp + 0x12c]
call fcn.1400e0ed0
lea rcx, [rsp + 0xe0]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x30]
call fcn.140105bd0
jmp 0x1400fd468
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400fd468
xorps xmm3, xmm3
xorps xmm2, xmm2
movss xmm1, dword [0x1401ae0c8]
lea rcx, [rsp + 0x138]
call fcn.1400e0ed0
lea rcx, [rsp + 0xf0]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
call fcn.140105bd0
jmp 0x1400fd47e
movss xmm1, dword [0x1401667a8]
mov rcx, qword [0x1401cf1b0]
call fcn.1401053f0
movzx eax, byte [0x1401cca16]
test eax, eax
je 0x1400fd4b4
mov rcx, qword [0x1401cf1b0]
call fcn.1400ea090
ucomiss xmm0, dword [0x1401667a4]
jp 0x1400fd4a0
je 0x1400fd4b4
movss xmm1, dword [0x140162f90]
mov rcx, qword [0x1401cf1b0]
call fcn.1401053f0
movzx eax, byte [0x1401cca16]
test eax, eax
jne 0x1400fd4de
movzx eax, byte [0x1401cca00]
test eax, eax
jne 0x1400fd4de
movss xmm1, dword [0x1401667a8]
mov rcx, qword [0x1401cf1b0]
call fcn.1401053f0
add rsp, 0x178
pop rdi
pop rsi
ret