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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100ae940]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [0x100b109c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], esi
cmp byte [edi + 0x7d], 0
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x40]
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], eax
mov byte [edi + 0x7f], 0
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x40], xmm1
je 0x10021878
cmp byte [ebp + 0x10], 0
movss xmm0, dword [ebx + 0x155c]
movss dword [ebp - 0x30], xmm0
movss dword [ebx + 0x155c], xmm1
je 0x1002171c
cmp byte [ebx + 0x1b76], 0
mov eax, 0xb
je 0x10021721
mov eax, 0xc
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10019200
movss xmm0, dword [esi + 8]
add esp, 8
movss xmm1, dword [ebp - 0x34]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [esi]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 4]
mov esi, dword [0x100b109c]
push 0xf
push ecx
movss dword [esp], xmm1
push eax
movss dword [ebp - 8], xmm0
lea eax, [ebp - 0x14]
mov edi, dword [esi + 0x1a00]
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [edi + 0x278]
call fcn.100285c0
movss xmm0, dword [esi + 0x155c]
comiss xmm0, dword [0x1007783c]
movss dword [ebp - 0x2c], xmm0
jbe 0x1002185a
push ecx
mov dword [esp], 0x3f800000
push 6
call fcn.10019200
movss xmm1, dword [0x10071c2c]
add esp, 4
movss xmm0, dword [ebp - 0x14]
addss xmm0, xmm1
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x10]
addss xmm0, xmm1
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, xmm1
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, xmm1
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x34]
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100284d0
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.10019200
movss xmm0, dword [ebp - 0x2c]
add esp, 4
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x34]
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100284d0
movss xmm0, dword [ebp - 0x30]
pop edi
pop esi
movss dword [ebx + 0x155c], xmm0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100459fc
mov esp, ebp
pop ebp
ret
test al, al
js 0x100219b2
test eax, 0x6000000
je 0x1002188e
mov eax, 4
jmp 0x1002189b
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10019200
add esp, 8
mov ecx, eax
test byte [ebx + 0x1a80], 0x40
xorps xmm2, xmm2
je 0x100218f7
movss xmm1, dword [ebx + 0x1acc]
comiss xmm2, xmm1
jbe 0x100218cc
xorps xmm0, xmm0
jmp 0x100218d8
movss xmm0, dword [0x10071c2c]
minss xmm0, xmm1
mulss xmm0, dword [0x100778c8]
and ecx, 0xffffff
addss xmm0, dword [0x10077860]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
movss xmm3, dword [edi + 0xc]
movss xmm4, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x14]
mov esi, dword [ebp - 0x2c]
mov edx, esi
and edx, 1
mov dword [ebp - 0x28], edx
movss dword [ebp - 0x5c], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x58], xmm0
je 0x1002192d
xorps xmm0, xmm0
jmp 0x10021969
mov eax, dword [0x100b109c]
movss xmm1, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test eax, eax
je 0x10021954
mulss xmm1, dword [eax + 0x270]
mov eax, dword [0x100b109c]
movss xmm0, dword [eax + 0x1554]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, xmm4
mov dword [ebp - 0x30], 0xf
test edx, edx
addss xmm3, xmm2
mov eax, 0xc
cmovne eax, dword [ebp - 0x30]
push eax
push ecx
movss dword [ebp - 0x60], xmm0
lea eax, [ebp - 0x5c]
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push ecx
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x64]
movss dword [ebp - 0x64], xmm3
push eax
call fcn.100285c0
mov eax, dword [ebp - 0x28]
jmp 0x100219bb
mov esi, dword [ebp - 0x2c]
and eax, 1
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x100219fb
movzx eax, byte [ebp + 0x10]
push ecx
add eax, 0xa
mov dword [esp], 0x3f800000
push eax
call fcn.10019200
movss xmm0, dword [ebp - 0x34]
add esp, 8
push 3
push ecx
mov ecx, dword [ebp - 0x38]
movss dword [esp], xmm0
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [edi + 0x278]
call fcn.100285c0
mov eax, dword [ebp - 0x28]
test esi, 0x400
je 0x10021bf0
mov edx, dword [edi + 8]
mov ecx, dword [0x100b109c]
test dl, 1
je 0x10021a1a
xorps xmm2, xmm2
jmp 0x10021a4f
movss xmm0, dword [ecx + 0x18d4]
mov edx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test edx, edx
je 0x10021a3c
mulss xmm0, dword [edx + 0x270]
movss xmm2, dword [ecx + 0x1554]
mov edx, dword [edi + 8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm5, dword [edi + 0x10]
xorps xmm3, xmm3
addss xmm2, xmm5
test edx, 0x400
je 0x10021a9f
movss xmm1, dword [ecx + 0x18d4]
mov edx, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test edx, edx
je 0x10021a85
mulss xmm1, dword [edx + 0x270]
movss xmm0, dword [ecx + 0x1554]
addss xmm1, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x10021aa2
xorps xmm1, xmm1
movss xmm0, dword [edi + 0xc]
addss xmm1, xmm2
movaps xmm4, xmm0
maxss xmm4, xmm0
movss dword [ebp - 0x30], xmm4
movaps xmm4, xmm2
maxss xmm4, xmm5
addss xmm5, dword [edi + 0x18]
movss dword [ebp - 0x3c], xmm4
movaps xmm4, xmm0
minss xmm1, xmm5
addss xmm4, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x18], xmm1
minss xmm4, xmm0
movss dword [ebp - 0x44], xmm4
movss dword [ebp - 0x1c], xmm4
test eax, eax
je 0x10021b01
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x38], xmm0
jmp 0x10021b06
movss dword [ebp - 0x38], xmm3
push ecx
mov dword [esp], 0x3f800000
push 0xd
call fcn.10019200
movss xmm0, dword [ebp - 0x44]
xorps xmm1, xmm1
subss xmm0, dword [ebp - 0x40]
add esp, 8
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x28]
subss xmm0, xmm1
push 3
push ecx
mov ecx, dword [edi + 0x278]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x3c]
addss xmm0, xmm1
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100285c0
movss xmm0, dword [ebx + 0x155c]
comiss xmm0, dword [0x1007783c]
jbe 0x10021bf0
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
comiss xmm0, dword [ebp - 0x28]
jbe 0x10021bf0
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.10019200
movss xmm0, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebx + 0x155c]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x78], edx
push eax
call fcn.10027910
cmp byte [edi + 0x78], 0
je 0x10021c00
push 0
call fcn.1003e080
add esp, 4
cmp byte [edi + 0x79], 0
je 0x10021c10
push 1
call fcn.1003e080
add esp, 4
test byte [ebp - 0x2c], 2
jne 0x10021f05
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x14], eax
jle 0x10021f05
movss xmm4, dword [ebp - 0x40]
mov ebx, 0x100ae508
movaps xmm0, xmm4
mov dword [ebp - 0x28], ebx
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 8], xmm0
movss xmm0, dword [edi + 0xc]
and eax, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
movaps xmm3, xmm1
mov dword [ebp - 0x44], eax
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [ebx - 8]
mulss xmm3, dword [ebx - 4]
mov ebx, dword [edi + 0x278]
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x38], xmm3
je 0x10021c98
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
jmp 0x10021ca0
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
mov eax, dword [ebp - 0x28]
mov esi, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x48], xmm1
cmp esi, ecx
jne 0x10021d6d
inc esi
test ecx, ecx
je 0x10021cdc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10021ce1
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x10021d6d
mov eax, dword [0x100b109c]
test eax, eax
je 0x10021cfd
inc dword [eax + 0x374]
push dword [0x100b10a4]
lea eax, [esi*8]
push eax
call dword [0x100ae4f8]
mov edx, dword [ebx + 0x60]
add esp, 8
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x10021d58
mov ecx, dword [ebx + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.10046f60
mov ecx, dword [ebx + 0x60]
add esp, 0xc
test ecx, ecx
je 0x10021d45
mov eax, dword [0x100b109c]
test eax, eax
je 0x10021d45
dec dword [eax + 0x374]
push dword [0x100b10a4]
push ecx
call dword [0x100ae4fc]
mov eax, dword [ebp - 0x3c]
add esp, 8
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x38]
movss xmm4, dword [ebp - 0x40]
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x5c], esi
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc dword [ebx + 0x58]
cmp dword [ebp - 0x44], 0
mov ebx, dword [edi + 0x278]
je 0x10021d99
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
jmp 0x10021da1
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
mov eax, dword [ebp - 0x28]
mov esi, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x50], xmm1
cmp esi, ecx
jne 0x10021e69
inc esi
test ecx, ecx
je 0x10021ddd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10021de2
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x10021e69
mov eax, dword [0x100b109c]
test eax, eax
je 0x10021dfe
inc dword [eax + 0x374]
push dword [0x100b10a4]
lea eax, [esi*8]
push eax
call dword [0x100ae4f8]
mov edx, dword [ebx + 0x60]
add esp, 8
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x10021e59
mov ecx, dword [ebx + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.10046f60
mov ecx, dword [ebx + 0x60]
add esp, 0xc
test ecx, ecx
je 0x10021e46
mov eax, dword [0x100b109c]
test eax, eax
je 0x10021e46
dec dword [eax + 0x374]
push dword [0x100b10a4]
push ecx
call dword [0x100ae4fc]
mov eax, dword [ebp - 0x3c]
add esp, 8
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x38]
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x5c], esi
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x58]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
movss xmm0, dword [ebp - 8]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
lea eax, [ebp - 0x1c]
inc dword [ebx + 0x58]
mov ebx, dword [ebp - 0x28]
mulss xmm0, dword [ebx]
push dword [ebx + 0xc]
push dword [ebx + 8]
addss xmm0, xmm2
push ecx
mov ecx, dword [edi + 0x278]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [ebx + 4]
addss xmm0, xmm3
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push eax
call fcn.1002c040
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov esi, dword [edi + 0x278]
push dword [ecx + eax*4]
mov ecx, esi
push dword [esi + 0x58]
push dword [esi + 0x60]
call fcn.10026b50
mov eax, dword [ebp - 0x2c]
add ebx, 0x18
movss xmm4, dword [ebp - 0x40]
inc eax
mov dword [esi + 0x58], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
cmp eax, dword [ebp + 0x14]
jl 0x10021c42
push edi
call fcn.10021f20
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100459fc
mov esp, ebp
pop ebp
ret