Function at 0x140155349
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1402e1080
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x690
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x108
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6b8]
mov rax, qword [0x1404bf700]
xor rax, rbp
mov qword [rbp + 0x650], rax
lea rcx, [0x1404ea5c9]
call fcn.140156884
mov dword [rbp + 4], 0
mov eax, dword [0x1404c8fd0]
mov rcx, qword [rbp + 0x680]
add rax, qword [rcx + 0x40]
lea r8, [rbp + 4]
mov rdx, rax
lea rcx, [0x1404a7008]
call fcn.1401562da
movzx eax, al
test eax, eax
jne 0x1402e1101
jmp 0x1402e14b7
cmp dword [rbp + 4], 0xffffffff
jne 0x1402e110c
jmp 0x1402e14b7
mov qword [rbp + 0x28], 0
lea rax, [rbp + 0x428]
mov qword [rbp + 0x468], rax
lea rcx, [rbp + 0x484]
call fcn.1401569c4
mov qword [rbp + 0x628], rax
mov eax, dword [rbp + 4]
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rbp + 0x618], eax
mov dword [rbp + 0x61c], 0
lea rax, [rbp + 0x620]
mov r8, rax
lea rdx, [rbp + 0x618]
lea rcx, [rbp + 0x4a8]
call fcn.14015215d
lea rcx, [rbp + 0x4d8]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x5f0]
lea rcx, [rbp + 0x4d8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rbp + 0x628]
lea rdx, [rbp + 0x5f0]
mov rcx, qword [rbp + 0x468]
call fcn.140152563
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x638]
mov qword [rbp + 0x640], rax
lea rcx, [0x1404c07a0]
call fcn.140156c03
mov qword [rbp + 0x648], rax
mov r8, qword [rbp + 0x640]
mov rdx, qword [rbp + 0x648]
lea rcx, [0x1404a7008]
call fcn.140151334
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1402e1218
jmp 0x1402e14b7
mov qword [rbp + 0x48], 0
mov eax, dword [rbp + 4]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
lea r8, [rbp + 0x48]
mov rdx, rax
lea rcx, [0x1404a7008]
call fcn.1401562c6
movzx eax, al
test eax, eax
jne 0x1402e1256
jmp 0x1402e14b7
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x70]
call fcn.1401541d8
lea rcx, [rbp + 0x70]
call fcn.1401567c6
nop
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x70]
call fcn.1401567b7
movzx eax, al
test eax, eax
jne 0x1402e1290
lea rcx, [rbp + 0x70]
call fcn.14015295a
jmp 0x1402e14b7
mov byte [rbp + 0x184], 0
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x1402e12e5
mov rax, qword [rbp + 0x680]
mov ecx, dword [rbp + 0x154]
cmp dword [rax + 0xe4], ecx
je 0x1402e12cc
cmp dword [rbp + 0x150], 0
jle 0x1402e12cc
mov dword [rbp + 0x624], 1
jmp 0x1402e12d6
mov dword [rbp + 0x624], 0
movzx eax, byte [rbp + 0x624]
mov byte [rbp + 0x184], al
jmp 0x1402e1311
cmp dword [rbp + 0x150], 0
jle 0x1402e12fa
mov dword [rbp + 0x624], 1
jmp 0x1402e1304
mov dword [rbp + 0x624], 0
movzx eax, byte [rbp + 0x624]
mov byte [rbp + 0x184], al
movzx eax, byte [rbp + 0x184]
test eax, eax
jne 0x1402e132a
lea rcx, [rbp + 0x70]
call fcn.14015295a
jmp 0x1402e14b7
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x1404c93bc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1404c8ff0], eax
jle 0x1402e137c
lea rcx, [0x1404c8ff0]
call fcn.140155f4c
cmp dword [0x1404c8ff0], 0xffffffff
jne 0x1402e137c
lea rcx, [0x1404c8fe8]
call fcn.1401548ea
lea rcx, [0x1404c8ff0]
call fcn.14015618b
lea rcx, [rbp + 0x1a8]
call fcn.1401548ea
lea rax, [rbp + 0x504]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rbp + 0x504]
mov byte [rbp + 0x584], al
movzx eax, byte [rbp + 0x584]
mov byte [rbp + 0x5c4], al
lea rdx, [0x1404c0ebc]
lea rcx, [rbp + 0x548]
call fcn.140152d4c
mov qword [rbp + 0x628], rax
lea r8, [0x1404c8fe8]
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x568]
call fcn.14015205e
mov qword [rbp + 0x630], rax
mov rdx, qword [rbp + 0x628]
mov rcx, qword [rbp + 0x630]
call fcn.140151efb
mov byte [rbp + 0x524], al
movzx eax, byte [rbp + 0x524]
mov byte [rbp + 0x5a4], al
movzx edx, byte [rbp + 0x5c4]
movzx ecx, byte [rbp + 0x5a4]
call fcn.140155899
movzx eax, al
test eax, eax
je 0x1402e14ae
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1402e1449
mov byte [rbp + 0x624], 1
jmp 0x1402e1450
mov byte [rbp + 0x624], 0
movzx eax, byte [rbp + 0x624]
mov byte [rbp + 0x1c4], al
movzx eax, byte [rbp + 0x1c4]
test eax, eax
jne 0x1402e14a0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rbp + 0x1a8]
mov qword [0x1404c8fe8], rax
lea rcx, [rbp + 0x70]
call fcn.14015295a
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.1401559a2
mov rcx, qword [rbp + 0x650]
xor rcx, rbp
call fcn.140153acb
lea rsp, [rbp + 0x660]
pop rdi
pop rsi
pop rbp
ret