Function at 0x1401cd940
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1405e3440]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rax, qword [0x1405ebba0]
cmp byte [rax + 0x190], 0
je 0x1401cdd2c
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_bind]
movdqa xmmword [rbp - 0x70], xmm1
mov eax, 0x3146
mov word [rbp - 0x80], ax
mov byte [rbp - 0x7e], 0
mov dword [rbp - 0x60], reloc.WS2_32.dll_WSASetLastError
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], 2
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov eax, 0x3246
mov word [rbp - 0x58], ax
mov byte [rbp - 0x56], 0
mov dword [rbp - 0x38], WSACleanup
movups xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov eax, 0x3346
mov word [rbp - 0x30], ax
mov byte [rbp - 0x2e], 0
mov dword [rbp - 0x10], WSACleanup
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], 2
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov eax, 0x3446
mov word [rbp - 8], ax
mov byte [rbp - 6], 0
mov dword [rbp + 0x18], reloc.WS2_32.dll_WSAStartup
movups xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
mov eax, 0x3546
mov word [rbp + 0x20], ax
mov byte [rbp + 0x22], 0
mov dword [rbp + 0x40], reloc.WS2_32.dll_WSACleanup
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov eax, 0x3646
mov word [rbp + 0x48], ax
mov byte [rbp + 0x4a], 0
mov dword [rbp + 0x68], 0x75
movups xmmword [rbp + 0x70], xmm0
movdqa xmmword [rbp + 0x80], xmm1
mov eax, 0x3746
mov word [rbp + 0x70], ax
mov byte [rbp + 0x72], 0
mov dword [rbp + 0x90], 0x76
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], 2
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov eax, 0x3846
mov word [rbp + 0x98], ax
mov byte [rbp + 0x9a], 0
mov dword [rbp + 0xb8], 0x77
movups xmmword [rbp + 0xc0], xmm0
movdqa xmmword [rbp + 0xd0], xmm1
mov eax, 0x3946
mov word [rbp + 0xc0], ax
mov byte [rbp + 0xc2], 0
mov dword [rbp + 0xe0], 0x78
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], 3
mov qword [rbp + 0x100], reloc.WS2_32.dll_ntohs
mov eax, dword [0x1404bbcd0]
mov word [rbp + 0xe8], ax
movzx eax, byte [0x1404bbcd2]
mov byte [rbp + 0xea], al
mov byte [rbp + 0xeb], 0
mov dword [rbp + 0x108], 0x79
movups xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_closesocket]
movdqa xmmword [rbp + 0x120], xmm1
mov eax, dword [0x1404bbcd4]
mov word [rbp + 0x110], ax
movzx eax, byte [0x1404bbcd6]
mov byte [rbp + 0x112], al
mov byte [rbp + 0x113], 0
mov dword [rbp + 0x130], 0x7a
movups xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x148], 3
mov qword [rbp + 0x150], reloc.WS2_32.dll_ntohs
mov eax, dword [0x1404bbcd8]
mov word [rbp + 0x138], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_50]
mov byte [rbp + 0x13a], al
mov byte [rbp + 0x13b], 0
mov dword [rbp + 0x158], 0x7b
lea rax, [rbp - 0x80]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140149eb0
nop
lea r9, [fcn.14012bb40]
mov edx, Ordinal_41
lea r8d, [rdx - 0x1c]
lea rcx, [rbp - 0x80]
call fcn.140487d5c
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsi + 8]
mov rdi, rsi
cmp byte [rbx + 0x19], 0
jne 0x1401cdc36
nop dword [rax]
lea rcx, [rbx + 0x20]
lea rdx, [0x1405d85a0]
call fcn.1401369e0
test al, al
jns 0x1401cdc2a
mov rbx, qword [rbx + 0x10]
jmp 0x1401cdc30
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1401cdc10
cmp byte [rdi + 0x19], 0
jne 0x1401cdd0a
lea rdx, [rdi + 0x20]
lea rcx, [0x1405d85a0]
call fcn.1401369e0
test al, al
js 0x1401cdd0a
cmp rdi, rsi
je 0x1401cdd0a
lea rdx, [0x1405d85a0]
lea rcx, [rsp + 0x48]
call fcn.1401523d0
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1401cdd05
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_200
lea rcx, [rsp + 0x60]
call fcn.140147150
mov rcx, qword [reloc.WS2_32.dll_ntohl]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x14
jb 0x1401cdd54
lea rax, [0x1405d8440]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rax, qword [0x1405d8440]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, str.actioninput_ntext_
lea r8, [0x1405d8440]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14012ba10
lea rcx, [rsp + 0x60]
call fcn.140178d10
mov rsi, qword [rsp + 0x48]
mov r8, qword [rsi + 8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14013ab30
mov edx, 0x48
mov rcx, qword [rsp + 0x48]
call fcn.140487b8c
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140487ca0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14012bbe0
nop
int3