Function at 0x140066840
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 + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rdi, r9
mov r15d, edx
mov rbp, rcx
test rcx, rcx
je 0x140066d94
mov r10, qword [0x1401bf630]
test r10, r10
jne 0x140066abd
mov rax, qword gs:[0x60]
xor r14d, r14d
mov edi, 0x339b74d8
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
movups xmmword [rsp + 0x30], xmm0
sub cx, 8
test r14d, r14d
je 0x140066903
mov r9, qword [rsp + 0x38]
mov r10d, 0x811c9dc5
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x1400668fa
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 0x1400668d0
cmp r10d, r14d
jne 0x140066a5a
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140066a62
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 0x140066a5a
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x140066a5a
mov r15d, dword [rsi + 0x20]
dec r11d
mov r10d, 0x811c9dc5
lea rcx, [r15 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x14006698e
movsx ecx, r8b
lea r9, [r9 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r9 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r8b, r8b
jne 0x140066962
cmp r10d, edi
je 0x1400669a0
test r11d, r11d
jne 0x140066942
mov rax, qword [rax]
jmp 0x1400668a0
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov ecx, dword [rcx + rdx*4]
add rcx, rbx
cmp rcx, rsi
jbe 0x140066a64
lea rax, [r12 + rsi]
cmp rcx, rax
jae 0x140066a64
movzx r8d, byte [rcx]
mov edi, 0x811c9dc5
mov r14d, edi
cmp r8b, 0x2e
je 0x140066a0c
nop
movsx eax, r8b
sub r8b, 0x41
mov edx, eax
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rcx + 1]
cmova edx, eax
inc rcx
xor edx, r14d
imul r14d, edx, 0x1000193
cmp r8b, 0x2e
jne 0x1400669e0
movzx r8d, byte [rcx + 1]
inc rcx
test r8b, r8b
je 0x140066a49
nop dword [rax]
movsx eax, r8b
lea rcx, [rcx + 1]
sub r8b, 0x41
mov edx, eax
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rcx]
cmova edx, eax
xor edx, edi
imul edi, edx, 0x1000193
test r8b, r8b
jne 0x140066a20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400668a0
xor ecx, ecx
mov qword [0x1401bf630], rcx
nop dword [rax + rax]
rdtsc
shl rdx, 0x20
or rax, rdx
lea rdx, [rax + rax*4]
mov qword [0x1401bf638], rdx
cmp rdx, rcx
je 0x140066a70
mov rdi, qword [rsp + 0xa8]
mov r10, rdx
mov rbp, qword [rsp + 0x90]
xor r10, rcx
mov r15d, dword [rsp + 0x98]
mov eax, edx
xor eax, 0x339b74d8
mov qword [0x1401bf630], r10
mov dword [0x1401bf628], eax
jmp 0x140066ac4
mov rdx, qword [0x1401bf638]
xor r10, rdx
mov dword [rsp + 0x28], 0
mov edx, r15d
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call r10
mov r13d, eax
test eax, eax
je 0x140066d94
lea ecx, [rax + 1]
add rcx, rcx
call fcn.140065890
mov qword [rdi], rax
test rax, rax
je 0x140066d94
mov r10, qword [0x1401bf630]
test r10, r10
jne 0x140066d60
mov rax, qword gs:[0x60]
xor r14d, r14d
mov esi, 0x339b74d8
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
movups xmmword [rsp + 0x30], xmm0
sub cx, 8
test r14d, r14d
je 0x140066ba3
mov r9, qword [rsp + 0x38]
mov r10d, 0x811c9dc5
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140066b9a
nop dword [rax]
nop word [rax + rax]
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 0x140066b70
cmp r10d, r14d
jne 0x140066cf6
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140066cfe
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov edi, edx
shr r12, 0x20
add rdi, rbx
cmp rdi, rbx
je 0x140066cf6
mov r11d, dword [rdi + 0x18]
test r11d, r11d
je 0x140066cf6
mov r15d, dword [rdi + 0x20]
dec r11d
mov r10d, 0x811c9dc5
lea rcx, [r15 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x140066c2e
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 0x140066c02
cmp r10d, esi
je 0x140066c40
test r11d, r11d
jne 0x140066be2
mov rax, qword [rax]
jmp 0x140066b32
mov ecx, dword [rdi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rdi + 0x1c]
add rcx, rbx
mov r8d, dword [rcx + rdx*4]
add r8, rbx
cmp r8, rdi
jbe 0x140066d01
lea rax, [r12 + rdi]
cmp r8, rax
jae 0x140066d01
movzx edx, byte [r8]
mov esi, 0x811c9dc5
mov r14d, esi
cmp dl, 0x2e
je 0x140066ca8
nop
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 0x140066c80
movzx edx, byte [r8 + 1]
inc r8
test dl, dl
je 0x140066ce5
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, esi
imul esi, ecx, 0x1000193
test dl, dl
jne 0x140066cc0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140066b32
xor r8d, r8d
mov qword [0x1401bf630], r8
nop dword [rax + rax]
rdtsc
shl rdx, 0x20
or rax, rdx
lea rcx, [rax + rax*4]
mov qword [0x1401bf638], rcx
cmp rcx, r8
je 0x140066d10
mov rdi, qword [rsp + 0xa8]
mov eax, ecx
mov rbp, qword [rsp + 0x90]
mov r10, rcx
mov r15d, dword [rsp + 0x98]
xor r10, r8
xor eax, 0x339b74d8
mov qword [0x1401bf630], r10
mov dword [0x1401bf628], eax
mov rax, qword [rdi]
jmp 0x140066d67
mov rcx, qword [0x1401bf638]
mov r8d, dword [rsp + 0xa0]
xor r10, rcx
mov rcx, rbp
mov dword [rsp + 0x28], r13d
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov edx, r15d
call r10
test eax, eax
jne 0x140066da7
mov rcx, qword [rdi]
call fcn.140065d90
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 1
jmp 0x140066d96