Function at 0x1800016e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x1a]
mov byte [rsp + 0x3c], al
cmp byte [rsp + 0x3c], 1
je 0x1800018cc
cmp byte [rsp + 0x3c], 2
je 0x180001767
cmp byte [rsp + 0x3c], 7
je 0x180001a45
jmp 0x180001dc3
cmp qword [rsp + 0xa0], 0
jne 0x18000181b
mov dword [rsp + 0x40], 0
jmp 0x1800017b9
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x40], eax
jae 0x180001816
mov dword [rsp + 0x24], 0
jmp 0x1800017d7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x24], eax
jae 0x180001811
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
shl eax, 0x18
or eax, 0xff0000
or eax, 0xff00
or eax, 0xff
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x1800017cd
jmp 0x180001780
jmp 0x1800018c7
mov dword [rsp + 0x44], 0
jmp 0x18000185e
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x44], eax
jae 0x1800018c7
mov dword [rsp + 0x28], 0
jmp 0x18000187c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x28], eax
jae 0x1800018c2
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
shl eax, 0x18
or eax, 0xff0000
or eax, 0xff00
or eax, 0xff
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x180001872
jmp 0x180001825
jmp 0x180001dc3
cmp qword [rsp + 0xa0], 0
je 0x1800018f2
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x54], eax
jmp 0x1800018fa
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x1a], al
cmp qword [rsp + 0xa0], 0
je 0x18000192c
mov eax, 1
imul rax, rax, 0xff
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x58], eax
jmp 0x180001934
mov dword [rsp + 0x58], 0xff
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x19], al
mov dword [rsp + 0x48], 0
jmp 0x180001980
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x48], eax
jae 0x180001a40
mov byte [rsp], 0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x2c], 0
jmp 0x1800019b9
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movzx eax, byte [rsp]
shl al, 1
mov byte [rsp], al
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x2c], eax
jae 0x180001a3b
mov eax, dword [rsp + 0x2c]
and eax, 7
test eax, eax
jne 0x1800019ef
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
mov byte [rsp + 0x18], al
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x18]
mov byte [rsp], al
movzx eax, byte [rsp]
and eax, 0x80
test eax, eax
je 0x180001a07
movzx eax, byte [rsp + 0x19]
mov byte [rsp + 3], al
jmp 0x180001a10
movzx eax, byte [rsp + 0x1a]
mov byte [rsp + 3], al
movzx eax, byte [rsp + 3]
shl eax, 0x18
or eax, 0xff0000
or eax, 0xff00
or eax, 0xff
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x1800019a6
jmp 0x180001947
jmp 0x180001dc3
cmp qword [rsp + 0xa0], 0
jne 0x180001bf3
mov dword [rsp + 0x4c], 0
jmp 0x180001a97
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x4c], eax
jae 0x180001bee
mov dword [rsp + 0x10], 0
jmp 0x180001ab9
mov eax, dword [rsp + 0x10]
inc eax
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x10], eax
jae 0x180001be9
mov eax, dword [rsp + 0x10]
lea eax, [rax*4 + 2]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1d], al
mov eax, dword [rsp + 0x10]
lea eax, [rax*4 + 1]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1c], al
mov eax, dword [rsp + 0x10]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1b], al
mov eax, dword [rsp + 0x10]
lea eax, [rax*4 + 3]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
shl eax, 0x18
movzx ecx, byte [rsp + 0x1b]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x180140a28]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x180140a20]
cvttss2si rcx, xmm0
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 0x1c]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x180140a28]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x180140a20]
cvttss2si rcx, xmm0
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp + 0x1d]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x180140a28]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x180140a20]
cvttss2si rcx, xmm0
or eax, ecx
mov ecx, dword [rsp + 0x10]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x180001aaf
jmp 0x180001a5e
jmp 0x180001dc3
mov dword [rsp + 0x50], 0
jmp 0x180001c36
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x50], eax
jae 0x180001dc3
mov dword [rsp + 0x14], 0
jmp 0x180001c58
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x14], eax
jae 0x180001dbe
mov eax, dword [rsp + 0x14]
lea eax, [rax*4 + 2]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x14]
lea eax, [rax*4 + 1]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1f], al
mov eax, dword [rsp + 0x14]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1e], al
mov eax, dword [rsp + 0x14]
lea eax, [rax*4 + 3]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 2], al
movzx eax, byte [rsp + 2]
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
shl eax, 0x18
movzx ecx, byte [rsp + 0x1e]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x180140a28]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x180140a20]
cvttss2si rcx, xmm0
mov ecx, ecx
mov rdx, qword [rsp + 0xa0]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 0x1f]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x180140a28]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x180140a20]
cvttss2si rcx, xmm0
mov ecx, ecx
mov rdx, qword [rsp + 0xa0]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp + 0x20]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x180140a28]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x180140a20]
cvttss2si rcx, xmm0
mov ecx, ecx
mov rdx, qword [rsp + 0xa0]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov ecx, dword [rsp + 0x14]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x180001c4e
jmp 0x180001bfd
add rsp, 0x78
ret