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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x100b4040]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [0x10103264]
push esi
mov esi, ecx
push edi
mov edi, dword [eax + 0x3e28]
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 0x5c]
cmp ecx, 0xffffffff
je 0x100652d0
mov edx, dword [esi + 0x164]
imul ecx, ecx, 0x68
add ecx, dword [esi + 0x10]
cmp byte [edx + 0x12d], 0
je 0x10065261
mov eax, edi
mov byte [eax + 0x12d], 0
movss xmm1, dword [eax + 0x104]
movss xmm0, dword [eax + 0x108]
maxss xmm1, dword [eax + 0xec]
maxss xmm0, dword [eax + 0xf0]
movss dword [eax + 0x104], xmm1
movss dword [eax + 0x108], xmm0
test byte [esi + 0x78], 1
je 0x1006526e
mov eax, 0x48
jmp 0x10065280
xor eax, eax
cmp byte [esi + 0x1d8], al
setne al
lea eax, [eax*4 + 0x40]
movss xmm0, dword [eax + ecx]
maxss xmm0, dword [edx + 0x104]
movss dword [eax + ecx], xmm0
movss xmm1, dword [esi + 0xa8]
addss xmm1, dword [edx + 0x108]
movss xmm0, dword [esi + 0x68]
maxss xmm0, xmm1
movss dword [esi + 0x68], xmm0
mov eax, dword [edx + 0x1a4]
mov dword [ecx + 0x3c], eax
movss xmm0, dword [esi + 0x70]
maxss xmm0, dword [edx + 0x128]
mov eax, dword [0x10103264]
movss dword [esi + 0x70], xmm0
cmp byte [eax + 0x5a50], 0
je 0x100652ea
push 0
mov edx, 0x100aff18
xor ecx, ecx
call fcn.1001a6b0
add esp, 4
mov eax, dword [esi + 0x68]
mov dword [edi + 0xf0], eax
movsx eax, byte [esi + 0x1c6]
movss xmm1, dword [esi + 0x64]
movss xmm7, dword [esi + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x58]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x34], xmm7
lea ecx, [eax + 1]
mov dword [esp + 0xc], ecx
movsx ecx, byte [esi + 0x1c5]
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x10065357
movsx eax, word [esi + 0x60]
test eax, eax
jne 0x1006533d
lea eax, [esi + 0x17c]
jmp 0x1006534c
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
lea eax, [eax + ecx*4]
add eax, 0xfffffff8
movaps xmm0, xmm7
subss xmm0, xmm1
movss dword [eax], xmm0
comiss xmm7, dword [esi + 0x104]
movss xmm2, dword [0x100b1304]
jb 0x1006570c
movss xmm0, dword [esi + 0x10c]
comiss xmm0, xmm1
jb 0x1006570c
mov eax, dword [esi + 0x80]
xor edx, edx
mov dword [esp + 0x10], edx
cmp eax, 0x1000000
je 0x10065398
mov edx, eax
mov dword [esp + 0x10], edx
jmp 0x100653b5
test byte [esi + 4], 0x40
je 0x100653b5
mov ecx, dword [esi + 0x7c]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.10005270
mov edx, eax
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x84]
xor eax, eax
cmp ecx, 0x1000000
mov dword [esp + 0x14], eax
cmove ecx, eax
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x58], eax
jg 0x100653e1
mov eax, dword [esi + 0x164]
cmp eax, dword [esi + 0x160]
jne 0x10065402
test byte [esi + 4], 0x80
je 0x10065402
test dword [esi + 0x78], 0x10000
je 0x100653f8
mov eax, dword [esi + 0x88]
jmp 0x100653fe
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x1c9]
shr al, 7
mov byte [esp + 0xb], al
mov eax, ecx
or eax, dword [esp + 0x14]
or eax, edx
jne 0x1006542a
mov eax, dword [esp + 0x24]
cmp dword [esp + 0xc], eax
je 0x1006542a
cmp byte [esp + 0xb], 0
jne 0x1006546f
test dword [esi + 4], 0x100000
jne 0x1006544e
movups xmm0, xmmword [esi + 0x120]
mov eax, dword [edi + 0x268]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x60], xmm0
mov ecx, dword [esi + 0x174]
push 0
push dword [edi + 0x268]
call fcn.1005aba0
movss xmm7, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x1006547b
test ecx, ecx
je 0x1006553a
movss xmm0, dword [esi + 0xf0]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0x2c]
maxss xmm0, dword [esi + 0x110]
maxss xmm1, dword [esi + 0x114]
minss xmm2, dword [esi + 0x11c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xf8]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [esi + 0x118]
movss dword [esp + 0x48], xmm0
test edx, edx
je 0x1006550d
comiss xmm2, xmm1
jbe 0x1006550d
push 0
push ecx
mov ecx, dword [edi + 0x268]
lea eax, [esp + 0x50]
mov dword [esp], 0
push edx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10059bc0
movss xmm1, dword [esp + 0x10]
movss xmm2, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006553a
comiss xmm2, xmm1
jbe 0x1006553a
push 0
push ecx
mov ecx, dword [edi + 0x268]
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10059bc0
cmp byte [esp + 0xb], 0
jne 0x1006561d
mov edi, dword [esi + 0x20]
movsx eax, byte [esi + 0x1c9]
lea eax, [edi + eax*8]
mov dword [esp + 0x1c], eax
cmp edi, eax
ja 0x10065619
nop
movsx eax, byte [edi + 4]
movss xmm0, dword [esi + 0x64]
maxss xmm0, dword [esi + 0x114]
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x68]
minss xmm0, dword [esi + 0x11c]
movss xmm2, dword [ecx + eax + 0xc]
movss xmm1, dword [ecx + eax + 8]
movaps xmm3, xmm2
maxss xmm1, dword [esi + 0xf0]
minss xmm3, dword [esi + 0xf8]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ecx + eax + 0x20]
maxss xmm1, dword [esi + 0x110]
minss xmm3, dword [esi + 0x118]
comiss xmm1, xmm0
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x48], xmm3
jae 0x100655dc
movss dword [esp + 0x40], xmm0
comiss xmm2, xmm3
ja 0x100655e7
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 + 0x268]
call fcn.10059bc0
add edi, 8
cmp edi, dword [esp + 0x1c]
jbe 0x10065560
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10065687
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x114]
jb 0x10065687
movss xmm0, dword [esi + 0x11c]
comiss xmm0, xmm1
jbe 0x10065687
movss xmm0, dword [esi + 0x94]
push ecx
mov ecx, dword [edi + 0x268]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 0x90]
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.100599c0
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x24]
jne 0x10065772
movss xmm1, dword [esp + 0x34]
comiss xmm1, dword [esi + 0x114]
jb 0x10065772
movss xmm0, dword [esi + 0x11c]
comiss xmm0, xmm1
jbe 0x10065772
movss xmm0, dword [esi + 0x94]
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x268]
mov dword [esp], 0x3f800000
push dword [esi + 0x88]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 0x90]
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.100599c0
movss xmm2, dword [0x100b1304]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x3c]
jne 0x10065735
xor edx, edx
cmp dword [esi + 0x54], edx
jle 0x10065735
xor ecx, ecx
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov byte [ecx + eax - 6], 0
cmp edx, dword [esi + 0x54]
jl 0x10065720
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x24]
jne 0x100658ae
movss xmm0, dword [esi + 0x68]
movsx eax, word [esi + 0x60]
addss xmm0, xmm2
maxss xmm0, dword [edi + 0x1e8]
mov byte [esi + 0x1d8], 1
movaps xmm1, xmm0
subss xmm1, dword [esi + 0xd4]
test eax, eax
jne 0x1006577c
lea eax, [esi + 0x180]
jmp 0x1006578b
movss xmm2, dword [0x100b1304]
jmp 0x10065710
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
lea eax, [eax + ecx*4]
add eax, 0xfffffffc
movss dword [eax], xmm1
minss xmm0, dword [edi + 0x1f0]
movss xmm1, dword [esi + 0x68]
mov al, byte [esi + 0x1cc]
movss dword [esi + 0x134], xmm0
movss dword [esi + 0x114], xmm0
movss xmm0, dword [edi + 0x1f0]
movss dword [esi + 0x13c], xmm0
movss dword [esi + 0x11c], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xf4]
subss xmm0, dword [esi + 0x64]
mov byte [esi + 0x1cb], al
subss xmm1, dword [esi + 0xd4]
movss dword [edi + 0xf0], xmm1
xor edi, edi
movss dword [esi + 0x68], xmm1
subss xmm1, xmm0
movss dword [esi + 0x64], xmm1
cmp dword [esi + 0x54], edi
jle 0x10065825
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x68]
inc edi
mov al, byte [ecx + edx - 0xf]
mov byte [ecx + edx - 0x11], al
mov eax, dword [esi + 0x134]
mov dword [ecx + edx - 0x44], eax
cmp edi, dword [esi + 0x54]
jl 0x10065807
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 + 0x268]
movss dword [esp + 0x40], xmm4
movups xmmword [edx + 0x214], 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 + 0x268]
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 + 0x174]
movzx eax, byte [eax + 0x57]
push eax
push dword [edx + 0x268]
call fcn.1005aba0
test byte [esi + 0x78], 1
mov byte [esi + 0x1ce], 0
jne 0x100658be
inc dword [esi + 0x7c]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.10098200
mov esp, ebp
pop ebp
ret