Function at 0x140048ca8
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x140398010]
xor rax, rsp
mov qword [rbp + 0x128], rax
xor ebx, ebx
mov rsi, rcx
mov qword [rcx], rbx
mov r13b, dl
mov dword [rcx + 8], ebx
or r15d, 0xffffffff
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm13, eax
cvtdq2ps xmm13, xmm13
mulss xmm13, dword [0x14039152c]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x14039aa50]
xorps xmm9, xmm9
mov r8, qword [0x14039aa48]
and dword [rsp + 0x20], ebx
sub rcx, r8
and dword [rsp + 0x24], ebx
and dword [rsp + 0x30], ebx
and dword [rsp + 0x34], ebx
and dword [rsp + 0x38], ebx
movss xmm10, dword [0x140391778]
movd xmm12, eax
movabs rax, 0x6c80d901b2036407
imul rcx
cvtdq2ps xmm12, xmm12
sar rdx, 7
mulss xmm12, dword [0x14039152c]
mov rax, rdx
shr rax, 0x3f
movss dword [rsp + 0x28], xmm9
add rdx, rax
je 0x1400496e4
movss xmm11, dword [0x1403915f8]
mov r12d, ebx
mov r14d, dword [rsp + 0x38]
mov edi, ebx
movsd xmm8, qword [rsp + 0x30]
cmp byte [0x14039a72d], bl
jne 0x140048ffd
cmp byte [rdi + r8 + 0xd0], bl
je 0x14004924b
cmp byte [rdi + r8 + 0xd2], bl
je 0x14004924b
cmp byte [rdi + r8 + 0xd1], bl
je 0x14004924b
mov eax, dword [0x1403980d8]
cmp eax, 1
jne 0x140048e1e
movsd xmm0, qword [rdi + r8 + 0xe6]
mov eax, dword [rdi + r8 + 0xee]
jmp 0x140048e4e
cmp eax, 2
jne 0x140048e37
movsd xmm0, qword [rdi + r8 + 0x116]
mov eax, dword [rdi + r8 + 0x11e]
jmp 0x140048e4e
cmp eax, 3
jne 0x140048e6e
movsd xmm0, qword [rdi + r8 + 0x122]
mov eax, dword [rdi + r8 + 0x12a]
movsd qword [rsp + 0x20], xmm0
movaps xmm8, xmm0
mov dword [rsp + 0x28], eax
mov r14d, eax
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
movd xmm9, eax
movsd xmm6, qword [rdi + r8 + 0xf2]
mov ebx, dword [rdi + r8 + 0xfa]
test r13b, r13b
je 0x140048edc
lea rdx, [rbp - 0x1c]
call fcn.14003ee74
lea rdx, [rbp - 0x10]
call fcn.14003ee74
lea rdx, [rbp - 4]
call fcn.14003ee74
lea rdx, [rbp - 0x80]
movsd qword [rbp - 0x80], xmm6
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x78], ebx
call fcn.14004768c
movsd xmm0, qword [rsp + 0x20]
lea r8, [rbp - 0x70]
mov ebx, dword [rsp + 0x28]
lea rdx, [rbp - 0x34]
movsd qword [rbp - 0x70], xmm0
mov dword [rbp - 0x68], ebx
call fcn.14003f034
movd xmm9, ebx
jmp 0x140048ef3
lea r8, [rbp - 0x60]
movsd qword [rbp - 0x60], xmm8
lea rdx, [rbp - 0x2c]
mov dword [rbp - 0x58], r14d
call fcn.14003f034
movss xmm0, dword [rax + 4]
movaps xmm1, xmm11
movss xmm7, dword [rax]
subss xmm0, xmm13
call fcn.14006bc80
subss xmm7, xmm12
movaps xmm6, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm7
call fcn.14006bc80
addss xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov al, byte [0x14039a76e]
xor ebx, ebx
movaps xmm1, xmm0
test al, al
je 0x140048f9c
lea rdx, [rbp + 8]
call fcn.14003ee74
lea rdx, [rbp + 0x14]
movss xmm7, dword [rax + 8]
call fcn.14003ee74
lea rdx, [rbp + 0x20]
movss xmm6, dword [rax + 4]
call fcn.14003ee74
movss xmm0, dword [rsp + 0x20]
movaps xmm2, xmm9
movss xmm1, dword [rsp + 0x24]
subss xmm2, xmm7
subss xmm1, xmm6
subss xmm0, dword [rax]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
addss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov al, byte [0x14039a76e]
movaps xmm1, xmm0
comiss xmm10, xmm1
jbe 0x140048fd5
movss xmm0, dword [0x1403980a4]
comiss xmm0, xmm1
jb 0x140048fd5
test al, al
jne 0x140048fdd
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movaps xmm10, xmm1
cmove rax, rcx
movsd xmm0, qword [rax]
movsd qword [rsi], xmm0
jmp 0x14004923b
test al, al
je 0x140049244
lea rdx, [rbp + 0x2c]
call fcn.14003ee74
lea rdx, [rbp + 0x38]
movss xmm7, dword [rax + 8]
call fcn.14003ee74
lea rdx, [rbp + 0x44]
jmp 0x1400491d9
cmp byte [rdi + r8 + 0xd0], bl
je 0x14004924b
cmp byte [rdi + r8 + 0xd2], bl
jne 0x14004924b
cmp byte [rdi + r8 + 0xd1], bl
je 0x14004924b
mov rax, qword [0x140399eb0]
cmp qword [rdi + r8], rax
je 0x14004924b
mov eax, dword [0x1403980d4]
cmp eax, 1
jne 0x140049057
movsd xmm0, qword [rdi + r8 + 0xe6]
mov eax, dword [rdi + r8 + 0xee]
jmp 0x140049087
cmp eax, 2
jne 0x140049070
movsd xmm0, qword [rdi + r8 + 0x116]
mov eax, dword [rdi + r8 + 0x11e]
jmp 0x140049087
cmp eax, 3
jne 0x1400490a7
movsd xmm0, qword [rdi + r8 + 0x122]
mov eax, dword [rdi + r8 + 0x12a]
movsd qword [rsp + 0x20], xmm0
movaps xmm8, xmm0
mov dword [rsp + 0x28], eax
mov r14d, eax
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
movd xmm9, eax
movsd xmm6, qword [rdi + r8 + 0xf2]
mov ebx, dword [rdi + r8 + 0xfa]
test r13b, r13b
je 0x140049118
lea rdx, [rbp + 0x50]
call fcn.14003ee74
lea rdx, [rbp + 0x5c]
call fcn.14003ee74
lea rdx, [rbp + 0x68]
call fcn.14003ee74
lea rdx, [rbp - 0x50]
movsd qword [rbp - 0x50], xmm6
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x48], ebx
call fcn.14004768c
movsd xmm0, qword [rsp + 0x20]
lea r8, [rsp + 0x60]
mov ebx, dword [rsp + 0x28]
lea rdx, [rbp - 0x24]
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], ebx
call fcn.14003f034
movd xmm9, ebx
jmp 0x140049133
lea r8, [rsp + 0x40]
movsd qword [rsp + 0x40], xmm8
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x48], r14d
call fcn.14003f034
movss xmm0, dword [rax + 4]
movaps xmm1, xmm11
movss xmm7, dword [rax]
subss xmm0, xmm13
call fcn.14006bc80
subss xmm7, xmm12
movaps xmm6, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm7
call fcn.14006bc80
addss xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm2, xmm0
comiss xmm10, xmm2
jbe 0x1400491ac
movss xmm1, dword [0x1403980a4]
comiss xmm1, xmm2
jb 0x1400491ac
xor ebx, ebx
cmp byte [0x14039a76e], bl
jne 0x1400491ba
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movaps xmm10, xmm2
cmove rax, rcx
movsd xmm0, qword [rax]
movsd qword [rsi], xmm0
jmp 0x14004923b
xor ebx, ebx
cmp byte [0x14039a76e], bl
je 0x140049244
lea rdx, [rbp - 0x40]
call fcn.14003ee74
lea rdx, [rbp + 0xe8]
movss xmm7, dword [rax + 8]
call fcn.14003ee74
lea rdx, [rsp + 0x50]
movss xmm6, dword [rax + 4]
call fcn.14003ee74
movss xmm1, dword [rsp + 0x24]
movaps xmm2, xmm9
movss xmm0, dword [rsp + 0x20]
subss xmm1, xmm6
subss xmm2, xmm7
subss xmm0, dword [rax]
mulss xmm1, xmm1
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
jbe 0x140049244
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movaps xmm10, xmm0
cmove rax, rcx
movsd xmm1, qword [rax]
movsd qword [rsi], xmm1
mov eax, dword [rax + 8]
mov r15d, r12d
mov dword [rsi + 8], eax
mov r8, qword [0x14039aa48]
mov rcx, qword [0x14039aa50]
inc r12d
sub rcx, r8
movabs rax, 0x6c80d901b2036407
imul rcx
add rdi, 0x12e
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r12d
cmp rax, rdx
jb 0x140048dc9
cmp r15d, 0xffffffff
je 0x1400496e4
movsxd rax, r15d
imul rdi, rax, 0x12e
cmp byte [0x14039a783], bl
mov dword [0x140398100], r15d
movss xmm0, dword [rdi + r8 + 0xaa]
movss dword [0x14039a77c], xmm0
je 0x140049624
mov rax, qword [rdi + r8 + 0x70]
cmp rax, 0x16dd
je 0x140049624
cmp rax, 0x16ee
je 0x140049624
movabs rcx, 0xfd1ffffffffffcc9
add rcx, rax
cmp rcx, 0x2c
ja 0x140049303
movabs rdx, 0x100800040025
bt rdx, rcx
jb 0x14004942e
movabs rcx, 0x2e000000000016c
cmp rax, rcx
je 0x14004942e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x120], rax
mov r14, rbx
movups xmmword [rbp + 0x110], xmm0
lea rbx, [rdi + r8]
mov rcx, rbx
lea rdx, [rbp + 0x80]
call fcn.14004300c
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov r8d, dword [rax + r14]
call fcn.1400416f0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.14003f034
movaps xmm1, xmm11
movss xmm0, dword [rax + 4]
movss xmm7, dword [rax]
subss xmm0, xmm13
call fcn.14006bc80
subss xmm7, xmm12
movaps xmm6, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm7
call fcn.14006bc80
addss xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rbp + r14 + 0x100], xmm0
add r14, 4
cmp r14, 0x28
jge 0x1400493ce
mov r8, qword [0x14039aa48]
jmp 0x140049333
lea r14, [rbp + 0x100]
lea rax, [rbp + 0x104]
movss xmm0, dword [r14]
lea rcx, [rbp + 0x128]
comiss xmm0, dword [rax]
cmova r14, rax
add rax, 4
cmp rax, rcx
jne 0x1400493dc
mov rbx, qword [0x14039aa48]
lea rdx, [rbp + 0x80]
add rbx, rdi
mov rcx, rbx
call fcn.14004300c
lea rcx, [rbp + 0x100]
sub r14, rcx
mov rcx, rbx
sar r14, 2
movsxd r8, r14d
mov r8d, dword [rax + r8*4]
jmp 0x140049581
movdqa xmm1, xmmword [0x1403918a0]
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp + 0xf8], 0x36
movups xmmword [rbp + 0xd0], xmm0
mov dword [rbp + 0xe0], eax
movdqu xmmword [rbp + 0xe8], xmm1
lea rcx, [rdi + r8]
mov r8d, dword [rbp + rbx + 0xe8]
lea rdx, [rsp + 0x50]
call fcn.1400416f0
mov r8, qword [0x14039aa48]
movsd xmm0, qword [rax]
movsd qword [rsp + 0x40], xmm0
movss xmm0, dword [rdi + r8 + 0x10a]
ucomiss xmm0, dword [rsp + 0x40]
jp 0x1400494c6
jne 0x1400494c6
movss xmm0, dword [rdi + r8 + 0x10e]
ucomiss xmm0, dword [rsp + 0x44]
jp 0x1400494c6
jne 0x1400494c6
movss xmm1, dword [rdi + r8 + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x1400494c6
jne 0x1400494c6
mov dword [rbp + rbx + 0xd0], 0x47c35000
jmp 0x14004952d
movsd xmm0, qword [rax]
lea r8, [rsp + 0x60]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x70]
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], eax
call fcn.14003f034
movaps xmm1, xmm11
movss xmm0, dword [rax + 4]
movss xmm7, dword [rax]
subss xmm0, xmm13
call fcn.14006bc80
subss xmm7, xmm12
movaps xmm6, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm7
call fcn.14006bc80
addss xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov r8, qword [0x14039aa48]
movss dword [rbp + rbx + 0xd0], xmm0
add rbx, 4
cmp rbx, 0x14
jl 0x14004945a
lea rax, [rbp + 0xd0]
lea rcx, [rbp + 0xd4]
movss xmm0, dword [rax]
lea rdx, [rbp + 0xe4]
comiss xmm0, dword [rcx]
cmova rax, rcx
add rcx, 4
cmp rcx, rdx
jne 0x140049549
lea rcx, [rdi + r8]
lea rdx, [rbp + 0xd0]
sub rax, rdx
sar rax, 2
movsxd r8, eax
mov r8d, dword [rbp + r8*4 + 0xe8]
lea rdx, [rsp + 0x50]
call fcn.1400416f0
xor ebx, ebx
movsd xmm2, qword [rax]
mov ecx, dword [rax + 8]
movsd qword [rsp + 0x30], xmm2
movss xmm1, dword [rsp + 0x34]
movss xmm0, dword [rsp + 0x30]
movsd qword [rsi], xmm2
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x20], xmm0
mov dword [rsi + 8], ecx
mov dword [rsp + 0x28], ecx
test r13b, r13b
je 0x140049624
mov rax, qword [0x14039aa48]
lea rdx, [rsp + 0x50]
movsd xmm6, qword [rdi + rax + 0xf2]
mov ebx, dword [rdi + rax + 0xfa]
call fcn.14003ee74
lea rdx, [rbp + 0xe8]
call fcn.14003ee74
lea rdx, [rbp - 0x40]
call fcn.14003ee74
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x48], ebx
call fcn.140047314
movsd xmm0, qword [rsp + 0x20]
xor ebx, ebx
mov eax, dword [rsp + 0x28]
movsd qword [rsi], xmm0
mov dword [rsi + 8], eax
mov ecx, dword [0x1403980e4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400496e4
cmp byte [0x14039a70c], bl
je 0x1400496e4
movss xmm1, dword [0x140391730]
movss xmm0, dword [0x140399e14]
mov rcx, qword [0x14039aa48]
mulss xmm0, xmm1
mov rdx, qword [rdi + rcx + 0x38]
cvttss2si r8, xmm0
add rdx, 0x144
movss xmm0, dword [0x140399e10]
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x140399e0c]
or r8d, eax
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x140399e08]
or r8d, eax
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
or r8d, eax
mov dword [0x1403980b8], r8d
call fcn.140068410
mov rcx, qword [0x14039aa48]
mov r8d, dword [0x1403980b8]
mov rdx, qword [rdi + rcx + 0x38]
add rdx, 0x130
call fcn.140068410
mov rax, rsi
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.14006aa80
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret