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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
mov edi, dword [0x100dd8ec]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x1a20]
mov byte [eax + 0x78], 1
mov edx, dword [edi + 0x1a20]
mov dword [esp + 0x24], edx
cmp byte [edx + 0x7b], 0
je 0x10024997
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x1544]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movss dword [esp + 0x3c], xmm0
test esi, esi
jne 0x100249cf
mov esi, ecx
cmp ecx, 0xffffffff
jae 0x100249cf
mov cl, byte [esi]
test cl, cl
je 0x100249cc
cmp cl, 0x23
jne 0x100249c6
cmp byte [esi + 1], cl
je 0x100249cc
inc esi
cmp esi, 0xffffffff
jb 0x100249b6
mov ecx, dword [ebp + 8]
movss xmm1, dword [edi + 0x1938]
mov eax, dword [edi + 0x1934]
mov dword [esp + 0x38], eax
movss dword [esp + 0x40], xmm1
cmp ecx, esi
jne 0x100249f3
xorps xmm2, xmm2
xorps xmm4, xmm4
jmp 0x10024a52
movss xmm3, dword [0x10062ce8]
movaps xmm2, xmm1
push ecx
push esi
push ecx
push ecx
lea ecx, [esp + 0x68]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.1004c320
movss xmm0, dword [esp + 0x58]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x10024a35
mov eax, dword [esp + 0x38]
movss xmm1, dword [esp + 0x40]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10062ba8]
movss xmm1, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
movss xmm0, dword [edi + 0x1548]
addss xmm1, xmm2
movss xmm6, dword [edi + 0x1938]
addss xmm0, xmm0
movss xmm3, dword [edx + 0xe8]
xorps xmm5, xmm5
mov eax, dword [edi + 0x1a20]
maxss xmm5, dword [edx + 0xec]
addss xmm0, xmm6
mov ecx, dword [eax + 0x1c4]
movss dword [esp + 0x34], xmm5
minss xmm3, xmm0
maxss xmm3, xmm1
movss xmm1, dword [eax + 0x21c]
subss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [edx + 0xcc]
movss dword [esp + 0x28], xmm0
test ecx, ecx
je 0x10024b0c
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x1a20]
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [eax + 0x1c4]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0x24]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [edi + 0x1a20]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
subss xmm1, dword [eax + 0x3c]
comiss xmm4, xmm2
addss xmm1, dword [edx + 0xc]
movss xmm7, dword [edx + 0xc8]
movss xmm5, dword [edx + 0xcc]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x68], xmm1
movaps xmm1, xmm6
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x60], xmm7
movss dword [esp + 0x38], xmm5
addss xmm1, xmm0
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x50], xmm1
jbe 0x10024b6d
addss xmm0, xmm4
jmp 0x10024b70
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x34]
addss xmm6, xmm0
lea ecx, [esp + 0x10]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x10], xmm6
call fcn.10015b30
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [edi + 0x1554]
mov eax, dword [edi + 0x1a20]
addss xmm1, xmm1
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
movss dword [esp + 0x10], xmm7
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x158]
mov eax, dword [edi + 0x1b18]
addss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x70], xmm0
test eax, eax
je 0x10024c6d
mov edx, dword [esp + 0x20]
test al, 1
je 0x10024c1a
mov al, byte [edi + 0x1b14]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push edx
call fcn.10014a90
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x1b18], 0
jmp 0x10024c81
push 0xffffffffffffffff
push edx
call fcn.10014a40
cmp eax, 0xffffffff
jne 0x10024c58
mov al, byte [edi + 0x1b14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push dword [esp + 0x24]
mov ecx, dword [ecx + 0x158]
call fcn.10014a90
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x1b18], 0
jmp 0x10024c81
test eax, eax
mov dword [edi + 0x1b18], 0
setne cl
mov dword [esp + 0x10], ecx
jmp 0x10024c81
push 0
push dword [esp + 0x24]
call fcn.10014a40
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
cmp byte [edi + 0x2cb4], 0
je 0x10024ca9
mov eax, dword [esp + 0xc]
mov edx, 1
movzx ecx, cl
mov eax, dword [eax + 0xfc]
cmp eax, dword [edi + 0x2ccc]
cmovl ecx, edx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x70]
push 0
call fcn.10016420
mov ecx, dword [esp + 0x28]
add esp, 4
movups xmm0, xmmword [esp + 0x60]
or dword [ecx + 0x108], 2
movups xmmword [ecx + 0x11c], xmm0
test al, al
jne 0x10024d82
mov eax, dword [esp + 0x10]
test al, al
je 0x100250b8
mov ecx, dword [0x100dd8ec]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1a20]
lea esi, [edx + 0x1c8]
mov byte [edx + 0x78], 1
mov eax, dword [ecx + 0x1a20]
movss xmm0, dword [ecx + 0x1574]
addss xmm0, dword [eax + 0x1b8]
movss dword [eax + 0x1b8], xmm0
addss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 0x1c0]
movss dword [eax + 0xc8], xmm0
inc dword [edx + 0xfc]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10024d6a
inc ecx
test edi, edi
je 0x10024d58
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10024d5d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10034c60
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
inc dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xb]
push 0x1400
push eax
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x7c]
call fcn.10023b20
add esp, 0xc
mov byte [esp + 0xc], 0
test al, al
mov eax, dword [esp + 0x10]
je 0x10024dce
cmp byte [edi + 0x1d00], 0
mov ecx, 1
mov dword [esp + 0xc], ecx
je 0x10024dce
xor edx, edx
movzx ecx, cl
test al, al
cmovne ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [0x100dd8ec]
cmp dword [edi + 0x1b20], ecx
jne 0x10024e8b
cmp byte [edi + 0x1b95], 0
je 0x10024e30
cmp dword [edi + 0x1ba0], 0
jne 0x10024e30
test al, al
je 0x10024e30
mov byte [edx + 0x1b95], 0
cmp byte [edx + 0x1b95], 0
mov byte [esp + 0xc], 1
jne 0x10024e1d
cmp byte [edx + 0x1b7d], 0
mov byte [esp + 0xa], 0
je 0x10024e22
mov byte [esp + 0xa], 1
mov al, byte [esp + 0xa]
mov byte [edx + 0x1b7c], al
mov eax, dword [esp + 0x10]
cmp dword [edi + 0x1b20], ecx
jne 0x10024e8b
cmp byte [edi + 0x1b95], 0
je 0x10024e8b
cmp dword [edi + 0x1ba0], 1
jne 0x10024e8b
test al, al
jne 0x10024e8b
mov byte [edx + 0x1b95], al
test al, al
jne 0x10024e72
cmp byte [edx + 0x1b7d], al
jne 0x10024e72
mov cl, al
mov byte [esp + 0xa], al
mov byte [edx + 0x1b7c], cl
mov ecx, dword [esp + 0x20]
jmp 0x10024e92
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa], 1
mov cl, byte [esp + 0xa]
mov byte [edx + 0x1b7c], cl
mov ecx, dword [esp + 0x20]
jmp 0x10024e92
cmp byte [esp + 0xc], 0
je 0x10024eb5
test al, al
sete al
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x158]
call fcn.10014a90
mov edx, dword [0x100dd8ec]
cmp byte [esp + 0xb], 0
mov al, byte [esp + 9]
je 0x10024ecb
test al, al
je 0x10024ecb
mov ecx, 0x1a
jmp 0x10024ed5
xor ecx, ecx
test al, al
setne cl
add ecx, 0x18
movss xmm1, dword [0x10062bac]
call fcn.10014520
cmp byte [esp + 9], 0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x34]
mov dword [esp + 0x24], eax
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm1
movss dword [esp + 0x54], xmm0
je 0x10024f7e
mov ecx, dword [esp + 0x64]
movss xmm0, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
push 0xf
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x1a20]
push ecx
mov dword [esp], 0
push dword [esp + 0x2c]
mov ecx, dword [ecx + 0x27c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x6c], xmm0
push eax
call fcn.10049a00
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x60]
push 2
call fcn.1001c4b0
movss xmm1, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x3c]
xor ecx, ecx
addss xmm0, dword [esp + 0x40]
cmp byte [esp + 0x10], cl
setne cl
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x1938]
mulss xmm0, dword [0x10062b60]
lea ecx, [ecx*2 + 1]
addss xmm0, xmm1
movss xmm1, dword [0x10062b94]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1001c320
add esp, 8
cmp byte [edi + 0x2cb4], 0
je 0x10024fff
push 0
lea edx, [esp + 0x10]
mov word [esp + 0x10], 0x3e
lea ecx, [esp + 0x54]
mov byte [esp + 0x12], 0
call fcn.1001baa0
add esp, 4
push dword [esp + 0x54]
mov ecx, dword [ebp + 8]
mov edx, esi
push dword [esp + 0x54]
push 0
call fcn.1001bbd0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test al, al
je 0x100250b8
mov ecx, dword [0x100dd8ec]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1a20]
lea esi, [edx + 0x1c8]
mov byte [edx + 0x78], 1
mov eax, dword [ecx + 0x1a20]
movss xmm0, dword [ecx + 0x1574]
addss xmm0, dword [eax + 0x1b8]
movss dword [eax + 0x1b8], xmm0
addss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 0x1c0]
movss dword [eax + 0xc8], xmm0
inc dword [edx + 0xfc]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x100250a6
inc ecx
test edi, edi
je 0x10025094
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10025099
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10034c60
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x10]
inc dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret