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

Disassembly:
sub esp, 0x20
mov ecx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x28]
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 + 0x20], edi
je 0x10005829
mov eax, dword [esp + 0x4c]
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 0x10005828
mov edx, dword [esp + 0x74]
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 0x10005827
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
movss xmm6, dword [esp + 0x5c]
movss xmm7, dword [esp + 0x80]
movss xmm0, dword [esp + 0x60]
movss xmm4, dword [esp + 0x64]
movss xmm1, dword [esp + 0x84]
movss xmm5, dword [esp + 0x88]
subss xmm0, dword [esp + 0x58]
subss xmm1, dword [esp + 0x7c]
mov ecx, dword [esp + 0x44]
cvtsi2ss xmm3, eax
subss xmm4, xmm6
cvtsi2ss xmm2, edx
divss xmm4, xmm3
divss xmm0, xmm2
divss xmm1, xmm2
movss xmm2, dword [0x1000c044]
subss xmm5, xmm7
divss xmm5, xmm3
movaps xmm3, xmm4
mulss xmm3, xmm2
addss xmm3, xmm6
movaps xmm6, xmm5
add eax, ecx
cmp ecx, eax
mulss xmm6, xmm2
addss xmm6, xmm7
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x48], xmm6
jge 0x100057f4
mov ebp, dword [esp + 0x40]
add edx, ebp
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x50]
lea ebx, [edx*4]
mov dword [esp + 0x2c], ebx
mov ebx, ecx
imul ebx, edx
add ebx, ebp
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x7c]
movaps xmm7, xmm0
movss xmm0, dword [0x1000c040]
mulss xmm7, xmm2
addss xmm7, dword [esp + 0x58]
movss xmm2, dword [esp + 0x74]
lea edx, [edi + ebx*4]
mov ebx, dword [esp + 0x8c]
sub eax, ecx
movss dword [esp + 0x84], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm7
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
cmp ebp, eax
movss dword [esp + 0x58], xmm7
movss xmm7, dword [esp + 0x84]
movss dword [esp + 0x7c], xmm7
jge 0x100057b5
movss xmm4, dword [esp + 0x58]
mov edi, edx
mov edx, eax
sub edx, ebp
mov edi, edi
comiss xmm4, xmm1
jb 0x100054f2
comiss xmm3, xmm1
jb 0x100054f2
mov ebp, dword [esp + 0x68]
cvtsi2ss xmm5, ebp
mulss xmm5, xmm4
cvtsi2ss xmm4, dword [esp + 0x6c]
cvttss2si ecx, xmm5
cmp ecx, ebp
mulss xmm4, xmm3
cvttss2si eax, xmm4
jge 0x100054f2
cmp eax, dword [esp + 0x6c]
jge 0x100054f2
imul eax, dword [esp + 0x70]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x100054f4
xor eax, eax
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
cvtsi2ss xmm7, ecx
mov ecx, eax
sar ecx, 8
and ecx, 0xff
cvtsi2ss xmm4, ecx
mov ecx, eax
sar eax, 0x18
and eax, 0xff
and ecx, 0xff
cvtsi2ss xmm3, eax
mulss xmm3, xmm0
movss dword [esp + 0x8c], xmm3
movss xmm3, dword [esp + 0x7c]
comiss xmm3, xmm1
cvtsi2ss xmm5, ecx
mulss xmm7, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
movss dword [esp + 0x88], xmm7
movss dword [esp + 0x80], xmm4
movss dword [esp + 0x50], xmm5
jb 0x100055a5
comiss xmm6, xmm1
jb 0x100055a5
mov ebp, dword [esp + 0x90]
cvtsi2ss xmm1, ebx
mulss xmm1, xmm3
cvttss2si ecx, xmm1
cmp ecx, ebx
cvtsi2ss xmm1, ebp
mulss xmm1, xmm6
cvttss2si eax, xmm1
jge 0x100055a5
cmp eax, ebp
jge 0x100055a5
imul eax, dword [esp + 0x94]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x100055a7
xor eax, eax
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
cvtsi2ss xmm3, ecx
mov ecx, eax
sar ecx, 8
mulss xmm3, xmm0
mulss xmm3, xmm2
and ecx, 0xff
cvtsi2ss xmm6, ecx
mov ecx, eax
mulss xmm6, xmm0
mulss xmm6, xmm2
and ecx, 0xff
sar eax, 0x18
cvtsi2ss xmm1, ecx
mulss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esp + 0x44], xmm1
and eax, 0xff
cvtsi2ss xmm1, eax
mulss xmm1, xmm0
mulss xmm1, xmm2
movaps xmm0, xmm3
mulss xmm0, xmm7
movaps xmm2, xmm7
mulss xmm2, xmm7
movss xmm7, dword [0x1000c04c]
mulss xmm0, xmm7
addss xmm0, xmm2
mulss xmm2, xmm3
mulss xmm2, xmm7
subss xmm0, xmm2
movss xmm2, dword [esp + 0x88]
subss xmm0, xmm2
mulss xmm4, xmm4
mulss xmm0, xmm1
addss xmm0, xmm2
movss xmm2, dword [esp + 0x80]
movaps xmm3, xmm6
mulss xmm3, xmm2
mulss xmm3, xmm7
addss xmm3, xmm4
mulss xmm4, xmm6
movss xmm6, dword [esp + 0x44]
mulss xmm4, xmm7
subss xmm3, xmm4
movss xmm4, dword [esp + 0x50]
subss xmm3, xmm2
mulss xmm3, xmm1
addss xmm3, xmm2
mulss xmm5, xmm5
movaps xmm2, xmm6
mulss xmm2, xmm4
mulss xmm2, xmm7
addss xmm2, xmm5
mulss xmm5, xmm6
mulss xmm5, xmm7
subss xmm2, xmm5
movss xmm5, dword [esp + 0x8c]
subss xmm2, xmm4
mulss xmm2, xmm1
addss xmm2, xmm4
movaps xmm4, xmm1
mulss xmm1, xmm5
addss xmm4, xmm5
movss xmm5, dword [0x1000c03c]
subss xmm4, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100056da
movaps xmm0, xmm1
jmp 0x100056e2
comiss xmm0, xmm5
jbe 0x100056e2
movaps xmm0, xmm5
comiss xmm1, xmm3
jbe 0x100056ec
movaps xmm3, xmm1
jmp 0x100056f4
comiss xmm3, xmm5
jbe 0x100056f4
movaps xmm3, xmm5
comiss xmm1, xmm2
jbe 0x100056fe
movaps xmm2, xmm1
jmp 0x10005706
comiss xmm2, xmm5
jbe 0x10005706
movaps xmm2, xmm5
comiss xmm1, xmm4
jbe 0x10005710
movaps xmm4, xmm1
jmp 0x10005718
comiss xmm4, xmm5
jbe 0x10005718
movaps xmm4, xmm5
movss xmm5, dword [0x1000c038]
movss xmm6, dword [esp + 0x48]
mulss xmm4, xmm5
addss xmm4, dword [0x1000c044]
cvttss2si eax, xmm4
movss xmm4, dword [esp + 0x58]
addss xmm4, dword [esp + 0x18]
shl eax, 8
mulss xmm0, xmm5
cvttss2si ecx, xmm0
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [esp + 0x1c]
or eax, ecx
shl eax, 8
mulss xmm3, xmm5
cvttss2si ecx, xmm3
movss xmm3, dword [esp + 0x34]
or eax, ecx
shl eax, 8
mulss xmm2, xmm5
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x74]
or eax, ecx
mov dword [edi], eax
add edi, 4
dec edx
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [0x1000c040]
movss dword [esp + 0x58], xmm4
jne 0x100054b0
movss xmm4, dword [esp + 0x20]
movss xmm5, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
movss xmm7, dword [esp + 0x4c]
add edx, ecx
dec eax
addss xmm3, xmm4
addss xmm6, xmm5
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x48], xmm6
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], eax
jne 0x10005481
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push 2
push edi
push eax
push esi
call dword [edx + 0x37c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esi]
push 2
push ebp
push edx
push esi
call dword [ecx + 0x37c]
mov ecx, dword [esp + 0x78]
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, 0x20
ret 0x64