Function at 0x140039040
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, qword [0x14008ae98]
mov dword [rsp + 0x28], 0
test rdi, rdi
jne 0x1400391cb
mov rax, qword gs:[0x60]
xor ebp, ebp
mov r11d, 0x4cfe97c1
mov rcx, qword [rax + 0x18]
mov r15, qword [rcx + 0x10]
mov rdi, r15
nop dword [rax + rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x1400390ec
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400390e4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400390d0
cmp edx, ebp
jne 0x1400391b3
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r14, rcx
mov r10d, ecx
shr r14, 0x20
add r10, r9
cmp r10, r9
je 0x1400391b3
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1400391b3
mov esi, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140039167
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140039150
cmp edx, r11d
je 0x140039173
test r8d, r8d
jne 0x140039130
jmp 0x1400391b3
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov edi, dword [rcx + rdx*4]
add rdi, r9
cmp rdi, r10
jbe 0x1400391c4
lea rax, [r10 + r14]
cmp rdi, rax
jae 0x1400391c4
mov ebp, 0x811c9dc5
mov rdi, r15
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x24], ebp
mov r11, qword [rsp + 0x20]
shr r11, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r15
jne 0x1400390a0
xor edi, edi
mov qword [0x14008ae98], rdi
mov rcx, qword [0x14008ae60]
test rcx, rcx
jne 0x140039330
mov rax, qword gs:[0x60]
xor ebp, ebp
mov qword [rsp + 0x60], r12
mov r11d, 0x6dd8a845
mov rcx, qword [rax + 0x18]
mov r12, qword [rcx + 0x10]
mov rsi, r12
nop dword [rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x14003924c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140039244
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140039230
cmp edx, ebp
jne 0x140039313
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov r10d, ecx
shr r15, 0x20
add r10, r9
cmp r10, r9
je 0x140039313
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140039313
mov r14d, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400392c7
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400392b0
cmp edx, r11d
je 0x1400392d3
test r8d, r8d
jne 0x140039290
jmp 0x140039313
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
cmp rcx, r10
jbe 0x140039324
lea rax, [r10 + r15]
cmp rcx, rax
jae 0x140039324
mov ebp, 0x811c9dc5
mov rsi, r12
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x24], ebp
mov r11, qword [rsp + 0x20]
shr r11, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
jne 0x140039200
xor ecx, ecx
mov r12, qword [rsp + 0x60]
mov qword [0x14008ae60], rcx
call rcx
lea rdx, [rsp + 0x28]
mov rcx, rax
call rdi
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004e970
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret