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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movss xmm4, dword [ebx]
movss xmm5, dword [edi]
comiss xmm5, xmm4
jae 0x1005b86c
movss xmm7, dword [edi + 4]
movss xmm6, dword [ebx + 4]
comiss xmm7, xmm6
jae 0x1005b86c
movss xmm3, dword [ebp + 0x1c]
comiss xmm5, xmm3
movss xmm1, dword [ebp + 0x28]
movss xmm2, dword [ebp + 0x24]
movss xmm0, dword [ebp + 0x20]
jb 0x1005b3ce
comiss xmm2, xmm4
jb 0x1005b3ce
comiss xmm7, xmm0
jb 0x1005b3ce
comiss xmm1, xmm6
jae 0x1005b86c
maxss xmm3, xmm5
minss xmm2, xmm4
maxss xmm0, xmm7
minss xmm1, xmm6
push esi
movss dword [ebp + 0x1c], xmm3
comiss xmm3, xmm2
movss dword [ebp + 0x20], xmm0
movss dword [ebp + 0x24], xmm2
movss dword [ebp + 0x28], xmm1
jae 0x1005b84c
comiss xmm0, xmm1
jae 0x1005b84c
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0xc
push 0x18
call fcn.10051140
mov esi, dword [ebx + 0x34]
mov edi, dword [ebx + 0x38]
movzx ebx, word [ebx + 0x28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x2c]
mov dword [ebp - 8], edi
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp + 0x10]
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 + 0xc]
mov edi, dword [ebp + 0xc]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp + 0x18]
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x18], xmm1
movss xmm1, dword [ecx + 4]
movss xmm0, dword [eax]
mov ecx, dword [ebp + 0x10]
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 + 0x14]
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 + 0x10]
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
subss xmm4, xmm5
subss xmm3, xmm6
movss xmm1, dword [ebp + 0x20]
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 + 0x1c]
subss xmm6, dword [edi + 4]
movss dword [esi + 0x50], xmm0
movss dword [esi + 0x54], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm6
addss xmm0, dword [ebp + 0x20]
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0x58], xmm1
mov eax, edi
movss dword [esi + 0x5c], xmm0
mov dword [esi + 0x60], edx
movss xmm1, dword [ebp + 0x20]
movss xmm0, dword [ebp + 0x24]
movss dword [esi + 0x64], xmm0
movaps xmm0, xmm6
movss dword [esi + 0x68], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x24]
addss xmm0, dword [ebp + 0x20]
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 + 0x28]
movss xmm0, dword [ebp + 0x24]
movss dword [esi + 0x78], xmm0
movaps xmm0, xmm6
movss dword [esi + 0x7c], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x24]
addss xmm0, dword [ebp + 0x28]
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 + 0x28]
movss xmm0, dword [ebp + 0x1c]
movss dword [esi + 0x8c], xmm0
movaps xmm0, xmm6
movss dword [esi + 0x90], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x1c]
addss xmm0, dword [ebp + 0x28]
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 + 0x1c]
movss dword [esi + 0xa0], xmm0
movaps xmm0, xmm6
movss dword [esi + 0xa4], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x1c]
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 + 0x24]
movss dword [esi + 0xb4], xmm0
movaps xmm0, xmm6
movss dword [esi + 0xb8], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x24]
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 + 0x24]
movss dword [esi + 0xc8], xmm0
movaps xmm0, xmm6
movss dword [esi + 0xcc], xmm1
movaps xmm1, xmm5
addss xmm1, dword [ebp + 0x24]
addss xmm0, dword [ecx + 4]
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esi + 0xd0], xmm1
movss dword [esi + 0xd4], xmm0
mov dword [esi + 0xd8], edx
lea eax, [ebx + 8]
movss xmm1, dword [ecx + 4]
movss xmm0, dword [ebp + 0x1c]
movss dword [esi + 0xdc], xmm0
movss dword [esi + 0xe0], xmm1
addss xmm6, dword [ecx + 4]
addss xmm5, dword [ebp + 0x1c]
mov dword [esi + 0xec], edx
mov edx, edi
mov edi, dword [ebp - 8]
movzx eax, ax
mulss xmm6, xmm3
mov dword [ebp - 4], eax
mulss xmm5, xmm4
movss dword [esi + 0xe8], xmm6
movss dword [esi + 0xe4], xmm5
mov esi, dword [ebp + 8]
movss xmm0, dword [ebp + 0x1c]
add dword [esi + 0x34], 0xf0
add dword [esi + 0x28], 0xc
comiss xmm0, dword [edx]
jbe 0x1005b787
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 - 4]
mov word [edi], bx
mov word [edi + 6], bx
add edi, 0xc
movss xmm0, dword [ebp + 0x20]
comiss xmm0, dword [edx + 4]
movzx eax, ax
jbe 0x1005b7c1
mov esi, dword [ebp - 4]
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 + 8]
mov word [edi + 6], dx
mov word [edi + 0xa], ax
add edi, 0xc
movss xmm0, dword [ecx]
comiss xmm0, dword [ebp + 0x24]
jbe 0x1005b7f4
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 + 0x10]
mov word [edi + 0xa], ax
add edi, 0xc
movss xmm0, dword [ecx + 4]
comiss xmm0, dword [ebp + 0x28]
jbe 0x1005b825
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 esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 4
push 6
call fcn.10051140
push dword [ebp + 0x2c]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push edi
call fcn.10051210
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret