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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100860c0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [0x1008694c]
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 0x10024d8f
test esi, esi
jne 0x10024873
push 0x7c
push 0x10082198
push 0x10082200
call dword [fcn.1003d258]
mov edx, dword [0x1008694c]
add esp, 0xc
test edi, edi
jne 0x1002488c
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024880
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 0x10024bf5
cmp byte [esp + 0x13], 0
jne 0x10024c00
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 0x10024b94
mov eax, dword [esp + 0x14]
movaps xmm1, xmm4
mov edx, dword [0x1003d1e0]
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x60], xmm1
cmp byte [eax + 0x2ba8], 0
jne 0x100249b5
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm4
divss xmm0, xmm5
cvttss2si ecx, xmm0
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x100249b5
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
jae 0x100249a0
nop word [eax + eax]
cmp eax, ecx
jge 0x1002498b
push 0xa
push esi
call edx
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [0x1003d1e0]
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 0x10024960
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 0x10024b80
movaps xmm0, xmm3
movss dword [esp + 0x1c], xmm1
addss xmm0, dword [0x10082e50]
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 [0x1008694c]
add esp, 8
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 0x1930]
comiss xmm0, dword [ecx + 0x1e0]
jbe 0x10024a35
movss xmm0, dword [ecx + 0x1e8]
comiss xmm0, dword [esp + 0x1c]
jbe 0x10024a35
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [ecx + 0x1dc]
jbe 0x10024a35
movss xmm0, dword [ecx + 0x1e4]
comiss xmm0, dword [esp + 0x20]
ja 0x10024a42
cmp byte [edx + 0x2ba8], 0
je 0x10024b39
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 0x10024a67
xorps xmm1, xmm1
jmp 0x10024ac7
movss xmm3, dword [0x10082e50]
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.10022250
movss xmm0, dword [esp + 0x40]
comiss xmm0, dword [0x10082c9c]
jbe 0x10024aaa
mov eax, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10082d14]
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.10004820
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 [0x1003d1e0]
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 0x100249e1
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
jae 0x10024b64
push 0xa
push esi
call dword [0x1003d1e0]
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 0x10024b43
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.10006af0
push 0
xor edx, edx
lea ecx, [esp + 0x60]
call fcn.10006c60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1003b130
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x10024c94
comiss xmm2, xmm1
ja 0x10024c94
mov ecx, dword [edx + 0x1930]
movaps xmm0, xmm3
ucomiss xmm1, xmm2
mov dword [esp + 0x34], ecx
lahf
test ah, 0x44
jp 0x10024c70
movss xmm1, dword [ecx + 0x224]
mov eax, dword [ecx + 0x1cc]
subss xmm1, dword [ecx + 0xc]
test eax, eax
je 0x10024c5d
mov ecx, dword [eax + 0xc]
inc ecx
call fcn.10013d10
mov ecx, dword [esp + 0x34]
movaps xmm1, xmm0
mov eax, dword [esp + 0x18]
mov edx, dword [0x1008694c]
subss xmm1, dword [ecx + 0x3c]
movss xmm0, dword [eax + 0xc8]
addss xmm1, dword [ecx + 0xc]
subss xmm1, xmm0
maxss xmm1, dword [0x10082d18]
jmp 0x10024c97
comiss xmm1, xmm2
jbe 0x10024c86
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [ecx + 0x54]
addss xmm1, xmm0
movaps xmm0, xmm3
subss xmm1, xmm0
maxss xmm1, dword [0x10082d18]
jmp 0x10024c97
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 0x10024cbe
xorps xmm0, xmm0
jmp 0x10024d17
movss xmm3, dword [0x10082e50]
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.10022250
movss xmm0, dword [esp + 0x40]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x10024cfe
mov eax, dword [esp + 0x30]
movss xmm1, dword [esp + 0x34]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10082d14]
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.10006af0
push 0
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.10006c60
add esp, 4
test al, al
je 0x10024d8f
push dword [esp + 0x44]
movss xmm2, dword [esp + 0x1c]
mov edx, edi
push dword [esp + 0x44]
mov ecx, esi
call fcn.10004a90
add esp, 8
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.1003b130
mov esp, ebp
pop ebp
ret