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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x10089040]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [0x10099d40]
push esi
mov esi, ecx
push edi
mov edi, dword [eax + 0x3e48]
mov dword [esp + 0x18], edi
cmp dword [esi + 0x48], 0xffffffff
je 0x100310f7
call fcn.10031880
mov eax, dword [0x10099d40]
cmp byte [eax + 0x5aa4], 0
je 0x10031111
push 0
mov edx, 0x10080100
xor ecx, ecx
call fcn.10018720
add esp, 4
mov eax, dword [esi + 0x54]
mov dword [edi + 0xf4], eax
movsx eax, word [esi + 0x1c8]
movss xmm1, dword [esi + 0x50]
movss xmm7, dword [esi + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x44]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x34], xmm7
lea ecx, [eax + 1]
mov dword [esp + 8], ecx
movsx ecx, word [esi + 0x1c6]
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x1003117d
movsx ecx, word [esi + 0x4c]
test ecx, ecx
jne 0x10031164
lea eax, [esi + 0x16c]
jmp 0x10031172
mov eax, dword [esi + 0x17c]
shl ecx, 4
add eax, 0xfffffff8
add eax, ecx
movaps xmm0, xmm7
subss xmm0, xmm1
movss dword [eax], xmm0
comiss xmm7, dword [esi + 0xf0]
movss xmm2, dword [0x100835fc]
jb 0x1003151a
movss xmm0, dword [esi + 0xf8]
comiss xmm0, xmm1
jb 0x1003151a
mov eax, dword [esi + 0x6c]
lea edx, [esi + 4]
mov dword [esp + 0xc], 0
cmp eax, 0x1000000
jne 0x100311ce
test byte [edx], 0x40
je 0x100311d2
mov ecx, dword [esi + 0x68]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.10004310
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x70]
xor eax, eax
cmp ecx, 0x1000000
mov dword [esp + 0x14], eax
cmove ecx, eax
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x44], eax
jg 0x100311fb
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x14c]
jne 0x10031215
test byte [edx], 0x80
je 0x10031215
test dword [esi + 0x64], 0x10000
je 0x1003120e
mov eax, dword [esi + 0x74]
jmp 0x10031211
mov eax, dword [esi + 0x78]
mov dword [esp + 0x14], eax
mov ax, word [esi + 0x1ce]
shr ax, 0xf
xor al, 1
mov word [esp + 0x12], ax
mov eax, ecx
or eax, dword [esp + 0x14]
or eax, dword [esp + 0xc]
jne 0x10031244
mov eax, dword [esp + 0x24]
cmp dword [esp + 8], eax
je 0x10031244
cmp byte [esp + 0x12], 0
je 0x10031284
test dword [edx], 0x100000
jne 0x10031267
movups xmm0, xmmword [esi + 0x10c]
mov eax, dword [edi + 0x264]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x60], xmm0
mov ecx, dword [esi + 0x160]
push 0
push dword [edi + 0x264]
call fcn.10026750
movss xmm7, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10031294
test ecx, ecx
je 0x10031353
movss xmm0, dword [esi + 0xdc]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0x2c]
maxss xmm0, dword [esi + 0xfc]
maxss xmm1, dword [esi + 0x100]
minss xmm2, dword [esi + 0x108]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xe4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [esi + 0x104]
movss dword [esp + 0x48], xmm0
test eax, eax
je 0x10031326
comiss xmm2, xmm1
jbe 0x10031326
push 0
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100257f0
movss xmm1, dword [esp + 0xc]
movss xmm2, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10031353
comiss xmm2, xmm1
jbe 0x10031353
push 0
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100257f0
cmp byte [esp + 0x12], 0
je 0x10031434
mov edi, dword [esi + 0x20]
movsx eax, word [esi + 0x1ce]
lea eax, [edi + eax*8]
mov dword [esp + 0x1c], eax
cmp edi, eax
ja 0x10031430
movsx eax, word [edi + 4]
movss xmm0, dword [esi + 0x50]
maxss xmm0, dword [esi + 0x100]
imul ecx, eax, 0x70
mov eax, dword [esi + 0x10]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x54]
minss xmm0, dword [esi + 0x108]
movss xmm2, dword [ecx + eax + 0xc]
movss xmm1, dword [ecx + eax + 8]
movaps xmm3, xmm2
maxss xmm1, dword [esi + 0xdc]
minss xmm3, dword [esi + 0xe4]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ecx + eax + 0x20]
maxss xmm1, dword [esi + 0xfc]
minss xmm3, dword [esi + 0x104]
comiss xmm1, xmm0
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x48], xmm3
jae 0x100313f3
movss dword [esp + 0x40], xmm0
comiss xmm2, xmm3
ja 0x100313fe
movss dword [esp + 0x48], xmm2
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x50]
push dword [edi]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x264]
call fcn.100257f0
add edi, 8
cmp edi, dword [esp + 0x1c]
jbe 0x10031377
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003149b
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x100]
jb 0x1003149b
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x1003149b
movss xmm0, dword [esi + 0x80]
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x2c], xmm1
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
call fcn.100255e0
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x24]
jne 0x10031582
movss xmm1, dword [esp + 0x34]
comiss xmm1, dword [esi + 0x100]
jb 0x10031582
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x10031582
movss xmm0, dword [esi + 0x80]
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0x3f800000
push dword [esi + 0x74]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x2c], xmm1
push eax
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm1
call fcn.100255e0
movss xmm2, dword [0x100835fc]
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x3c]
jne 0x10031545
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x10031545
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [ecx + eax - 6], 0
cmp edx, dword [esi + 0x40]
jl 0x10031530
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x24]
jne 0x100316c1
movss xmm0, dword [esi + 0x54]
movsx ecx, word [esi + 0x4c]
addss xmm0, xmm2
maxss xmm0, dword [edi + 0x1e4]
mov byte [esi + 0x1e1], 1
movaps xmm1, xmm0
subss xmm1, dword [esi + 0xc0]
test ecx, ecx
jne 0x1003158c
lea eax, [esi + 0x170]
jmp 0x1003159a
movss xmm2, dword [0x100835fc]
jmp 0x1003151e
mov eax, dword [esi + 0x17c]
shl ecx, 4
add eax, 0xfffffffc
add eax, ecx
movss dword [eax], xmm1
minss xmm0, dword [edi + 0x1ec]
movss xmm1, dword [esi + 0x54]
mov ax, word [esi + 0x1d4]
movss dword [esi + 0x120], xmm0
movss dword [esi + 0x100], xmm0
movss xmm0, dword [edi + 0x1ec]
movss dword [esi + 0x128], xmm0
movss dword [esi + 0x108], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe0]
subss xmm0, dword [esi + 0x50]
mov word [esi + 0x1d2], ax
subss xmm1, dword [esi + 0xc0]
movss dword [edi + 0xf4], xmm1
xor edi, edi
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
movss dword [esi + 0x50], xmm1
cmp dword [esi + 0x40], edi
jle 0x10031638
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x70]
inc edi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [esi + 0x120]
mov dword [ecx + edx - 0x4c], eax
cmp edi, dword [esi + 0x40]
jl 0x10031618
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x18]
movss xmm4, dword [eax + 0x20]
movss xmm3, dword [eax + 0x24]
movss xmm2, dword [eax + 0x28]
movss xmm1, dword [eax + 0x2c]
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [edx + 0x264]
movss dword [esp + 0x40], xmm4
movups xmmword [edx + 0x210], xmm0
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [edx + 0x264]
movups xmm0, xmmword [esp + 0x40]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmmword [eax + ecx*8 - 0x10], xmm0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [edx + 0x264]
call fcn.10026750
test byte [esi + 0x64], 1
mov byte [esi + 0x1d7], 0
jne 0x100316d1
inc dword [esi + 0x68]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.10074ff7
mov esp, ebp
pop ebp
ret