Function at 0x140004fe0
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 [0x140081410]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test rdi, rdi
jne 0x140005159
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 0x14000507c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140005074
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140005060
cmp edx, ebp
jne 0x140005141
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 0x140005141
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x140005141
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 0x1400050f7
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 0x1400050e0
cmp edx, r10d
je 0x140005102
test edi, edi
jne 0x1400050c0
jmp 0x140005141
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 0x140005152
lea rax, [r14 + r9]
cmp rdi, rax
jae 0x140005152
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 0x140005030
xor edi, edi
mov qword [0x140081410], 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 [0x140081448]
test rsi, rsi
jne 0x1400052d9
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 0x1400051fc
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x1400051f4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x1400051e0
cmp edx, ebp
jne 0x1400052c1
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 0x1400052c1
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x1400052c1
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 0x140005277
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 0x140005260
cmp edx, r10d
je 0x140005282
test edi, edi
jne 0x140005240
jmp 0x1400052c1
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 0x1400052d2
lea rax, [r14 + r9]
cmp rsi, rax
jae 0x1400052d2
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 0x1400051b0
xor esi, esi
mov qword [0x140081448], rsi
mov rcx, qword [0x140081450]
test rcx, rcx
jne 0x14000543e
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 0x14000535c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140005354
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140005340
cmp edx, ebp
jne 0x140005421
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 0x140005421
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x140005421
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 0x1400053d7
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 0x1400053c0
cmp edx, r10d
je 0x1400053e2
test edi, edi
jne 0x1400053a0
jmp 0x140005421
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 0x140005432
lea rax, [r15 + r9]
cmp rcx, rax
jae 0x140005432
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 0x140005310
xor ecx, ecx
mov r12, qword [rsp + 0x30]
mov qword [0x140081450], 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 0x14000548e
cmp qword [r13 + 0x48], 0
jne 0x14000548e
cmp qword [r13 + 0x50], 0
jne 0x14000548e
cmp qword [r13 + 0x58], 0
jne 0x14000548e
cmp qword [r13 + 0x60], 0
setne al
add rsp, 0x40
pop r13
ret
mov al, 1
add rsp, 0x40
pop r13
ret