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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movaps xmmword [rax - 0x28], xmm6
xor ebx, ebx
cmp byte [0x180150392], bl
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
je 0x18006b8c0
mov rax, qword [0x18014f5f8]
mov rdi, qword [rax]
test rdi, rdi
je 0x18006b8c0
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x18006b8c0
mov r13, qword [rdi + 0x30]
test r13, r13
je 0x18006b8c0
mov eax, dword [rdi + 0x98]
movsd xmm0, qword [rdi + 0x90]
mov dword [rbp - 0x48], eax
mov eax, dword [0x18014f658]
movsd qword [rbp - 0x50], xmm0
cmp byte [rax + rdi], 0x40
je 0x18006b8c0
movss xmm0, dword [0x1800c3d74]
comiss xmm0, dword [rdi + 0x280]
ja 0x18006b8c0
mov rax, qword [0x180150500]
test rax, rax
jne 0x18006b1d4
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r10, rsi
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18006b1b9
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18006b1b9
mov r15d, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r15 + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x18006b1b5
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18006b196
cmp r11d, 0x95466b05
je 0x18006b1ed
test edx, edx
jne 0x18006b17a
mov rax, qword [r10]
mov r10, rax
cmp rax, rsi
je 0x18006b1ca
cmp qword [rax + 0x30], rbx
jne 0x18006b156
mov rax, rbx
mov qword [0x180150500], rax
mov ecx, 0xa0
call rax
xorps xmm6, xmm6
test ax, ax
je 0x18006b207
movss xmm0, dword [0x1800c20fc]
jmp 0x18006b20a
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18006b1cd
xorps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x18006b21b
jne 0x18006b21b
movss xmm0, dword [0x18014d808]
jmp 0x18006b22b
movss xmm0, dword [0x18014d808]
mulss xmm0, dword [0x1800c2100]
movss dword [0x18014e870], xmm0
xorps xmm0, xmm0
movdqu xmmword [r13 + 0x30], xmm0
mov rax, qword [0x180150500]
test rax, rax
jne 0x18006b2e1
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r10, rsi
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18006b2c6
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18006b2c6
mov r15d, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r15 + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x18006b2c2
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18006b2a3
cmp r11d, 0x95466b05
je 0x18006b32a
test edx, edx
jne 0x18006b287
mov rax, qword [r10]
mov r10, rax
cmp rax, rsi
je 0x18006b2d7
cmp qword [rax + 0x30], rbx
jne 0x18006b263
mov rax, rbx
mov qword [0x180150500], rax
mov ecx, dword [str.WADS]
call rax
movss xmm8, dword [rbp - 0x48]
movss xmm7, dword [rbp - 0x4c]
movss xmm9, dword [rbp - 0x50]
test ax, ax
jns 0x18006b3e6
movaps xmm0, xmm6
unpcklps xmm0, xmm6
movsd qword [rdi + 0x320], xmm0
movss dword [rdi + 0x328], xmm6
mov rax, qword [0x18014f610]
test rax, rax
je 0x18006b344
mov rax, qword [rax]
jmp 0x18006b347
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18006b2da
mov rax, rbx
movsd xmm0, qword [rax + 0x40]
mov ecx, dword [rax + 0x48]
movsd qword [rbp - 0x50], xmm0
movss xmm3, dword [rbp - 0x50]
ucomiss xmm3, xmm6
mov dword [rbp - 0x48], ecx
jp 0x18006b390
jne 0x18006b390
movss xmm0, dword [rbp - 0x4c]
ucomiss xmm0, xmm6
jp 0x18006b390
jne 0x18006b390
movd xmm2, ecx
ucomiss xmm2, xmm6
jp 0x18006b395
jne 0x18006b395
movsd xmm0, qword [rax + 0x40]
movss xmm2, dword [rax + 0x48]
movsd qword [rbp - 0x50], xmm0
movss xmm3, dword [rbp - 0x50]
jmp 0x18006b395
movss xmm2, dword [rbp - 0x48]
movss xmm0, dword [0x18014e870]
movss xmm1, dword [rbp - 0x4c]
mulss xmm3, xmm0
mulss xmm1, xmm0
mulss xmm2, xmm0
addss xmm3, xmm9
addss xmm1, xmm7
addss xmm2, xmm8
movss dword [rdi + 0x90], xmm3
movaps xmm0, xmm3
movss dword [rdi + 0x94], xmm1
unpcklps xmm0, xmm1
movss dword [rdi + 0x98], xmm2
movsd qword [r13 + 0x50], xmm0
movss dword [r13 + 0x58], xmm2
mov rax, qword [0x180150500]
test rax, rax
jne 0x18006b48b
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r10, rsi
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18006b470
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18006b470
mov r15d, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r15 + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x18006b46c
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18006b44d
cmp r11d, 0x95466b05
je 0x18006b4c3
test edx, edx
jne 0x18006b431
mov rax, qword [r10]
mov r10, rax
cmp rax, rsi
je 0x18006b481
cmp qword [rax + 0x30], rbx
jne 0x18006b40d
mov rax, rbx
mov qword [0x180150500], rax
mov ecx, dword [0x18014e86c]
call rax
test ax, ax
jns 0x18006b588
movaps xmm0, xmm6
unpcklps xmm0, xmm6
movsd qword [rdi + 0x320], xmm0
movss dword [rdi + 0x328], xmm6
mov rax, qword [0x18014f610]
test rax, rax
je 0x18006b4dd
mov rax, qword [rax]
jmp 0x18006b4e0
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18006b484
mov rax, rbx
movsd xmm0, qword [rax + 0x40]
mov ecx, dword [rax + 0x48]
movsd qword [rbp - 0x50], xmm0
movss xmm2, dword [rbp - 0x50]
ucomiss xmm2, xmm6
mov dword [rbp - 0x48], ecx
jp 0x18006b529
jne 0x18006b529
movss xmm0, dword [rbp - 0x4c]
ucomiss xmm0, xmm6
jp 0x18006b529
jne 0x18006b529
movd xmm5, ecx
ucomiss xmm5, xmm6
jp 0x18006b52e
jne 0x18006b52e
movsd xmm0, qword [rax + 0x40]
movss xmm5, dword [rax + 0x48]
movsd qword [rbp - 0x50], xmm0
movss xmm2, dword [rbp - 0x50]
jmp 0x18006b52e
movss xmm5, dword [rbp - 0x48]
movss xmm1, dword [0x18014e870]
movaps xmm4, xmm9
movss xmm0, dword [rbp - 0x4c]
movaps xmm3, xmm7
mulss xmm2, xmm1
mulss xmm0, xmm1
subss xmm4, xmm2
mulss xmm5, xmm1
subss xmm3, xmm0
movaps xmm2, xmm8
subss xmm2, xmm5
movss dword [rdi + 0x90], xmm4
movaps xmm0, xmm4
movss dword [rdi + 0x94], xmm3
unpcklps xmm0, xmm3
movss dword [rdi + 0x98], xmm2
movsd qword [r13 + 0x50], xmm0
movss dword [r13 + 0x58], xmm2
mov rax, qword [0x180150500]
test rax, rax
jne 0x18006b62d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r10, rsi
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18006b612
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18006b612
mov r15d, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r15 + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x18006b60e
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18006b5ef
cmp r11d, 0x95466b05
je 0x18006b665
test edx, edx
jne 0x18006b5d3
mov rax, qword [r10]
mov r10, rax
cmp rax, rsi
je 0x18006b623
cmp qword [rax + 0x30], rbx
jne 0x18006b5af
mov rax, rbx
mov qword [0x180150500], rax
mov ecx, dword [0x18014e864]
call rax
test ax, ax
jns 0x18006b724
movaps xmm0, xmm6
unpcklps xmm0, xmm6
movsd qword [rdi + 0x320], xmm0
movss dword [rdi + 0x328], xmm6
mov rax, qword [0x18014f610]
test rax, rax
je 0x18006b67f
mov rax, qword [rax]
jmp 0x18006b682
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18006b626
mov rax, rbx
movsd xmm0, qword [rax + 0x40]
mov ecx, dword [rax + 0x48]
movsd qword [rbp - 0x50], xmm0
movss xmm4, dword [rbp - 0x50]
ucomiss xmm4, xmm6
mov dword [rbp - 0x48], ecx
jp 0x18006b6cb
jne 0x18006b6cb
movss xmm0, dword [rbp - 0x4c]
ucomiss xmm0, xmm6
jp 0x18006b6cb
jne 0x18006b6cb
movd xmm3, ecx
ucomiss xmm3, xmm6
jp 0x18006b6d0
jne 0x18006b6d0
movsd xmm0, qword [rax + 0x40]
movss xmm3, dword [rax + 0x48]
movsd qword [rbp - 0x50], xmm0
movss xmm4, dword [rbp - 0x50]
jmp 0x18006b6d0
movss xmm3, dword [rbp - 0x48]
movss xmm1, dword [0x18014e870]
movaps xmm2, xmm9
movss xmm0, dword [rbp - 0x4c]
mulss xmm0, xmm1
mulss xmm4, xmm1
subss xmm2, xmm0
mulss xmm3, xmm1
addss xmm4, xmm7
addss xmm3, xmm8
movss dword [rdi + 0x90], xmm2
movaps xmm0, xmm2
movss dword [rdi + 0x94], xmm4
unpcklps xmm0, xmm4
movss dword [rdi + 0x98], xmm3
movsd qword [r13 + 0x50], xmm0
movss dword [r13 + 0x58], xmm3
mov rax, qword [0x180150500]
test rax, rax
jne 0x18006b7cd
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov r10, r14
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18006b7b2
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18006b7b2
mov r15d, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r15 + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x18006b7ae
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18006b78b
cmp r11d, 0x95466b05
je 0x18006b84c
test edx, edx
jne 0x18006b76f
mov rax, qword [r10]
mov r10, rax
cmp rax, r14
je 0x18006b7c3
cmp qword [rax + 0x30], rbx
jne 0x18006b74b
mov rax, rbx
mov qword [0x180150500], rax
mov ecx, dword [0x18014e868]
call rax
test ax, ax
jns 0x18006b8c0
movaps xmm0, xmm6
unpcklps xmm0, xmm6
movsd qword [rdi + 0x320], xmm0
movss dword [rdi + 0x328], xmm6
mov rax, qword [0x18014f610]
test rax, rax
je 0x18006b803
mov rbx, qword [rax]
movsd xmm0, qword [rbx + 0x40]
mov eax, dword [rbx + 0x48]
movsd qword [rbp - 0x50], xmm0
movss xmm3, dword [rbp - 0x50]
ucomiss xmm3, xmm6
mov dword [rbp - 0x48], eax
jp 0x18006b869
jne 0x18006b869
movss xmm0, dword [rbp - 0x4c]
ucomiss xmm0, xmm6
jp 0x18006b869
jne 0x18006b869
movd xmm2, eax
ucomiss xmm2, xmm6
jp 0x18006b86e
jne 0x18006b86e
movsd xmm0, qword [rbx + 0x40]
movss xmm2, dword [rbx + 0x48]
movsd qword [rbp - 0x50], xmm0
movss xmm3, dword [rbp - 0x50]
jmp 0x18006b86e
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18006b7c6
movss xmm2, dword [rbp - 0x48]
movss xmm0, dword [0x18014e870]
movss xmm1, dword [rbp - 0x4c]
mulss xmm1, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm0
addss xmm1, xmm9
subss xmm7, xmm3
subss xmm8, xmm2
movss dword [rdi + 0x90], xmm1
movaps xmm0, xmm1
movss dword [rdi + 0x94], xmm7
unpcklps xmm0, xmm7
movss dword [rdi + 0x98], xmm8
movsd qword [r13 + 0x50], xmm0
movss dword [r13 + 0x58], xmm8
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret