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

Disassembly:
sub esp, 0xf4
mov eax, dword [0x100b9b80]
xor eax, esp
mov dword [esp + 0xf0], eax
movss xmm0, dword [esp + 0x100]
xorps xmm1, xmm1
mov eax, dword [esp + 0x104]
push esi
mov esi, dword [0x100b9cac]
ucomiss xmm0, xmm1
mov dword [esp + 0x50], eax
push edi
mov eax, dword [esi + 0x3fec]
mov edi, dword [esi + 0x4d64]
mov dword [esp + 0x68], eax
mov dword [esp + 0xc0], esi
mov eax, dword [eax + 0x278]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x24], edi
lahf
test ah, 0x44
jp 0x1008c4c4
xor esi, esi
xorps xmm0, xmm0
movss dword [esp + 0xcc], xmm0
cmp dword [edi + 0x40], esi
jle 0x1008c4a4
mov dword [esp + 0xd0], esi
mov eax, dword [edi + 0x2c]
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, esi
sar ecx, 5
test dword [eax + ecx*4], edx
mov ecx, dword [esp + 0xd0]
je 0x1008c48d
mov edx, dword [edi + 0x10]
test dword [edx + ecx], 0x40000
je 0x1008c48d
cmp byte [edi + 0x1ea], 0
jne 0x1008c43d
movsx eax, word [edi + 0x1ba]
cmp esi, eax
jl 0x1008c43d
mov eax, 0x100982fc
jmp 0x1008c456
movzx eax, word [edx + ecx + 0x50]
cmp ax, 0xffff
jne 0x1008c44f
mov eax, 0x100982fc
jmp 0x1008c456
cwde
add eax, dword [edi + 0x164]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1000cf20
movss xmm0, dword [esp + 0xe0]
add esp, 0x14
mov ecx, dword [esp + 0xd0]
maxss xmm0, dword [eax]
movss dword [esp + 0xcc], xmm0
inc esi
add ecx, 0x70
mov dword [esp + 0xd0], ecx
cmp esi, dword [edi + 0x40]
jl 0x1008c3f6
xorps xmm1, xmm1
mov esi, dword [esp + 0xc0]
movss xmm2, dword [esi + 0x3910]
addss xmm2, xmm2
addss xmm2, xmm0
movss dword [esp + 0x108], xmm2
movss xmm0, dword [esp + 0x104]
comiss xmm1, xmm0
subss xmm0, dword [0x1009f960]
seta byte [esp + 0xd7]
movss dword [esp + 0x104], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x104]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xbc], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0xd7], 0
xorps xmm3, xmm3
movss xmm4, dword [0x1009b5b0]
cvtsd2ss xmm3, xmm0
movss dword [esp + 0x94], xmm3
je 0x1008c5b5
movss xmm0, dword [esp + 0x104]
addss xmm0, dword [0x1009f964]
movss dword [esp + 0x104], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x104]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xb4], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esi + 0x390c]
lea ecx, [esi + 0x3d38]
movss xmm3, dword [esp + 0x94]
addss xmm1, xmm1
movss xmm4, dword [0x1009b5b0]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [esp + 0xb8], ecx
addss xmm1, dword [ecx]
movss dword [esp + 0xb0], xmm2
jmp 0x1008c5f0
movss xmm1, dword [esi + 0x390c]
lea eax, [esi + 0x3d38]
movss xmm0, dword [esp + 0xbc]
addss xmm1, xmm1
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xb0], xmm3
mov dword [esp + 0xb8], eax
addss xmm1, dword [eax]
xorps xmm1, xmm4
movss xmm2, dword [esp + 0xbc]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x108]
mulss xmm1, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm3, xmm0
andps xmm1, xmmword [0x1009b5a0]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lahf
movss dword [edi + 0xbc], xmm1
test ah, 0x44
jnp 0x1008c63a
movaps xmm0, xmm2
divss xmm0, xmm3
movss dword [edi + 0xc0], xmm0
movaps xmm0, xmm3
xorps xmm0, xmm4
movaps xmm4, xmm1
divss xmm4, xmm0
push ecx
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm4
movss dword [esp], xmm1
mulss xmm0, xmm2
push 1
mulss xmm4, xmm3
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x58], xmm4
call fcn.1008fdf0
mov eax, dword [0x100b9cac]
add esp, 8
mov esi, dword [eax + 0x4d64]
test esi, esi
je 0x1008c6dd
cmp byte [esi + 0x1eb], 0
je 0x1008c6c3
mov ecx, dword [esi + 0x48]
lea eax, [ecx + 1]
cmp eax, dword [esi + 0x40]
jge 0x1008c6c3
cmp ecx, 0xffffffff
je 0x1008c6b3
push esi
call fcn.1008dab0
add esp, 4
mov eax, dword [esi + 0x48]
inc eax
push eax
push esi
call fcn.1008d250
add esp, 8
jmp 0x1008c6dd
push ecx
mov dword [esp], 0
push 0
call fcn.1008fdf0
push 0
push esi
call fcn.1008d250
add esp, 0x10
movss xmm1, dword [edi + 0x108]
movss xmm2, dword [edi + 0xec]
movss xmm3, dword [edi + 0x54]
movss xmm0, dword [edi + 0xe4]
push 0
push dword [esp + 0xcc]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm3
mov ecx, dword [edi + 0x168]
call fcn.1003a3f0
movzx eax, word [edi + 0x1e0]
lea ecx, [edi + 0x104]
movss xmm0, dword [ecx]
movss dword [esp + 0xcc], xmm0
test ax, ax
jle 0x1008c761
cwde
imul ecx, eax, 0x70
mov eax, dword [edi + 0x10]
maxss xmm0, dword [ecx + eax - 0x64]
lea ecx, [edi + 0x104]
movss dword [esp + 0xcc], xmm0
mov eax, dword [0x100b9cac]
mov eax, dword [eax + 0x4d64]
movss xmm0, dword [eax + 0x50]
comiss xmm0, dword [eax + 0x100]
ja 0x1008c781
mov dword [eax + 0x70], 0
push 0
lea esi, [edi + 0x10c]
push esi
push ecx
call fcn.1001fb40
movss xmm0, dword [edi + 0x104]
add esp, 0xc
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esi]
push 0
sub esp, 8
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xb8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0x3e800000
push 0x2c
call fcn.10014360
mov ecx, dword [esp + 0xd8]
add esp, 8
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.10033c30
movss xmm0, dword [esp + 0xcc]
lea eax, [esp + 0xa8]
push 1
movss dword [esp + 0xac], xmm0
movss xmm0, dword [edi + 0x108]
push esi
push eax
movss dword [esp + 0xb8], xmm0
call fcn.1001fb40
mov esi, dword [esp + 0x10c]
lea eax, [esp + 0x64]
push 0
push 0
push 0
push esi
push eax
call fcn.10070c10
push esi
call fcn.10019720
mov ecx, dword [esp + 0xe4]
add esp, 0x24
cmp byte [esp + 0xd7], 0
mov eax, dword [ecx + 0x3d34]
movss xmm0, dword [eax + 0x50]
mulss xmm0, dword [ecx + 0x3d40]
je 0x1008c88c
movss xmm1, dword [0x1009b4fc]
jmp 0x1008c894
movss xmm1, dword [0x1009b468]
movss xmm2, dword [ecx + 0x3d38]
xor eax, eax
subss xmm2, xmm0
movss xmm3, dword [ecx + 0x390c]
xorps xmm0, xmm0
movss dword [esp + 0x4c], xmm3
mov dword [esp + 0xc0], eax
mulss xmm2, dword [0x1009b440]
maxss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xbc]
divss xmm2, dword [esp + 0x7c]
movss dword [esp + 0x3c], xmm0
mulss xmm2, xmm1
movss xmm1, dword [ecx + 0x3950]
movss dword [esp + 0x48], xmm1
movss xmm1, dword [ecx + 0x3954]
movss dword [esp + 0x44], xmm2
movss xmm2, dword [ecx + 0x3910]
movaps xmm0, xmm2
movss dword [esp + 0x30], xmm1
mulss xmm0, dword [esp + 0x94]
xorps xmm1, xmm1
movss dword [esp + 0x40], xmm2
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0x90], xmm0
nop dword [eax]
nop word [eax + eax]
xor edx, edx
mov dword [esp + 0x88], edx
cmp dword [esp + 0x110], edx
jle 0x1008d00b
mov eax, dword [esp + 0x54]
movss xmm4, dword [esp + 0x9c]
add eax, 0xc
mov dword [esp + 0xd0], eax
nop dword [eax]
movsx esi, word [eax - 0xc]
xorps xmm0, xmm0
mov eax, dword [edi + 0x10]
movss xmm2, dword [esp + 0x50]
imul ecx, esi, 0x70
add eax, ecx
movups xmmword [esp + 0xd8], xmm0
mov dword [esp + 0xc4], eax
movups xmmword [esp + 0xe8], xmm0
mov dword [esp + 0x98], ecx
movss xmm3, dword [eax + 0xc]
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0xd8], xmm3
addss xmm2, xmm0
movss dword [esp + 0xdc], xmm0
addss xmm3, xmm4
movss xmm1, dword [eax + 8]
mov eax, dword [esp + 0xc0]
movss dword [esp + 0xe0], xmm1
addss xmm1, xmm4
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0xec], xmm2
movss dword [esp + 0xf0], xmm3
movss dword [esp + 0xf4], xmm2
movss dword [esp + 0xe8], xmm1
test eax, eax
jne 0x1008cf65
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
push dword [eax - 4]
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.10033ad0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
push dword [eax]
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.10033ad0
cmp byte [edi + 0x1ea], 0
movss xmm0, dword [esp + 0xcc]
maxss xmm0, dword [esp + 0xf0]
movss dword [esp + 0xcc], xmm0
jne 0x1008cab7
movsx eax, word [edi + 0x1ba]
cmp esi, eax
jl 0x1008cab7
mov esi, 0x100982fc
jmp 0x1008cadc
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x98]
movzx eax, word [eax + ecx + 0x50]
cmp ax, 0xffff
jne 0x1008cad3
mov esi, 0x100982fc
jmp 0x1008cadc
movsx esi, ax
add esi, dword [edi + 0x164]
push 0
push esi
call fcn.10013ae0
mov ecx, dword [esp + 0xc0]
push eax
push esi
mov dword [esp + 0x9c], eax
movss xmm0, dword [ecx]
divss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xb4], xmm0
call fcn.10017090
movss xmm0, dword [esp + 0xb4]
add esp, 0x10
cmp byte [esp + 0xd7], 0
je 0x1008cb35
lea ecx, [eax - 1]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
mulss xmm3, xmm0
jmp 0x1008cb38
xorps xmm3, xmm3
xorps xmm2, xmm2
sub esp, 8
cvtsi2ss xmm2, eax
mov eax, dword [esp + 0xcc]
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 8]
mulss xmm2, xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm2
maxss xmm1, dword [0x1009b3f0]
mulss xmm1, dword [esp + 0x50]
movaps xmm0, xmm1
subss xmm2, xmm1
subss xmm0, dword [esp + 0x4c]
addss xmm0, xmm3
movss dword [esp + 0xa8], xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x74], xmm0
fld qword [esp + 0x74]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
mov eax, dword [esp + 0xcc]
add esp, 8
fstp qword [esp + 0x6c]
movsd xmm0, qword [esp + 0x6c]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [eax + 0x34]
movss dword [eax + 0x4c], xmm0
movss dword [eax + 0x48], xmm0
cmp esi, dword [esp + 0x8c]
jae 0x1008cfcc
movss xmm0, dword [esp + 0x108]
mov edi, eax
subss xmm0, dword [esp + 0x40]
movss xmm3, dword [0x1009b5a0]
movss xmm1, dword [esp + 0x90]
andps xmm1, xmm3
addss xmm1, xmm1
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x3c]
andps xmm0, xmm3
addss xmm0, xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0xa0]
push 0xa
push esi
mov dword [esp + 0x30], eax
movss dword [esp + 0x34], xmm1
mov dword [esp + 0xc0], eax
movss dword [esp + 0xb8], xmm1
movss dword [esp + 0xcc], xmm0
call sub.VCRUNTIME140.dll_strchr
test eax, eax
mov dword [esp + 4], 0xbf800000
cmove eax, dword [esp + 0x94]
add esp, 4
mov dword [esp + 0x9c], eax
push 0
push eax
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.1000cf20
movss xmm0, dword [edi + 0x28]
subss xmm0, dword [edi + 0x34]
mov eax, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x98]
movss xmm3, dword [eax + 0x224]
movss xmm2, dword [eax + 0x228]
movaps xmm4, xmm3
subss xmm0, dword [esp + 0xb4]
mov eax, dword [esp + 0xdc]
addss xmm4, dword [esp + 0x8c]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x20], xmm2
mov eax, dword [eax + 0x28]
minss xmm1, xmm0
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xe4]
movss dword [esp + 0x24], xmm4
addss xmm1, xmm2
push dword [eax - 8]
push 0
movss dword [esp + 0x30], xmm1
call fcn.100201b0
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x9c]
add esp, 0x1c
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0x18]
push esi
mov esi, dword [esp + 0xd4]
sub esp, 8
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x20]
push eax
push esi
call fcn.10021800
push 1
call fcn.1001fa10
movss xmm3, dword [esp + 0x9c]
add esp, 0x24
mov cl, byte [esp + 0xd7]
movaps xmm6, xmm3
xorps xmm7, xmm7
subss xmm6, dword [esp + 0x80]
movaps xmm2, xmm6
addss xmm2, dword [esp + 0x38]
subss xmm2, dword [esp + 0x34]
maxss xmm2, xmm7
test cl, cl
je 0x1008cdc6
movss xmm0, dword [0x1009b4fc]
jmp 0x1008cdce
movss xmm0, dword [0x1009b468]
movss xmm1, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
movss xmm4, dword [edi + 0x34]
mulss xmm1, xmm2
mulss xmm1, xmm0
movss xmm0, dword [eax + 0x224]
subss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [eax + 0x228]
movss dword [esp + 0x20], xmm0
test cl, cl
je 0x1008cec1
movss xmm2, dword [esp + 0xa4]
xorps xmm0, xmm0
xorps xmm2, xmmword [0x1009b5b0]
maxss xmm0, xmm6
addss xmm2, dword [esp + 0xc4]
addss xmm4, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
movaps xmm1, xmm3
mov dword [esp + 0xb8], eax
subss xmm1, xmm0
movss xmm0, dword [esp + 0x90]
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa8], xmm4
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x94]
mulss xmm3, dword [esp + 0xbc]
addss xmm0, xmm1
movaps xmm1, xmm2
movss xmm2, dword [esp + 0x2c]
addss xmm1, dword [esp + 0xa4]
addss xmm3, xmm4
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0xb4], xmm0
jmp 0x1008cf0f
movss xmm0, dword [esp + 0x90]
movaps xmm3, xmm4
movss xmm1, dword [esp + 0xa4]
addss xmm0, dword [esp + 0x64]
addss xmm1, dword [esp + 0xc4]
addss xmm3, dword [esp + 0x74]
movss xmm2, dword [esp + 0xb0]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0xa0], xmm1
lea eax, [esp + 0xa8]
push eax
sub esp, 8
lea eax, [esp + 0x28]
addss xmm1, xmm3
movss dword [esp + 4], xmm2
movss dword [esp], xmm0
push eax
push dword [esi + 0x28]
movss dword [esp + 0xbc], xmm1
push dword [esp + 0x84]
push esi
call fcn.1003a660
mov esi, dword [esp + 0xb4]
add esp, 0x1c
inc esi
cmp esi, dword [esp + 0x8c]
jb 0x1008cc37
mov edi, dword [esp + 0x24]
jmp 0x1008cfcc
cmp eax, 1
jne 0x1008cfd5
movsx eax, word [edi + 0x1c6]
movsx ecx, word [edi + 0x1c0]
cmp eax, esi
jne 0x1008d068
mov ax, word [edi + 0x4e]
cmp ax, word [edi + 0x4c]
jne 0x1008d068
mov eax, 1
push ecx
add eax, 0x1c
mov dword [esp], 0x3f800000
push eax
call fcn.10014360
add esp, 8
push ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.10032bc0
movss xmm4, dword [esp + 0x9c]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0xd0]
inc ecx
add eax, 0x10
mov dword [esp + 0x88], ecx
mov edx, ecx
mov dword [esp + 0xd0], eax
cmp ecx, dword [esp + 0x110]
jl 0x1008c970
mov eax, dword [esp + 0xc0]
inc eax
mov dword [esp + 0xc0], eax
cmp eax, 2
jl 0x1008c940
call fcn.1001f870
call fcn.1001f870
movsx eax, word [edi + 0x1d2]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xcc]
imul ecx, eax, 0x70
mov eax, dword [edi + 0x10]
subss xmm1, dword [ecx + eax + 0xc]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
maxss xmm0, xmm1
xor ecx, esp
movss dword [eax + 8], xmm0
call fcn.10092be1
add esp, 0xf4
ret
xor eax, eax
cmp ecx, esi
je 0x1008cf93
movsx eax, word [edi + 0x1e0]
lea ecx, [edx + 1]
cmp eax, ecx
je 0x1008d091
test dword [edi + 4], 0x1800
jne 0x1008d091
mov eax, dword [edi + 0x7c]
jmp 0x1008cfa7
mov eax, dword [edi + 0x78]
jmp 0x1008cfa7