Function at 0x140020f60
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x14028c040]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp byte [0x14035cbec], 0
jne 0x14002150f
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
xor esi, esi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
movabs r14, 0x7fffffffffffffff
movaps xmmword [r11 - 0x18], xmm6
nop dword [rax + rax]
mov eax, dword [0x14035cbfc]
lea rcx, [rbp - 0x51]
inc eax
movsxd rbx, eax
call fcn.140001570
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x69], rax
cmp rbx, 1
jl 0x140020ff2
imul rdx, rbx, 0xf4240
mov rcx, r14
sub rcx, rdx
cmp rax, rcx
jge 0x140020fee
lea rcx, [rdx + rax]
mov qword [rbp - 0x69], rcx
jmp 0x140020ff2
mov qword [rbp - 0x69], r14
lea rcx, [rbp - 0x69]
call fcn.140004240
cmp byte [0x14035cb10], sil
je 0x1400214da
cmp qword [0x14035e220], rsi
je 0x1400214da
mov ecx, dword [0x14035cb14]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140021109
cmp byte [0x14035dec9], sil
je 0x1400214da
mov dword [rbp - 0x21], esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x1d], xmm0
mov dword [rbp - 0xd], 4
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400210e7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400210e7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x2210af2e
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400210e2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400210c0
cmp r8d, 0x86436db8
je 0x1400210ec
test r9d, r9d
jne 0x1400210a0
mov rax, qword [rax]
jmp 0x140021070
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rbp - 0x21]
jmp 0x1400214c4
mov rcx, qword [0x14035de48]
test rcx, rcx
je 0x140021140
cmp dword [0x14035ddb4], esi
je 0x140021140
mov rdx, qword [0x14035e010]
lea r8, [rbp + 7]
mov r9d, 8
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14035de48]
mov rdi, qword [rbp + 7]
mov qword [rbp - 0x31], rdi
test rdi, rdi
je 0x1400213ef
movaps xmm0, xmmword [0x14035e220]
movaps xmm6, xmmword [0x14035e230]
movups xmmword [rbp - 0x21], xmm0
test rcx, rcx
je 0x140021190
cmp dword [0x14035ddb4], esi
je 0x140021190
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], rsi
mov r9d, 0xc
lea r8, [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdi, qword [rbp - 0x31]
movaps xmm0, xmm6
movaps xmm1, xmm6
shufps xmm1, xmm6, 0xaa
subss xmm1, dword [rbp - 0x5d]
shufps xmm0, xmm6, 0x55
subss xmm0, dword [rbp - 0x61]
shufps xmm6, xmm6, 0xff
subss xmm6, dword [rbp - 0x59]
mulss xmm1, xmm1
mulss xmm0, xmm0
mulss xmm6, xmm6
addss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm6
ucomiss xmm0, xmm1
ja 0x1400211d6
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1400211de
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, dword [0x14035cb1c]
mov rcx, rdi
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
setbe bl
call fcn.140020ed0
test al, al
je 0x140021208
cmp byte [0x14035cb18], sil
movzx ebx, bl
cmove ebx, esi
cmp byte [0x14035caf9], sil
mov rcx, qword [0x14035de48]
je 0x14002125f
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14002125d
test rcx, rcx
je 0x140021251
cmp dword [0x14035ddb4], esi
je 0x140021251
add rdx, qword [0x14035dd98]
lea r8, [rbp - 0x29]
mov r9d, 1
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14035de48]
movzx eax, byte [rbp - 0x29]
test al, 0xdb
jne 0x14002125f
cmp al, 0x20
je 0x14002125f
xor bl, bl
test rcx, rcx
je 0x140021288
cmp dword [0x14035ddb4], esi
je 0x140021288
mov rdx, qword [0x14035e008]
lea r8, [rbp - 0x28]
mov r9d, 1
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rbp - 0x28], sil
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x41]
lea rcx, [0x14035df60]
cmove ebx, esi
call fcn.140021530
mov edx, esi
mov rcx, qword [rax]
movzx eax, bl
cmp byte [rcx + 0x58], dl
cmove edx, eax
test dl, dl
je 0x1400213ef
cmp byte [0x14035dec9], sil
jne 0x1400214da
movsxd rbx, dword [0x14035cb20]
lea rcx, [rbp - 0x49]
call fcn.140001570
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x69], rax
cmp rbx, 1
jl 0x140021304
imul rdx, rbx, 0xf4240
mov rcx, r14
sub rcx, rdx
cmp rax, rcx
jge 0x140021300
lea rcx, [rdx + rax]
mov qword [rbp - 0x69], rcx
jmp 0x140021304
mov qword [rbp - 0x69], r14
lea rcx, [rbp - 0x69]
call fcn.140004240
mov dword [rbp - 0x21], esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x1d], xmm0
mov dword [rbp - 0xd], 2
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400213b7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400213b7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xdf7333a6
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400213b2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140021390
cmp r8d, 0xddd02ad0
je 0x1400213bc
test r9d, r9d
jne 0x140021370
mov rax, qword [rax]
jmp 0x140021340
mov ecx, dword [rdi + 0x24]
mov r8d, 0x28
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rbp - 0x21]
add rax, r10
lea ecx, [r8 - 0x27]
call rax
mov byte [0x14035dec9], 1
jmp 0x1400214da
cmp byte [0x14035dec9], sil
je 0x1400214da
mov dword [rbp + 0xf], esi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x13], xmm0
mov dword [rbp + 0x23], 4
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400214a7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400214a7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xc7a61e4f
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400214a2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140021480
cmp r8d, 0x75e414f
je 0x1400214ac
test r9d, r9d
jne 0x140021460
mov rax, qword [rax]
jmp 0x140021430
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rbp + 0xf]
mov r8d, 0x28
add rax, r10
lea ecx, [r8 - 0x27]
call rax
mov byte [0x14035dec9], sil
cmp byte [0x14035cbec], sil
je 0x140020fb0
movaps xmm6, xmmword [rsp + 0xe0]
mov r14, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140082c90
add rsp, 0xf0
pop rbp
ret