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

Disassembly:
push rsi
sub rsp, 0x80
cmp byte [0x1800170b1], 0
mov rsi, r8
mov dword [0x180017978], 0
jne 0x1800035aa
xor al, al
add rsp, 0x80
pop rsi
ret
mov qword [rsp + 0x98], rbp
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x70], xmm6
movups xmm6, xmmword [r8]
movaps xmmword [rsp + 0x60], xmm7
movsd xmm7, qword [0x180017118]
movaps xmmword [rsp + 0x50], xmm8
movsd xmm8, qword [0x180017110]
call fcn.180002960
movsd xmm1, qword [rsp + 0x20]
comisd xmm1, xmm8
jbe 0x180003619
movsd xmm0, qword [rsp + 0x28]
comisd xmm0, xmm7
jbe 0x180003619
addsd xmm8, xmm6
comisd xmm8, xmm1
jbe 0x180003619
unpckhpd xmm6, xmm6
addsd xmm7, xmm6
comisd xmm7, xmm0
jbe 0x180003619
mov bpl, 1
jmp 0x18000361c
xor bpl, bpl
cmp dword [0x1800170cc], 0xffffffff
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rdi
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
je 0x180003709
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1800036d7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1800036d7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xe7f8732b
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1800036d2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1800036b0
cmp r8d, 0x174f6dcb
je 0x1800036dc
test r9d, r9d
jne 0x180003690
mov rax, qword [rax]
jmp 0x180003660
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 1
add rax, r10
call rax
test ax, ax
jne 0x180003709
mov dword [0x1800170cc], 0xffffffff
movzx eax, byte [0x18001786d]
test al, al
je 0x1800037db
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1800037a7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1800037a7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xaded428d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1800037a2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180003780
cmp r8d, 0x955b15cd
je 0x1800037ac
test r9d, r9d
jne 0x180003760
mov rax, qword [rax]
jmp 0x180003730
mov edx, dword [rdi + 0x24]
mov ecx, 1
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [rdi + 0x1c]
add rdx, r10
mov eax, dword [rdx + r8*4]
add rax, r10
call rax
test ax, ax
jne 0x1800038c7
movzx eax, byte [0x18001786d]
xorps xmm6, xmm6
test bpl, bpl
jne 0x1800037f7
movsd xmm0, qword [0x18001b2c8]
ucomisd xmm0, xmm6
jp 0x1800037f7
je 0x1800038c0
test al, al
jne 0x1800038c0
cmp byte [0x180017868], 0
movsxd rax, dword [0x180017978]
je 0x18000389d
lea rcx, [0x180017870]
cmp byte [rax + rcx], 0
jne 0x180003824
mov byte [rax + rcx], 1
lea rcx, [rsp + 0x20]
call fcn.180002960
movsd xmm0, qword [0x18001b2c8]
ucomisd xmm0, xmm6
movsd xmm1, qword [rsp + 0x20]
movsd xmm2, qword [rsp + 0x28]
subsd xmm1, qword [rsi]
subsd xmm2, qword [rsi + 8]
jp 0x18000387b
jne 0x18000387b
movaps xmm0, xmm1
movaps xmm3, xmm2
subsd xmm0, qword [0x180017110]
subsd xmm3, qword [0x180017118]
movsd qword [0x18001b2c8], xmm0
movsd qword [0x18001b2d0], xmm3
jmp 0x180003883
movsd xmm3, qword [0x18001b2d0]
subsd xmm1, xmm0
subsd xmm2, xmm3
movsd qword [0x180017110], xmm1
movsd qword [0x180017118], xmm2
jmp 0x1800038c7
cmp rax, 0x100
jae 0x180003a16
lea rcx, [0x180017870]
xorps xmm0, xmm0
mov byte [rax + rcx], 0
movups xmmword [0x18001b2c8], xmm0
jmp 0x1800038c7
mov byte [0x18001786d], 0
movsd xmm2, qword [0x180017110]
lea r9, [rsp + 0x20]
movsd xmm3, qword [0x180017118]
lea rcx, [rsp + 0x30]
xorps xmm1, xmm1
movsd qword [0x18001b358], xmm2
xorps xmm0, xmm0
movsd qword [rsp + 0x30], xmm2
movsd xmm2, qword [rsi + 8]
movups xmmword [0x18001b348], xmm1
mov dword [0x180017974], 0
movsd xmm1, qword [rsi]
movups xmmword [0x18001b300], xmm0
mov dword [0x18001797c], 0
movups xmmword [0x18001b2f0], xmm0
movups xmm0, xmmword [0x180014b98]
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm1, xmm1
movsd qword [0x18001b360], xmm3
movsd qword [rsp + 0x38], xmm3
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1800032b0
movups xmm1, xmmword [0x180017110]
lea r9, [rsp + 0x30]
movups xmm0, xmmword [0x180014b88]
lea rcx, [rsp + 0x40]
movss xmm6, dword [0x180014d50]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm2, xmm6
movsd xmm1, qword [rsi]
cvtpd2ps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1800032b0
movss xmm0, dword [0x18001797c]
lea r8, [rsp + 0x40]
movsd xmm1, qword [rsi]
addss xmm0, xmm6
mulsd xmm1, qword [0x180014c10]
lea rdx, [rsp + 0x30]
lea rcx, str.Ceos_Den__RAGE
movsd xmm2, qword [0x180017118]
addsd xmm2, qword [0x180014c80]
movss dword [0x18001797c], xmm0
addsd xmm1, qword [0x180017110]
movaps xmm0, xmmword [0x180014ed0]
movaps xmmword [rsp + 0x40], xmm0
unpcklpd xmm1, xmm2
movdqa xmmword [rsp + 0x30], xmm1
call fcn.180003050
mov rdi, qword [rsp + 0xa0]
mov al, 1
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rsi
ret
call fcn.180011c38
int3