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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1998
call fcn.100bd5a0
mov eax, dword [0x100dd360]
xor eax, esp
mov dword [esp + 0x1994], eax
mov eax, dword [0x102432c0]
push esi
mov esi, edx
mov dword [esp + 0x24], esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], edi
test al, 1
jne 0x10099f3f
or eax, 1
mov dword [0x102432c0], eax
mov eax, dword [0x1023b568]
mov dword [0x102432e8], eax
mov dword [0x102432ec], 0
mov dword [0x102432f0], 0
mov dword [0x102432f4], 0
mov dword [0x102432f8], 0
xor eax, eax
mov dword [esp + 0x40], 0
cmp byte [edi + 0x30], al
xorps xmm0, xmm0
push 0x30
setne al
movss dword [esp + 0x50], xmm0
add eax, 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x100]
push 0
push eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xf8], 0
xorps xmm0, xmm0
lea eax, [esp + 0x154]
movups xmmword [esp + 0xd8], xmm0
push 0x30
push 0
push eax
movups xmmword [esp + 0xf4], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [edi]
xorps xmm0, xmm0
mov eax, dword [0x1023b544]
add esp, 0xc
movups xmmword [esp + 0x130], xmm0
mov dword [esp + 0x150], 0
movups xmmword [esp + 0x140], xmm0
cmp byte [ecx + eax], 0
je 0x1009a06b
mov eax, dword [0x100efdd4]
movss xmm4, dword [0x100ef730]
movss xmm5, dword [0x100ef734]
movss xmm6, dword [0x100ef738]
mov ecx, dword [0x100efddc]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ecx
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x48], xmm6
test eax, eax
je 0x1009aadb
test ecx, ecx
je 0x1009aadb
jmp 0x1009a22f
mov eax, dword [0x1023b690]
add eax, 0xffffff9c
xor eax, 0xbc88477b
mov eax, dword [eax + ecx]
mov ecx, dword [0x1023b3b4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [esp + 0x50], eax
test eax, eax
je 0x1009aadb
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
mov dword [esp + 0x24], eax
test eax, eax
je 0x1009aadb
mov esi, dword [edi]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x1009a201
mov eax, dword [0x1023b548]
mov eax, dword [esi + eax]
test eax, eax
je 0x1009a201
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x1009a201
cmp byte [eax + 0x109], 0
jne 0x1009a130
mov eax, dword [0x1023b61c]
add eax, 0xffffffb9
xor eax, 0xbc88475e
movss xmm0, dword [eax + ecx]
ucomiss xmm0, dword [0x100d1ed4]
lahf
test ah, 0x44
jnp 0x1009a201
mov eax, dword [ecx + 4]
lea edx, [esp + 0x198]
add ecx, 4
push ecx
mov dword [esp], 0
mov eax, dword [eax + 0x34]
push pe_nt_image_headers32
push 0x80
push edx
call eax
xorps xmm1, xmm1
test al, al
je 0x1009a167
movss xmm2, dword [esp + 0x344]
jmp 0x1009a16a
xorps xmm2, xmm2
addss xmm2, dword [0x100d2028]
movss xmm3, dword [esp + 0x5c]
comiss xmm3, xmm2
movss dword [esp + 0x30], xmm2
jbe 0x1009a201
movaps xmm0, xmm3
xorps xmm4, xmm4
subss xmm0, xmm2
subss xmm0, dword [0x100d20fc]
mulss xmm0, dword [0x100d1f50]
comiss xmm0, xmm1
jb 0x1009a1d1
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm3, dword [esp + 0x64]
add esp, 8
movss xmm2, dword [esp + 0x30]
fstp dword [esp + 0x34]
movss xmm4, dword [esp + 0x34]
movaps xmm0, xmm4
subss xmm2, xmm3
mulss xmm0, xmm4
movaps xmm1, xmm0
addss xmm0, xmm0
mulss xmm1, dword [0x100d20d8]
mulss xmm0, xmm4
subss xmm1, xmm0
mulss xmm1, xmm2
addss xmm1, xmm3
movss dword [esp + 0x5c], xmm1
movq xmm0, qword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
movq qword [esp + 0x40], xmm0
movss xmm5, dword [esp + 0x44]
movss xmm4, dword [esp + 0x40]
mov dword [esp + 0x48], eax
movss xmm6, dword [esp + 0x48]
mov dword [esi + 0x10], 4
mov dword [esi + 4], 0xbf800000
movss xmm0, dword [edi + 0x10]
movss xmm3, dword [edi + 8]
subss xmm0, xmm6
movss xmm7, dword [edi + 0xc]
subss xmm3, xmm4
movss xmm1, dword [ecx + 0xf8]
subss xmm7, xmm5
movd xmm2, dword [ecx + 0xec]
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm3
movaps xmm1, xmm7
mulss xmm0, xmm3
mulss xmm1, xmm7
cvtdq2ps xmm2, xmm2
addss xmm0, xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm1, xmm1
movss dword [esp + 0x14], xmm2
addss xmm0, xmm1
call fcn.1001f4c0
addss xmm0, dword [0x100d1ee4]
movss xmm1, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [0x102432ec], eax
mov dword [0x102432f8], 0
divss xmm7, xmm0
divss xmm3, xmm0
divss xmm1, xmm0
movss dword [esp + 0x60], xmm7
movss dword [esp + 0x6c], xmm7
xorps xmm7, xmm7
comiss xmm2, xmm7
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x70], xmm1
jbe 0x1009aadb
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x1009aadb
movss xmm1, dword [ecx + 0x104]
movaps xmm0, xmm3
subss xmm1, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x60]
movss xmm3, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
mov dword [esp + 0x9c], 0
mulss xmm0, xmm1
mov byte [esp + 0xc5], 1
mulss xmm2, xmm1
addss xmm0, xmm4
mulss xmm3, xmm1
addss xmm2, xmm5
movss dword [esp + 0x10], xmm1
addss xmm3, xmm6
movaps xmm1, xmm0
movss dword [esp + 0x2c], xmm0
subss xmm1, xmm4
movss dword [esp + 0x30], xmm2
subss xmm2, xmm5
movaps xmm0, xmm3
movss dword [esp + 0x34], xmm3
subss xmm0, xmm6
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x94], xmm2
mulss xmm2, xmm2
mulss xmm1, xmm1
movss dword [esp + 0x98], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x1009a3be
mov byte [esp + 0xc5], 0
mov ecx, dword [0x1023b3cc]
lea edx, [esp + 0xd8]
push edx
mov dword [esp + 0xc4], 0
lea edx, [esp + 0x84]
mov byte [esp + 0xc8], 1
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x8c], xmm6
mov dword [esp + 0x90], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov eax, dword [ecx]
push 0x102432e8
push 0x4600400b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x100d2164]
mov eax, dword [edi + 4]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x2c]
test eax, eax
je 0x1009a4de
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x60]
mulss xmm0, xmm1
push eax
lea eax, [esp + 0xdc]
push eax
addss xmm0, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
sub esp, 0x10
mov ecx, esp
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x74], xmm0
movq xmm0, qword [esp + 0x58]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x6c]
call fcn.10098f70
add esp, 0x18
jmp 0x1009a534
movss dword [esp + 0x74], xmm0
lea eax, [esp + 0xd8]
movss xmm0, dword [esp + 0x60]
lea edx, [esp + 0x74]
mulss xmm0, xmm1
lea ecx, [esp + 0x40]
sub esp, 8
addss xmm0, dword [esp + 0x38]
push eax
sub esp, 8
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x90], xmm0
call fcn.100993f0
add esp, 0x14
movss xmm0, dword [esp + 0x104]
ucomiss xmm0, dword [0x100d1fec]
lahf
test ah, 0x44
jnp 0x1009aadb
mulss xmm0, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
addss xmm0, dword [esp + 0x4c]
movaps xmm1, xmm0
movss xmm0, dword [eax + 0x108]
movss dword [esp + 0x4c], xmm1
mulss xmm1, dword [0x100d1efc]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mulss xmm0, dword [esp + 0x14]
mov ecx, dword [edi + 4]
movss dword [esp + 0x14], xmm0
test ecx, ecx
je 0x1009a69d
mov eax, dword [esp + 0x124]
test eax, eax
je 0x1009a6f4
cmp eax, ecx
jne 0x1009a6f4
mov esi, dword [esp + 0x11c]
cmp esi, 1
jl 0x1009a5bb
cmp esi, 7
jle 0x1009a5c4
cmp esi, 0xa
jne 0x1009a6f4
mov eax, dword [0x1023b6a8]
xor edi, edi
mov edx, dword [esp + 0x50]
add eax, 0xffffff96
xor eax, 0xbc884781
movaps xmm1, xmm0
cmp dword [eax + edx], 0x1f
mov eax, dword [esp + 0x24]
cmove esi, edi
mov edx, esi
movss xmm2, dword [eax + 0xf0]
call fcn.10098bd0
movss xmm1, dword [0x100d1fec]
comiss xmm1, xmm0
movss dword [esp + 0x20], xmm0
ja 0x1009aadb
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
cmp edi, 4
fld dword [esp + 0x20]
push ecx
setne al
mov dword [ecx + 8], esi
fstp dword [esp]
mov byte [ecx + 0xc], al
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x3c]
fstp dword [esp + 0x10]
cvttss2si eax, dword [esp + 0x10]
movss xmm1, dword [esp + 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 4], xmm0
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [0x1023b6a8]
mov ecx, dword [esp + 0x50]
add eax, 0xffffff96
xor eax, 0xbc884781
cmp dword [eax + ecx], 0x1f
jne 0x1009aa17
mov ecx, dword [0x1023b5f4]
mov eax, dword [edx + 4]
add ecx, 0xffffffc3
xor ecx, 0xbc884754
movd xmm0, dword [ecx + eax]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x1009aa17
mov al, 1
jmp 0x1009aa19
mov edi, dword [esp + 0x38]
cmp edi, 4
mov ecx, dword [esp + 0x124]
setne al
mov byte [esi + 0xc], al
test ecx, ecx
je 0x1009a6eb
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x1009a6e5
mov esi, dword [esp + 0x11c]
cmp esi, 1
jl 0x1009a6d8
cmp esi, 7
jle 0x1009aa45
cmp esi, 0xa
je 0x1009aa45
mov esi, dword [esp + 0x28]
movss xmm0, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
movss dword [esi + 4], xmm0
cmp byte [edi + 0x1c], 0
je 0x1009aadb
mov ecx, dword [0x1023b3f4]
movsx edx, word [esp + 0x118]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [esp + 0x4c]
mov esi, eax
comiss xmm0, dword [0x100d2228]
movss xmm1, dword [esp + 0x64]
xorps xmm0, xmm0
jbe 0x1009a73b
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1009aadb
movss xmm2, dword [0x100d1f50]
comiss xmm2, dword [esi + 0x58]
ja 0x1009aadb
mov al, byte [esp + 0x11a]
movzx edi, word [esi + 0x60]
shr al, 7
and al, 1
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x108]
shr eax, 3
and eax, 0xffffff01
comiss xmm0, xmm1
mov dword [esp + 0x10], eax
jae 0x1009aadb
movq xmm0, qword [esp + 0x68]
lea edx, [esp + 0x130]
mov ecx, dword [esp + 0x70]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xfc]
mov dword [eax + 8], ecx
mov ecx, esp
mov eax, dword [esp + 0x104]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0xf0]
call fcn.100998c0
add esp, 0x18
test al, al
jne 0x1009a7ef
mov ecx, dword [0x1023b3cc]
lea edx, [esp + 0x18c]
push 0
push 0x600400b
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, 0x600400b
je 0x1009aadb
mov ecx, dword [0x1023b3f4]
movsx edx, word [esp + 0x170]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movzx edx, word [eax + 0x60]
mov ecx, edx
cmp edi, 0x47
je 0x1009a857
cmp edi, 0x59
je 0x1009a857
cmp byte [esp + 0x1b], 0
jne 0x1009a837
cmp byte [esp + 0x10], 0
jne 0x1009a837
movss xmm3, dword [eax + 0x58]
addss xmm3, dword [esi + 0x58]
mulss xmm3, dword [0x100d1fb0]
jmp 0x1009a83f
movss xmm3, dword [0x100d1fec]
movss xmm0, dword [0x100d1f60]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x100d20d8]
jmp 0x1009a870
movss xmm0, dword [0x100d20d8]
movss xmm1, dword [0x100d1f3c]
movaps xmm3, xmm0
movss dword [esp + 0x2c], xmm1
cmp edi, ecx
jne 0x1009a890
cmp ecx, 0x55
je 0x1009a88d
cmp ecx, 0x57
je 0x1009a88d
cmp edx, 0x4c
jne 0x1009a890
movss xmm3, dword [0x100d205c]
jmp 0x1009a890
movaps xmm3, xmm0
movss xmm2, dword [esp + 0x13c]
movss xmm0, dword [esp + 0x140]
subss xmm0, dword [esp + 0xe8]
subss xmm2, dword [esp + 0xe4]
movss xmm1, dword [esp + 0x144]
subss xmm1, dword [esp + 0xec]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1001f4c0
movsd xmm2, qword [0x100d2040]
sub esp, 0x10
cvtps2pd xmm1, xmm3
movss dword [esp + 0x40], xmm0
xorps xmm0, xmm0
divsd xmm2, xmm1
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm2
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmax]
movss xmm0, dword [0x100d20d8]
add esp, 8
divss xmm0, dword [esp + 0x6c]
mov dword [esp + 4], 0
fstp dword [esp + 0x18]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x34]
movaps xmm0, xmm1
mulss xmm0, dword [0x100d20d8]
mov dword [esp + 4], 0
mulss xmm2, dword [esp + 0x1c]
mulss xmm1, dword [0x100d1f38]
fstp dword [esp + 0x3c]
mulss xmm0, dword [esp + 0x3c]
addss xmm0, xmm2
movss xmm2, dword [esp + 0x38]
mulss xmm2, xmm2
mulss xmm2, xmm1
addss xmm0, xmm2
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm2, dword [esp + 0x1c]
add esp, 8
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
ja 0x1009aadb
xorps xmm7, xmm7
comiss xmm0, xmm7
jbe 0x1009a9b9
subss xmm2, xmm0
movss dword [esp + 0x14], xmm2
movss xmm0, dword [0x100d205c]
comiss xmm0, xmm2
ja 0x1009aadb
mov eax, dword [esp + 0x38]
movss xmm4, dword [esp + 0x13c]
dec eax
movss xmm5, dword [esp + 0x140]
movss xmm6, dword [esp + 0x144]
movss xmm3, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x48], xmm6
mov dword [esp + 0x38], eax
jmp 0x1009a301
xor al, al
cmp edi, 4
jne 0x1009aa3c
test al, al
je 0x1009aabe
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1994]
xor ecx, esp
call fcn.100bb796
mov esp, ebp
pop ebp
ret
test al, al
jne 0x1009aa26
jmp 0x1009aad1
mov eax, dword [0x1023b6a8]
xor edx, edx
mov ecx, dword [esp + 0x50]
add eax, 0xffffff96
movss xmm1, dword [esp + 0x14]
xor eax, 0xbc884781
cmp dword [eax + ecx], 0x1f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x124]
cmove esi, edx
mov edx, esi
movss xmm2, dword [eax + 0xf0]
call fcn.10098bd0
mov eax, dword [esp + 0x28]
movaps xmm1, xmm0
mov ecx, dword [esp + 0x124]
mov dword [eax + 8], esi
movss dword [eax + 4], xmm1
mov dword [eax], ecx
mov eax, dword [0x1023b5f4]
add eax, 0xffffffc3
xor eax, 0xbc884754
movd xmm0, dword [eax + ecx]
cvtdq2ps xmm0, xmm0
cmp edi, 4
jne 0x1009aac4
comiss xmm1, xmm0
jae 0x1009aa26
mov edx, dword [esp + 0x3c]
comiss xmm1, dword [edx + 0x14]
jmp 0x1009aad5
comiss xmm1, xmm0
jae 0x1009aa26
mov edx, dword [esp + 0x3c]
comiss xmm1, dword [edx + 0x18]
jae 0x1009aa26
mov ecx, dword [esp + 0x199c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100bb796
mov esp, ebp
pop ebp
ret