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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
mov esi, dword [ebp + 0x10]
movaps xmm6, xmm1
mov dword [esp + 0x10], ecx
movaps xmm5, xmm0
mov ecx, dword [0x10159260]
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x20], xmm5
mov dword [esp + 0xc], edx
mov dword [esp + 0x58], ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x10041f20
mov esi, edi
mov dword [ebp + 0x10], esi
cmp edi, 0xffffffff
jae 0x10041f20
mov cl, byte [esi]
test cl, cl
je 0x10041f19
cmp cl, 0x23
jne 0x10041f13
cmp byte [esi + 1], cl
je 0x10041f19
inc esi
cmp esi, 0xffffffff
jb 0x10041f03
mov ecx, dword [esp + 0x5c]
mov dword [ebp + 0x10], esi
mov eax, dword [ebp + 0x14]
xorps xmm2, xmm2
movss dword [esp + 0x28], xmm2
test eax, eax
je 0x10041f3b
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x10041fa3
movss xmm1, dword [ecx + 0x1930]
movss dword [esp + 0x2c], xmm1
cmp edi, esi
je 0x10041faf
movss xmm3, dword [0x10150d6c]
lea eax, [esp + 0x54]
push 0
push esi
push edi
push ecx
mov ecx, dword [ecx + 0x192c]
movaps xmm2, xmm1
mov dword [esp], 0
push eax
call fcn.1005aba0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [0x10150bdc]
movss xmm1, dword [esp + 0x58]
movss xmm5, dword [esp + 0x24]
movss xmm6, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x28], xmm2
mov eax, dword [ebp + 8]
movss xmm4, dword [edx]
movss xmm3, dword [eax]
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x10042399
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x54], 0x2e
mov dword [esp + 0x3c], 0
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + 8]
movss xmm2, dword [eax + 0xc]
mov dword [esp + 0x30], edx
movss dword [esp + 0x34], xmm2
movzx ecx, word [edx + 0x3c]
cmp cx, word [esp + 0x1c]
movzx eax, cx
cmove ecx, dword [esp + 0x54]
mov dword [esp + 0x50], ecx
xor ecx, ecx
cmp ax, word [esp + 0x1c]
mov eax, dword [esp + 0x50]
sete cl
lea ecx, [ecx*2 + 1]
mov dword [esp + 0x38], ecx
movzx ecx, ax
cmp ecx, dword [edx + 0x14]
jb 0x10042036
mov eax, dword [edx + 0x2c]
jmp 0x10042052
mov eax, dword [edx + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x10042049
mov eax, dword [edx + 0x2c]
jmp 0x10042052
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
movss xmm1, dword [eax + 0x10]
movzx ecx, word [edx + 0x3c]
movaps xmm5, xmm1
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x44], xmm1
cmp cx, word [esp + 0x1c]
jne 0x1004209f
subss xmm1, dword [eax + 8]
movaps xmm0, xmm2
movd xmm5, dword [esp + 0x38]
divss xmm0, dword [edx + 0x10]
cvtdq2ps xmm5, xmm5
addss xmm1, xmm0
mulss xmm5, xmm1
movss dword [esp + 0x54], xmm1
subss xmm5, xmm0
movss dword [esp + 0x44], xmm5
maxss xmm3, xmm6
lea eax, [esp + 0x3c]
push eax
push esi
push edi
subss xmm3, xmm5
push ecx
lea eax, [esp + 0x2c]
mov dword [esp], 0
push eax
mov ecx, edx
subss xmm3, xmm4
maxss xmm3, dword [0x10150be4]
call fcn.1005aba0
mov edx, dword [esp + 0x3c]
movss xmm0, dword [eax]
movss dword [esp + 0x18], xmm0
mov dword [esp + 0x1c], edx
cmp edx, edi
jne 0x1004213a
cmp edx, esi
jae 0x10042138
push esi
mov edx, edi
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x40]
call fcn.100409d0
movss xmm3, dword [0x10150d6c]
add eax, edi
movss xmm2, dword [esp + 0x34]
push 0
push eax
push edi
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
mov dword [esp], 0
push eax
call fcn.1005aba0
mov edx, dword [esp + 0x1c]
movss xmm0, dword [eax]
movss dword [esp + 0x18], xmm0
cmp edx, edi
jbe 0x100421a0
mov esi, dword [esp + 0x1c]
mov al, byte [esi - 1]
lea ecx, [esi - 1]
mov dword [esp + 0x3c], ecx
cmp al, 0x20
je 0x10042152
cmp al, 9
jne 0x10042199
movss xmm3, dword [0x10150d6c]
lea eax, [ecx + 1]
movss xmm2, dword [esp + 0x34]
mov esi, ecx
push 0
push eax
push esi
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x70]
mov dword [esp], 0
push eax
mov dword [esp + 0x30], esi
call fcn.1005aba0
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [eax]
movss dword [esp + 0x18], xmm0
cmp dword [esp + 0x3c], edi
ja 0x10042140
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
movss xmm0, dword [esp + 0x28]
movss xmm6, dword [eax + 4]
mov eax, dword [esp + 0x10]
addss xmm0, dword [eax]
comiss xmm0, dword [esp + 0x24]
jae 0x1004222b
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [eax + 4]
comiss xmm0, xmm6
jae 0x1004222b
movss xmm6, dword [0x10150be4]
xor ecx, ecx
movaps xmm0, xmm6
call fcn.10041580
mov dword [esp + 0x3c], eax
test eax, 0xff000000
je 0x100422f2
test edx, edx
jne 0x10042203
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100421f7
sub ecx, edx
lea edx, [ecx + edi]
cmp edi, edx
je 0x100422f2
mov ecx, dword [esp + 0x14]
movups xmm0, xmmword [ecx + 0x60]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x10]
movups xmmword [esp + 0x60], xmm0
push dword [ecx + 4]
push dword [ecx]
push 0
jmp 0x100422c6
movss xmm0, dword [0x10150be4]
xor ecx, ecx
movss xmm7, dword [eax + 4]
call fcn.10041580
mov dword [esp + 0x3c], eax
test eax, 0xff000000
je 0x100422ea
test edx, edx
jne 0x10042263
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042257
sub ecx, edx
lea edx, [ecx + edi]
cmp edi, edx
je 0x100422ea
mov ecx, dword [esp + 0x14]
movups xmm0, xmmword [ecx + 0x60]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x10]
movaps xmmword [esp + 0x60], xmm0
movss xmm1, dword [ecx]
comiss xmm0, xmm1
jae 0x1004228e
movss dword [esp + 0x60], xmm1
movss xmm0, dword [esp + 0x64]
comiss xmm0, xmm7
jae 0x1004229f
movss dword [esp + 0x64], xmm7
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [esp + 0x68]
ja 0x100422b2
movss dword [esp + 0x68], xmm0
comiss xmm6, dword [esp + 0x6c]
ja 0x100422bf
movss dword [esp + 0x6c], xmm6
push dword [ecx + 4]
push dword [ecx]
push 1
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x70]
push edx
push edi
push ecx
push dword [esp + 0x58]
mov ecx, dword [eax + 8]
push dword [esp + 0x34]
call fcn.1005aeb0
movss xmm6, dword [0x10150be4]
mov eax, dword [esp + 0x10]
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x48]
addss xmm1, dword [eax]
movaps xmm0, xmm1
movss dword [esp + 0x18], xmm1
addss xmm0, dword [esp + 0x44]
comiss xmm2, xmm0
jb 0x1004250f
mov edi, dword [esp + 0x30]
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [esi + 4]
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm6
push dword [esp + 0x4c]
movss dword [esp + 0x4c], xmm1
push dword [esp + 0x4c]
push dword [esp + 0x58]
push ecx
xor ecx, ecx
call fcn.10041580
movss xmm2, dword [esp + 0x44]
add esp, 4
mov ecx, edi
push eax
push dword [esp + 0x24]
call fcn.1005ad60
sub dword [esp + 0x38], 1
movss xmm1, dword [esp + 0x18]
addss xmm1, dword [esp + 0x54]
movss xmm6, dword [0x10150be4]
movss dword [esp + 0x18], xmm1
jne 0x10042330
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
jmp 0x1004250b
movss xmm6, dword [eax + 4]
addss xmm2, xmm4
comiss xmm2, xmm5
jae 0x10042442
addss xmm1, dword [edx + 4]
comiss xmm1, xmm6
jae 0x10042442
movss xmm0, dword [0x10150be4]
xor ecx, ecx
call fcn.10041580
mov dword [esp + 0x50], eax
mov ecx, esi
test eax, 0xff000000
je 0x1004250b
test esi, esi
jne 0x100423f3
mov ecx, edi
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100423e6
sub ecx, dword [esp + 0x54]
add ecx, edi
cmp edi, ecx
je 0x1004250b
push dword [edx + 4]
mov eax, dword [esp + 0x18]
push dword [edx]
mov esi, dword [esp + 0x1c]
push 0
mov eax, dword [eax + 0x2c]
push ecx
movups xmm0, xmmword [esi + 0x60]
mov dword [esp], 0
movss xmm2, dword [eax + 0xc]
push ecx
push edi
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x6c]
mov ecx, dword [eax + 8]
push esi
movups xmmword [esp + 0x84], xmm0
call fcn.1005aeb0
mov esi, dword [ebp + 0x10]
jmp 0x1004250b
movss xmm0, dword [0x10150be4]
xor ecx, ecx
movss xmm7, dword [edx + 4]
call fcn.10041580
mov dword [esp + 0x50], eax
mov ecx, esi
test eax, 0xff000000
je 0x1004250b
test esi, esi
jne 0x10042481
mov ecx, edi
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042474
sub ecx, dword [esp + 0x54]
add ecx, edi
cmp edi, ecx
je 0x1004250b
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
movss xmm1, dword [edx]
movups xmm0, xmmword [esi + 0x60]
mov eax, dword [eax + 0x2c]
mov esi, dword [ebp + 0x10]
comiss xmm0, xmm1
movaps xmmword [esp + 0x60], xmm0
jae 0x100424af
movss dword [esp + 0x60], xmm1
movss xmm0, dword [esp + 0x64]
comiss xmm0, xmm7
jae 0x100424c0
movss dword [esp + 0x64], xmm7
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [esp + 0x68]
ja 0x100424d3
movss dword [esp + 0x68], xmm0
comiss xmm6, dword [esp + 0x6c]
ja 0x100424e0
movss dword [esp + 0x6c], xmm6
push dword [edx + 4]
movss xmm2, dword [eax + 0xc]
push dword [edx]
push 1
push ecx
mov dword [esp], 0
push ecx
push edi
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x6c]
mov ecx, dword [eax + 8]
push dword [esp + 0x34]
call fcn.1005aeb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
cmp byte [ecx + 0x2ed8], 0
je 0x10042526
push esi
mov edx, edi
mov ecx, eax
call fcn.10051870
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10