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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
movss xmm4, dword [esi]
movss xmm5, dword [edi]
comiss xmm5, xmm4
jae 0x10031b69
movss xmm7, dword [edi + 4]
movss xmm6, dword [esi + 4]
comiss xmm7, xmm6
jae 0x10031b69
movss xmm3, dword [ebp + 0x18]
comiss xmm5, xmm3
movss xmm1, dword [ebp + 0x24]
movss xmm2, dword [ebp + 0x20]
movss xmm0, dword [ebp + 0x1c]
jb 0x100316d6
comiss xmm2, xmm4
jb 0x100316d6
comiss xmm7, xmm0
jb 0x100316d6
comiss xmm1, xmm6
jae 0x10031b69
maxss xmm3, xmm5
minss xmm2, xmm4
maxss xmm0, xmm7
minss xmm1, xmm6
movss dword [ebp + 0x18], xmm3
comiss xmm3, xmm2
movss dword [ebp + 0x1c], xmm0
movss dword [ebp + 0x20], xmm2
movss dword [ebp + 0x24], xmm1
jae 0x10031b4e
comiss xmm0, xmm1
jae 0x10031b4e
push 0xc
push 0x18
call fcn.1002f100
mov esi, dword [ebx + 0x34]
mov edi, dword [ebx + 0x38]
movzx ebx, word [ebx + 0x28]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x10], edi
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp + 8]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 4]
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
mov dword [esi + 0x10], edx
movss xmm0, dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp + 0x10]
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x18], xmm1
movss xmm1, dword [ecx + 4]
movss xmm0, dword [eax]
mov ecx, dword [ebp + 8]
movss dword [esi + 0x1c], xmm0
movss dword [esi + 0x20], xmm1
mov dword [esi + 0x24], edx
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
movss dword [esi + 0x28], xmm0
movss dword [esi + 0x2c], xmm1
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [esi + 0x30], xmm1
movss dword [esi + 0x34], xmm0
mov dword [esi + 0x38], edx
movss xmm1, dword [ecx + 4]
movss xmm0, dword [edi]
mov ecx, dword [ebp + 0xc]
movss dword [esi + 0x3c], xmm0
movss dword [esi + 0x40], xmm1
movss xmm1, dword [eax + 4]
movss xmm0, dword [ecx]
movss dword [esi + 0x44], xmm0
movss dword [esi + 0x48], xmm1
mov dword [esi + 0x4c], edx
movss xmm5, dword [ecx]
movss xmm6, dword [ecx + 4]
mov ecx, dword [ebp + 8]
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
subss xmm4, xmm5
subss xmm3, xmm6
movss xmm1, dword [ebp + 0x1c]
movss xmm0, dword [ecx]
subss xmm0, dword [edi]
divss xmm4, xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [edi + 4]
divss xmm5, xmm4
divss xmm3, xmm0
subss xmm5, dword [edi]
divss xmm6, xmm3
movss xmm0, dword [ebp + 0x18]
subss xmm6, dword [edi + 4]
movss dword [esi + 0x50], xmm0
movss dword [esi + 0x54], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x18]
movaps xmm0, xmm6
addss xmm0, dword [ebp + 0x1c]
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0x58], xmm1
movss dword [esi + 0x5c], xmm0
mov dword [esi + 0x60], edx
mov eax, edi
movss xmm1, dword [ebp + 0x1c]
movss xmm0, dword [ebp + 0x20]
movss dword [esi + 0x64], xmm0
movaps xmm0, xmm6
movss dword [esi + 0x68], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x20]
addss xmm0, dword [ebp + 0x1c]
mov dword [esi + 0x74], edx
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0x6c], xmm1
movss dword [esi + 0x70], xmm0
movss xmm1, dword [ebp + 0x24]
movss xmm0, dword [ebp + 0x20]
movss dword [esi + 0x78], xmm0
movaps xmm0, xmm6
movss dword [esi + 0x7c], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x20]
addss xmm0, dword [ebp + 0x24]
mov dword [esi + 0x88], edx
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0x80], xmm1
movss dword [esi + 0x84], xmm0
movss xmm1, dword [ebp + 0x24]
movss xmm0, dword [ebp + 0x18]
movss dword [esi + 0x8c], xmm0
movaps xmm0, xmm6
movss dword [esi + 0x90], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x18]
addss xmm0, dword [ebp + 0x24]
mov dword [esi + 0x9c], edx
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0x94], xmm1
movss dword [esi + 0x98], xmm0
movss xmm1, dword [eax + 4]
movss xmm0, dword [ebp + 0x18]
movss dword [esi + 0xa0], xmm0
movaps xmm0, xmm6
movss dword [esi + 0xa4], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x18]
addss xmm0, dword [eax + 4]
mov dword [esi + 0xb0], edx
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0xa8], xmm1
movss dword [esi + 0xac], xmm0
movss xmm1, dword [eax + 4]
movss xmm0, dword [ebp + 0x20]
movss dword [esi + 0xb4], xmm0
movaps xmm0, xmm6
movss dword [esi + 0xb8], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x20]
addss xmm0, dword [eax + 4]
mov dword [esi + 0xc4], edx
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0xbc], xmm1
movss dword [esi + 0xc0], xmm0
movss xmm1, dword [ecx + 4]
movss xmm0, dword [ebp + 0x20]
movss dword [esi + 0xc8], xmm0
movaps xmm0, xmm6
movss dword [esi + 0xcc], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x20]
addss xmm0, dword [ecx + 4]
mov dword [esi + 0xd8], edx
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0xd0], xmm1
movss dword [esi + 0xd4], xmm0
movss xmm1, dword [ecx + 4]
movss xmm0, dword [ebp + 0x18]
lea eax, [ebx + 8]
movss dword [esi + 0xdc], xmm0
movss dword [esi + 0xe0], xmm1
addss xmm6, dword [ecx + 4]
addss xmm5, dword [ebp + 0x18]
mov dword [esi + 0xec], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
movzx eax, ax
mulss xmm6, xmm3
mov dword [ebp - 8], eax
mulss xmm5, xmm4
movss dword [esi + 0xe8], xmm6
movss dword [esi + 0xe4], xmm5
mov esi, dword [ebp - 0xc]
movss xmm0, dword [ebp + 0x18]
add dword [esi + 0x34], 0xf0
add dword [esi + 0x28], 0xc
comiss xmm0, dword [edx]
jbe 0x10031a89
mov word [edi + 2], ax
lea eax, [ebx + 0xb]
mov word [edi + 4], ax
mov word [edi + 8], ax
lea eax, [ebx + 3]
mov word [edi + 0xa], ax
mov eax, dword [ebp - 8]
mov word [edi], bx
mov word [edi + 6], bx
add edi, 0xc
movss xmm0, dword [ebp + 0x1c]
comiss xmm0, dword [edx + 4]
movzx eax, ax
jbe 0x10031ac3
mov esi, dword [ebp - 8]
mov word [edi], ax
lea eax, [ebx + 9]
mov word [edi + 2], ax
lea eax, [ebx + 5]
mov word [edi + 4], ax
mov word [edi + 8], ax
lea eax, [ebx + 4]
movzx edx, si
mov esi, dword [ebp - 0xc]
mov word [edi + 6], dx
mov word [edi + 0xa], ax
add edi, 0xc
movss xmm0, dword [ecx]
comiss xmm0, dword [ebp + 0x20]
jbe 0x10031af6
lea eax, [ebx + 1]
mov word [edi + 2], ax
lea ecx, [ebx + 9]
lea eax, [ebx + 2]
mov word [edi], cx
mov word [edi + 4], ax
mov word [edi + 8], ax
lea eax, [ebx + 0xa]
mov word [edi + 6], cx
mov ecx, dword [ebp + 8]
mov word [edi + 0xa], ax
add edi, 0xc
movss xmm0, dword [ecx + 4]
comiss xmm0, dword [ebp + 0x24]
jbe 0x10031b27
lea eax, [ebx + 6]
mov word [edi + 2], ax
lea ecx, [ebx + 7]
lea eax, [ebx + 0xa]
mov word [edi], cx
mov word [edi + 4], ax
mov word [edi + 8], ax
lea eax, [ebx + 0xb]
mov word [edi + 6], cx
mov word [edi + 0xa], ax
add edi, 0xc
mov eax, edi
mov edx, 0x18
sub eax, dword [esi + 0x38]
sar eax, 1
sub edx, eax
mov dword [esi + 0x38], edi
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
sub dword [eax + ecx*8 - 0xc], edx
sub dword [esi + 0xc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
push 6
call fcn.1002f100
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push edi
call fcn.1002f200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret