Function at 0x140067380
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x1401be080]
xor rax, rsp
mov qword [rbp + 0x98], rax
xor r15d, r15d
xor sil, sil
xor eax, eax
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x50], eax
mov eax, 1
xchg byte [0x1401be130], al
lea rcx, [rbp + 0x18]
mov qword [rbp - 0x80], rcx
lea rax, [rbp + 0x48]
mov qword [rbp - 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140158b50
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rax], xmm0
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140067df0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x58], rax
test rax, rax
je 0x1400679a3
mov ecx, 8
call fcn.140158b50
lea rcx, [rbp]
mov qword [rax], rcx
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140067fa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x30], rax
test rax, rax
je 0x140067993
movzx eax, byte [0x1402ad2a5]
test al, al
jne 0x14006790e
movabs r12, 0x7ffffffffff0bdbf
movabs r13, 0x7fffffffffffffff
movss xmm8, dword [0x14019e7d0]
movss xmm9, dword [0x14019e13c]
movzx edi, byte [rsp + 0x38]
movsd xmm7, qword [rbp + 0x28]
mov r14, qword [rbp + 0x18]
movups xmm6, xmmword [rbp + 0x18]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400678f4
nop
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14006791f
cmp dword [0x1401be18c], 0x7fffffff
je 0x14006792b
lea rcx, [rbp - 0x20]
call fcn.1400027e0
mov rcx, qword [rax]
mov qword [0x1402ad2d0], rcx
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1402ad2e7], 0
je 0x1400678e5
cmp byte [0x1402ad2b6], 0
je 0x140067898
mov ecx, dword [reloc.WS2_32.dll_accept]
test ecx, ecx
je 0x140067573
sub ecx, 1
je 0x14006755b
cmp ecx, 1
jne 0x140067591
mov byte [0x140210598], cl
jmp 0x140067591
mov ecx, dword [0x140210588]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x140210598]
jmp 0x140067591
mov ecx, dword [0x140210588]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140067591
cmp byte [0x140210598], 0
sete byte [0x140210598]
cmp byte [0x1402ad30d], 0
je 0x1400675f0
mov dword [rsp + 0x30], 0x626f5277
mov dword [rsp + 0x34], 0x786f6c
lea rdx, [rsp + 0x31]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x1400678e5
mov eax, dword [0x1402ad308]
test eax, eax
jne 0x1400675da
mov ecx, 1
jmp 0x1400675ea
cmp eax, 1
je 0x1400675e8
cmp byte [0x1402ad30d], 1
jne 0x1400675f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140210598], 0
je 0x140067839
test sil, sil
jne 0x14006766f
test dil, dil
je 0x140067639
test r14, r14
je 0x140067639
cmp qword [0x1402ad310], 0
je 0x140067639
movups xmmword [rbp], xmm6
movsd qword [rbp + 0x10], xmm7
movups xmm0, xmmword [0x1402ad310]
movups xmmword [rbp + 0x18], xmm0
movsd xmm1, qword [0x1402ad320]
movsd qword [rbp + 0x28], xmm1
jmp 0x14006766f
mov sil, 1
lea rcx, [rbp + 0x68]
call fcn.140069fd0
movups xmm0, xmmword [rbp + 0x68]
movups xmmword [rbp + 0x18], xmm0
movsd xmm1, qword [rbp + 0x78]
movsd qword [rbp + 0x28], xmm1
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rbp], xmm0
movsd xmm1, qword [rbp + 0x90]
movsd qword [rbp + 0x10], xmm1
mov rcx, qword [rbp]
test rcx, rcx
je 0x140067839
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x58], ebx
add rcx, 0x150
call fcn.14006baf0
test rax, rax
jne 0x1400676a0
movsd xmm0, qword [rbp - 0x60]
mov dword [rbp - 0x48], ebx
jmp 0x1400676d2
xor ecx, ecx
mov qword [rbp - 0x70], rcx
mov dword [rbp - 0x68], ecx
lea rcx, [rax + 0x140]
mov r8d, recvfrom
lea rdx, [rbp - 0x70]
call fcn.1400682d0
movsd xmm0, qword [rbp - 0x70]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [rbp - 0x68]
mov dword [rbp - 0x58], eax
mov dword [rbp - 0x48], eax
movsd qword [rbp - 0x50], xmm0
movss xmm0, dword [rbp - 0x4c]
comiss xmm0, xmm9
jbe 0x140067839
cmp byte [0x1402ad2a7], bl
je 0x140067775
mov rcx, qword [rbp]
add rcx, 0x150
call fcn.14006baf0
test rax, rax
jne 0x140067712
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x140067746
xor ecx, ecx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], ecx
lea rcx, [rax + 0x14c]
mov r8d, recvfrom
lea rdx, [rsp + 0x68]
call fcn.1400682d0
movss xmm2, dword [rsp + 0x68]
movss xmm1, dword [rsp + 0x6c]
movss xmm0, dword [rsp + 0x70]
andps xmm2, xmm8
movss xmm3, dword [0x1401be1cc]
comiss xmm2, xmm3
ja 0x14006776d
andps xmm1, xmm8
comiss xmm1, xmm3
ja 0x14006776d
andps xmm0, xmm8
comiss xmm0, xmm3
ja 0x14006776d
xor al, al
jmp 0x14006776f
mov al, 1
mov byte [0x1402ad34c], al
cmp qword [0x1402ad310], rbx
je 0x1400677d7
cmp byte [0x1402ad2e5], bl
je 0x1400677d7
movups xmm0, xmmword [0x1402ad310]
movups xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [0x1402ad320]
movsd qword [rsp + 0x50], xmm1
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov r8d, 8
lea rdx, str.Humanoid
lea rcx, [rbp - 0x40]
call fcn.140002e40
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x40]
call fcn.14006b0a0
test sil, sil
je 0x14006780e
movsd xmm0, qword [rbp + 0x48]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [rbp + 0x50]
mov dword [rbp - 0x78], eax
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rsp + 0x50], xmm1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140066390
movups xmm6, xmmword [rbp]
movsd xmm7, qword [rbp + 0x10]
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [0x1402ad310], xmm0
movsd xmm1, qword [rbp + 0x28]
movsd qword [0x1402ad320], xmm1
mov dil, 1
movq r14, xmm6
jmp 0x140067898
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [0x1402ad310], xmm0
mov qword [rsp + 0x50], rax
movsd xmm0, qword [rsp + 0x50]
movsd qword [0x1402ad320], xmm0
mov qword [rsp + 0x50], rax
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp + 0x28], xmm0
mov qword [rsp + 0x50], rax
xorps xmm1, xmm1
xor dil, dil
movsd xmm0, qword [rsp + 0x50]
movups xmmword [rsp + 0x40], xmm1
xor sil, sil
movsd qword [rbp + 0x10], xmm0
movups xmmword [rbp], xmm1
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rbp + 0x18], xmm1
cmp byte [0x1402ad30d], 0
jne 0x1400678e5
lea rcx, [rbp + 0x40]
call fcn.1400027e0
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x60], rax
cmp rax, r12
je 0x1400678d6
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x1400678d6
add rax, 0xf4240
mov qword [rsp + 0x60], rax
jmp 0x1400678db
mov qword [rsp + 0x60], r13
lea rcx, [rsp + 0x60]
call fcn.140002fa0
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
jne 0x1400674e0
mov eax, 1
xchg byte [0x1401be131], al
movzx ecx, byte [0x1402ad2a5]
test cl, cl
je 0x1400674d0
cmp dword [rbp + 0x38], 0
je 0x140067972
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x38], eax
jne 0x140067941
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [0x1401be18c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140067966
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
movdqa xmmword [rbp + 0x30], xmm0
xchg byte [0x1401be130], r15b
cmp dword [rbp + 0x38], 0
je 0x140067986
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x60], 0
je 0x1400679b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp + 0x38], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x60], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140158b30
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret