Function at 0x140043830
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x120
movaps xmmword [rsp + 0xa0], xmm13
mov rax, qword [0x1401bc080]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp byte [reloc.WS2_32.dll_accept], 0
movaps xmm13, xmm2
mov ebx, dword [0x1402c2a44]
mov edi, dword [0x1402c2a60]
je 0x140043b4b
mov ecx, dword [reloc.WS2_32.dll_select]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140043b4b
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400438a4
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1402bfccc], 0x7fffffff
jne 0x1400438c6
mov ecx, 6
mov dword [0x1402bfccc], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [reloc.WLDAP32.dll_Ordinal_35]
xorps xmm1, xmm1
movaps xmmword [rsp + 0x100], xmm7
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [0x1402c07ec]
mov dword [0x1402c29c4], eax
movaps xmmword [rsp + 0xe0], xmm9
xorps xmm7, xmm7
movaps xmmword [rsp + 0xd0], xmm10
xorps xmm9, xmm9
movaps xmmword [rsp + 0xc0], xmm11
xorps xmm10, xmm10
cvtsi2sd xmm1, ebx
mov ebx, 1
movaps xmmword [rsp + 0xb0], xmm12
xorps xmm11, xmm11
movaps xmmword [rsp + 0x90], xmm14
xorps xmm12, xmm12
movsd xmm14, qword [0x1401a8b18]
comisd xmm13, xmm14
movaps xmmword [rsp + 0x80], xmm15
xorps xmm15, xmm15
cvtsi2sd xmm15, edi
divsd xmm1, xmm13
divsd xmm15, xmm13
mulsd xmm1, xmm0
mulsd xmm15, xmm0
movsd qword [rsp + 0x40], xmm1
jb 0x140043b00
mov qword [rsp + 0x130], rsi
movaps xmm2, xmm14
movaps xmmword [rsp + 0x110], xmm6
xor esi, esi
movaps xmmword [rsp + 0xf0], xmm8
nop
divsd xmm1, xmm2
lea rdx, [rsp + 0x48]
cvttsd2si edi, xmm1
movaps xmm1, xmm15
divsd xmm1, xmm2
cvttsd2si eax, xmm1
movd xmm8, eax
cvtdq2pd xmm8, xmm8
movaps xmm0, xmm8
movsd qword [rsp + 0x48], xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
addsd xmm11, xmm0
comisd xmm11, xmm14
jbe 0x1400439ea
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x50], xmm12
movaps xmm0, xmm11
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
movaps xmm11, xmm0
movd xmm6, edi
lea rdx, [rsp + 0x50]
cvtdq2pd xmm6, xmm6
movaps xmm0, xmm6
movsd qword [rsp + 0x50], xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
addsd xmm7, xmm0
comisd xmm7, xmm14
jbe 0x140043a29
lea rdx, [rsp + 0x48]
movsd qword [rsp + 0x48], xmm12
movaps xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
movaps xmm7, xmm0
cmp byte [0x1402c5659], sil
movaps xmm0, xmm8
mov rcx, qword [0x1402c0760]
subsd xmm0, xmm9
movaps xmm1, xmm6
subsd xmm1, xmm10
lea rax, [rcx - 1]
cvttsd2si edx, xmm0
cvttsd2si r8d, xmm1
je 0x140043a86
cmp rax, 0xfffffffffffffffd
ja 0x140043ac4
movd xmm0, r8d
lea r8, [rsp + 0x58]
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x58], edx
mov word [rsp + 0x60], si
addsd xmm0, qword [0x1402c5650]
cvttsd2si eax, xmm0
mov dword [rsp + 0x5c], eax
jmp 0x140043a9f
cmp rax, 0xfffffffffffffffd
ja 0x140043ac4
mov dword [rsp + 0x6c], r8d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], edx
mov word [rsp + 0x70], si
mov edx, dword [0x1402c0758]
mov r9d, ntohs
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movsd xmm1, qword [rsp + 0x40]
inc ebx
movaps xmm9, xmm8
movaps xmm10, xmm6
movd xmm2, ebx
cvtdq2pd xmm2, xmm2
comisd xmm13, xmm2
jae 0x140043990
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x110]
mov rsi, qword [rsp + 0x130]
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movaps xmm15, xmmword [rsp + 0x80]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm12, xmmword [rsp + 0xb0]
movaps xmm11, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c2d60
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop rdi
ret