Function at 0x140002760
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1558
call fcn.14008d9e0
sub rsp, rax
mov rax, qword [0x1400bb040]
xor rax, rsp
mov qword [rsp + 0x1540], rax
call fcn.14008ba60
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x1570]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x4c], eax
mov r9d, dword [rsp + 0x4c]
mov r8, qword [rsp + 0x1578]
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0x78]
call fcn.14008bb20
call fcn.14008ba60
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x198]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x80]
call fcn.14008bca0
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x120]
call fcn.140001910
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.140001950
test eax, eax
je 0x140002858
jmp 0x140002ea6
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x38], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x3c], eax
cvtss2sd xmm0, dword [rsp + 0x174]
cvtss2sd xmm1, dword [rsp + 0x170]
cvtsi2sd xmm2, dword [rsp + 0x3c]
cvtsi2sd xmm3, dword [rsp + 0x38]
movsd qword [rsp + 0x88], xmm3
movsd qword [rsp + 0x20], xmm0
movaps xmm3, xmm1
movsd xmm0, qword [rsp + 0x88]
movaps xmm1, xmm0
lea rcx, [rsp + 0x179]
call fcn.140002ec0
movss dword [rsp + 0x48], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x178]
call fcn.140002020
mov edx, eax
lea rcx, [rsp + 0x1b0]
call fcn.140003040
movss xmm2, dword [0x1400b28f0]
movss xmm1, dword [0x1400b2888]
lea rcx, [rsp + 0x188]
call fcn.140003000
movss xmm2, dword [0x1400b2888]
movss xmm1, dword [0x1400b2838]
lea rcx, [rsp + 0x190]
call fcn.140003000
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x188]
call fcn.140003c40
movss dword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x190]
call fcn.140003c40
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x170]
ucomiss xmm0, dword [0x1400b2800]
jp 0x140002982
je 0x140002a86
cvtsi2ss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x170]
comiss xmm1, xmm0
jbe 0x140002a0d
cvtsi2ss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x170]
addss xmm1, dword [rsp + 0x44]
subss xmm0, xmm1
xorps xmm0, xmmword [0x1400b2a60]
movss dword [rsp + 0x34], xmm0
mov rax, qword [rsp + 0x1570]
cvtsi2ss xmm0, dword [rax + 4]
subss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x34]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
cvtsi2ss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x34]
addss xmm1, xmm0
movaps xmm0, xmm1
mov eax, dword [rsp + 0x38]
shl eax, 1
cvtsi2ss xmm1, eax
comiss xmm0, xmm1
jbe 0x140002a0d
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
cvtsi2ss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rsp + 0x170]
jbe 0x140002a86
movss xmm0, dword [rsp + 0x170]
addss xmm0, dword [rsp + 0x44]
cvtsi2ss xmm1, dword [rsp + 0x38]
subss xmm0, xmm1
movss dword [rsp + 0x34], xmm0
mov rax, qword [rsp + 0x1570]
cvtsi2ss xmm0, dword [rax + 4]
subss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x34]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
cvtsi2ss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x34]
addss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140002a86
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x174]
ucomiss xmm0, dword [0x1400b2800]
jp 0x140002a9e
je 0x140002b95
cvtsi2ss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [rsp + 0x174]
comiss xmm1, xmm0
jbe 0x140002b1f
cvtsi2ss xmm0, dword [rsp + 0x3c]
subss xmm0, dword [rsp + 0x174]
xorps xmm0, xmmword [0x1400b2a60]
movss dword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x1570]
cvtsi2ss xmm0, dword [rax + 4]
subss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x30]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
cvtsi2ss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [rsp + 0x30]
addss xmm1, xmm0
movaps xmm0, xmm1
mov eax, dword [rsp + 0x3c]
shl eax, 1
cvtsi2ss xmm1, eax
comiss xmm0, xmm1
jbe 0x140002b1f
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
cvtsi2ss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x174]
jbe 0x140002b95
cvtsi2ss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [rsp + 0x174]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x1570]
cvtsi2ss xmm0, dword [rax + 4]
subss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x30]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
cvtsi2ss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [rsp + 0x30]
addss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140002b95
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x1570]
cvtsi2ss xmm0, dword [rax]
comiss xmm0, dword [rsp + 0x48]
jbe 0x140002ea6
mov rax, qword [rsp + 0x1570]
add rax, 0x18
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0xa0]
call fcn.1400030b0
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x1570]
add rax, 0x18
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0xa8]
call fcn.140003150
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
lea r9, [rsp + 0x1580]
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x138]
call fcn.140003c70
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x1570]
add rax, 0x18
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0xc0]
call fcn.1400030b0
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140002fb0
movzx eax, al
test eax, eax
jne 0x140002cd0
call fcn.14003ae80
mov ecx, dword [rax + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140002cd0
cvttss2si rax, dword [rsp + 0x30]
cvttss2si rcx, dword [rsp + 0x34]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, ecx
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.14003ae80
mov ecx, dword [rax + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140002ea6
mov edx, 8
lea rcx, [rsp + 0x180]
call fcn.140002220
mov rax, qword [rsp + 0x1570]
add rax, 0x18
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0xd8]
call fcn.1400030b0
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x1570]
add rax, 0x18
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0xe0]
call fcn.140003150
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
lea r9, [rsp + 0x1580]
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x180]
call fcn.140003c70
call fcn.1400360c0
mov qword [rsp + 0x50], rax
mov ecx, 0x4c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140002ea6
mov rax, qword [rsp + 0x1570]
add rax, 0x18
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0xf8]
call fcn.1400030b0
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.140002fb0
movzx eax, al
test eax, eax
jne 0x140002e57
mov rax, qword [rsp + 0x1570]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x60]
call fcn.1400031b0
mov rax, qword [rsp + 0x50]
add rax, 0x58
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x70]
call fcn.1400031b0
jmp 0x140002ea6
mov rax, qword [rsp + 0x1570]
add rax, 0x18
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x1580]
mov rcx, qword [rsp + 0x90]
call fcn.140003290
mov rax, qword [rsp + 0x50]
add rax, 0x58
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x1580]
mov rcx, qword [rsp + 0x98]
call fcn.140003290
mov rcx, qword [rsp + 0x1540]
xor rcx, rsp
call fcn.14008c810
add rsp, 0x1558
pop rdi
pop rsi
ret