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

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x48
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x80], rbp
mov rbp, rcx
mov qword [rsp + 0x40], r14
mov r14, rdx
call fcn.140004d40
mov rcx, qword gs:[0x60]
test eax, eax
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 0x10]
mov rsi, qword [rcx]
mov r11, rsi
je 0x140005150
mov r9, qword [r11 + 0x30]
xor r15d, r15d
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140005104
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140005104
mov edi, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0xb23aedef
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400050ff
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 0x1400050e0
cmp edx, 0xac25da76
je 0x140005127
test r8d, r8d
jne 0x1400050c0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140005119
cmp qword [rax + 0x30], r15
jne 0x140005090
mov rax, r15
mov r9d, 0x20119
jmp 0x1400051e6
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
mov r9d, 0x20119
jmp 0x1400051e6
mov r9, qword [r11 + 0x30]
xor r15d, r15d
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x1400051c8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400051c8
mov edi, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0xc141c151
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rdi]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400051c3
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 0x1400051a0
cmp edx, 0x9a67cb68
je 0x1400052c9
test r8d, r8d
jne 0x140005180
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1400051dd
cmp qword [rax + 0x30], r15
jne 0x140005150
mov rax, r15
mov r9d, 0x20019
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, r14
mov rcx, rbp
call rax
mov r14, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x80]
test eax, eax
jne 0x14000530c
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x1400052a4
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400052a4
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x3c493eb7
lea rax, [r9 + r8*4]
mov eax, dword [rax + rdi]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14000529f
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 0x140005280
cmp edx, 0xfaacd238
je 0x1400052e5
test r8d, r8d
jne 0x140005260
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1400052fd
cmp qword [rax + 0x30], 0
jne 0x140005230
mov rcx, qword [rsp + 0x30]
call r15
mov eax, 1
jmp 0x14000530e
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1400051e0
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov r15d, dword [rcx + rdx*4]
add r15, r9
mov rcx, qword [rsp + 0x30]
call r15
mov eax, 1
jmp 0x14000530e
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000a5f0
add rsp, 0x48
pop r15
pop rdi
pop rsi
pop rbx
ret