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

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
push edi
push 0
push ecx
push esi
call dword [eax + 0x378]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
je 0x100021eb
mov eax, dword [esp + 0x44]
mov edx, dword [esi]
push ebp
push 0
push eax
push esi
call dword [edx + 0x378]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0xc], ebp
je 0x100021ea
mov edx, dword [esp + 0x6c]
mov ecx, dword [esi]
push ebx
push 0
push edx
push esi
call dword [ecx + 0x378]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x100021e9
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
movss xmm6, dword [esp + 0x54]
movss xmm2, dword [esp + 0x80]
movss xmm7, dword [esp + 0x78]
movss xmm3, dword [esp + 0x58]
movss xmm1, dword [esp + 0x5c]
movss xmm4, dword [esp + 0x7c]
subss xmm3, dword [esp + 0x50]
subss xmm4, dword [esp + 0x74]
mov ecx, dword [esp + 0x3c]
cvtsi2ss xmm5, eax
subss xmm1, xmm6
cvtsi2ss xmm0, edx
divss xmm3, xmm0
divss xmm4, xmm0
divss xmm1, xmm5
subss xmm2, xmm7
divss xmm2, xmm5
movss xmm5, dword [0x1000c044]
movaps xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
movaps xmm6, xmm2
add eax, ecx
cmp ecx, eax
mulss xmm6, xmm5
addss xmm6, xmm7
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x2c], xmm6
jge 0x100021b6
mov ebp, dword [esp + 0x38]
xorps xmm7, xmm7
add edx, ebp
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x48]
lea ebx, [edx*4]
mov dword [esp + 0x78], ebx
mov ebx, ecx
imul ebx, edx
add ebx, ebp
mulss xmm4, xmm5
addss xmm4, dword [esp + 0x74]
mulss xmm3, xmm5
addss xmm3, dword [esp + 0x50]
movss xmm5, dword [esp + 0x6c]
lea edx, [edi + ebx*4]
mov ebx, dword [esp + 0x84]
sub eax, ecx
movss dword [esp + 0x7c], xmm4
movss xmm4, dword [0x1000c040]
movss dword [esp + 0x44], xmm3
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], eax
jmp 0x10001ee0
movss xmm6, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
cmp ebp, eax
movss dword [esp + 0x74], xmm3
movss xmm3, dword [esp + 0x7c]
movss dword [esp + 0x50], xmm3
jge 0x10002177
movss xmm1, dword [esp + 0x74]
mov edi, edx
mov edx, eax
sub edx, ebp
lea ebx, [ebx]
comiss xmm1, xmm7
jb 0x10001f52
comiss xmm0, xmm7
jb 0x10001f52
mov ebp, dword [esp + 0x60]
cvtsi2ss xmm2, ebp
mulss xmm2, xmm1
cvtsi2ss xmm1, dword [esp + 0x64]
cvttss2si ecx, xmm2
cmp ecx, ebp
mulss xmm1, xmm0
cvttss2si eax, xmm1
jge 0x10001f52
cmp eax, dword [esp + 0x64]
jge 0x10001f52
imul eax, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x10001f54
xor eax, eax
movss xmm0, dword [esp + 0x50]
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
cvtsi2ss xmm1, ecx
mov ecx, eax
sar ecx, 8
and ecx, 0xff
cvtsi2ss xmm2, ecx
mov ecx, eax
sar eax, 0x18
and ecx, 0xff
and eax, 0xff
comiss xmm0, xmm7
cvtsi2ss xmm3, ecx
cvtsi2ss xmm6, eax
mulss xmm1, xmm4
mulss xmm2, xmm4
mulss xmm3, xmm4
mulss xmm6, xmm4
jb 0x10001fee
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm7
jb 0x10001fee
mov ebp, dword [esp + 0x88]
cvtsi2ss xmm0, ebx
mulss xmm0, dword [esp + 0x50]
cvttss2si ecx, xmm0
cmp ecx, ebx
cvtsi2ss xmm0, ebp
mulss xmm0, dword [esp + 0x2c]
cvttss2si eax, xmm0
jge 0x10001fee
cmp eax, ebp
jge 0x10001fee
imul eax, dword [esp + 0x8c]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x10001ff0
xor eax, eax
mov ecx, eax
sar ecx, 0x18
and ecx, 0xff
cvtsi2ss xmm0, ecx
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
cvtsi2ss xmm7, ecx
mulss xmm7, xmm4
mulss xmm7, xmm5
mulss xmm0, xmm4
mulss xmm0, xmm5
movss xmm5, dword [0x1000c03c]
subss xmm5, xmm7
movss xmm7, dword [0x1000c03c]
divss xmm1, xmm5
movaps xmm5, xmm1
mov ecx, eax
sar ecx, 8
and ecx, 0xff
cvtsi2ss xmm1, ecx
mulss xmm1, xmm4
mulss xmm1, dword [esp + 0x6c]
subss xmm7, xmm1
and eax, 0xff
divss xmm2, xmm7
movss xmm7, dword [0x1000c03c]
cvtsi2ss xmm1, eax
mulss xmm1, xmm4
mulss xmm1, dword [esp + 0x6c]
subss xmm7, xmm1
movaps xmm1, xmm0
divss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm7, xmm5
mulss xmm0, xmm6
addss xmm1, xmm6
subss xmm1, xmm0
movss xmm0, dword [0x1000c03c]
jbe 0x100020a1
movaps xmm5, xmm7
jmp 0x100020a9
comiss xmm5, xmm0
jbe 0x100020a9
movaps xmm5, xmm0
comiss xmm7, xmm2
jbe 0x100020b3
movaps xmm2, xmm7
jmp 0x100020bb
comiss xmm2, xmm0
jbe 0x100020bb
movaps xmm2, xmm0
comiss xmm7, xmm3
jbe 0x100020c5
movaps xmm3, xmm7
jmp 0x100020cd
comiss xmm3, xmm0
jbe 0x100020cd
movaps xmm3, xmm0
comiss xmm7, xmm1
jbe 0x100020d7
movaps xmm1, xmm7
jmp 0x100020df
comiss xmm1, xmm0
jbe 0x100020df
movaps xmm1, xmm0
movss xmm0, dword [0x1000c038]
mulss xmm1, xmm0
addss xmm1, dword [0x1000c044]
mulss xmm5, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [esp + 0x18]
shl eax, 8
cvttss2si ecx, xmm5
movss xmm5, dword [esp + 0x6c]
or eax, ecx
shl eax, 8
mulss xmm2, xmm0
cvttss2si ecx, xmm2
or eax, ecx
mulss xmm3, xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x1c]
shl eax, 8
cvttss2si ecx, xmm3
or eax, ecx
mov dword [edi], eax
add edi, 4
dec edx
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x74], xmm1
jne 0x10001f10
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x80]
movss xmm6, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x54]
movss xmm3, dword [esp + 0x44]
add edx, ecx
dec eax
addss xmm0, xmm1
addss xmm6, xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x2c], xmm6
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], eax
jne 0x10001eda
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push 2
push edi
push eax
push esi
call dword [edx + 0x37c]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi]
push 2
push ebp
push edx
push esi
call dword [ecx + 0x37c]
mov ecx, dword [esp + 0x70]
mov eax, dword [esi]
push 2
push ebx
push ecx
push esi
call dword [eax + 0x37c]
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret 0x64