Function at 0x140021a60
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 [0x1402fe080]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp byte [0x140303dbc], 0
jne 0x14002200f
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 [reloc.WS2_32.dll_accept]
lea rcx, [rbp - 0x51]
inc eax
movsxd rbx, eax
call fcn.140001e70
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x69], rax
cmp rbx, 1
jl 0x140021af2
imul rdx, rbx, 0xf4240
mov rcx, r14
sub rcx, rdx
cmp rax, rcx
jge 0x140021aee
lea rcx, [rdx + rax]
mov qword [rbp - 0x69], rcx
jmp 0x140021af2
mov qword [rbp - 0x69], r14
lea rcx, [rbp - 0x69]
call fcn.140004cb0
cmp byte [0x140303ce0], sil
je 0x140021fda
cmp qword [0x140305b80], rsi
je 0x140021fda
mov ecx, dword [0x140303ce4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140021c09
cmp byte [0x140305819], sil
je 0x140021fda
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 0x140021be7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140021be7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd3be26fb
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140021be2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140021bc0
cmp r8d, 0xb939e483
je 0x140021bec
test r9d, r9d
jne 0x140021ba0
mov rax, qword [rax]
jmp 0x140021b70
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 0x140021fc4
mov rcx, qword [0x140305478]
test rcx, rcx
je 0x140021c40
cmp dword [0x1403053e4], esi
je 0x140021c40
mov rdx, qword [0x140305970]
lea r8, [rbp + 7]
mov r9d, 8
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140305478]
mov rdi, qword [rbp + 7]
mov qword [rbp - 0x31], rdi
test rdi, rdi
je 0x140021eef
movaps xmm0, xmmword [0x140305b80]
movaps xmm6, xmmword [0x140305b90]
movups xmmword [rbp - 0x21], xmm0
test rcx, rcx
je 0x140021c90
cmp dword [0x1403053e4], esi
je 0x140021c90
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], rsi
mov r9d, listen
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 0x140021cd6
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140021cde
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, dword [0x140303cec]
mov rcx, rdi
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
setbe bl
call fcn.1400219d0
test al, al
je 0x140021d08
cmp byte [0x140303ce8], sil
movzx ebx, bl
cmove ebx, esi
cmp byte [0x140303cc9], sil
mov rcx, qword [0x140305478]
je 0x140021d5f
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x140021d5d
test rcx, rcx
je 0x140021d51
cmp dword [0x1403053e4], esi
je 0x140021d51
add rdx, qword [0x1403053c0]
lea r8, [rbp - 0x29]
mov r9d, 1
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140305478]
movzx eax, byte [rbp - 0x29]
test al, 0xdb
jne 0x140021d5f
cmp al, 0x20
je 0x140021d5f
xor bl, bl
test rcx, rcx
je 0x140021d88
cmp dword [0x1403053e4], esi
je 0x140021d88
mov rdx, qword [0x140305968]
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, [0x1403058c0]
cmove ebx, esi
call fcn.140022030
mov edx, esi
mov rcx, qword [rax]
movzx eax, bl
cmp byte [rcx + 0x58], dl
cmove edx, eax
test dl, dl
je 0x140021eef
cmp byte [0x140305819], sil
jne 0x140021fda
movsxd rbx, dword [0x140303cf0]
lea rcx, [rbp - 0x49]
call fcn.140001e70
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x69], rax
cmp rbx, 1
jl 0x140021e04
imul rdx, rbx, 0xf4240
mov rcx, r14
sub rcx, rdx
cmp rax, rcx
jge 0x140021e00
lea rcx, [rdx + rax]
mov qword [rbp - 0x69], rcx
jmp 0x140021e04
mov qword [rbp - 0x69], r14
lea rcx, [rbp - 0x69]
call fcn.140004cb0
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 0x140021eb7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140021eb7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xfe50ef5f
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140021eb2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140021e90
cmp r8d, 0x2327e93f
je 0x140021ebc
test r9d, r9d
jne 0x140021e70
mov rax, qword [rax]
jmp 0x140021e40
mov ecx, dword [rdi + 0x24]
mov r8d, Ordinal_45
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 [0x140305819], 1
jmp 0x140021fda
cmp byte [0x140305819], sil
je 0x140021fda
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 0x140021fa7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140021fa7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x94e199b6
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140021fa2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140021f80
cmp r8d, 0x3f383ec0
je 0x140021fac
test r9d, r9d
jne 0x140021f60
mov rax, qword [rax]
jmp 0x140021f30
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, Ordinal_45
add rax, r10
lea ecx, [r8 - 0x27]
call rax
mov byte [0x140305819], sil
cmp byte [0x140303dbc], sil
je 0x140021ab0
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.1400df0e0
add rsp, 0xf0
pop rbp
ret