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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100870c0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [0x1008794c]
mov ecx, edx
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x1930]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1930]
mov dword [esp + 0x18], eax
cmp byte [eax + 0x7b], 0
jne 0x10024e9f
test esi, esi
jne 0x10024983
push 0x7c
push 0x100831f8
push 0x10083264
call dword [fcn.1003e26c]
mov edx, dword [0x1008794c]
add esp, 0xc
test edi, edi
jne 0x1002499c
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024990
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [esp + 0x18]
xorps xmm2, xmm2
mov eax, edi
movss xmm1, dword [ecx + 0x174]
movss xmm4, dword [ecx + 0xf0]
addss xmm4, dword [ecx + 0xcc]
movss xmm3, dword [ecx + 0xc8]
comiss xmm1, xmm2
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x2c], xmm4
setae byte [esp + 0x13]
sub eax, esi
cmp eax, 0x7d0
jle 0x10024d05
cmp byte [esp + 0x13], 0
jne 0x10024d10
movups xmm0, xmmword [ecx + 0x1dc]
movss xmm5, dword [edx + 0x185c]
xorps xmm6, xmm6
movaps xmmword [esp + 0x40], xmm0
xorps xmm1, xmm1
shufps xmm0, xmm0, 0xff
comiss xmm0, xmm4
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x18], xmm6
jb 0x10024ca4
mov eax, dword [esp + 0x14]
movaps xmm1, xmm4
mov edx, dword [0x1003e1f0]
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x60], xmm1
cmp byte [eax + 0x2ba8], 0
jne 0x10024ac5
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm4
divss xmm0, xmm5
cvttss2si ecx, xmm0
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x10024ac5
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
jae 0x10024ab0
nop word [eax + eax]
cmp eax, ecx
jge 0x10024a9b
push 0xa
push esi
call edx
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [0x1003e1f0]
test eax, eax
mov esi, edi
cmovne esi, eax
mov eax, dword [esp + 0x14]
inc esi
inc eax
mov dword [esp + 0x14], eax
cmp esi, edi
jb 0x10024a70
movss xmm3, dword [esp + 0x20]
xorps xmm2, xmm2
movss xmm4, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x28]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm5
addss xmm1, xmm4
movss dword [esp + 0x60], xmm1
cmp esi, edi
jae 0x10024c90
movaps xmm0, xmm3
movss dword [esp + 0x1c], xmm1
addss xmm0, dword [0x10083eb8]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x14], xmm0
push 0xa
push esi
call edx
mov edx, dword [0x1008794c]
add esp, 8
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 0x1930]
comiss xmm0, dword [ecx + 0x1e0]
jbe 0x10024b45
movss xmm0, dword [ecx + 0x1e8]
comiss xmm0, dword [esp + 0x1c]
jbe 0x10024b45
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [ecx + 0x1dc]
jbe 0x10024b45
movss xmm0, dword [ecx + 0x1e4]
comiss xmm0, dword [esp + 0x20]
ja 0x10024b52
cmp byte [edx + 0x2ba8], 0
je 0x10024c49
movss xmm0, dword [edx + 0x185c]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 0x1858]
mov dword [esp + 0x34], eax
movss dword [esp + 0x30], xmm0
cmp esi, ecx
jne 0x10024b77
xorps xmm1, xmm1
jmp 0x10024bd7
movss xmm3, dword [0x10083eb8]
movaps xmm2, xmm0
push ecx
push ecx
push esi
push ecx
lea ecx, [esp + 0x50]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.10022170
movss xmm0, dword [esp + 0x40]
comiss xmm0, dword [0x10083cf8]
jbe 0x10024bba
mov eax, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10083d74]
mov ecx, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x40], xmm1
push dword [esp + 0x60]
maxss xmm1, dword [esp + 0x1c]
push dword [esp + 0x60]
mov edx, ecx
mov ecx, esi
push 0
movss dword [esp + 0x24], xmm1
call fcn.100048e0
movss xmm0, dword [esp + 0x28]
add esp, 0xc
movss xmm1, dword [esp + 0x28]
mov esi, edi
mov eax, dword [esp + 0x24]
addss xmm0, xmm1
mov edx, dword [0x1003e1f0]
test eax, eax
cmovne esi, eax
inc esi
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x14]
addss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm1
movss dword [esp + 0x60], xmm0
cmp esi, edi
jb 0x10024af1
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
jae 0x10024c74
push 0xa
push esi
call dword [0x1003e1f0]
add esp, 8
mov esi, edi
test eax, eax
cmovne esi, eax
mov eax, dword [esp + 0x14]
inc esi
inc eax
mov dword [esp + 0x14], eax
cmp esi, edi
jb 0x10024c53
movss xmm4, dword [esp + 0x2c]
xorps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm1, xmm0
mulss xmm1, dword [esp + 0x28]
addss xmm1, dword [esp + 0x60]
movss xmm3, dword [esp + 0x20]
subss xmm1, xmm4
movss xmm6, dword [esp + 0x18]
addss xmm1, xmm2
addss xmm1, xmm4
movss dword [esp + 0x5c], xmm3
addss xmm6, xmm3
movss dword [esp + 0x60], xmm4
lea ecx, [esp + 0x40]
movss dword [esp + 0x68], xmm1
subss xmm1, xmm4
movss dword [esp + 0x64], xmm6
subss xmm6, xmm3
movss dword [esp + 0x44], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x40], xmm6
call fcn.10006bb0
push 0
xor edx, edx
lea ecx, [esp + 0x60]
call fcn.10006d20
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1003bcd0
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x10024da4
comiss xmm2, xmm1
ja 0x10024da4
mov ecx, dword [edx + 0x1930]
movaps xmm0, xmm3
ucomiss xmm1, xmm2
mov dword [esp + 0x34], ecx
lahf
test ah, 0x44
jp 0x10024d80
movss xmm1, dword [ecx + 0x224]
mov eax, dword [ecx + 0x1cc]
subss xmm1, dword [ecx + 0xc]
test eax, eax
je 0x10024d6d
mov ecx, dword [eax + 0xc]
inc ecx
call fcn.10013dd0
mov ecx, dword [esp + 0x34]
movaps xmm1, xmm0
mov eax, dword [esp + 0x18]
mov edx, dword [0x1008794c]
subss xmm1, dword [ecx + 0x3c]
movss xmm0, dword [eax + 0xc8]
addss xmm1, dword [ecx + 0xc]
subss xmm1, xmm0
maxss xmm1, dword [0x10083d78]
jmp 0x10024da7
comiss xmm1, xmm2
jbe 0x10024d96
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [ecx + 0x54]
addss xmm1, xmm0
movaps xmm0, xmm3
subss xmm1, xmm0
maxss xmm1, dword [0x10083d78]
jmp 0x10024da7
xorps xmm1, xmm1
movss xmm4, dword [edx + 0x185c]
mov eax, dword [edx + 0x1858]
movss dword [esp + 0x18], xmm1
mov dword [esp + 0x30], eax
movss dword [esp + 0x34], xmm4
cmp esi, edi
jne 0x10024dce
xorps xmm0, xmm0
jmp 0x10024e27
movss xmm3, dword [0x10083eb8]
movaps xmm2, xmm4
push ecx
push edi
push esi
push ecx
lea ecx, [esp + 0x50]
movss dword [esp], xmm1
push ecx
mov ecx, eax
call fcn.10022170
movss xmm0, dword [esp + 0x40]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x10024e0e
mov eax, dword [esp + 0x30]
movss xmm1, dword [esp + 0x34]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10083d74]
movss xmm4, dword [esp + 0x44]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm3, dword [esp + 0x20]
lea ecx, [esp + 0x5c]
movss xmm5, dword [esp + 0x2c]
movaps xmm1, xmm3
addss xmm1, xmm0
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm5
movss dword [esp + 0x60], xmm4
addss xmm0, xmm4
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.10006bb0
push 0
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.10006d20
add esp, 4
test al, al
je 0x10024e9f
push dword [esp + 0x44]
movss xmm2, dword [esp + 0x1c]
mov edx, edi
push dword [esp + 0x44]
mov ecx, esi
call fcn.10004b50
add esp, 8
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.1003bcd0
mov esp, ebp
pop ebp
ret