Function at 0x140052720
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x128]
sub rsp, 0x220
mov rax, qword [0x1400f1140]
xor rax, rsp
mov qword [rbp + 0x50], rax
movsxd rax, dword [0x1400f2090]
xor ecx, ecx
mov qword [rbp - 0x70], rax
mov rax, qword [0x1400f2098]
add rax, 0x10aec0b8
mov qword [r11 + 0x10], rsi
mov qword [rbp - 0x68], rax
xor esi, esi
mov qword [r11 + 0x18], rdi
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], rax
lea rdi, [rbp - 0x78]
xor eax, eax
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x58], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov qword [r11 - 0x18], r13
mov qword [rbp - 0x10], rsi
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x10]
lea rdi, [rbp - 0x78]
movsxd rax, dword [0x1400f2090]
mov qword [rbp - 0x70], rax
mov qword [0x1400f20e0], rcx
lea rax, [rcx + 0x1b8]
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x58], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x10], rsi
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x10]
lea rdi, [rbp - 0x78]
movsxd rax, dword [0x1400f2090]
mov qword [rbp - 0x70], rax
mov qword [0x1400f20e8], rcx
lea rax, [rcx + 0x38]
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x58], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x10], rsi
call qword [0x1400f2088]
movsxd rax, dword [0x1400f2090]
lea rdi, [rbp + 0x20]
mov qword [rbp + 0x28], rax
xor ecx, ecx
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x38], rax
xor eax, eax
mov qword [rbp + 0x20], 3
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x40], 8
rep stosb byte [rdi], al
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x40], rsi
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x40]
movsxd rax, dword [0x1400f2090]
mov qword [rbp - 0x70], rax
mov qword [0x1400f20f0], rcx
lea rax, [rcx + 0x30]
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x68], rax
lea rdi, [rbp - 0x78]
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], 8
mov qword [rbp - 0x60], rax
xor ecx, ecx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x40]
lea rdi, [rbp - 0x78]
movsxd rax, dword [0x1400f2090]
mov qword [rbp - 0x70], rax
mov qword [0x1400f20f8], rcx
lea rax, [rcx + 0x338]
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbp - 0x40]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x58], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x40], rsi
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x40]
mov qword [0x1400f2100], rcx
test rcx, rcx
je 0x140052ab8
movsxd rax, dword [0x1400f2090]
lea rdi, [rbp - 0x78]
mov qword [rbp - 0x70], rax
lea rax, [rcx + 0x198]
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbp - 0x40]
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x58], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x40], rsi
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x40]
lea rdi, [rbp - 0x78]
movsxd rax, dword [0x1400f2090]
xorps xmm0, xmm0
mov qword [rbp - 0x70], rax
mov qword [0x1400f2108], rcx
lea rax, [rcx + 0x128]
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rsp + 0x60]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x58], Ordinal_27
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [0x1400f2088]
movsxd rax, dword [0x1400f2090]
lea rdi, [rbp - 0x78]
movups xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x70], rax
xor ecx, ecx
mov rax, qword [0x1400f2100]
add rax, 0x2b0
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x58], 8
rep stosb byte [rdi], al
movups xmmword [0x1400f1038], xmm0
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x40], rsi
movsd xmm0, qword [rsp + 0x70]
movsd qword [0x1400f1048], xmm0
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x40]
lea rdi, [rbp - 0x78]
movsxd rax, dword [0x1400f2090]
mov qword [rbp - 0x70], rax
mov qword [0x1400f2110], rcx
lea rax, [rcx + 0x10e0]
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x58], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov dword [rbp - 0x10], esi
call qword [0x1400f2088]
mov eax, dword [rbp - 0x10]
mov dword [0x1400f2118], eax
movsxd rax, dword [0x1400f2090]
lea rdi, [rbp - 0x78]
mov qword [rbp - 0x70], rax
xor ecx, ecx
mov rax, qword [0x1400f20e0]
add rax, 0x158
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x58], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x40], rsi
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x40]
lea rdi, [rbp - 0x78]
movsxd rax, dword [0x1400f2090]
mov qword [rbp - 0x70], rax
mov qword [0x1400f2120], rcx
lea rax, [rcx + 0x2a8]
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbp - 0x40]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x58], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x40], rsi
call qword [0x1400f2088]
mov rax, qword [rbp - 0x40]
lea rdi, [rbp - 0x78]
mov qword [0x1400f2128], rax
xor ecx, ecx
movsxd rax, dword [0x1400f2090]
mov qword [rbp - 0x70], rax
mov rax, qword [0x1400f2120]
add rax, 0x2b0
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x58], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x78]
mov dword [rbp - 0x10], esi
call qword [0x1400f2088]
mov eax, dword [rbp - 0x10]
mov r13d, esi
mov dword [0x1400f2130], eax
mov dword [0x1400f2134], 0x7f7fffff
mov qword [0x1400f2138], rsi
test eax, eax
je 0x140053238
mov qword [rsp + 0x230], rbx
movaps xmmword [rsp + 0x180], xmm13
movss xmm13, dword [0x1400c8ba0]
movaps xmmword [rsp + 0x170], xmm14
movss xmm14, dword [0x1400c8b88]
movaps xmmword [rsp + 0x160], xmm15
movsd xmm15, qword [0x1400ccf08]
mov qword [rsp + 0x218], r12
mov qword [rsp + 0x208], r14
mov qword [rsp + 0x200], r15
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm7
movaps xmmword [rsp + 0x1d0], xmm8
movaps xmmword [rsp + 0x1c0], xmm9
movaps xmmword [rsp + 0x1b0], xmm10
movaps xmmword [rsp + 0x1a0], xmm11
movaps xmmword [rsp + 0x190], xmm12
nop
movsxd rax, dword [0x1400f2090]
lea rdi, [rbp - 0x10]
mov qword [rbp - 8], rax
mov rax, qword [0x1400f2128]
mov qword [rbp - 0x10], 3
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], 8
mov ecx, r13d
mov qword [rbp - 0x40], rsi
lea rcx, [rax + rcx*8]
mov qword [rbp], rcx
lea rax, [rbp - 0x40]
mov qword [rbp + 8], rax
xor ecx, ecx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x10]
call qword [0x1400f2088]
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x1400531b0
movsxd rax, dword [0x1400f2090]
lea rdi, [rbp - 0x40]
mov qword [rbp - 0x38], rax
xor ecx, ecx
lea rax, [rbx + 0x10e0]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x10], esi
call qword [0x1400f2088]
mov eax, dword [0x1400f2118]
cmp dword [rbp - 0x10], eax
je 0x1400531b0
movsxd rax, dword [0x1400f2090]
lea rdi, [rbp - 0x10]
mov qword [rbp - 8], rax
xor ecx, ecx
lea rax, [rbx + 0x308]
mov qword [rbp - 0x10], 3
mov qword [rbp], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x40], rsi
call qword [0x1400f2088]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400531b0
cmp rcx, qword [0x1400f2100]
je 0x1400531b0
movsxd rax, dword [0x1400f2090]
lea rdi, [rbp - 0x10]
mov qword [rbp - 8], rax
lea rax, [rcx + 0x318]
mov qword [rbp], rax
xor ecx, ecx
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], 3
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x40], rsi
call qword [0x1400f2088]
mov r14, qword [rbp - 0x40]
test r14, r14
je 0x1400531b0
mov r8d, WSASetLastError
lea rcx, [rbp + 0x20]
mov rdx, r14
call fcn.140053520
movups xmm0, xmmword [rbp + 0x20]
lea rdx, [rbp - 0x40]
movsd xmm1, qword [rbp + 0x30]
lea rcx, [rsp + 0x78]
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
call fcn.140055eb0
xor r8d, r8d
lea rcx, [rbp - 0x78]
mov rdx, r14
call fcn.140053520
movups xmm6, xmmword [rbp - 0x78]
lea rdx, [rbp - 0x10]
movsd xmm7, qword [rbp - 0x68]
lea rcx, [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm6
movsd qword [rbp], xmm7
call fcn.140055eb0
movsd xmm8, qword [rbp - 0x80]
movsd xmm12, qword [rsp + 0x68]
movaps xmm0, xmm8
movss xmm1, dword [0x1400c8bd4]
subsd xmm0, xmm12
andps xmm0, xmmword [0x1400ccf40]
cvtpd2ps xmm11, xmm0
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
movaps xmm9, xmm11
subsd xmm0, qword [0x1400f1040]
mulss xmm9, xmm13
cvtsd2ss xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subsd xmm6, qword [0x1400f1038]
movaps xmm10, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
movss xmm6, dword [0x1400c8bd4]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subsd xmm7, qword [0x1400f1048]
addss xmm10, xmm0
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm10, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm10
ja 0x140052ee1
xorps xmm0, xmm0
sqrtss xmm0, xmm10
jmp 0x140052eea
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cmp byte [0x1400f20d6], 0
xorps xmm10, xmm10
movsd xmm6, qword [rsp + 0x78]
cvtss2sd xmm0, xmm0
divsd xmm0, xmm15
cvtsd2ss xmm10, xmm0
je 0x14005313c
cmp byte [0x1400f20d7], 0
je 0x140053018
mov rcx, r14
call fcn.1400541e0
cvttss2si r12d, xmm9
test al, al
lea rax, [rbp - 0x40]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
cvttss2si r15d, xmm11
mov r8d, r12d
mulss xmm9, xmm13
mov r9d, r15d
cvttsd2si edx, xmm8
cvtps2pd xmm7, xmm9
je 0x140052f60
movaps xmm0, xmmword [0x1400cf5e0]
jmp 0x140052f67
movaps xmm0, xmmword [0x1400cf5d0]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmm6
subsd xmm0, xmm7
cvttsd2si ecx, xmm0
call fcn.1400501c0
cmp byte [0x1400f20d8], 0
je 0x140053018
movaps xmm0, xmmword [0x1400cf5b0]
movaps xmm1, xmm6
subsd xmm1, xmm7
movaps xmmword [rbp - 0x40], xmm0
cvttsd2si ebx, xmm8
cvttsd2si edi, xmm1
call fcn.14000d5c0
lea rcx, [rbp - 0x40]
mov rsi, rax
call fcn.14000a660
lea ecx, [r12 + rdi]
mov dword [rsp + 0x28], 0
lea r8, [rsp + 0x30]
mov r9d, eax
lea rdx, [rsp + 0x38]
movd xmm0, ecx
lea ecx, [r15 + rbx]
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
mov rcx, rsi
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x3c], xmm1
movss dword [rsp + 0x20], xmm0
call fcn.1400226d0
xor esi, esi
cmp byte [0x1400f20d9], 0
movups xmm7, xmmword [rsp + 0x60]
je 0x140053112
mov rcx, r14
call fcn.1400541e0
test al, al
je 0x1400530a0
movaps xmm0, xmmword [0x1400cf620]
movaps xmmword [rbp - 0x40], xmm0
call fcn.14000d5c0
lea rcx, [rbp - 0x40]
mov rdi, rax
call fcn.14000a660
xorps xmm0, xmm0
lea r8, [rsp + 0x40]
cvtsd2ss xmm0, xmm7
lea rdx, [rsp + 0x48]
cvtpd2ps xmm1, xmm12
movss dword [rsp + 0x40], xmm0
movd xmm0, dword [0x1400f20c8]
movss dword [rsp + 0x44], xmm1
movd xmm1, dword [0x1400f20c4]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
jmp 0x140053100
movaps xmm0, xmmword [0x1400cf5d0]
movaps xmmword [rbp - 0x40], xmm0
call fcn.14000d5c0
lea rcx, [rbp - 0x40]
mov rdi, rax
call fcn.14000a660
xorps xmm0, xmm0
lea r8, [rsp + 0x50]
cvtsd2ss xmm0, xmm7
lea rdx, [rsp + 0x58]
cvtpd2ps xmm1, xmm12
movss dword [rsp + 0x50], xmm0
movd xmm0, dword [0x1400f20c8]
movss dword [rsp + 0x54], xmm1
movd xmm1, dword [0x1400f20c4]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
mov r9d, eax
movss dword [rsp + 0x20], xmm14
mov rcx, rdi
call fcn.140021540
cmp byte [0x1400f20da], 0
je 0x14005313c
movaps xmm0, xmmword [0x1400cf620]
lea r8, [rbp - 0x40]
movaps xmm1, xmm10
movaps xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm7
call fcn.140050380
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm0, dword [0x1400f20c8]
cvtsi2sd xmm1, dword [0x1400f20cc]
subsd xmm6, xmm0
xorps xmm0, xmm0
subsd xmm8, xmm1
mulsd xmm6, xmm6
mulsd xmm8, xmm8
addsd xmm8, xmm6
cvtpd2ps xmm1, xmm8
ucomiss xmm0, xmm1
ja 0x14005317f
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140053187
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1400f1014]
comiss xmm1, xmm0
jb 0x1400531b0
movss xmm1, dword [0x1400f2134]
comiss xmm1, xmm0
jbe 0x1400531b0
movss dword [0x1400f2134], xmm0
mov qword [0x1400f2138], r14
inc r13d
cmp r13d, dword [0x1400f2130]
jb 0x140052c70
movaps xmm15, xmmword [rsp + 0x160]
movaps xmm14, xmmword [rsp + 0x170]
movaps xmm13, xmmword [rsp + 0x180]
movaps xmm12, xmmword [rsp + 0x190]
movaps xmm11, xmmword [rsp + 0x1a0]
movaps xmm10, xmmword [rsp + 0x1b0]
movaps xmm9, xmmword [rsp + 0x1c0]
movaps xmm8, xmmword [rsp + 0x1d0]
movaps xmm7, xmmword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x1f0]
mov r15, qword [rsp + 0x200]
mov r14, qword [rsp + 0x208]
mov r12, qword [rsp + 0x218]
mov rbx, qword [rsp + 0x230]
cmp byte [0x1400f20d4], 0
mov r13, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x240]
mov rsi, qword [rsp + 0x238]
je 0x140053276
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140053276
mov rcx, qword [0x1400f2138]
call fcn.14004ee60
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400c1880
add rsp, 0x220
pop rbp
ret