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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x480
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, rdx
mov esi, ecx
mov qword [rsp + 0x20], rdx
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 ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140066226
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140066226
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, 0xa566d99e
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140066221
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140066200
cmp r8d, 0x156393d6
je 0x14006622b
test r9d, r9d
jne 0x1400661e0
mov rax, qword [rax]
jmp 0x1400661b0
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov edx, esi
mov ecx, 8
call r8
mov rbp, rax
test rax, rax
je 0x1400664c8
cmp rax, 0xffffffffffffffff
je 0x1400664c8
cmp rax, 0x18
je 0x1400664c8
mov dword [rsp + 0x30], 0x438
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [rax + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140066306
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140066306
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
mov r8d, 0xaf0787e
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140066301
nop
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x1400662e0
cmp r8d, 0x6f05e8
je 0x14006630b
test r9d, r9d
jne 0x1400662c0
mov rcx, qword [rcx]
jmp 0x140066290
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x30]
mov rcx, rbp
call r8
test eax, eax
je 0x140066641
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140066343
mov rdx, qword [r14]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
je 0x140066541
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400663e6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400663e6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x28fc26ae
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400663e1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x1400663c0
cmp r8d, 0x46d676f
je 0x1400663eb
test r9d, r9d
jne 0x1400663a0
mov rax, qword [rax]
jmp 0x140066370
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x30]
mov rcx, rbp
call r8
test eax, eax
jne 0x140066336
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 ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400664a6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400664a6
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, 0xc5df38b9
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400664a1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140066480
cmp r8d, 0x4be3d4f9
je 0x1400664ab
test r9d, r9d
jne 0x140066460
mov rax, qword [rax]
jmp 0x140066430
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
mov rcx, rbp
call rdx
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x140066507
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140066502
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400666df
mov rcx, r8
call fcn.140067894
xor eax, eax
mov word [r14], ax
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], rax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400675f0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rsi, qword [rsp + 0x48]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400665c6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400665c6
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, 0x5f945277
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400665c1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400665a0
cmp r8d, 0xdcdc1e4b
je 0x1400665cb
test r9d, r9d
jne 0x140066580
mov rax, qword [rax]
jmp 0x140066550
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
mov rcx, rbp
call rdx
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x140066627
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140066622
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400666df
mov rcx, r8
call fcn.140067894
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 7
mov word [r14], ax
mov rax, rsi
jmp 0x140066519
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 ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400666da
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400666da
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, 0x93dfc77e
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400666d5
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400666b0
cmp r8d, 0x265f78f4
je 0x1400664ab
test r9d, r9d
jne 0x140066690
mov rax, qword [rax]
jmp 0x140066660
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3