Function at 0x140065be0
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 + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140065c96
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140065c96
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, 0x63a16772
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140065c91
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140065c70
cmp r8d, 0xd6eadc7a
je 0x140065c9b
test r9d, r9d
jne 0x140065c50
mov rax, qword [rax]
jmp 0x140065c20
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
xor edx, edx
mov ecx, 2
call r8
mov rbp, rax
test rax, rax
je 0x140065f38
cmp rax, 0xffffffffffffffff
je 0x140065f38
cmp rax, 0x18
je 0x140065f38
mov dword [rsp + 0x30], 0x238
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 0x140065d76
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140065d76
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, 0x9c499e64
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140065d71
nop
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140065d50
cmp r8d, 0x6ff568b7
je 0x140065d7b
test r9d, r9d
jne 0x140065d30
mov rcx, qword [rcx]
jmp 0x140065d00
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 0x1400660b0
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140065db3
mov rdx, qword [r14]
lea rcx, [rsp + 0x5c]
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 0x140065fb1
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 0x140065e56
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140065e56
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, 0xa0a87916
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140065e51
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140065e30
cmp r8d, 0x4fd54fc
je 0x140065e5b
test r9d, r9d
jne 0x140065e10
mov rax, qword [rax]
jmp 0x140065de0
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 0x140065da6
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 0x140065f16
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140065f16
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, 0x2fa34a05
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140065f11
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140065ef0
cmp r8d, 0x70ca8da5
je 0x140065f1b
test r9d, r9d
jne 0x140065ed0
mov rax, qword [rax]
jmp 0x140065ea0
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 0x140065f77
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140065f72
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006614f
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 + 0x270]
xor rcx, rsp
call fcn.1400675f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov esi, dword [rsp + 0x38]
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 0x140066036
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140066036
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, 0x3595b778
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140066031
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140066010
cmp r8d, 0x1833f9e2
je 0x14006603b
test r9d, r9d
jne 0x140065ff0
mov rax, qword [rax]
jmp 0x140065fc0
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 0x140066097
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140066092
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006614f
mov rcx, r8
call fcn.140067894
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 7
mov word [r14], ax
mov eax, esi
jmp 0x140065f89
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 0x14006614a
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14006614a
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, 0xdba00aac
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140066145
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140066120
cmp r8d, 0x2b6402b6
je 0x140065f1b
test r9d, r9d
jne 0x140066100
mov rax, qword [rax]
jmp 0x1400660d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3