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

Disassembly:
mov rax, rsp
sub rsp, 0x58
mov rdx, qword [0x1802ed0d0]
test rdx, rdx
jne 0x180040739
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov ebp, 0x757a0dd7
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
xor r15d, r15d
nop dword [rax + rax]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov r14, qword [rax + 0x10]
nop word [rax + rax]
movups xmm0, xmmword [r14 + 0x58]
movd eax, xmm0
movups xmmword [rsp + 0x20], xmm0
sub ax, 8
test r15d, r15d
je 0x18004056f
mov r8, qword [rsp + 0x28]
mov r9d, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r10, [r8 + rax*2]
cmp r8, r10
je 0x180040566
movsx eax, byte [r8]
mov ecx, eax
sub al, 0x41
mov edx, ecx
or edx, 0x20
cmp al, 0x19
cmova edx, ecx
add r8, 2
xor edx, r9d
imul r9d, edx, 0x1000193
cmp r8, r10
jne 0x180040541
cmp r9d, r15d
jne 0x180040606
mov rbx, qword [r14 + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov rcx, qword [rax + rbx + 0x88]
mov r12, rcx
mov esi, ecx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x180040606
mov edi, dword [rsi + 0x18]
xor r11d, r11d
test edi, edi
je 0x180040606
mov r10d, dword [rsi + 0x20]
add r10, rbx
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r10]
mov r9d, 0x811c9dc5
add r8, rbx
movzx eax, byte [r8]
test al, al
je 0x1800405f5
nop dword [rax]
nop dword [rax + rax]
movsx ecx, al
lea r8, [r8 + 1]
sub al, 0x41
mov edx, ecx
or edx, 0x20
cmp al, 0x19
movzx eax, byte [r8]
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
test al, al
jne 0x1800405d0
cmp r9d, ebp
je 0x18004060e
inc r11d
add r10, 4
cmp r11d, edi
jb 0x1800405b0
mov r14, qword [r14]
jmp 0x180040510
mov eax, dword [rsi + 0x24]
mov ecx, dword [rsi + 0x1c]
add rax, rbx
add rcx, rbx
movzx edx, word [rax + r11*2]
mov edx, dword [rcx + rdx*4]
add rdx, rbx
cmp rdx, rsi
jbe 0x1800406de
lea rax, [r12 + rsi]
cmp rdx, rax
jae 0x1800406de
movzx r8d, byte [rdx]
mov r15d, 0x811c9dc5
mov dword [rsp + 0x60], r15d
mov r9d, r15d
mov dword [rsp + 0x64], r15d
cmp r8b, 0x2e
je 0x180040691
nop dword [rax + rax]
movsx eax, r8b
sub r8b, 0x41
mov ecx, eax
or ecx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdx + 1]
cmova ecx, eax
inc rdx
xor ecx, r15d
imul r15d, ecx, 0x1000193
cmp r8b, 0x2e
jne 0x180040660
mov dword [rsp + 0x60], r15d
movzx r8d, byte [rdx + 1]
inc rdx
test r8b, r8b
je 0x1800406d0
nop
movsx eax, r8b
lea rdx, [rdx + 1]
sub r8b, 0x41
mov ecx, eax
or ecx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdx]
cmova ecx, eax
xor ecx, r9d
imul r9d, ecx, 0x1000193
test r8b, r8b
jne 0x1800406a0
mov dword [rsp + 0x64], r9d
mov rbp, qword [rsp + 0x60]
shr rbp, 0x20
jmp 0x1800404f0
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov qword [0x1802ed0d0], rdx
test rdx, rdx
jne 0x180040739
mov r8d, 0x757a0dd7
lea rdx, str.tried_to_resolve_invalid_import_0x_X_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
mov rdx, qword [0x1802ed0d0]
lea rcx, [rsp + 0x68]
call rdx
mov rax, qword [rsp + 0x68]
add rsp, 0x58
ret