Function at 0x1401393d8
Capabilities:
Access peb ldr_data
Check for unmoving mouse cursor
Encode data using xor
Hash data using fnv
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
or ebp, 0xffffffff
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14013947f
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14013947f
mov edi, dword [r10 + 0x20]
add r9d, ebp
mov r11d, 0x1c0d0ffa
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14013947a
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14013945b
cmp r11d, 0x35e91df8
je 0x140139484
test r9d, r9d
jne 0x14013943e
mov rax, qword [rax]
jmp 0x140139419
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r9*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov ecx, 0x4c
add rax, r8
call qword [case.0x140173169.0]
mov rcx, qword gs:[0x60]
mov esi, eax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x140139521
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140139521
mov edi, dword [r10 + 0x20]
add r8d, ebp
mov r11d, 0x1919d734
lea rax, [rdi + r8*4]
mov edx, dword [rax + r9]
add rdx, r9
mov al, byte [rdx]
inc rdx
test al, al
je 0x14013951c
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rdx]
inc rdx
test al, al
jne 0x1401394fd
cmp r11d, 0x60a94342
je 0x140139526
test r8d, r8d
jne 0x1401394e0
mov rcx, qword [rcx]
jmp 0x1401394bb
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov ecx, 0x4e
add rax, r9
call qword [case.0x140173169.0]
mov rcx, qword gs:[0x60]
lea r14d, [rsi + rax]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x1401395c4
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1401395c4
mov edi, dword [r10 + 0x20]
add r8d, ebp
mov r11d, 0x21bf196
lea rax, [r9 + r8*4]
mov edx, dword [rax + rdi]
add rdx, r9
mov al, byte [rdx]
inc rdx
test al, al
je 0x1401395bf
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rdx]
inc rdx
test al, al
jne 0x1401395a0
cmp r11d, 0xfaf3309c
je 0x1401395c9
test r8d, r8d
jne 0x140139584
mov rcx, qword [rcx]
jmp 0x14013955f
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov ecx, 0x4d
add rax, r9
call qword [case.0x140173169.0]
mov rcx, qword gs:[0x60]
mov esi, eax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x140139665
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140139665
mov ebx, dword [r10 + 0x20]
add r8d, ebp
mov r11d, 0x2780b33b
lea rax, [r9 + r8*4]
mov edx, dword [rax + rbx]
add rdx, r9
mov al, byte [rdx]
inc rdx
test al, al
je 0x140139660
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rdx]
inc rdx
test al, al
jne 0x140139641
cmp r11d, 0x6d4e0c21
je 0x14013966a
test r8d, r8d
jne 0x140139625
mov rcx, qword [rcx]
jmp 0x140139600
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov ecx, 0x4f
add rax, r9
call qword [case.0x140173169.0]
lea ebp, [rsi + rax]
call fcn.140141298
mov esi, dword [rax + 0x38]
call fcn.140141298
mov ebx, dword [rax + 0x34]
call fcn.140141298
lea rcx, [rsp + 0xb8]
mov edi, dword [rax + 0x30]
call qword [sym.imp.user32.dll_GetCursorPos]
cmp dword [rsp + 0xb8], edi
jle 0x14013976c
lea eax, [rsi + rdi]
cmp dword [rsp + 0xb8], eax
jge 0x14013976c
cmp dword [rsp + 0xbc], ebx
jle 0x14013976c
lea eax, [rbx + 0x15]
cmp dword [rsp + 0xbc], eax
jge 0x14013976c
mov ecx, 1
call qword [sym.imp.user32.dll_GetKeyState]
test al, al
jns 0x14013976c
call fcn.140141298
cmp byte [rax + 0x40], 0
jne 0x14013976c
lea rcx, [rsp + 0xb0]
call qword [sym.imp.user32.dll_GetCursorPos]
movd xmm6, dword [rsp + 0xb0]
cvtdq2ps xmm6, xmm6
call fcn.140141298
movd xmm0, dword [rax + 0x30]
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
call fcn.140141298
movss dword [rax + 0x44], xmm6
movd xmm6, dword [rsp + 0xb4]
cvtdq2ps xmm6, xmm6
call fcn.140141298
movd xmm0, dword [rax + 0x34]
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
call fcn.140141298
movss dword [rax + 0x48], xmm6
call fcn.140141298
mov byte [rax + 0x40], 1
call fcn.140141298
cmp byte [rax + 0x40], 0
je 0x1401398b4
lea rcx, [rsp + 0xb0]
call qword [sym.imp.user32.dll_GetCursorPos]
xorps xmm10, xmm10
xorps xmm9, xmm9
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rsp + 0xb0]
cvtsi2ss xmm10, r14d
cvtsi2ss xmm9, ebp
call fcn.140141298
xorps xmm8, xmm8
xorps xmm7, xmm7
subss xmm6, dword [rax + 0x44]
maxss xmm8, xmm6
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rsp + 0xb4]
call fcn.140141298
subss xmm6, dword [rax + 0x48]
maxss xmm7, xmm6
call fcn.140141298
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rax + 0x38]
addss xmm0, xmm8
comiss xmm0, xmm10
jbe 0x14013980b
call fcn.140141298
movd xmm0, dword [rax + 0x38]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm8
subss xmm0, xmm10
subss xmm8, xmm0
call fcn.140141298
movd xmm0, dword [rax + 0x3c]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm7
comiss xmm0, xmm9
jbe 0x14013983c
call fcn.140141298
movd xmm0, dword [rax + 0x3c]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm7
subss xmm0, xmm9
subss xmm7, xmm0
mov ecx, 1
call qword [sym.imp.user32.dll_GetKeyState]
test al, al
js 0x140139854
call fcn.140141298
mov byte [rax + 0x40], 0
cvttss2si ebx, xmm8
call fcn.140141298
mov dword [rax + 0x30], ebx
cvttss2si ebx, xmm7
call fcn.140141298
mov dword [rax + 0x34], ebx
call fcn.140141298
mov ebp, dword [rax + 0x3c]
call fcn.140141298
mov esi, dword [rax + 0x38]
call fcn.140141298
mov edi, dword [rax + 0x34]
call fcn.140141298
mov ebx, dword [rax + 0x30]
call fcn.140141298
mov dword [rsp + 0x30], 4
mov r9d, edi
mov dword [rsp + 0x28], ebp
mov r8d, ebx
xor edx, edx
mov dword [rsp + 0x20], esi
mov rcx, qword [rax + 0x28]
call qword [sym.imp.user32.dll_SetWindowPos]
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret