Function at 0x140013170
Capabilities:
Log keystrokes via polling
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
movaps xmmword [rax - 0xa8], xmm14
mov rax, qword [0x14014d140]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, rcx
xorps xmm10, xmm10
xorps xmm14, xmm14
xorps xmm13, xmm13
call fcn.140012b90
mov edx, dword [rax + 0x10]
test edx, edx
je 0x140013226
sub edx, 1
je 0x140013202
cmp edx, 2
jne 0x14001328e
call fcn.140029040
mov rsi, qword [rax + 0x118]
call fcn.140029040
mov edi, dword [rax + 0x124]
call fcn.140029040
mov r8d, 8
jmp 0x140013245
call fcn.140029040
mov rsi, qword [rax + 0x118]
call fcn.140029040
mov edi, dword [rax + 0x124]
call fcn.140029040
mov r8d, 7
jmp 0x140013245
call fcn.140029040
mov rsi, qword [rax + 0x118]
call fcn.140029040
mov edi, dword [rax + 0x124]
call fcn.140029040
xor r8d, r8d
mov ebx, dword [rax + 0x128]
lea rdx, [rsp + 0x58]
mov rcx, rbp
call fcn.140012690
mov r9d, edi
mov qword [rsp + 0x20], rsi
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.1400124c0
movss xmm14, dword [rax]
movss xmm13, dword [rax + 4]
call fcn.140051b30
movss xmm12, dword [rax + 8]
movss xmm11, dword [rax + 0xc]
call fcn.140012b90
cmp byte [rax], 0
je 0x140013581
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm7
movaps xmmword [rsp + 0x110], xmm8
movaps xmmword [rsp + 0x100], xmm9
movaps xmmword [rsp + 0xa0], xmm15
call fcn.140012b90
mulss xmm11, dword [0x14013f670]
movaps xmm0, xmm13
mulss xmm12, dword [0x14013f670]
xorps xmm9, xmm9
movss xmm15, dword [rax + 0x34]
subss xmm0, xmm11
movsd xmm1, qword [0x14013f6b0]
xorps xmm8, xmm8
addss xmm15, dword [0x14013f678]
movss dword [rsp + 0x30], xmm0
movaps xmm0, xmm14
subss xmm0, xmm12
movss dword [rsp + 0x50], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x14013f6b0]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0x30]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x120]
ucomiss xmm1, xmm0
ja 0x140013371
xorps xmm6, xmm6
sqrtss xmm6, xmm0
jmp 0x140013379
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
ucomiss xmm14, xmm10
movss xmm2, dword [0x14013f860]
jp 0x140013389
je 0x1400133e1
comiss xmm14, xmm12
jbe 0x1400133bc
movaps xmm9, xmm12
movaps xmm0, xmm12
subss xmm9, xmm14
addss xmm0, xmm12
xorps xmm9, xmm2
divss xmm9, xmm15
movaps xmm1, xmm9
addss xmm1, xmm12
comiss xmm1, xmm0
jbe 0x1400133bc
xorps xmm9, xmm9
comiss xmm12, xmm14
jbe 0x1400133e1
movss xmm9, dword [rsp + 0x50]
divss xmm9, xmm15
movaps xmm0, xmm9
addss xmm0, xmm12
comiss xmm10, xmm0
jbe 0x1400133e1
xorps xmm9, xmm9
ucomiss xmm13, xmm10
jp 0x1400133e9
je 0x140013441
comiss xmm13, xmm11
jbe 0x14001341c
movaps xmm8, xmm11
movaps xmm0, xmm11
subss xmm8, xmm13
addss xmm0, xmm11
xorps xmm8, xmm2
divss xmm8, xmm15
movaps xmm1, xmm8
addss xmm1, xmm11
comiss xmm1, xmm0
jbe 0x14001341c
xorps xmm8, xmm8
comiss xmm11, xmm13
jbe 0x140013441
movss xmm8, dword [rsp + 0x30]
divss xmm8, xmm15
movaps xmm0, xmm8
addss xmm0, xmm11
comiss xmm10, xmm0
jbe 0x140013441
xorps xmm8, xmm8
call fcn.140012b90
movaps xmm15, xmmword [rsp + 0xa0]
movss xmm0, dword [rax + 0x30]
comiss xmm0, xmm6
jbe 0x140013567
call fcn.140012b90
mov ecx, dword [rax + 0x38]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140013567
xorps xmm0, xmm0
cvtss2sd xmm0, xmm8
divsd xmm0, qword [0x14013f6a0]
subsd xmm0, qword [0x14013f6a8]
cvtpd2ps xmm6, xmm0
call fcn.1400121e0
mov rsi, rax
test rax, rax
jne 0x1400134a5
xor r9d, r9d
jmp 0x14001352a
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x14001349d
movsxd rax, dword [rsi + 0x3c]
cmp dword [rax + rsi], 0x4550
jne 0x14001349d
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x14001349d
mov ebp, dword [rcx + rsi + 0x1c]
xor edi, edi
mov ebx, dword [rcx + rsi + 0x20]
mov qword [rsp + 0x168], r14
add rbx, rsi
mov qword [rsp + 0x170], r15
mov r15d, dword [rcx + rsi + 0x24]
lea r14, [rsi + rbp]
add r15, rsi
test ebp, ebp
je 0x140013517
mov edx, dword [rbx]
lea rcx, str.SendInput
add rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400135c0
inc edi
add rbx, 4
cmp edi, ebp
jb 0x1400134f4
xor r9d, r9d
mov r15, qword [rsp + 0x170]
mov r14, qword [rsp + 0x168]
cvttss2si eax, xmm9
mov r8d, 0x28
mov dword [rsp + 0x68], 0
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x78], 0
mov ecx, 1
mov qword [rsp + 0x7c], 1
mov dword [rsp + 0x70], eax
cvttss2si eax, xmm6
mov dword [rsp + 0x74], eax
call r9
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm9, xmmword [rsp + 0x100]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14007eba0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
movzx ecx, word [r15 + rdi*2]
mov r9d, dword [r14 + rcx*4]
add r9, rsi
jmp 0x14001351a