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

Disassembly:
push r13
sub rsp, 0x40
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], rdi
mov rdi, qword [0x1400b8ac0]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test rdi, rdi
jne 0x1400086f9
mov rax, qword gs:[0x60]
xor ebp, ebp
mov r10d, 0x3285501
mov rcx, qword [rax + 0x18]
mov r15, qword [rcx + 0x10]
mov rbx, r15
movups xmm0, xmmword [rbx + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x14000861c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140008614
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140008600
cmp edx, ebp
jne 0x1400086e1
mov r8, qword [rbx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rcx, qword [rax + r8 + 0x88]
mov r14, rcx
mov r9d, ecx
shr r14, 0x20
add r9, r8
cmp r9, r8
je 0x1400086e1
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x1400086e1
mov esi, dword [r9 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x811c9dc5
lea rax, [rsi + rdi*4]
mov eax, dword [rax + r8]
add rax, r8
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140008697
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 0x140008680
cmp edx, r10d
je 0x1400086a2
test edi, edi
jne 0x140008660
jmp 0x1400086e1
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov edi, dword [rcx + rdx*4]
add rdi, r8
cmp rdi, r9
jbe 0x1400086f2
lea rax, [r14 + r9]
cmp rdi, rax
jae 0x1400086f2
mov ebp, 0x811c9dc5
mov rbx, r15
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov r10, qword [rsp + 0x50]
shr r10, 0x20
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x1400085d0
xor edi, edi
mov qword [0x1400b8ac0], rdi
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx - 4]
call rdi
mov r13, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [r13 + 0x30], 0x100010
mov rsi, qword [0x1400b8af8]
test rsi, rsi
jne 0x140008879
mov rcx, qword gs:[0x60]
xor ebp, ebp
mov r10d, 0x85cca27e
mov rdx, qword [rcx + 0x18]
mov r15, qword [rdx + 0x10]
mov rbx, r15
nop
movups xmm0, xmmword [rbx + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x14000879c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140008794
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140008780
cmp edx, ebp
jne 0x140008861
mov r8, qword [rbx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rcx, qword [rax + r8 + 0x88]
mov r14, rcx
mov r9d, ecx
shr r14, 0x20
add r9, r8
cmp r9, r8
je 0x140008861
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x140008861
mov esi, dword [r9 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x811c9dc5
lea rax, [rsi + rdi*4]
mov ecx, dword [rax + r8]
add rcx, r8
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140008817
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 0x140008800
cmp edx, r10d
je 0x140008822
test edi, edi
jne 0x1400087e0
jmp 0x140008861
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov esi, dword [rcx + rdx*4]
add rsi, r8
cmp rsi, r9
jbe 0x140008872
lea rax, [r14 + r9]
cmp rsi, rax
jae 0x140008872
mov ebp, 0x811c9dc5
mov rbx, r15
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov r10, qword [rsp + 0x50]
shr r10, 0x20
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x140008750
xor esi, esi
mov qword [0x1400b8af8], rsi
mov rcx, qword [0x1400b8b00]
test rcx, rcx
jne 0x1400089de
mov rax, qword gs:[0x60]
xor ebp, ebp
mov qword [rsp + 0x30], r12
mov r10d, 0x9bc5a608
mov rcx, qword [rax + 0x18]
mov r12, qword [rcx + 0x10]
mov rbx, r12
nop word [rax + rax]
movups xmm0, xmmword [rbx + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x1400088fc
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x1400088f4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x1400088e0
cmp edx, ebp
jne 0x1400089c1
mov r8, qword [rbx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rcx, qword [rax + r8 + 0x88]
mov r15, rcx
mov r9d, ecx
shr r15, 0x20
add r9, r8
cmp r9, r8
je 0x1400089c1
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x1400089c1
mov r14d, dword [r9 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x811c9dc5
lea rax, [r14 + rdi*4]
mov ecx, dword [rax + r8]
add rcx, r8
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140008977
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 0x140008960
cmp edx, r10d
je 0x140008982
test edi, edi
jne 0x140008940
jmp 0x1400089c1
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov ecx, dword [rcx + rdx*4]
add rcx, r8
cmp rcx, r9
jbe 0x1400089d2
lea rax, [r15 + r9]
cmp rcx, rax
jae 0x1400089d2
mov ebp, 0x811c9dc5
mov rbx, r12
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov r10, qword [rsp + 0x50]
shr r10, 0x20
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r12
jne 0x1400088b0
xor ecx, ecx
mov r12, qword [rsp + 0x30]
mov qword [0x1400b8b00], rcx
call rcx
mov rdx, r13
mov rcx, rax
call rsi
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x140008a2e
cmp qword [r13 + 0x48], 0
jne 0x140008a2e
cmp qword [r13 + 0x50], 0
jne 0x140008a2e
cmp qword [r13 + 0x58], 0
jne 0x140008a2e
cmp qword [r13 + 0x60], 0
setne al
add rsp, 0x40
pop r13
ret
mov al, 1
add rsp, 0x40
pop r13
ret