Function at 0x140066410
Capabilities:
Access peb ldr_data
Encode data using xor
Execute anti-debugging instructions
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r8, qword [0x1401bf5e8]
mov rbp, rcx
test r8, r8
jne 0x140066667
mov rax, qword gs:[0x60]
xor r14d, r14d
mov edi, 0xa4e39b3b
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
movups xmmword [rsp + 0x20], xmm0
sub cx, 8
test r14d, r14d
je 0x1400664c3
mov r9, qword [rsp + 0x28]
mov r10d, 0x811c9dc5
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x1400664ba
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x140066490
cmp r10d, r14d
jne 0x140066616
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x14006661e
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140066616
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x140066616
mov r15d, dword [rsi + 0x20]
dec r11d
mov r10d, 0x811c9dc5
lea rcx, [r15 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx ecx, byte [r9]
inc r9
test cl, cl
je 0x14006654c
movsx edx, cl
lea r9, [r9 + 1]
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
movzx ecx, byte [r9 - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test cl, cl
jne 0x140066521
cmp r10d, edi
je 0x14006655e
test r11d, r11d
jne 0x140066502
mov rax, qword [rax]
jmp 0x140066460
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov r8d, dword [rcx + rdx*4]
add r8, rbx
cmp r8, rsi
jbe 0x140066621
lea rax, [r12 + rsi]
cmp r8, rax
jae 0x140066621
movzx edx, byte [r8]
mov edi, 0x811c9dc5
mov r14d, edi
cmp dl, 0x2e
je 0x1400665c8
nop dword [rax]
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r8 + 1]
cmova ecx, eax
inc r8
xor ecx, r14d
imul r14d, ecx, 0x1000193
cmp dl, 0x2e
jne 0x1400665a0
movzx edx, byte [r8 + 1]
inc r8
test dl, dl
je 0x140066605
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
lea r8, [r8 + 1]
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r8]
cmova ecx, eax
xor ecx, edi
imul edi, ecx, 0x1000193
test dl, dl
jne 0x1400665e0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140066460
xor r8d, r8d
mov qword [0x1401bf5e8], r8
nop dword [rax + rax]
rdtsc
shl rdx, 0x20
or rax, rdx
lea rcx, [rax + rax*4]
mov qword [0x1401bf5f0], rcx
cmp rcx, r8
je 0x140066630
mov rbp, qword [rsp + 0x70]
xor r8, rcx
mov eax, ecx
mov qword [0x1401bf5e8], r8
xor eax, 0xa4e39b3b
mov dword [0x1401bf5e0], eax
jmp 0x14006666e
mov rcx, qword [0x1401bf5f0]
xor r8, rcx
mov rcx, rbp
call r8
mov rsi, rax
mov qword [rsp + 0x80], rax
lea ecx, [rax + 2]
movsxd rcx, ecx
add rcx, rcx
call fcn.140065a20
mov r13, rax
test rax, rax
je 0x1400668fb
test esi, esi
je 0x1400668fb
mov r9, qword [0x1401bf660]
test r9, r9
jne 0x1400668df
mov rax, qword gs:[0x60]
xor r14d, r14d
mov edi, 0x84c65b34
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
movups xmmword [rsp + 0x20], xmm0
sub cx, 8
test r14d, r14d
je 0x140066733
mov r9, qword [rsp + 0x28]
mov r10d, 0x811c9dc5
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x14006672a
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x140066700
cmp r10d, r14d
jne 0x140066886
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x14006688e
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140066886
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x140066886
mov r15d, dword [rsi + 0x20]
dec r11d
mov r10d, 0x811c9dc5
lea rcx, [rbx + r11*4]
mov r8d, dword [rcx + r15]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x1400667be
movsx ecx, r9b
lea r8, [r8 + 1]
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
movzx r9d, byte [r8 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r9b, r9b
jne 0x140066792
cmp r10d, edi
je 0x1400667d0
test r11d, r11d
jne 0x140066772
mov rax, qword [rax]
jmp 0x1400666d0
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov r9d, dword [rcx + rdx*4]
add r9, rbx
cmp r9, rsi
jbe 0x140066891
lea rax, [r12 + rsi]
cmp r9, rax
jae 0x140066891
movzx edx, byte [r9]
mov edi, 0x811c9dc5
mov r14d, edi
cmp dl, 0x2e
je 0x140066838
nop
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9 + 1]
cmova ecx, eax
inc r9
xor ecx, r14d
imul r14d, ecx, 0x1000193
cmp dl, 0x2e
jne 0x140066810
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140066875
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
lea r9, [r9 + 1]
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9]
cmova ecx, eax
xor ecx, edi
imul edi, ecx, 0x1000193
test dl, dl
jne 0x140066850
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400666d0
xor r9d, r9d
mov qword [0x1401bf660], r9
nop dword [rax + rax]
rdtsc
shl rdx, 0x20
or rax, rdx
lea rcx, [rax + rax*4]
mov qword [0x1401bf668], rcx
cmp rcx, r9
je 0x1400668a0
mov rsi, qword [rsp + 0x80]
xor r9, rcx
mov rbp, qword [rsp + 0x70]
mov eax, ecx
xor eax, 0x84c65b34
mov qword [0x1401bf660], r9
mov dword [0x1401bf658], eax
jmp 0x1400668e6
mov rcx, qword [0x1401bf668]
lea eax, [rsi + 1]
xor r9, rcx
movsxd r8, eax
mov rdx, rbp
mov rcx, r13
call r9
mov rax, r13
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret