Function at 0x140047c30
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 - 0x1b8]
sub rsp, 0x290
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 + 0x108], 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]
movabs rdi, 0x6c80d901b2036407
sub rcx, qword [0x14039aa48]
movss xmm10, dword [0x140391778]
movss xmm11, dword [0x1403915f8]
movd xmm12, eax
mov rax, rdi
imul rcx
cvtdq2ps xmm12, xmm12
sar rdx, 7
mulss xmm12, dword [0x14039152c]
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140048676
cmp byte [0x14039a76f], bl
je 0x140047d7f
movabs rax, 0x2e0000000000005
cmp qword [0x140399f20], rax
jne 0x140047d7f
mov rcx, qword [0x140399ef0]
lea edx, [rbx + 0xb]
add rcx, 0x40
mov r8d, 0x2a5
call fcn.140046440
cmp byte [0x140399f85], bl
mulss xmm0, dword [0x1403916f4]
addss xmm0, dword [0x1403916c0]
movss dword [0x140398074], xmm0
je 0x140047d7f
mov dword [0x140398074], 0x42dc0000
mov rcx, qword [0x14039aa50]
mov rax, rdi
sub rcx, qword [0x14039aa48]
xorps xmm9, xmm9
and dword [rsp + 0x20], ebx
mov r12d, ebx
and dword [rsp + 0x24], ebx
and dword [rsp + 0x30], ebx
and dword [rsp + 0x34], ebx
and dword [rsp + 0x38], ebx
imul rcx
movss dword [rsp + 0x28], xmm9
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140048676
mov r14d, dword [rsp + 0x38]
mov rdi, rbx
movsd xmm8, qword [rsp + 0x30]
cmp byte [0x14039a768], bl
mov rcx, qword [0x14039aa48]
jne 0x140047fa6
cmp byte [rcx + rdi + 0xd0], bl
je 0x1400481c4
cmp byte [rcx + rdi + 0xd2], bl
je 0x1400481c4
cmp byte [rcx + rdi + 0xd1], bl
je 0x1400481c4
mov eax, dword [0x1403980d4]
cmp eax, 1
jne 0x140047e2f
movsd xmm0, qword [rcx + rdi + 0xe6]
mov eax, dword [rcx + rdi + 0xee]
jmp 0x140047e5b
cmp eax, 2
jne 0x140047e46
movsd xmm0, qword [rcx + rdi + 0x116]
mov eax, dword [rcx + rdi + 0x11e]
jmp 0x140047e5b
cmp eax, 3
jne 0x140047e7b
movsd xmm0, qword [rcx + rdi + 0x122]
mov eax, dword [rcx + rdi + 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 [rcx + rdi + 0xf2]
mov ebx, dword [rcx + rdi + 0xfa]
test r13b, r13b
je 0x140047ee8
lea rdx, [rbp - 0x1c]
call fcn.14003ee74
lea rdx, [rbp - 0x10]
call fcn.14003ee74
lea rdx, [rbp - 4]
call fcn.14003ee74
lea rdx, [rbp - 0x70]
movsd qword [rbp - 0x70], xmm6
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x68], ebx
call fcn.140047314
movsd xmm0, qword [rsp + 0x20]
lea r8, [rbp - 0x60]
mov ebx, dword [rsp + 0x28]
lea rdx, [rsp + 0x50]
movsd qword [rbp - 0x60], xmm0
mov dword [rbp - 0x58], ebx
call fcn.14003f034
movd xmm9, ebx
jmp 0x140047eff
lea r8, [rbp - 0x50]
movsd qword [rbp - 0x50], xmm8
lea rdx, [rbp - 0x80]
mov dword [rbp - 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 0x140047f78
movss xmm1, dword [0x1403980a4]
comiss xmm1, xmm2
jb 0x140047f78
xor ebx, ebx
cmp byte [0x14039a76e], bl
jne 0x140047f86
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 0x1400481bb
xor ebx, ebx
cmp byte [0x14039a76e], bl
je 0x1400481c4
lea rdx, [rbp + 8]
call fcn.14003ee74
lea rdx, [rbp + 0x14]
movss xmm7, dword [rax + 8]
call fcn.14003ee74
lea rdx, [rbp + 0x20]
jmp 0x140048159
cmp byte [rcx + rdi + 0xd0], bl
je 0x1400481c4
cmp byte [rcx + rdi + 0xd2], bl
jne 0x1400481c4
cmp byte [rcx + rdi + 0xd1], bl
je 0x1400481c4
mov rax, qword [0x140399eb0]
cmp qword [rcx + rdi], rax
je 0x1400481c4
mov eax, dword [0x1403980d4]
cmp eax, 1
jne 0x140047ffb
movsd xmm0, qword [rcx + rdi + 0xe6]
mov eax, dword [rcx + rdi + 0xee]
jmp 0x140048027
cmp eax, 2
jne 0x140048012
movsd xmm0, qword [rcx + rdi + 0x116]
mov eax, dword [rcx + rdi + 0x11e]
jmp 0x140048027
cmp eax, 3
jne 0x140048047
movsd xmm0, qword [rcx + rdi + 0x122]
mov eax, dword [rcx + rdi + 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 [rcx + rdi + 0xf2]
mov ebx, dword [rcx + rdi + 0xfa]
test r13b, r13b
je 0x1400480b6
lea rdx, [rbp + 0x2c]
call fcn.14003ee74
lea rdx, [rbp + 0x38]
call fcn.14003ee74
lea rdx, [rbp + 0x44]
call fcn.14003ee74
lea rdx, [rbp - 0x40]
movsd qword [rbp - 0x40], xmm6
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x38], ebx
call fcn.140047314
movsd xmm0, qword [rsp + 0x20]
lea r8, [rsp + 0x70]
mov ebx, dword [rsp + 0x28]
lea rdx, [rbp - 0x24]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], ebx
call fcn.14003f034
movd xmm9, ebx
jmp 0x1400480d0
lea r8, [rsp + 0x40]
movsd qword [rsp + 0x40], xmm8
lea rdx, [rbp - 0x78]
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 0x14004812c
movss xmm1, dword [0x1403980a4]
comiss xmm1, xmm2
jb 0x14004812c
xor ebx, ebx
cmp byte [0x14039a76e], bl
jne 0x14004813a
jmp 0x140047f56
xor ebx, ebx
cmp byte [0x14039a76e], bl
je 0x1400481c4
lea rdx, [rbp - 0x30]
call fcn.14003ee74
lea rdx, [rbp + 0xb8]
movss xmm7, dword [rax + 8]
call fcn.14003ee74
lea rdx, [rsp + 0x58]
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 0x1400481c4
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 rcx, qword [0x14039aa50]
inc r12d
mov r8, qword [0x14039aa48]
movabs rax, 0x6c80d901b2036407
sub rcx, r8
add rdi, 0x12e
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r12d
cmp rax, rdx
jb 0x140047dd8
cmp r15d, 0xffffffff
je 0x140048676
movsxd rax, r15d
imul rdi, rax, 0x12e
cmp byte [0x14039a75e], bl
mov dword [0x140398100], r15d
mov r15d, 4
movss xmm0, dword [r8 + rdi + 0xaa]
movss dword [0x14039a77c], xmm0
je 0x14004859a
mov rax, qword [r8 + rdi + 0x70]
cmp rax, 0x16dd
je 0x14004859a
cmp rax, 0x16ee
je 0x14004859a
movabs rcx, 0xfd1ffffffffffcc9
add rcx, rax
cmp rcx, 0x2c
ja 0x140048289
movabs rdx, 0x100800040025
bt rdx, rcx
jb 0x1400483a7
movabs rcx, 0x2e000000000016c
cmp rax, rcx
je 0x1400483a7
xorps xmm0, xmm0
mov r14, rbx
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
mov rbx, qword [0x14039aa48]
lea rdx, [rbp + 0x50]
add rbx, rdi
mov rcx, rbx
call fcn.14004300c
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov r8d, dword [rax + r14]
call fcn.1400416f0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x78]
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 + 0xd8], xmm0
add r14, r15
cmp r14, 0x30
jl 0x1400482b7
lea r14, [rbp + 0xd8]
lea rax, [rbp + 0xdc]
movss xmm0, dword [r14]
lea rcx, [rbp + 0x108]
comiss xmm0, dword [rax]
cmova r14, rax
add rax, r15
cmp rax, rcx
jne 0x140048359
mov rbx, qword [0x14039aa48]
lea rdx, [rbp + 0x50]
add rbx, rdi
mov rcx, rbx
call fcn.14004300c
lea rcx, [rbp + 0xd8]
sub r14, rcx
mov rcx, rbx
sar r14, 2
movsxd r8, r14d
mov r8d, dword [rax + r8*4]
jmp 0x1400484f9
movdqa xmm1, xmmword [0x1403918a0]
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp + 0xc8], 0x36
movups xmmword [rbp + 0xa0], xmm0
mov dword [rbp + 0xb0], eax
movdqu xmmword [rbp + 0xb8], xmm1
mov rcx, qword [0x14039aa48]
lea rdx, [rsp + 0x58]
mov r8d, dword [rbp + rbx + 0xb8]
add rcx, rdi
call fcn.1400416f0
mov rcx, qword [0x14039aa48]
movsd xmm0, qword [rax]
movsd qword [rsp + 0x40], xmm0
movss xmm0, dword [rcx + rdi + 0x10a]
ucomiss xmm0, dword [rsp + 0x40]
jp 0x140048442
jne 0x140048442
movss xmm0, dword [rcx + rdi + 0x10e]
ucomiss xmm0, dword [rsp + 0x44]
jp 0x140048442
jne 0x140048442
movss xmm1, dword [rcx + rdi + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x140048442
jne 0x140048442
mov dword [rbp + rbx + 0xa0], 0x47c35000
jmp 0x1400484a1
movsd xmm0, qword [rax]
lea r8, [rsp + 0x70]
mov eax, dword [rax + 8]
lea rdx, [rbp - 0x78]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], 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 + rbx + 0xa0], xmm0
add rbx, r15
cmp rbx, 0x14
jl 0x1400483d3
lea rdx, [rbp + 0xa0]
lea rax, [rbp + 0xa4]
movss xmm0, dword [rdx]
lea rcx, [rbp + 0xb4]
comiss xmm0, dword [rax]
cmova rdx, rax
add rax, r15
cmp rax, rcx
jne 0x1400484bc
mov rcx, qword [0x14039aa48]
lea rax, [rbp + 0xa0]
add rcx, rdi
sub rdx, rax
sar rdx, 2
movsxd r8, edx
mov r8d, dword [rbp + r8*4 + 0xb8]
lea rdx, [rsp + 0x58]
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 0x14004859a
lea rdx, [rsp + 0x58]
call fcn.14003ee74
lea rdx, [rbp + 0xb8]
call fcn.14003ee74
lea rdx, [rbp - 0x30]
call fcn.14003ee74
mov rax, qword [0x14039aa48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
movsd xmm0, qword [rax + rdi + 0xf2]
mov eax, dword [rax + rdi + 0xfa]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.140047314
movsd xmm0, qword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
movsd qword [rsi], xmm0
mov dword [rsi + 8], eax
mov ecx, dword [0x1403980a8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048676
cmp byte [0x14039a70c], bl
je 0x140048676
movss xmm1, dword [0x140391730]
lea r8, [rbp - 0x80]
movss xmm0, dword [0x140399e34]
mov r9, r15
mulss xmm0, xmm1
cvttss2si rcx, xmm0
movss xmm0, dword [0x140399e30]
shl ecx, 8
mulss xmm0, xmm1
cvttss2si rax, xmm0
movss xmm0, dword [0x140399e2c]
or ecx, eax
mulss xmm0, xmm1
shl ecx, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x140399e28]
or ecx, eax
mulss xmm0, xmm1
shl ecx, 8
cvttss2si rax, xmm0
or ecx, eax
mov rax, qword [0x14039aa48]
mov dword [0x1403980b8], ecx
mov dword [rbp - 0x80], ecx
mov rcx, qword [0x14039a7c0]
mov rdx, qword [rax + rdi + 0x38]
add rdx, 0x144
call fcn.14006a89c
mov eax, dword [0x1403980b8]
lea r8, [rsp + 0x50]
mov rcx, qword [0x14039a7c0]
mov r9, r15
mov dword [rsp + 0x50], eax
mov rax, qword [0x14039aa48]
mov rdx, qword [rax + rdi + 0x38]
add rdx, 0x130
call fcn.14006a89c
movabs rax, 0x2e0000000000200
cmp qword [0x140399f20], rax
jne 0x140048763
mov rcx, qword [0x14039aa28]
mov rdx, qword [0x14039aa30]
jmp 0x1400486bd
movsd xmm0, qword [rcx + 0x10]
movabs r9, 0x400000000002533
movsd qword [rbp + 0xc8], xmm0
cmp qword [rcx], r9
je 0x1400486c7
add rcx, 0x1c
cmp rcx, rdx
jne 0x14004869d
jmp 0x140048763
movd xmm9, dword [rcx + 0x18]
lea r8, [rsp + 0x30]
movss xmm7, dword [rbp + 0xc8]
lea rdx, [rsp + 0x50]
movss xmm8, dword [rbp + 0xcc]
movss dword [rsp + 0x30], xmm7
movss dword [rsp + 0x34], xmm8
movss dword [rsp + 0x38], xmm9
call fcn.14003f034
movss xmm0, dword [rsp + 0x50]
movaps xmm1, xmm11
subss xmm0, xmm12
call fcn.14006bc80
movaps xmm6, xmm0
movaps xmm1, xmm11
movss xmm0, dword [rsp + 0x54]
subss xmm0, xmm13
call fcn.14006bc80
addss xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
jbe 0x14004874b
movss xmm1, dword [0x1403980a4]
comiss xmm1, xmm0
jae 0x140048753
cmp byte [0x14039a76e], bl
je 0x140048763
movss dword [rsi], xmm7
movss dword [rsi + 4], xmm8
movss dword [rsi + 8], xmm9
mov rax, rsi
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.14006aa80
lea r11, [rsp + 0x290]
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