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

Disassembly:
sub rsp, 0x48
cmp qword [0x18012c5f0], 0
je 0x18005bc3e
cmp byte [0x18012c640], 0
mov qword [rsp + 0x50], rbx
je 0x18005b9b7
mov rax, qword [0x18012c610]
test rax, rax
je 0x18005b9b7
lea rbx, [rax + 0x20]
mov edx, 8
mov rcx, rbx
call qword [0x1800d8168]
test eax, eax
jne 0x18005b9b7
mov rcx, qword [rbx]
test rcx, rcx
je 0x18005b9b7
mov eax, dword [0x18012c60c]
mov dword [rax + rcx], 0
cmp byte [0x18012c641], 0
je 0x18005b9f7
mov rax, qword [0x18012c610]
test rax, rax
je 0x18005b9f7
lea rbx, [rax + 0x20]
mov edx, 8
mov rcx, rbx
call qword [0x1800d8168]
test eax, eax
jne 0x18005b9f7
mov rcx, qword [rbx]
test rcx, rcx
je 0x18005b9f7
mov eax, dword [0x18012c618]
mov dword [rax + rcx], 0
cmp byte [0x18012c643], 0
je 0x18005ba60
mov rax, qword [0x18012c610]
test rax, rax
je 0x18005ba60
lea rbx, [rax + 0x20]
mov edx, 8
mov rcx, rbx
call qword [0x1800d8168]
test eax, eax
jne 0x18005ba60
mov rcx, qword [rbx]
test rcx, rcx
je 0x18005ba60
add rcx, 0x60
call fcn.180046780
test rax, rax
je 0x18005ba60
lea rcx, [rax + 8]
call fcn.180046780
test rax, rax
je 0x18005ba60
mov rcx, rax
call fcn.180046780
lea rbx, [rax + 0x18]
mov rcx, rbx
call fcn.180046750
mov dword [rbx], 0x1e
cmp byte [0x18012c63b], 0
je 0x18005bc39
cmp qword [0x18012c610], 0
je 0x18005bc39
mov rbx, qword [0x18012c5f0]
mov edx, 4
lea rcx, [rbx + 0x280]
call qword [0x1800d8168]
test eax, eax
jne 0x18005bc39
movss xmm1, dword [rbx + 0x280]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x18005bc39
mov rcx, qword [0x18012c5f0]
mov qword [rsp + 0x58], rbp
add rcx, 0x30
mov qword [rsp + 0x40], rdi
movaps xmmword [rsp + 0x30], xmm6
call fcn.180046780
mov rcx, qword [0x18012c5f0]
mov edx, 0xc
add rcx, 0x90
mov rbp, rax
call qword [0x1800d8168]
mov rdi, qword [0x18012c610]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea edx, [rbx + 0xc]
lea rcx, [rdi + 0x1a0]
call qword [0x1800d8168]
test eax, eax
jne 0x18005bb1d
movsd xmm6, qword [rdi + 0x1a0]
mov ebx, dword [rdi + 0x1a8]
jmp 0x18005bb23
movsd xmm6, qword [rsp + 0x20]
mov rax, qword [0x180ab6758]
mov dword [rsp + 0x28], ebx
movsd qword [rsp + 0x20], xmm6
test rax, rax
jne 0x18005bc02
mov rax, qword gs:[0x60]
mov qword [rsp + 0x60], rsi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x18005bbd4
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x18005bbd4
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x18005bbcf
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 0x18005bbb0
cmp edx, 0x95466b05
je 0x18005bc43
test r8d, r8d
jne 0x18005bb90
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x18005bbea
cmp qword [rax + 0x30], 0
jne 0x18005bb60
xor eax, eax
mov ebx, dword [rsp + 0x28]
movsd xmm6, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x60]
mov qword [0x180ab6758], rax
mov ecx, 0x2e
call rax
mov rdi, qword [rsp + 0x40]
test al, 1
je 0x18005bc2f
movsd qword [rbp + 0x50], xmm6
mov dword [rbp + 0x58], ebx
mov rax, qword [0x18012c5f0]
movsd qword [rax + 0x90], xmm6
mov dword [rax + 0x98], ebx
mov rbp, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x18005bbec