Function at 0x1400af670
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword gs:[0x30]
mov r14d, edx
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov r15, qword [rax + 0x20]
mov qword [rbp - 0x39], r15
mov rsi, r15
mov qword [rbp - 0x41], r15
nop dword [rax + rax]
mov rdx, qword [r15 + 0x40]
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x31], 0
mov qword [rbp - 0x21], 0
mov qword [rbp - 0x19], 7
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400af6e3
lea rcx, [rbp - 0x31]
call fcn.14000e8e0
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 1]
call fcn.1400ae680
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400af744
mov rcx, qword [rbp - 0x31]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400af73f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400af999
call fcn.1400e2868
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.1400af1f0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400af75e
mov rdi, qword [rax]
cmp word [rdi], 0
mov ebx, 0xffffffff
je 0x1400af7ba
mov byte [rbp + 0x80], 0
movsx ecx, byte [rdi]
lea rdi, [rdi + 2]
mov eax, ecx
mov byte [rbp + 0x7f], cl
xor eax, ebx
movzx edx, al
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, 1
call fcn.140015430
shr ebx, 8
lea rdx, [rbp + 0x7f]
xor eax, ebx
mov r8d, 1
mov ecx, eax
call fcn.140014bf0
cmp word [rdi], 0
mov ebx, eax
jne 0x1400af770
mov rdx, qword [rbp - 0x19]
not ebx
cmp rdx, 8
jb 0x1400af7fc
mov rcx, qword [rbp - 0x31]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400af7f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400af98d
call fcn.1400e2868
cmp ebx, r14d
jne 0x1400af8e3
mov r14, qword [r15 + 0x20]
xor esi, esi
movsxd rax, dword [r14 + 0x3c]
mov ecx, dword [rax + r14 + 0x88]
add rcx, r14
mov r13d, dword [rcx + 0x20]
mov eax, dword [rcx + 0x24]
add r13, r14
mov edx, dword [rcx + 0x1c]
add rax, r14
mov r12d, dword [rcx + 0x18]
add rdx, r14
mov qword [rbp - 9], rax
mov qword [rbp - 0x11], rdx
test r12d, r12d
je 0x1400af8db
movzx eax, word [rax + rsi*2]
mov ebx, 0xffffffff
mov edi, dword [r13 + rsi*4]
add rdi, r14
mov r15d, dword [rdx + rax*4]
add r15, r14
cmp byte [rdi], 0
je 0x1400af8bd
mov byte [rbp - 0x48], 0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [rdi]
lea rdi, [rdi + 1]
mov eax, ecx
mov byte [rbp - 0x49], cl
xor eax, ebx
movzx edx, al
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, 1
call fcn.140015430
shr ebx, 8
lea rdx, [rbp - 0x49]
xor eax, ebx
mov r8d, 1
mov ecx, eax
call fcn.140014bf0
cmp byte [rdi], 0
mov ebx, eax
jne 0x1400af870
mov rdx, qword [rbp - 0x11]
not ebx
cmp ebx, dword [rbp + 0x77]
je 0x1400af94c
mov rax, qword [rbp - 9]
inc esi
cmp esi, r12d
jb 0x1400af842
mov r15, qword [rbp - 0x39]
mov r14d, dword [rbp + 0x6f]
mov rsi, qword [rbp - 0x41]
mov rdx, qword [rbp + 0x17]
mov r15, qword [r15]
mov qword [rbp - 0x39], r15
cmp rdx, 8
jb 0x1400af926
mov rcx, qword [rbp - 1]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400af921
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400af993
call fcn.1400e2868
cmp r15, rsi
jne 0x1400af6c0
xor eax, eax
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1400af988
mov rcx, qword [rbp - 1]
lea rdx, [rdx*2 + 2]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400af983
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x1400af993
call fcn.1400e2868
mov rax, r15
jmp 0x1400af931
call fcn.1400e951c
int3
call fcn.1400e951c
int3
call fcn.1400e951c
int3