Function at 0x10040fb0
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 - 0x10], ebx
mov dword [ebp - 4], edi
movss xmm4, dword [edi]
comiss xmm4, dword [esi]
jae 0x100414ab
movss xmm5, dword [edi + 4]
comiss xmm5, dword [esi + 4]
jae 0x100414ab
movss xmm3, dword [ebp + 0x18]
comiss xmm4, xmm3
movss xmm1, dword [ebp + 0x24]
movss xmm2, dword [ebp + 0x20]
movss xmm0, dword [ebp + 0x1c]
jb 0x1004100f
comiss xmm2, dword [esi]
jb 0x1004100f
comiss xmm5, xmm0
jb 0x1004100f
comiss xmm1, dword [esi + 4]
jae 0x100414ab
minss xmm2, dword [esi]
minss xmm1, dword [esi + 4]
maxss xmm3, xmm4
maxss xmm0, xmm5
movss dword [ebp + 0x20], xmm2
movss dword [ebp + 0x24], xmm1
comiss xmm3, xmm2
movss dword [ebp + 0x18], xmm3
movss dword [ebp + 0x1c], xmm0
jae 0x10041490
comiss xmm0, xmm1
jae 0x10041490
push 0xc
push 0x18
call fcn.1003ee9a
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 - 0x14], 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 xmm4, dword [ecx]
movss xmm5, dword [ecx + 4]
mov ecx, dword [ebp + 8]
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm3, xmm4
mov eax, edi
movss xmm1, dword [ebp + 0x1c]
movss xmm0, dword [ecx]
subss xmm2, xmm5
subss xmm0, dword [edi]
divss xmm3, xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [eax + 4]
divss xmm4, xmm3
divss xmm2, xmm0
subss xmm4, dword [eax]
divss xmm5, xmm2
movss xmm0, dword [ebp + 0x18]
subss xmm5, dword [eax + 4]
movss dword [esi + 0x54], xmm1
movaps xmm1, xmm4
movss dword [esi + 0x50], xmm0
addss xmm1, dword [ebp + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [ebp + 0x1c]
mulss xmm1, xmm3
mulss xmm0, xmm2
movss dword [esi + 0x58], xmm1
movss dword [esi + 0x5c], xmm0
mov dword [esi + 0x60], edx
movss xmm0, dword [ebp + 0x20]
movss xmm1, dword [ebp + 0x1c]
movss dword [esi + 0x64], xmm0
movaps xmm0, xmm5
movss dword [esi + 0x68], xmm1
movaps xmm1, xmm4
addss xmm0, dword [ebp + 0x1c]
addss xmm1, dword [ebp + 0x20]
mov dword [esi + 0x74], edx
mulss xmm0, xmm2
mulss xmm1, xmm3
movss dword [esi + 0x70], xmm0
movss dword [esi + 0x6c], xmm1
movss xmm0, dword [ebp + 0x20]
movss xmm1, dword [ebp + 0x24]
movss dword [esi + 0x78], xmm0
movaps xmm0, xmm5
movss dword [esi + 0x7c], xmm1
movaps xmm1, xmm4
addss xmm0, dword [ebp + 0x24]
addss xmm1, dword [ebp + 0x20]
mov dword [esi + 0x88], edx
mulss xmm0, xmm2
mulss xmm1, xmm3
movss dword [esi + 0x84], xmm0
movss dword [esi + 0x80], xmm1
movss xmm0, dword [ebp + 0x18]
movss xmm1, dword [ebp + 0x24]
movss dword [esi + 0x8c], xmm0
movaps xmm0, xmm5
movss dword [esi + 0x90], xmm1
movaps xmm1, xmm4
addss xmm0, dword [ebp + 0x24]
addss xmm1, dword [ebp + 0x18]
mov dword [esi + 0x9c], edx
mulss xmm0, xmm2
mulss xmm1, xmm3
movss dword [esi + 0x98], xmm0
movss dword [esi + 0x94], xmm1
movss xmm0, dword [ebp + 0x18]
movss xmm1, dword [eax + 4]
movss dword [esi + 0xa0], xmm0
movaps xmm0, xmm5
movss dword [esi + 0xa4], xmm1
movaps xmm1, xmm4
addss xmm0, dword [eax + 4]
addss xmm1, dword [ebp + 0x18]
mov dword [esi + 0xb0], edx
mulss xmm0, xmm2
mulss xmm1, xmm3
movss dword [esi + 0xac], xmm0
movss dword [esi + 0xa8], xmm1
movss xmm0, dword [ebp + 0x20]
movss xmm1, dword [eax + 4]
movss dword [esi + 0xb4], xmm0
movaps xmm0, xmm5
movss dword [esi + 0xb8], xmm1
movaps xmm1, xmm4
addss xmm0, dword [eax + 4]
addss xmm1, dword [ebp + 0x20]
mov dword [esi + 0xc4], edx
mulss xmm0, xmm2
mulss xmm1, xmm3
movss dword [esi + 0xc0], xmm0
movss dword [esi + 0xbc], xmm1
movss xmm0, dword [ebp + 0x20]
movss xmm1, dword [ecx + 4]
movss dword [esi + 0xc8], xmm0
movaps xmm0, xmm5
movss dword [esi + 0xcc], xmm1
movaps xmm1, xmm4
addss xmm0, dword [ecx + 4]
addss xmm1, dword [ebp + 0x20]
mov dword [esi + 0xd8], edx
mulss xmm0, xmm2
mulss xmm1, xmm3
movss dword [esi + 0xd4], xmm0
movss dword [esi + 0xd0], xmm1
movss xmm0, dword [ebp + 0x18]
movss xmm1, dword [ecx + 4]
mov eax, ebx
movss dword [esi + 0xdc], xmm0
add eax, 8
movss dword [esi + 0xe0], xmm1
addss xmm5, dword [ecx + 4]
addss xmm4, dword [ebp + 0x18]
mov dword [esi + 0xec], edx
mov edx, dword [ebp - 0x10]
movzx eax, ax
mulss xmm5, xmm2
mov dword [ebp - 0xc], eax
mulss xmm4, xmm3
movss dword [esi + 0xe8], xmm5
movss dword [esi + 0xe4], xmm4
mov esi, edi
movss xmm0, dword [ebp + 0x18]
add dword [edx + 0x34], 0xf0
add dword [edx + 0x28], 0xc
comiss xmm0, dword [esi]
mov edi, dword [ebp - 0x14]
jbe 0x100413c2
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], bx
mov word [edi + 6], bx
mov word [edi + 0xa], ax
add edi, 0xc
movss xmm0, dword [ebp + 0x1c]
mov eax, ebx
add eax, 9
comiss xmm0, dword [esi + 4]
movzx eax, ax
mov dword [ebp - 4], eax
jbe 0x10041401
mov ecx, dword [ebp - 0xc]
mov word [edi + 2], ax
lea eax, [ebx + 5]
movzx esi, cx
mov ecx, dword [ebp + 8]
mov word [edi + 4], ax
mov word [edi + 8], ax
lea eax, [ebx + 4]
mov word [edi], si
mov word [edi + 6], si
mov word [edi + 0xa], ax
add edi, 0xc
movss xmm0, dword [ecx]
mov eax, ebx
add eax, 0xa
comiss xmm0, dword [ebp + 0x20]
movzx esi, ax
jbe 0x10041444
mov edx, dword [ebp - 4]
mov ecx, edx
movzx eax, dx
mov word [edi], ax
lea eax, [ebx + 1]
mov word [edi + 2], ax
lea eax, [ebx + 2]
movzx edx, cx
mov ecx, dword [ebp + 8]
mov word [edi + 6], dx
mov edx, dword [ebp - 0x10]
mov word [edi + 4], ax
mov word [edi + 8], ax
mov word [edi + 0xa], si
add edi, 0xc
movss xmm0, dword [ecx + 4]
comiss xmm0, dword [ebp + 0x24]
jbe 0x10041472
lea eax, [ebx + 6]
mov word [edi + 4], si
mov word [edi + 2], ax
lea ecx, [ebx + 7]
lea eax, [ebx + 0xb]
mov word [edi], cx
mov word [edi + 6], cx
mov word [edi + 8], si
mov word [edi + 0xa], ax
add edi, 0xc
imul ecx, dword [edx], 0x28
mov eax, edi
sub eax, dword [edx + 0x38]
sar eax, 1
push 0x18
pop ebx
sub ebx, eax
mov dword [edx + 0x38], edi
mov eax, dword [edx + 8]
sub dword [eax + ecx - 0xc], ebx
sub dword [edx + 0xc], ebx
jmp 0x100414ab
push 4
push 6
call fcn.1003ee9a
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push edi
call fcn.1003f050
pop edi
pop esi
pop ebx
leave
ret