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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x154]
mov ebx, dword [edi + 0x158]
movss xmm0, dword [eax + 0x228]
comiss xmm0, dword [edi + 0xc8]
jbe 0x100586a2
movss xmm0, dword [edi + 0xd0]
comiss xmm0, dword [eax + 0x220]
jbe 0x100586a2
movss xmm0, dword [eax + 0x224]
comiss xmm0, dword [edi + 0xc4]
jbe 0x100586a2
movss xmm0, dword [edi + 0xcc]
comiss xmm0, dword [eax + 0x21c]
jbe 0x100586a2
mov ebx, dword [ebx + 0x270]
mov ecx, dword [edi + 0x168]
push 0
push ebx
mov dword [esp + 0x20], ebx
call fcn.10050a20
push 0
lea eax, [edi + 0x11c]
mov ecx, ebx
push eax
lea eax, [edi + 0x114]
push eax
call fcn.1004de10
movsx eax, word [edi + 0x4c]
test eax, eax
jne 0x1005806d
lea ecx, [edi + 0x174]
jmp 0x1005807c
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x18c]
lea ecx, [ecx - 2]
lea ecx, [eax + ecx*8]
mov edx, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [0x101f4f54]
test edx, 0x100
je 0x10058095
movaps xmm2, xmm5
movzx eax, word [edi + 0x1dc]
cmp ax, 1
jl 0x100580ac
movss xmm1, dword [edi + 0xd8]
jmp 0x100580b4
movss xmm1, dword [edi + 0xe8]
cmp byte [edi + 0x1ee], 0
addss xmm1, dword [edi + 0xbc]
movss xmm0, dword [edi + 0xd8]
movss xmm6, dword [edi + 0xe0]
movaps xmm3, xmm0
movss dword [esp + 0x2c], xmm6
maxss xmm3, xmm1
addss xmm3, xmm2
movss dword [esp + 0x24], xmm3
je 0x1005810d
cmp ax, 1
jge 0x100580fa
movss xmm0, dword [edi + 0xe8]
addss xmm0, dword [ecx]
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [esp + 0x28], xmm4
jmp 0x10058116
movaps xmm4, xmm3
movss dword [esp + 0x28], xmm3
movss xmm2, dword [0x101f4f0c]
test edx, 0x200
je 0x1005831c
xor ebx, ebx
cmp dword [edi + 0x40], ebx
jle 0x10058318
mov eax, dword [edi + 0x28]
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, ebx
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x100582ec
mov eax, dword [edi + 0x18]
movsx ecx, word [eax + ebx*2]
movsx eax, word [edi + 0x1c6]
imul edx, ecx, 0x70
mov dword [esp + 0x20], ecx
add edx, dword [edi + 0x10]
cmp eax, ecx
jne 0x1005817c
mov ax, word [edi + 0x4e]
cmp ax, word [edi + 0x4c]
jne 0x1005817c
mov al, 1
jmp 0x1005817e
xor al, al
mov esi, dword [edx]
movss xmm1, dword [edx + 0xc]
and esi, 0x40000020
comiss xmm1, dword [edi + 0xfc]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x17], al
jbe 0x100581a4
test al, al
je 0x100582ec
cmp word [edx + 0x58], 0xffff
jne 0x100581d0
test esi, esi
je 0x100581d0
mov esi, dword [edi + 4]
mov eax, esi
and eax, 0xe000
cmp eax, 0x4000
jne 0x100582ec
test esi, 0x10000
jne 0x100582ec
movss xmm0, dword [edx + 0x20]
comiss xmm0, xmm1
jae 0x100582ec
movsx eax, word [edi + 0x1c0]
cmp eax, ecx
je 0x10058212
cmp byte [esp + 0x17], 0
jne 0x10058212
movsx esi, word [edi + 0x1e0]
lea eax, [ebx + 1]
cmp esi, eax
je 0x10058212
test dword [edi + 4], 0x1800
je 0x10058212
movaps xmm0, xmm4
movss dword [esp + 0x20], xmm0
jmp 0x1005821b
movaps xmm0, xmm6
movss dword [esp + 0x20], xmm6
comiss xmm0, xmm3
jbe 0x100582ec
movsx eax, word [edi + 0x1c6]
movsx esi, word [edi + 0x1c0]
cmp eax, ecx
jne 0x10058391
mov ax, word [edi + 0x4e]
cmp ax, word [edi + 0x4c]
jne 0x10058391
mov eax, 1
lea ecx, [eax + 0x1c]
movaps xmm1, xmm5
call fcn.10034770
movss xmm3, dword [esp + 0x24]
movss xmm2, dword [0x101f4f0c]
movss xmm0, dword [edx + 0xc]
mov dword [esp + 0x1c], eax
test eax, 0xff000000
je 0x100582ec
mov esi, dword [esp + 0x18]
addss xmm0, xmm2
addss xmm3, xmm2
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x54]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm3
call fcn.1004a040
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x48]
movss dword [esp + 0x48], xmm0
lea ecx, [esi + 0x54]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x101f4f0c]
push eax
movss dword [esp + 0x50], xmm0
call fcn.1004a040
push ecx
mov dword [esp], 0x3f800000
mov eax, esi
push 0
push dword [esp + 0x24]
mov ecx, eax
push dword [esi + 0x54]
push dword [eax + 0x5c]
call fcn.1004e1e0
mov dword [esi + 0x54], 0
movss xmm3, dword [esp + 0x24]
inc ebx
movss xmm2, dword [0x101f4f0c]
movss xmm4, dword [esp + 0x28]
movss xmm5, dword [0x101f4f54]
movss xmm6, dword [esp + 0x2c]
cmp ebx, dword [edi + 0x40]
jl 0x10058135
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov edx, ecx
and edx, 0x500
je 0x1005859c
mov eax, dword [edi + 0x78]
mov dword [esp + 0x18], eax
movups xmm0, xmmword [edi + 0xc4]
movups xmmword [esp + 0x30], xmm0
cmp edx, 0x500
jne 0x100583c2
movss xmm0, dword [esp + 0x38]
sub esp, 0xc
addss xmm0, xmm5
mov ecx, ebx
mov dword [esp + 8], 0x3f800000
mov dword [esp], 0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x48]
push eax
addss xmm0, xmm5
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x64], xmm0
call fcn.1004fe20
jmp 0x1005859c
xor eax, eax
cmp esi, ecx
je 0x1005824d
movsx ecx, word [edi + 0x1e0]
lea eax, [ebx + 1]
cmp ecx, eax
je 0x100583ba
test dword [edi + 4], 0x1800
jne 0x100583ba
mov eax, dword [edi + 0x7c]
jmp 0x10058266
mov eax, dword [edi + 0x78]
jmp 0x10058266
test ecx, 0x400
je 0x10058475
test eax, 0xff000000
je 0x1005859c
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x48]
addss xmm0, xmm2
push eax
lea ecx, [ebx + 0x54]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm2
movss dword [esp + 0x50], xmm0
call fcn.1004a040
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x48]
addss xmm0, dword [0x101f4f0c]
push eax
lea ecx, [ebx + 0x54]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x101f4f0c]
movss dword [esp + 0x50], xmm0
call fcn.1004a040
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 0
push dword [esp + 0x20]
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.1004e1e0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x101f4f0c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x34]
jmp 0x10058523
test ecx, 0x100
je 0x1005859c
test eax, 0xff000000
je 0x1005859c
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x48]
addss xmm0, xmm2
push eax
lea ecx, [ebx + 0x54]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm2
movss dword [esp + 0x50], xmm0
call fcn.1004a040
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0x48]
addss xmm0, dword [0x101f4f0c]
push eax
lea ecx, [ebx + 0x54]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x101f4f0c]
movss dword [esp + 0x50], xmm0
call fcn.1004a040
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 0
push dword [esp + 0x20]
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.1004e1e0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x101f4f0c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x101f4f0c]
lea eax, [esp + 0x48]
mov dword [ebx + 0x54], 0
push eax
lea ecx, [ebx + 0x54]
movss dword [esp + 0x50], xmm0
call fcn.1004a040
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0x48]
addss xmm0, dword [0x101f4f0c]
push eax
lea ecx, [ebx + 0x54]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x101f4f0c]
movss dword [esp + 0x50], xmm0
call fcn.1004a040
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 0
push dword [esp + 0x20]
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.1004e1e0
mov dword [ebx + 0x54], 0
test byte [edi + 4], 0x80
je 0x10058676
movss xmm1, dword [edi + 0x54]
movss xmm0, dword [edi + 0xd0]
comiss xmm0, xmm1
jbe 0x10058676
comiss xmm1, dword [edi + 0x108]
jb 0x10058676
movss xmm0, dword [edi + 0x110]
comiss xmm0, xmm1
jbe 0x10058676
movss xmm0, dword [edi + 0x84]
mov eax, dword [edi + 0x7c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0x80]
mov dword [esp + 0x28], eax
test eax, 0xff000000
je 0x10058676
addss xmm0, dword [0x101f4f0c]
addss xmm1, dword [0x101f4f0c]
lea eax, [esp + 0x30]
push eax
lea ecx, [ebx + 0x54]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
call fcn.1004a040
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x48]
addss xmm0, dword [0x101f4f0c]
push eax
lea ecx, [ebx + 0x54]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x50], xmm0
call fcn.1004a040
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 0
push dword [esp + 0x30]
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.1004e1e0
mov dword [ebx + 0x54], 0
mov ecx, dword [ebx + 0x3c]
sub ecx, 1
mov dword [ebx + 0x3c], ecx
jne 0x10058689
mov eax, dword [ebx + 0x2c]
add eax, 0x18
jmp 0x10058694
mov eax, dword [ebx + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, ebx
movups xmmword [ebx + 0x60], xmm0
call fcn.1004dba0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret