Function at 0x1400f4bc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x3c0
mov ecx, reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x1400f4bef
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x1400f4c17
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x1400f4c04
mov dword [rsp + 0x54], 1
jmp 0x1400f4c0c
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [reloc.WS2_32.dll_accept], al
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x1400f4c27
jmp 0x1400f5660
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x30]
call fcn.1400e1a40
mov rcx, rax
call fcn.1400f7570
mov r8d, reloc.WLDAP32.dll_Ordinal_32
xor edx, edx
mov rcx, rax
call fcn.140061230
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1a1]
lea rcx, [rsp + 0x31]
call fcn.14000a3e0
mov rcx, rax
call fcn.1400df960
xor edx, edx
mov rcx, rax
call fcn.1400b5ba0
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xaa]
lea rcx, [rsp + 0x32]
call fcn.14000a480
mov rcx, rax
call fcn.1400f7550
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x1400f4ed3
call fcn.1400a16a0
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xbf]
lea rcx, [rsp + 0x33]
call fcn.14000a520
mov rcx, rax
call fcn.1400f7530
lea rdx, [0x1401cf46c]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x34]
call fcn.14000a540
mov rcx, rax
call fcn.1400f7510
xor r8d, r8d
lea rdx, [0x1401cf470]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x13b]
lea rcx, [rsp + 0x35]
call fcn.14000a5e0
mov rcx, rax
call fcn.1400f74f0
lea rdx, [0x1401cf4a2]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x149]
lea rcx, [rsp + 0x36]
call fcn.14000a680
mov rcx, rax
call fcn.1400f74f0
xor r8d, r8d
lea rdx, [0x1401cf47c]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x114]
lea rcx, [rsp + 0x37]
call fcn.14000a750
mov rcx, rax
call fcn.1400f74d0
lea rdx, [0x1401cf4a3]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x191]
lea rcx, [rsp + 0x38]
call fcn.14000a7f0
mov rcx, rax
call fcn.1400f74b0
xor r8d, r8d
lea rdx, [0x1401cf488]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x173]
lea rcx, [rsp + 0x39]
call fcn.14000a890
mov rcx, rax
call fcn.1400f7490
mov dword [rsp + 0x28], 0
lea rcx, [0x1401942e4]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2710
mov r8d, 0x64
lea rdx, [0x1401cf4a4]
mov rcx, rax
call fcn.1400a59e0
call fcn.1400b8980
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x3a]
call fcn.14000a930
mov rcx, rax
call fcn.1400f7550
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x1400f5285
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xc7]
lea rcx, [rsp + 0x3b]
call fcn.14000a960
mov rcx, rax
call fcn.1400f7530
lea rdx, [0x1401cf4ac]
mov rcx, rax
call fcn.1400e1c70
call fcn.1400a16a0
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xa3]
lea rcx, [rsp + 0x3c]
call fcn.14000a930
mov rcx, rax
call fcn.1400f7550
lea rdx, [0x1401cf420]
mov rcx, rax
call fcn.1400a0a60
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xdf]
lea rcx, [rsp + 0x3d]
call fcn.14000a980
mov rcx, rax
call fcn.1400f7470
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 2
lea r8, [0x1401cd6d0]
lea rdx, [0x1401cf42c]
mov rcx, rax
call fcn.1400a2f40
lea rax, [rsp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x3e]
call fcn.14000a9b0
mov rcx, rax
call fcn.1400f7450
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 2
lea r8, [0x1401cd6e0]
lea rdx, [0x1401cf430]
mov rcx, rax
call fcn.1400a2f40
lea rax, [rsp + 0x3f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x3f]
call fcn.14000ab00
mov rcx, rax
call fcn.1400f7510
lea rdx, [0x1401cf4a0]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x157]
lea rcx, [rsp + 0x40]
call fcn.14000ab30
mov rcx, rax
call fcn.1400f74f0
xor r8d, r8d
lea rdx, [0x1401cf494]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xb1]
lea rcx, [rsp + 0x41]
call fcn.14000a9e0
mov rcx, rax
call fcn.1400f7550
mov dword [rsp + 0x28], 0
lea rcx, [0x1401942dc]
mov qword [rsp + 0x20], rcx
movss xmm3, dword [0x140197604]
xorps xmm2, xmm2
lea rdx, [0x1401cf468]
mov rcx, rax
call fcn.1400a5980
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x42]
call fcn.14000aa10
mov rcx, rax
call fcn.1400f7430
lea rdx, [0x1401cf464]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x121]
lea rcx, [rsp + 0x43]
call fcn.1400e56d0
mov rcx, rax
call fcn.1400f74d0
xor r8d, r8d
lea rdx, [0x1401cf458]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xf2]
lea rcx, [rsp + 0x44]
call fcn.14000aad0
mov rcx, rax
call fcn.1400f7450
mov dword [rsp + 0x28], 0
lea rcx, str._0.f__
mov qword [rsp + 0x20], rcx
movss xmm3, dword [0x140197728]
movss xmm2, dword [0x1401976ac]
lea rdx, [0x1401cf454]
mov rcx, rax
call fcn.1400a5980
lea rax, [rsp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xcf]
lea rcx, [rsp + 0x45]
call fcn.1400ebef0
mov rcx, rax
call fcn.1400f7530
mov dword [rsp + 0x28], 0
lea rcx, [0x1401942f4]
mov qword [rsp + 0x20], rcx
mov r9d, reloc.WS2_32.dll_sendto
xor r8d, r8d
lea rdx, [0x1401cf4b0]
mov rcx, rax
call fcn.1400a59e0
lea rax, [rsp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x46]
call fcn.14000ab60
mov rcx, rax
call fcn.1400f7550
lea rdx, [0x1401cf434]
mov rcx, rax
call fcn.1400a0a60
call fcn.1400b8980
lea rax, [rsp + 0x47]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x95]
lea rcx, [rsp + 0x47]
call fcn.14000ab90
mov rcx, rax
call fcn.1400f7550
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x1400f5656
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x12e]
lea rcx, [rsp + 0x48]
call fcn.14000abc0
mov rcx, rax
call fcn.1400f74d0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x64
lea rdx, [0x1401cf990]
mov rcx, rax
call fcn.1400a6770
lea rcx, [0x1401cf200]
call fcn.140006690
mov dword [rsp + 0x60], eax
lea rcx, [0x1401cf200]
call fcn.1400066c0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x182]
lea rcx, [rsp + 0x49]
call fcn.14000abf0
mov rcx, rax
call fcn.1400f7490
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rdx, [0x1401ce9d0]
mov rcx, qword [rsp + 0x78]
call fcn.1400a2f40
movss xmm2, dword [0x1401976c4]
movss xmm1, dword [0x1401976f0]
lea rcx, [rsp + 0x68]
call fcn.140002df0
lea rax, [rsp + 0x4a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x4a]
call fcn.14000ac20
mov rcx, rax
call fcn.1400f7410
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14009f260
movzx eax, al
test eax, eax
je 0x1400f5492
movsxd rax, dword [0x1401ce9d0]
mov rdx, rax
lea rcx, [0x1401cf200]
call fcn.140006660
mov r8d, 0x9c
lea rdx, [0x1401cf420]
mov rcx, qword [rax]
call fcn.140045300
movzx eax, al
test eax, eax
je 0x1400f545a
lea rax, [rsp + 0x4b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x4b]
call fcn.14000ac50
mov rcx, rax
call fcn.1400f73f0
mov edx, 0x40
mov rcx, rax
call fcn.1400e8760
jmp 0x1400f5492
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x284]
lea rcx, [rsp + 0x4c]
call fcn.14000acf0
mov rcx, rax
call fcn.1400f73d0
mov edx, reloc.WS2_32.dll_recv
mov rcx, rax
call fcn.1400e8760
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
movss xmm2, dword [0x1401976c4]
movss xmm1, dword [0x1401976f0]
lea rcx, [rsp + 0x80]
call fcn.140002df0
lea rax, [rsp + 0x4d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd7]
lea rcx, [rsp + 0x4d]
call fcn.14000ad90
mov rcx, rax
call fcn.1400f7530
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14009f260
movzx eax, al
test eax, eax
je 0x1400f5651
lea rax, [0x1401cf990]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x1400f551d
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x1400f557c
lea rax, [rsp + 0x4e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x4e]
call fcn.14000adb0
mov rcx, rax
call fcn.1400f73b0
mov edx, Ordinal_50
mov rcx, rax
call fcn.1400e8760
jmp 0x1400f5651
lea rax, [rsp + 0x4f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x165]
lea rcx, [rsp + 0x4f]
call fcn.14000ae50
mov rcx, rax
call fcn.1400f74f0
lea r8, [0x1401cf990]
mov rdx, rax
lea rcx, [rsp + 0x2c0]
call fcn.140002860
mov r8d, 0x9c
lea rdx, [0x1401cf420]
lea rcx, [rsp + 0x2c0]
call fcn.1400451a0
movzx eax, al
test eax, eax
je 0x1400f5619
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x50]
call fcn.14000ae80
mov rcx, rax
call fcn.1400f73f0
mov edx, 0x40
mov rcx, rax
call fcn.1400e8760
jmp 0x1400f5651
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1dc]
lea rcx, [rsp + 0x51]
call fcn.14000aeb0
mov rcx, rax
call fcn.1400f73b0
mov edx, reloc.WS2_32.dll_recv
mov rcx, rax
call fcn.1400e8760
call fcn.1400b8980
call fcn.1400b6140
call fcn.140064a40
add rsp, 0x3c0
pop rdi
ret