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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14030b0c0]
xor rax, rsp
mov qword [rbp + 0x40], rax
cmp byte [0x140352944], 0
jne 0x140020123
movabs rsi, 0x7fffffffffffffff
mov r14d, 0xff
xor r15d, r15d
nop
mov eax, dword [0x140352954]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x38]
call fcn.140002040
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001fe45
js 0x14001fe45
imul r8, rbx, 0xf4240
mov rdx, rsi
sub rdx, r8
cmp rax, rdx
je 0x14001fe40
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x14001fe40
lea rcx, [r8 + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001fe45
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004eb0
cmp byte [0x140352790], 0
je 0x140020116
cmp qword [0x140355530], 0
je 0x140020116
lea rcx, [rbp - 0x60]
call fcn.14001d810
mov qword [rbp + 0x38], 0
movd xmm1, dword [0x14035279c]
cvtdq2ps xmm1, xmm1
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x140352798]
mov r8d, dword [0x1403527a4]
call fcn.140027f50
test al, al
je 0x140020022
cmp byte [rbp - 0x20], 0
jne 0x14002010d
cmp byte [rbp + 0x34], 0
je 0x14002010d
mov ecx, dword [0x140352794]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140020022
cmp byte [0x140354f29], 0
jne 0x14002010d
movsxd rbx, dword [0x1403527a8]
lea rcx, [rsp + 0x40]
call fcn.140002040
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001ff32
js 0x14001ff32
imul r8, rbx, 0xf4240
mov rdx, rsi
sub rdx, r8
cmp rax, rdx
je 0x14001ff2d
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x14001ff2d
lea rcx, [rax + r8]
mov qword [rsp + 0x30], rcx
jmp 0x14001ff32
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004eb0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x5c], 2
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14001ffe6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14001ffe6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x918637bc
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14001ffe1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x14001ffc0
cmp r8d, 0x20262f06
je 0x14001ffeb
test r9d, r9d
jne 0x14001ffa0
mov rax, qword [rax]
jmp 0x14001ff70
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
mov r8d, Ordinal_41
lea rdx, [rsp + 0x48]
mov ecx, 1
call r9
mov byte [0x140354f29], 1
jmp 0x14002010d
cmp byte [0x140354f29], 0
je 0x14002010d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x74], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov dword [rsp + 0x70], r15d
mov dword [rbp - 0x7c], 4
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400200d6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400200d6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0xa6750faa
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400200d1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400200b0
cmp r8d, 0x93b01b7c
je 0x1400200db
test r9d, r9d
jne 0x140020090
mov rax, qword [rax]
jmp 0x140020060
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
mov r8d, Ordinal_41
lea rdx, [rsp + 0x70]
mov ecx, 1
call r9
mov byte [0x140354f29], 0
lea rcx, [rbp - 0x60]
call fcn.1400054b0
cmp byte [0x140352944], 0
je 0x14001fdf0
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400e7f50
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret