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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x101023d4]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
push edi
mov dword [esp + 0x2c], esi
lea edi, [esp + 0x44]
mov byte [esp + 0x10], 0
mov ebx, 3
mov byte [esi + 0x66], 0
nop dword [eax]
mov ecx, edi
call fcn.1008d280
add edi, 0xc
sub ebx, 1
jne 0x1008d7f0
mov eax, dword [esi]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 1
test eax, eax
jle 0x1008d90d
xor edi, edi
xor edx, edx
nop dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx + edx + 8]
cmp eax, dword [esi + 0x24]
jl 0x1008d8ca
cmp byte [ecx + edx + 0x22], 0
jne 0x1008d8ca
cmp ebx, dword [esp + 0x14]
je 0x1008d85e
movups xmm0, xmmword [ecx + edx]
mov eax, dword [ecx + edx + 0x20]
movups xmm1, xmmword [ecx + edx + 0x10]
movups xmmword [ecx + edi], xmm0
movups xmmword [ecx + edi + 0x10], xmm1
mov dword [ecx + edi + 0x20], eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + edi + 4]
mov word [ecx + edi + 0x20], bx
test al, 0x40
je 0x1008d86f
xor ecx, ecx
jmp 0x1008d87a
test al, 0x80
mov ecx, 0
setne cl
inc ecx
test ebx, ebx
jle 0x1008d8bd
mov eax, dword [esi + 8]
mov eax, dword [eax + edi - 0x20]
test al, 0x40
je 0x1008d88d
xor eax, eax
jmp 0x1008d898
test al, 0x80
mov eax, 0
setne al
inc eax
test ecx, ecx
jne 0x1008d8a5
test eax, eax
je 0x1008d8bd
mov byte [esp + 0x10], 1
cmp eax, 2
jne 0x1008d8bd
mov eax, dword [esp + 0x10]
cmp ecx, 2
movzx eax, al
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
lea eax, [ecx + ecx*2]
inc ebx
inc dword [esp + eax*4 + 0x44]
add edi, 0x24
jmp 0x1008d8f7
mov eax, dword [esi + 0x1c]
cmp eax, dword [ecx + edx]
jne 0x1008d8d9
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x14]
cmp eax, dword [ecx + edx]
jne 0x1008d8e8
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x18]
cmp eax, dword [ecx + edx]
jne 0x1008d8f7
mov dword [esi + 0x18], 0
mov ecx, dword [esp + 0x14]
add edx, 0x24
mov eax, dword [esi]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x1008d820
cmp eax, ebx
je 0x1008d941
mov edi, dword [esi + 4]
cmp ebx, edi
jle 0x1008d93d
test edi, edi
je 0x1008d929
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x1008d92e
mov ecx, 8
cmp ecx, ebx
mov eax, ebx
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.1006a540
mov dword [esi], ebx
mov eax, ebx
cmp byte [esp + 0x10], 0
je 0x1008d95b
push 0x1008d2a0
push 0x24
push eax
push dword [esi + 8]
call fcn.100bf7f0
add esp, 0x10
cmp dword [esp + 0x44], 0
jle 0x1008d97c
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x5c]
test eax, eax
jle 0x1008d97c
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x1568]
jmp 0x1008d983
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
cmp dword [esp + 0x50], 0
xorps xmm3, xmm3
movss dword [esp + 0x4c], xmm0
jle 0x1008d9a4
cmp dword [esp + 0x5c], 0
jle 0x1008d9a4
movss xmm0, dword [eax + 0x1568]
jmp 0x1008d9a7
xorps xmm0, xmm0
mov eax, dword [esi + 0x18]
xor ebx, ebx
movss dword [esp + 0x58], xmm0
mov dword [esp + 0x10], ebx
test eax, eax
je 0x1008d9ca
mov ebx, eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0
cmp dword [esi + 0x60], 0
je 0x1008daaa
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
jle 0x1008daa3
mov edx, dword [esi + 8]
mov edi, edx
mov ebx, dword [esi + 0x60]
cmp dword [edi], ebx
mov ebx, dword [esp + 0x10]
je 0x1008d9fd
inc eax
add edi, 0x24
cmp eax, ecx
jl 0x1008d9e5
jmp 0x1008daa3
test byte [edi + 4], 0x20
jne 0x1008daa3
mov ecx, edi
mov eax, 0x38e38e39
sub ecx, edx
imul ecx
movsx eax, byte [esi + 0x64]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
js 0x1008daa3
cmp ecx, dword [esi]
jge 0x1008daa3
mov edx, dword [esi + 8]
lea eax, [ecx + ecx*8]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + eax*4 + 4]
test cl, 0x20
jne 0x1008daa3
xor ecx, dword [edi + 4]
test cl, 0xc0
jne 0x1008daa3
movups xmm0, xmmword [edx + eax*4]
mov ecx, dword [edi + 0x20]
movups xmm1, xmmword [edi]
movups xmm2, xmmword [edi + 0x10]
movups xmmword [edi], xmm0
movups xmm0, xmmword [edx + eax*4 + 0x10]
movups xmmword [edi + 0x10], xmm0
mov eax, dword [edx + eax*4 + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x20]
movups xmmword [edx + eax*4], xmm1
movups xmmword [edx + eax*4 + 0x10], xmm2
mov dword [edx + eax*4 + 0x20], ecx
test dword [esi + 0xc], 0x400000
je 0x1008da96
mov ecx, dword [0x101023d4]
comiss xmm3, dword [ecx + 0x2ebc]
jb 0x1008da96
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2ebc], eax
mov eax, dword [esi + 0x60]
cmp eax, dword [esi + 0x14]
cmove ebx, eax
mov dword [esp + 0x10], ebx
mov dword [esi + 0x60], 0
mov eax, dword [esi + 0xc]
shr eax, 2
test al, 1
je 0x1008dac8
mov ecx, esi
call fcn.1008e600
test eax, eax
je 0x1008dac8
mov ebx, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esi + 0x14], ebx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
mov edi, dword [esi]
add eax, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + 0x1f68]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], edi
cmp edi, ecx
jle 0x1008dba9
test ecx, ecx
je 0x1008db0d
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
add eax, ecx
jmp 0x1008db12
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1008dba5
mov eax, dword [0x101023d4]
test eax, eax
je 0x1008db2e
inc dword [eax + 0x370]
mov edx, dword [0x101023cc]
lea ecx, [edi*8]
call fcn.10057c80
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x1f6c]
test eax, eax
je 0x1008db95
mov ecx, dword [edx + 0x1f64]
shl ecx, 3
push ecx
push eax
push dword [esp + 0x28]
call fcn.100b1c20
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [edx + 0x1f6c]
test ecx, ecx
je 0x1008db86
mov eax, dword [0x101023d4]
test eax, eax
je 0x1008db86
dec dword [eax + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov dword [edx + 0x1f6c], eax
mov dword [edx + 0x1f68], edi
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov dword [edx + 0x1f64], edi
mov eax, dword [esi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0xffffffff
mov byte [esp + 0x1c], cl
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x1008dcec
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x1008dbe8
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 8]
add edi, eax
test ecx, ecx
je 0x1008dbf9
mov eax, dword [ecx + 0xc]
cmp eax, dword [edi + 0xc]
jge 0x1008dc07
test dword [edi + 4], 0x200000
cmove ecx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
cmp eax, dword [esi + 0x14]
movzx ecx, cl
cmove ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
test ebx, ebx
jne 0x1008dc2d
cmp dword [edx + 0x1be4], eax
cmove ebx, eax
mov dword [esp + 0x10], ebx
mov edx, dword [edi + 4]
movsx ecx, word [edi + 0x1c]
add ecx, dword [esi + 0x8c]
shr edx, 0x14
not dl
and dl, 1
call fcn.1008f260
mov eax, dword [edi + 4]
movss dword [esp + 0x34], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x30], xmm0
movss dword [edi + 0x18], xmm1
test al, 0x40
je 0x1008dc66
xor ecx, ecx
jmp 0x1008dc71
test al, 0x80
mov ecx, 0
setne cl
inc ecx
lea eax, [ecx + ecx*2]
cmp ecx, dword [esp + 0x28]
jne 0x1008dc88
mov edx, dword [esp + 0xc]
movss xmm0, dword [edx + 0x1568]
jmp 0x1008dc8b
xorps xmm0, xmm0
mov edx, dword [esp + ecx*4 + 0x38]
addss xmm1, xmm0
mov ebx, dword [esp + 0x14]
add dword [esp + 0x18], 0x24
mov dword [esp + 0x28], ecx
addss xmm1, dword [esp + eax*4 + 0x48]
movss dword [esp + eax*4 + 0x48], xmm1
lea eax, [edx + 1]
mov dword [esp + ecx*4 + 0x38], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x1f6c]
mov dword [eax + edx*8], ebx
mov ecx, dword [ecx + 0x1f6c]
mov eax, dword [edi + 0x18]
mov dword [ecx + edx*8 + 4], eax
mov ecx, ebx
mov eax, dword [edi + 0x18]
inc ecx
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [esi]
cmp ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
jl 0x1008dbe0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x48]
addss xmm1, dword [esp + 0x4c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x64]
addss xmm1, xmm0
movss dword [esi + 0x44], xmm1
movss xmm0, dword [esi + 0x30]
subss xmm0, dword [esi + 0x28]
comiss xmm1, xmm0
jbe 0x1008dd59
cmp eax, 1
jle 0x1008dd59
mov eax, dword [esi + 0xc]
test al, 0x10
jne 0x1008dd59
test al, al
jns 0x1008dd59
mov ecx, esi
call fcn.1008e300
test eax, eax
je 0x1008dd59
test dword [eax + 4], 0x200000
mov ebx, dword [eax]
mov dword [esp + 0x10], ebx
jne 0x1008dd59
mov dword [esi + 0x14], ebx
movss xmm3, dword [esp + 0x60]
movss xmm2, dword [esp + 0x48]
addss xmm3, dword [esp + 0x64]
addss xmm2, dword [esp + 0x4c]
movss xmm1, dword [esi + 0x30]
subss xmm1, dword [esi + 0x28]
movaps xmm0, xmm3
addss xmm0, xmm2
comiss xmm1, xmm0
seta bl
test bl, bl
je 0x1008ddad
movss xmm0, dword [esp + 0x54]
subss xmm1, xmm2
addss xmm0, dword [esp + 0x58]
subss xmm1, xmm3
xorps xmm3, xmm3
subss xmm0, xmm1
maxss xmm0, xmm3
jmp 0x1008ddb4
subss xmm0, xmm1
xorps xmm3, xmm3
comiss xmm0, xmm3
jbe 0x1008de8a
test byte [esi + 0xc], 0x40
jne 0x1008dde5
test bl, bl
jne 0x1008de8a
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x44]
mov dword [esp + 0x18], edx
test bl, bl
je 0x1008ddfb
mov edi, dword [esp + 0x5c]
add edi, dword [esp + 0x44]
jmp 0x1008de01
test bl, bl
je 0x1008ddcb
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
add edi, dword [esp + 0x44]
mov dword [esp + 0x18], edx
jmp 0x1008de01
xor edi, edi
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x1f6c]
lea ecx, [eax + edi*8]
call fcn.1007e440
mov eax, dword [esp + 0x18]
xorps xmm3, xmm3
add eax, edi
mov dword [esp + 0x28], eax
cmp edi, eax
jge 0x1008de8a
mov ecx, dword [ebx + 0x1f6c]
mov ebx, dword [esi + 8]
mov eax, dword [ecx + edi*8]
lea edx, [eax + eax*8]
cvttss2si eax, dword [ecx + edi*8 + 4]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm3, xmm2
ja 0x1008de7f
mov eax, dword [ebx + edx*4 + 4]
test al, 0x40
je 0x1008de51
xor eax, eax
jmp 0x1008de5c
test al, 0x80
mov eax, 0
setne al
inc eax
movss xmm1, dword [ebx + edx*4 + 0x14]
lea eax, [eax + eax*2]
movss xmm0, dword [esp + eax*4 + 0x48]
subss xmm1, xmm2
subss xmm0, xmm1
movss dword [esp + eax*4 + 0x48], xmm0
movss dword [ebx + edx*4 + 0x14], xmm2
mov ebx, dword [esp + 0xc]
inc edi
cmp edi, dword [esp + 0x28]
jl 0x1008de24
xor ecx, ecx
movaps xmm2, xmm3
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esi + 0x40], ecx
mov dword [esp + 0x24], eax
nop dword [eax]
lea ebx, [eax + eax*2]
cmp eax, 2
jne 0x1008dec3
movss xmm0, dword [esi + 0x30]
subss xmm0, dword [esi + 0x28]
subss xmm0, dword [esp + ebx*4 + 0x48]
maxss xmm0, xmm3
minss xmm0, xmm2
movaps xmm2, xmm0
mov edi, dword [esp + ebx*4 + 0x44]
xor edx, edx
test edi, edi
jle 0x1008df19
mov eax, dword [esi + 8]
lea ecx, [ecx + ecx*8]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + 5]
lea ecx, [eax + ecx*4]
nop dword [eax]
movss dword [ecx - 4], xmm2
mov edi, dword [esp + ebx*4 + 0x44]
lea eax, [edi - 1]
cmp edx, eax
jge 0x1008defa
movss xmm0, dword [esi + 0x1568]
jmp 0x1008defd
movaps xmm0, xmm3
addss xmm0, dword [ecx]
inc edx
add ecx, 0x24
addss xmm2, xmm0
cmp edx, edi
jl 0x1008dee0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
movss xmm1, dword [esp + ebx*4 + 0x4c]
inc eax
movss xmm0, dword [esp + ebx*4 + 0x48]
addss xmm2, xmm1
addss xmm0, xmm1
mov dword [esp + 0x24], eax
add ecx, edi
mov dword [esp + 0x28], ecx
maxss xmm0, xmm3
addss xmm0, dword [esi + 0x40]
movss dword [esi + 0x40], xmm0
cmp eax, 3
jl 0x1008dea0
cmp byte [esp + 0x1c], 0
jne 0x1008df5f
mov dword [esi + 0x14], 0
jmp 0x1008df66
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x1008df7e
xor ecx, ecx
cmp dword [esi + 0x18], ecx
jne 0x1008df7e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1008df7e
mov eax, dword [eax]
mov ecx, eax
mov dword [esi + 0x14], eax
jmp 0x1008df82
mov eax, dword [esp + 0x10]
movss xmm7, dword [esp + 0x60]
movss xmm6, dword [esp + 0x48]
mov dword [esi + 0x1c], ecx
mov byte [esi + 0x67], 0
test eax, eax
je 0x1008e0a1
mov ebx, dword [esi]
xor ecx, ecx
test ebx, ebx
jle 0x1008e0a1
mov edx, dword [esi + 8]
mov edi, edx
nop
cmp dword [edi], eax
je 0x1008dfc1
inc ecx
add edi, 0x24
cmp ecx, ebx
jl 0x1008dfb0
jmp 0x1008e0a1
test byte [edi + 4], 0xc0
jne 0x1008e0a1
mov ecx, dword [0x101023d4]
mov eax, 0x38e38e39
movss xmm4, dword [esi + 0x30]
subss xmm4, dword [esi + 0x28]
movss xmm5, dword [ecx + 0x1930]
mov ecx, edi
sub ecx, edx
imul ecx
subss xmm4, xmm6
mov eax, dword [esp + 0x44]
sar edx, 3
subss xmm4, xmm7
mov ecx, edx
dec eax
shr ecx, 0x1f
add ecx, edx
subss xmm4, dword [esp + 0x58]
cmp ecx, eax
jle 0x1008e01b
movaps xmm1, xmm5
xorps xmm1, xmmword [0x100f6c00]
jmp 0x1008e01e
movaps xmm1, xmm3
movss xmm0, dword [edi + 0x10]
lea eax, [ecx + 1]
sub ebx, dword [esp + 0x5c]
subss xmm0, xmm6
addss xmm1, xmm0
cmp eax, ebx
jl 0x1008e03e
movss xmm5, dword [0x100f6254]
movss xmm2, dword [edi + 0x14]
addss xmm2, xmm0
mov dword [esi + 0x50], 0
addss xmm2, xmm5
movss xmm5, dword [esi + 0x4c]
comiss xmm5, xmm1
ja 0x1008e08a
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm4
jae 0x1008e08a
subss xmm2, xmm4
comiss xmm2, xmm5
jbe 0x1008e0a1
subss xmm1, xmm4
movss dword [esi + 0x4c], xmm2
subss xmm1, dword [esi + 0x48]
maxss xmm1, xmm3
movss dword [esi + 0x50], xmm1
jmp 0x1008e0a1
movss xmm0, dword [esi + 0x48]
subss xmm0, xmm2
movss dword [esi + 0x4c], xmm1
maxss xmm0, xmm3
movss dword [esi + 0x50], xmm0
movss xmm5, dword [esi + 0x28]
movss xmm0, dword [esi + 0x30]
movss xmm4, dword [esi + 0x40]
subss xmm0, xmm5
movaps xmm2, xmm4
mov ebx, dword [esp + 0xc]
subss xmm2, xmm0
minss xmm2, dword [esi + 0x48]
maxss xmm2, xmm3
movss dword [esi + 0x48], xmm2
movss xmm0, dword [esi + 0x30]
subss xmm0, xmm5
subss xmm4, xmm0
minss xmm4, dword [esi + 0x4c]
maxss xmm4, xmm3
ucomiss xmm2, xmm4
movss dword [esi + 0x4c], xmm4
lahf
test ah, 0x44
jnp 0x1008e18a
movss xmm0, dword [ebx + 0x1930]
movaps xmm3, xmm4
mulss xmm0, dword [0x100f6324]
subss xmm3, xmm2
mov eax, dword [esi + 0x24]
inc eax
maxss xmm0, dword [esi + 0x54]
andps xmm3, xmmword [0x100f6bd0]
mulss xmm3, dword [0x100f62b4]
maxss xmm3, xmm0
movss dword [esi + 0x54], xmm3
cmp eax, dword [ebx + 0x1a10]
jl 0x1008e180
movss xmm1, dword [ebx + 0x1930]
mulss xmm1, dword [0x100f62e8]
movss xmm0, dword [esi + 0x50]
comiss xmm0, xmm1
ja 0x1008e180
comiss xmm4, xmm2
movss xmm0, dword [ebx + 0x18]
mulss xmm0, xmm3
jbe 0x1008e16c
addss xmm2, xmm0
minss xmm2, xmm4
movss dword [esi + 0x48], xmm2
jmp 0x1008e191
comiss xmm2, xmm4
jbe 0x1008e183
subss xmm2, xmm0
maxss xmm2, xmm4
movss dword [esi + 0x48], xmm2
jmp 0x1008e191
movaps xmm2, xmm4
movss dword [esi + 0x48], xmm2
jmp 0x1008e191
mov dword [esi + 0x54], 0
test dword [esi + 0xc], 0x100000
addss xmm5, xmm6
movss xmm0, dword [esi + 0x30]
subss xmm0, xmm7
addss xmm5, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x58]
movss dword [esi + 0x58], xmm5
movss dword [esi + 0x5c], xmm0
jne 0x1008e1ed
mov ecx, dword [esi + 0x88]
test ecx, ecx
jns 0x1008e1e3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x84]
call fcn.1003d5d0
mov dword [esi + 0x84], 0
mov ecx, dword [ebx + 0x1a6c]
mov eax, dword [esi + 0x28]
mov dword [ecx + 0xd0], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0xd4], eax
lea ecx, [esp + 0x30]
movss xmm0, dword [esi + 0x44]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0x34]
subss xmm0, dword [esi + 0x2c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x78]
call fcn.10063da0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret