Function at 0x14001b780
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 [0x140285040]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp byte [0x140286154], 0
jne 0x14001bd30
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 [0x140286164]
lea rcx, [rbp - 0x51]
inc eax
movsxd rbx, eax
call fcn.140001570
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x69], rax
test rbx, rbx
jle 0x14001b811
imul rdx, rbx, 0xf4240
mov rcx, r14
sub rcx, rdx
cmp rax, rcx
jge 0x14001b80d
lea rcx, [rdx + rax]
mov qword [rbp - 0x69], rcx
jmp 0x14001b811
mov qword [rbp - 0x69], r14
lea rcx, [rbp - 0x69]
call fcn.140004300
cmp byte [0x140286080], sil
je 0x14001bcfb
cmp qword [0x1402875f0], rsi
je 0x14001bcfb
mov ecx, dword [0x140286084]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14001b929
cmp byte [0x140287299], sil
je 0x14001bcfb
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 0x14001b907
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14001b907
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xeb3674a1
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14001b902
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14001b8e0
cmp r8d, 0xb6cf7a31
je 0x14001b90c
test r9d, r9d
jne 0x14001b8c0
mov rax, qword [rax]
jmp 0x14001b890
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 0x14001bce4
mov rcx, qword [0x140287218]
test rcx, rcx
je 0x14001b960
cmp dword [0x140287184], esi
je 0x14001b960
mov rdx, qword [0x1402873e0]
lea r8, [rbp + 7]
mov r9d, 8
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140287218]
mov rdi, qword [rbp + 7]
mov qword [rbp - 0x31], rdi
test rdi, rdi
je 0x14001bc10
movaps xmm0, xmmword [0x1402875f0]
movaps xmm6, xmmword [0x140287600]
movups xmmword [rbp - 0x21], xmm0
test rcx, rcx
je 0x14001b9b0
cmp dword [0x140287184], esi
je 0x14001b9b0
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 xmm1, xmm6
movaps xmm0, xmm6
shufps xmm1, xmm6, 0x55
subss xmm1, dword [rbp - 0x61]
shufps xmm0, xmm6, 0xaa
subss xmm0, dword [rbp - 0x5d]
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 0x14001b9f6
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14001b9fe
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, dword [0x14028608c]
mov rcx, rdi
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
setbe bl
call fcn.14001b6f0
test al, al
je 0x14001ba28
cmp byte [0x140286088], sil
movzx ebx, bl
cmove ebx, esi
cmp byte [0x140286069], sil
mov rcx, qword [0x140287218]
je 0x14001ba7f
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14001ba7d
test rcx, rcx
je 0x14001ba71
cmp dword [0x140287184], esi
je 0x14001ba71
add rdx, qword [0x140287118]
lea r8, [rbp - 0x29]
mov r9d, 1
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140287218]
movzx eax, byte [rbp - 0x29]
test al, 0xdb
jne 0x14001ba7f
cmp al, 0x20
je 0x14001ba7f
xor bl, bl
test rcx, rcx
je 0x14001baa8
cmp dword [0x140287184], esi
je 0x14001baa8
mov rdx, qword [0x1402873d8]
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, [0x140287330]
cmove ebx, esi
call fcn.14001bd50
mov edx, esi
mov rcx, qword [rax]
movzx eax, bl
cmp byte [rcx + 0x58], dl
cmove edx, eax
test dl, dl
je 0x14001bc10
cmp byte [0x140287299], sil
jne 0x14001bcfb
movsxd rbx, dword [0x140286090]
lea rcx, [rbp - 0x49]
call fcn.140001570
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x69], rax
test rbx, rbx
jle 0x14001bb23
imul rdx, rbx, 0xf4240
mov rcx, r14
sub rcx, rdx
cmp rax, rcx
jge 0x14001bb1f
lea rcx, [rdx + rax]
mov qword [rbp - 0x69], rcx
jmp 0x14001bb23
mov qword [rbp - 0x69], r14
lea rcx, [rbp - 0x69]
call fcn.140004300
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 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 0x14001bbd7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14001bbd7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd840be9
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14001bbd2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14001bbb0
cmp r8d, 0xd33fddb9
je 0x14001bbdc
test r9d, r9d
jne 0x14001bb90
mov rax, qword [rax]
jmp 0x14001bb60
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
mov ecx, 1
call rax
mov byte [0x140287299], 1
jmp 0x14001bcfb
cmp byte [0x140287299], sil
je 0x14001bcfb
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 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 0x14001bcc7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14001bcc7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x5cec4ce0
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14001bcc2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14001bca0
cmp r8d, 0x8818f0d2
je 0x14001bccc
test r9d, r9d
jne 0x14001bc80
mov rax, qword [rax]
jmp 0x14001bc50
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
mov ecx, 1
add rax, r10
call rax
mov byte [0x140287299], sil
cmp byte [0x140286154], sil
je 0x14001b7d0
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.14007ce70
add rsp, 0xf0
pop rbp
ret