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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x10104040]
xor eax, esp
mov dword [esp + 0x64], eax
mov edx, dword [0x10157600]
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
push edi
mov edi, dword [edx + 0x3f94]
mov dword [esp + 0x48], edi
cmp dword [esi + 0x48], 0xffffffff
je 0x1003af4b
call fcn.1003b580
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x5dec], 0
je 0x1003af69
push 0
mov edx, 0x100f1190
xor ecx, ecx
call fcn.10028860
mov edx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esi + 0x54]
mov dword [edi + 0xfc], eax
mov ecx, dword [esi + 0x44]
movsx eax, word [esi + 0x1dc]
movss xmm1, dword [esi + 0x50]
movss xmm7, dword [esi + 0x54]
mov dword [esp + 0x20], eax
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
movsx eax, word [esi + 0x1da]
mov dword [esp + 0x4c], eax
movsx eax, word [esi + 0x4c]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x3c], xmm7
test eax, eax
jne 0x1003afcc
lea eax, [esi + 0x178]
mov dword [esp + 0x44], eax
lea eax, [esi + 0x180]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x174]
jmp 0x1003aff6
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
lea edi, [eax - 0xc]
lea edi, [edi + ecx*8]
mov dword [esp + 0x44], edi
lea edi, [eax - 4]
lea edi, [edi + ecx*8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x48]
add eax, 0xfffffff0
mov ecx, dword [esi + 0x44]
test byte [esi + 0x68], 1
je 0x1003b018
test ecx, ecx
je 0x1003b009
test dword [esi + 0x68], 0x10000
je 0x1003b018
movaps xmm0, xmm7
subss xmm0, xmm1
addss xmm0, dword [eax]
movss dword [eax], xmm0
comiss xmm7, dword [esi + 0xf8]
movss xmm2, dword [0x100f5f68]
jb 0x1003b3c6
movss xmm0, dword [esi + 0x100]
comiss xmm0, xmm1
jb 0x1003b3c6
cmp word [esi + 0x1be], 0xffff
je 0x1003b063
movss xmm0, dword [edx + 0xe08]
comiss xmm0, xmm1
jb 0x1003b063
comiss xmm7, xmm0
jbe 0x1003b063
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x44]
mov dword [ecx], eax
mov eax, dword [esi + 0x70]
lea edx, [esi + 4]
mov dword [esp + 0x1c], 0
cmp eax, 0x1000000
jne 0x1003b08e
test byte [edx], 0x40
je 0x1003b092
mov ecx, dword [esi + 0x6c]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.100143d0
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x74]
xor eax, eax
cmp ecx, 0x1000000
mov dword [esp + 0x14], eax
cmove ecx, eax
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x44], eax
jle 0x1003b0c7
test byte [edx], 0x80
je 0x1003b0c7
test dword [esi + 0x68], 0x10000
je 0x1003b0c0
mov eax, dword [esi + 0x78]
jmp 0x1003b0c3
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x14], eax
mov ax, word [esi + 0x1e2]
shr ax, 0xf
xor al, 1
mov word [esp + 0x26], ax
mov eax, ecx
or eax, dword [esp + 0x14]
or eax, dword [esp + 0x1c]
jne 0x1003b0f6
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
je 0x1003b0f6
cmp byte [esp + 0x26], 0
je 0x1003b136
test dword [edx], 0x100000
jne 0x1003b119
movups xmm0, xmmword [esi + 0x114]
mov eax, dword [edi + 0x26c]
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x60], xmm0
mov ecx, dword [esi + 0x168]
push 0
push dword [edi + 0x26c]
call fcn.10036470
movss xmm7, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1003b146
test ecx, ecx
je 0x1003b205
movss xmm0, dword [esi + 0xe4]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0x34]
maxss xmm0, dword [esi + 0x104]
maxss xmm1, dword [esi + 0x108]
minss xmm2, dword [esi + 0x110]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esi + 0xec]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x5c], xmm2
minss xmm0, dword [esi + 0x10c]
movss dword [esp + 0x58], xmm0
test eax, eax
je 0x1003b1d8
comiss xmm2, xmm1
jbe 0x1003b1d8
push 0
push ecx
mov ecx, dword [edi + 0x26c]
mov dword [esp], 0
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10035770
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1003b205
comiss xmm2, xmm1
jbe 0x1003b205
push 0
push ecx
mov ecx, dword [edi + 0x26c]
mov dword [esp], 0
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10035770
cmp byte [esp + 0x26], 0
je 0x1003b2da
mov edx, dword [esi + 0x20]
movsx eax, word [esi + 0x1e2]
mov dword [esp + 0x28], edx
lea eax, [edx + eax*8]
mov dword [esp + 0x2c], eax
cmp edx, eax
ja 0x1003b2da
nop dword [eax]
movsx eax, word [edx + 4]
movss xmm0, dword [esi + 0x50]
maxss xmm0, dword [esi + 0x108]
imul ecx, eax, 0x70
mov eax, dword [esi + 0x10]
push 0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi + 0x54]
minss xmm0, dword [esi + 0x110]
push ecx
movss xmm2, dword [ecx + eax + 8]
movss xmm1, dword [ecx + eax + 0xc]
maxss xmm2, dword [esi + 0xe4]
minss xmm1, dword [esi + 0xec]
mov dword [esp], 0
push dword [edx]
movss dword [esp + 0x68], xmm0
maxss xmm2, dword [esi + 0x104]
minss xmm1, dword [esi + 0x10c]
maxss xmm2, dword [ecx + eax + 0x20]
minss xmm1, dword [ecx + eax + 0xc]
mov ecx, dword [edi + 0x26c]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x6c], xmm1
call fcn.10035770
mov edx, dword [esp + 0x28]
add edx, 8
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x2c]
jbe 0x1003b230
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003b344
movss xmm1, dword [esp + 0x34]
comiss xmm1, dword [esi + 0x108]
jb 0x1003b344
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x1003b344
movss xmm0, dword [esi + 0x84]
push ecx
mov ecx, dword [edi + 0x26c]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm1
call fcn.10035570
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x1003b564
movss xmm1, dword [esp + 0x3c]
comiss xmm1, dword [esi + 0x108]
jb 0x1003b564
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x1003b564
movss xmm0, dword [esi + 0x84]
lea eax, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x26c]
mov dword [esp], 0x3f800000
push dword [esi + 0x78]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [esp + 0x48]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm1
call fcn.10035570
movss xmm2, dword [0x100f5f68]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x4c]
jne 0x1003b3f5
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x1003b3f5
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 0x1003b3e0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x1003b543
movss xmm1, dword [esi + 0x54]
mov eax, dword [esp + 0x44]
addss xmm1, xmm2
maxss xmm1, dword [edi + 0x1ec]
mov byte [esi + 0x1f6], 1
movaps xmm0, xmm1
subss xmm0, dword [esi + 0xc8]
movss dword [eax], xmm0
minss xmm1, dword [edi + 0x1f4]
mov ax, word [esi + 0x1e8]
movss dword [esi + 0x128], xmm1
movss dword [esi + 0x108], xmm1
movss xmm0, dword [edi + 0x1f4]
movss xmm1, dword [esi + 0x54]
movss dword [esi + 0x130], xmm0
movss dword [esi + 0x110], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe8]
subss xmm0, dword [esi + 0x50]
mov word [esi + 0x1e6], ax
subss xmm1, dword [esi + 0xc8]
movss dword [edi + 0xfc], xmm1
xor edi, edi
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
movss dword [esi + 0x50], xmm1
cmp dword [esi + 0x40], edi
jle 0x1003b4c4
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 + 0x128]
mov dword [ecx + edx - 0x4c], eax
cmp edi, dword [esi + 0x40]
jl 0x1003b4a4
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x48]
movss xmm1, dword [eax + 0x20]
movss xmm2, dword [eax + 0x24]
movss xmm3, dword [eax + 0x28]
movss xmm4, dword [eax + 0x2c]
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [edx + 0x26c]
movups xmmword [edx + 0x218], xmm0
movss dword [eax + 0x60], xmm1
movss dword [eax + 0x64], xmm2
movss dword [eax + 0x68], xmm3
movss dword [eax + 0x6c], xmm4
mov eax, dword [edx + 0x26c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss dword [eax + ecx*8 - 0x10], xmm1
movss dword [eax + ecx*8 - 0xc], xmm2
movss dword [eax + ecx*8 - 8], xmm3
movss dword [eax + ecx*8 - 4], xmm4
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x168]
movzx eax, word [eax + 0x5c]
push eax
push dword [edx + 0x26c]
call fcn.10036470
test byte [esi + 0x68], 1
mov byte [esi + 0x1eb], 0
jne 0x1003b553
inc dword [esi + 0x6c]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.10093f63
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x100f5f68]
jmp 0x1003b3ca