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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x100ba364]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x58], esi
push edi
test esi, esi
je 0x1001dd7b
mov eax, dword [0x100ee02c]
add eax, 0xffffffca
xor eax, 0x44153ea5
cmp dword [eax + esi], 0
jne 0x1001dd7b
cmp byte [0x100f52f4], 0
je 0x1001dd7b
mov eax, dword [0x100ee09c]
mov ecx, dword [0x100f3374]
add eax, 0xffffffae
xor eax, 0x44153ec1
cmp byte [eax + ecx], 0
mov eax, dword [0x100f52ec]
je 0x1001d3a7
movss xmm3, dword [eax + 0x130]
jmp 0x1001d3af
movss xmm3, dword [eax + 0x12c]
cmp byte [0x100ddc44], 0
mov edi, dword [0x100edff0]
je 0x1001d400
lea eax, [edi - 0x27]
xor eax, 0x44153e96
add eax, ecx
movss xmm2, dword [eax + 4]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10017ae0
mulss xmm3, dword [0x100ae7b4]
comiss xmm0, xmm3
ja 0x1001dd7b
cmp byte [0x100ddccc], 0
mov edx, dword [0x100ee07c]
je 0x1001d436
lea eax, [edx - 0x4a]
xor eax, 0x44153eb9
movss xmm1, dword [eax + ecx]
comiss xmm1, dword [0x100ae77c]
jb 0x1001d436
movss xmm0, dword [0x100f5304]
comiss xmm0, xmm1
ja 0x1001dd7b
movss xmm2, dword [0x100dd2a8]
xorps xmm1, xmm1
comiss xmm1, xmm2
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x138], xmm2
jae 0x1001dd93
cmp dword [0x100f52e8], 0x1f
jne 0x1001d46c
movss xmm2, dword [0x100dcf2c]
jmp 0x1001d487
mov eax, dword [0x100ee038]
add eax, 0xffffffc7
xor eax, 0x44153ea8
test byte [eax + ecx], 1
jne 0x1001d496
movss xmm2, dword [0x100dd364]
movss dword [esp + 0x138], xmm2
movss dword [esp + 0x18], xmm2
test byte [0x100f337c], 1
je 0x1001d524
test byte [0x100f3380], 1
je 0x1001d524
lea eax, [edx - 0x4a]
xor eax, 0x44153eb9
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001d524
lea eax, [edi - 0x27]
xor eax, 0x44153e96
movss xmm1, dword [eax + ecx + 4]
movss xmm0, dword [eax + ecx]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10017ae0
comiss xmm0, dword [0x100ae934]
jbe 0x1001d524
mov eax, dword [0x100ee370]
movss xmm1, dword [0x100ae800]
movss xmm0, dword [eax]
subss xmm0, dword [0x100f3398]
comiss xmm1, xmm0
jb 0x1001d524
addss xmm2, dword [0x100ae914]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x138], xmm2
mov ecx, dword [0x100ee040]
mov edi, 0x64
movss xmm2, dword [0x100ae97c]
movss xmm4, dword [0x100ae744]
movss dword [esp + 0x20], xmm2
lea eax, [ecx - 0x3b]
xor eax, 0x44153eaa
mov eax, dword [eax + esi]
cmp eax, edi
cmovl edi, eax
cmp dword [0x100f52e8], 0x1f
jne 0x1001d573
lea eax, [edi + 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x24], xmm0
jmp 0x1001d63e
mov al, byte [0x100da9ac]
movss xmm3, dword [0x100dccd8]
movss xmm0, dword [0x100ddb04]
test al, al
je 0x1001d591
movaps xmm1, xmm0
jmp 0x1001d594
movaps xmm1, xmm3
cmp byte [0x100dcd90], 0
movss dword [esp + 0x24], xmm1
je 0x1001d618
movd xmm0, edi
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm4
mulss xmm1, xmm0
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm2, dword [0x100ae97c]
add esp, 8
movss xmm3, dword [0x100dccd8]
movss xmm4, dword [0x100ae744]
mov al, byte [0x100da9ac]
mov ecx, dword [0x100ee040]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
fstp dword [esp + 0x10]
addss xmm0, dword [0x100ae8cc]
movss xmm1, dword [esp + 0x10]
minss xmm1, xmm0
movss xmm0, dword [0x100ddb04]
movss dword [esp + 0x24], xmm1
comiss xmm1, xmm2
jbe 0x1001d63e
test al, al
jne 0x1001d624
movaps xmm0, xmm3
lea eax, [ecx - 0x3b]
xor eax, 0x44153eaa
movd xmm1, dword [eax + esi]
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [0x100dd420]
mulss xmm0, xmm4
mov dword [esp + 0x34], 0x42c80000
mov dword [esp + 0x10], 0x3f800000
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm2
ja 0x1001d68a
comiss xmm0, dword [0x100ae800]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x138]
cmovae eax, ecx
movss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
mov eax, dword [0x100f338c]
movq xmm0, qword [0x100f3384]
push 0x30
mov dword [esp + 0x70], eax
lea eax, [esp + 0x108]
push 0
push eax
movq qword [esp + 0x70], xmm0
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [esp + 0x10c], 0
movups xmmword [esp + 0xec], xmm0
add esp, 4
mov dword [esp + 0x20], 0
movups xmmword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [0x100ae89c]
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
call fcn.1009ae40
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
movss xmm0, dword [esi]
mulss xmm0, dword [0x100ae748]
movss dword [esp + 0x10], xmm0
call fcn.10017ac0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10017ad0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x100ae748]
movss dword [esp + 0x10], xmm0
call fcn.10017ac0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10017ad0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x100ae748]
movss dword [esp + 0x10], xmm0
call fcn.10017ac0
movss dword [esp + 0x138], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10017ad0
movss xmm4, dword [esp + 0x1c]
movaps xmm2, xmm0
movss xmm5, dword [esp + 0x28]
movaps xmm0, xmm4
movss xmm3, dword [esp + 0x14]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x20]
movss xmm6, dword [esp + 0x138]
mulss xmm0, xmm5
movaps xmm7, xmm6
mulss xmm7, xmm3
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm5
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm7, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
xorps xmm0, xmmword [0x100aeae0]
subss xmm0, xmm1
movss dword [esp + 0x40], xmm7
movaps xmm1, xmm6
movaps xmm7, xmm2
mulss xmm1, dword [esp + 0x20]
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
movss dword [esp + 0x58], xmm0
mov ecx, dword [0x100f52e4]
movaps xmm0, xmm1
mulss xmm7, xmm3
mulss xmm0, xmm4
mov eax, dword [ecx]
mulss xmm1, xmm3
mulss xmm2, xmm4
addss xmm7, xmm0
mov eax, dword [eax + 0x754]
mulss xmm6, xmm5
mov dword [esp + 0x14], eax
subss xmm1, xmm2
movss dword [esp + 0x48], xmm7
movss dword [esp + 0x138], xmm6
movss dword [esp + 0x54], xmm1
call dword [esp + 0x14]
mov ecx, dword [0x100f52e4]
fstp dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
fstp dword [esp + 0x38]
xor edi, edi
mov esi, dword [0x100f52e4]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
je 0x1001da52
cmp dword [eax + 0xf4], 0
je 0x1001da52
mov eax, dword [0x100ee108]
add eax, 0xffffff93
xor eax, 0x44153edc
mov ecx, dword [eax + esi]
mov eax, dword [0x100ee138]
add eax, 0xffffff87
mov dword [esp + 0x28], ecx
xor eax, 0x44153ee8
movss xmm0, dword [eax + esi]
lea eax, [edi + 1]
push eax
movss dword [esp + 0x30], xmm0
call dword [0x100ee470]
mov eax, dword [0x100ee478]
mov dword [esp], 0x3f800000
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp], 0
call dword [esp + 0x1c]
mov eax, dword [0x100ee478]
fstp dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [esp + 0x1c]
mov eax, dword [0x100ee478]
fstp dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [esp + 0x1c]
mov eax, dword [0x100ee478]
fstp dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
add esp, 8
fstp dword [esp + 0x14]
cmp eax, 0x40
je 0x1001d9e2
cmp eax, 0x1c
jne 0x1001d9e2
movss xmm3, dword [esp + 0x2c]
movss xmm0, dword [0x100ae8a8]
comiss xmm0, xmm3
jbe 0x1001d9e2
movss xmm1, dword [esp + 0x1c]
mov eax, 3
movss xmm2, dword [esp + 0x10]
movaps xmm0, xmm1
dec eax
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
ja 0x1001d9a7
movss xmm0, dword [0x100ae800]
subss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x100ae800]
subss xmm0, xmm2
jmp 0x1001d9f4
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x30]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.1009ac9b
movss xmm4, dword [esp + 0x10]
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x1c]
movaps xmm3, xmm1
mulss xmm4, dword [esp + 0x38]
mulss xmm2, dword [esp + 0x3c]
shufps xmm3, xmm1, 0xe
movaps xmm6, xmm3
shufps xmm0, xmm1, 1
shufps xmm6, xmm3, 1
mulss xmm6, xmm2
mulss xmm0, xmm4
mulss xmm3, xmm2
mulss xmm1, xmm4
addss xmm6, xmm0
addss xmm3, xmm1
jmp 0x1001da58
xorps xmm6, xmm6
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x40]
movss xmm0, dword [esp + 0x48]
movss xmm4, dword [esp + 0x4c]
movss xmm5, dword [esp + 0x138]
mulss xmm0, xmm3
mulss xmm2, xmm6
mulss xmm4, xmm6
addss xmm2, dword [esp + 0x44]
mulss xmm5, xmm3
addss xmm4, dword [esp + 0x50]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x54]
mulss xmm0, xmm3
addss xmm4, xmm0
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x58]
mulss xmm0, xmm6
mulss xmm1, xmm2
addss xmm0, dword [esp + 0x20]
subss xmm5, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10017ae0
addss xmm0, dword [0x100ae720]
movss xmm3, dword [0x100ae800]
mov eax, dword [0x100f52ec]
movss xmm7, dword [esp + 0x68]
movss xmm6, dword [esp + 0x6c]
divss xmm3, xmm0
mov dword [esp + 0x8c], 0
mov byte [esp + 0xb5], 1
movss xmm0, dword [eax + 0x104]
movaps xmm1, xmm3
mulss xmm5, xmm3
mulss xmm1, xmm2
movaps xmm2, xmm3
mulss xmm2, xmm4
movaps xmm3, xmm7
mulss xmm5, xmm0
movaps xmm4, xmm6
mulss xmm2, xmm0
mulss xmm1, xmm0
addss xmm4, xmm5
movss xmm0, dword [esp + 0x64]
addss xmm3, xmm2
movss xmm5, dword [esp + 0x64]
addss xmm0, xmm1
movss dword [esp + 0x14], xmm4
movaps xmm2, xmm3
movss dword [esp + 0x2c], xmm3
subss xmm2, xmm7
movaps xmm1, xmm0
movss dword [esp + 0x30], xmm0
subss xmm1, xmm5
movaps xmm0, xmm4
subss xmm0, xmm6
movss dword [esp + 0x84], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x80], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x88], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x100ae710]
lahf
test ah, 0x44
jp 0x1001dbbe
mov byte [esp + 0xb5], 0
mov ecx, dword [0x100ee330]
lea edx, [esp + 0xe0]
mov esi, dword [esp + 0x5c]
push edx
mov dword [esp + 0xb4], 0
lea edx, [esp + 0x74]
mov byte [esp + 0xb8], 1
movss dword [esp + 0x74], xmm5
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x7c], xmm6
mov dword [esp + 0x80], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov eax, dword [ecx]
push esi
push 0x4600400b
push edx
mov eax, dword [eax + 0xc]
call eax
cmp dword [esp + 0x12c], esi
jne 0x1001dd57
mov eax, dword [esp + 0x124]
cmp eax, 1
jl 0x1001dc72
cmp eax, 7
jle 0x1001dc77
cmp eax, 0xa
jne 0x1001dc7b
mov al, 1
jmp 0x1001dc7d
xor al, al
test al, al
je 0x1001dd57
movss xmm0, dword [esp + 0x30]
lea edx, [esp + 0x13c]
cmp dword [0x100f52e8], 0x1f
lea ecx, [esp + 0xc0]
mov eax, dword [0x100f3374]
movss dword [esp + 0xc8], xmm0
setne byte [esp + 0xdc]
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0xd4], 0x3f800000
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], eax
movss dword [esp + 0xd0], xmm0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0xffffffff
mov byte [esp + 0x148], 0
call fcn.100848f0
test al, al
je 0x1001dd57
movss xmm1, dword [esp + 0x60]
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x1001dd4c
mulss xmm1, dword [esp + 0x24]
movss xmm0, dword [esp + 0x140]
comiss xmm0, xmm1
jb 0x1001dd57
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x1001dd5b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jae 0x1001dd93
sub eax, edi
add eax, 0xff
cmp eax, ecx
jb 0x1001dd7b
inc edi
cmp edi, 0xff
jle 0x1001d895
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100990c9
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x14c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.100990c9
mov esp, ebp
pop ebp
ret 0xc