Function at 0x140003580
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 [0x14022a378]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test rdi, rdi
jne 0x1400036f9
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 0x14000361c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140003614
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140003600
cmp edx, ebp
jne 0x1400036e1
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 0x1400036e1
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x1400036e1
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 0x140003697
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 0x140003680
cmp edx, r10d
je 0x1400036a2
test edi, edi
jne 0x140003660
jmp 0x1400036e1
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 0x1400036f2
lea rax, [r14 + r9]
cmp rdi, rax
jae 0x1400036f2
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 0x1400035d0
xor edi, edi
mov qword [0x14022a378], 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 [0x14022a3b0]
test rsi, rsi
jne 0x140003879
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 0x14000379c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140003794
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140003780
cmp edx, ebp
jne 0x140003861
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 0x140003861
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x140003861
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 0x140003817
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 0x140003800
cmp edx, r10d
je 0x140003822
test edi, edi
jne 0x1400037e0
jmp 0x140003861
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 0x140003872
lea rax, [r14 + r9]
cmp rsi, rax
jae 0x140003872
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 0x140003750
xor esi, esi
mov qword [0x14022a3b0], rsi
mov rcx, qword [0x14022a3b8]
test rcx, rcx
jne 0x1400039de
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 0x1400038fc
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x1400038f4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x1400038e0
cmp edx, ebp
jne 0x1400039c1
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 0x1400039c1
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x1400039c1
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 0x140003977
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 0x140003960
cmp edx, r10d
je 0x140003982
test edi, edi
jne 0x140003940
jmp 0x1400039c1
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 0x1400039d2
lea rax, [r15 + r9]
cmp rcx, rax
jae 0x1400039d2
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 0x1400038b0
xor ecx, ecx
mov r12, qword [rsp + 0x30]
mov qword [0x14022a3b8], 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 0x140003a2e
cmp qword [r13 + 0x48], 0
jne 0x140003a2e
cmp qword [r13 + 0x50], 0
jne 0x140003a2e
cmp qword [r13 + 0x58], 0
jne 0x140003a2e
cmp qword [r13 + 0x60], 0
setne al
add rsp, 0x40
pop r13
ret
mov al, 1
add rsp, 0x40
pop r13
ret