Function at 0x180003ae0
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 0x180003ccc
cmp byte [rsp + 0x3c], 2
je 0x180003b67
cmp byte [rsp + 0x3c], 7
je 0x180003e45
jmp 0x1800041c3
cmp qword [rsp + 0xa0], 0
jne 0x180003c1b
mov dword [rsp + 0x40], 0
jmp 0x180003bb9
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 0x180003c16
mov dword [rsp + 0x24], 0
jmp 0x180003bd7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x24], eax
jae 0x180003c11
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 0x180003bcd
jmp 0x180003b80
jmp 0x180003cc7
mov dword [rsp + 0x44], 0
jmp 0x180003c5e
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 0x180003cc7
mov dword [rsp + 0x28], 0
jmp 0x180003c7c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x28], eax
jae 0x180003cc2
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 0x180003c72
jmp 0x180003c25
jmp 0x1800041c3
cmp qword [rsp + 0xa0], 0
je 0x180003cf2
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x54], eax
jmp 0x180003cfa
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x1a], al
cmp qword [rsp + 0xa0], 0
je 0x180003d2c
mov eax, 1
imul rax, rax, 0xff
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x58], eax
jmp 0x180003d34
mov dword [rsp + 0x58], 0xff
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x19], al
mov dword [rsp + 0x48], 0
jmp 0x180003d80
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 0x180003e40
mov byte [rsp], 0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x2c], 0
jmp 0x180003db9
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 0x180003e3b
mov eax, dword [rsp + 0x2c]
and eax, 7
test eax, eax
jne 0x180003def
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 0x180003e07
movzx eax, byte [rsp + 0x19]
mov byte [rsp + 3], al
jmp 0x180003e10
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 0x180003da6
jmp 0x180003d47
jmp 0x1800041c3
cmp qword [rsp + 0xa0], 0
jne 0x180003ff3
mov dword [rsp + 0x4c], 0
jmp 0x180003e97
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 0x180003fee
mov dword [rsp + 0x10], 0
jmp 0x180003eb9
mov eax, dword [rsp + 0x10]
inc eax
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x10], eax
jae 0x180003fe9
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 [0x1801bdfc8]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1801bdfc0]
cvttss2si rcx, xmm0
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 0x1c]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x1801bdfc8]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1801bdfc0]
cvttss2si rcx, xmm0
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp + 0x1d]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x1801bdfc8]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1801bdfc0]
cvttss2si rcx, xmm0
or eax, ecx
mov ecx, dword [rsp + 0x10]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x180003eaf
jmp 0x180003e5e
jmp 0x1800041c3
mov dword [rsp + 0x50], 0
jmp 0x180004036
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 0x1800041c3
mov dword [rsp + 0x14], 0
jmp 0x180004058
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x14], eax
jae 0x1800041be
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 [0x1801bdfc8]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1801bdfc0]
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 [0x1801bdfc8]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1801bdfc0]
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 [0x1801bdfc8]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1801bdfc0]
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 0x18000404e
jmp 0x180003ffd
add rsp, 0x78
ret