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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, ecx
mov dword [esp + 8], edx
mov ecx, dword [0x100d5a2c]
push esi
push edi
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov esi, dword [ecx + 0x1a20]
cmp byte [esi + 0x7b], 0
jne 0x1002d9c2
test edx, edx
jne 0x1002d640
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d62a
sub ecx, edx
lea edx, [ecx + ebx]
mov ecx, dword [0x100d5a2c]
mov dword [esp + 0x10], edx
movss xmm1, dword [esi + 0x16c]
xorps xmm0, xmm0
movss xmm2, dword [esi + 0xec]
mov eax, edx
addss xmm2, dword [esi + 0xcc]
movss xmm3, dword [esi + 0xc8]
comiss xmm1, xmm0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x24], xmm2
setae byte [esp + 0xf]
sub eax, ebx
cmp eax, 0x7d0
jle 0x1002d8dd
cmp byte [esp + 0xf], 0
jne 0x1002d8e4
movss xmm4, dword [ecx + 0x1938]
lea edi, [esp + 0x38]
add esi, 0x1d4
movss dword [esp + 0x18], xmm4
xorps xmm5, xmm5
xorps xmm1, xmm1
movss dword [esp + 0x1c], xmm5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x44]
comiss xmm0, xmm2
jb 0x1002d88b
cmp byte [ecx + 0x2cb4], 0
movaps xmm1, xmm2
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm1
jne 0x1002d743
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm2
divss xmm0, xmm4
cvttss2si edi, xmm0
test edi, edi
jle 0x1002d743
xor esi, esi
cmp ebx, edx
jae 0x1002d72e
cmp esi, edi
jge 0x1002d71c
push 0xa
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov edx, dword [esp + 0x18]
test eax, eax
mov ebx, edx
cmovne ebx, eax
inc ebx
inc esi
pop ecx
pop ecx
cmp ebx, edx
jb 0x1002d6fc
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x18]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm2
movss dword [esp + 0x34], xmm1
cmp ebx, edx
jae 0x1002d874
mov esi, dword [esp + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [0x100598bc]
movaps xmm2, xmm1
movss dword [esp + 0x38], xmm3
addss xmm2, xmm4
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x44], xmm2
push 0xa
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 4
lea ecx, [esp + 0x3c]
xor edx, edx
mov edi, eax
call fcn.1002349a
add esp, 4
test al, al
jne 0x1002d83b
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x14]
push edx
push edi
mov edx, ebx
call fcn.10027b6b
movss xmm0, dword [esp + 0x1c]
add esp, 0xc
maxss xmm0, dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
push 0
push dword [esp + 0x38]
movss dword [esp + 0x24], xmm0
push dword [esp + 0x38]
call fcn.1002728f
movss xmm0, dword [esp + 0x34]
add esp, 0xc
movss xmm1, dword [esp + 0x18]
test edi, edi
addss xmm0, xmm1
mov ebx, esi
cmovne ebx, edi
inc ebx
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
cmp ebx, esi
jb 0x1002d785
xor edi, edi
jmp 0x1002d853
push 0xa
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
test eax, eax
mov ebx, esi
pop ecx
cmovne ebx, eax
inc ebx
inc edi
pop ecx
cmp ebx, esi
jb 0x1002d83f
movss xmm1, dword [esp + 0x34]
movss xmm2, dword [esp + 0x24]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
addss xmm1, xmm0
movss xmm3, dword [esp + 0x20]
subss xmm1, xmm2
movss xmm5, dword [esp + 0x1c]
xorps xmm0, xmm0
addss xmm1, xmm0
addss xmm1, xmm2
movss dword [esp + 0x38], xmm3
addss xmm5, xmm3
movss dword [esp + 0x3c], xmm2
lea ecx, [esp + 0x30]
movss dword [esp + 0x44], xmm1
subss xmm1, xmm2
movss dword [esp + 0x40], xmm5
subss xmm5, xmm3
movss dword [esp + 0x34], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x30], xmm5
call fcn.100229ff
push 0
xor edx, edx
lea ecx, [esp + 0x3c]
call fcn.100232a8
jmp 0x1002d9c1
cmp byte [esp + 0xf], 0
je 0x1002d931
comiss xmm0, xmm1
ja 0x1002d931
mov esi, dword [ecx + 0x1a20]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1002d910
lea ecx, [esp + 0x30]
call fcn.1002d1d6
movss xmm1, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
addss xmm1, dword [eax]
jmp 0x1002d923
comiss xmm1, xmm0
jbe 0x1002d923
movss xmm0, dword [esi + 0xc]
subss xmm0, dword [esi + 0x54]
addss xmm1, xmm0
subss xmm1, xmm3
maxss xmm1, dword [0x1005974c]
jmp 0x1002d934
xorps xmm1, xmm1
push ecx
movss dword [esp], xmm1
lea ecx, [esp + 0x34]
push 0
push edx
mov edx, ebx
movss dword [esp + 0x28], xmm1
call fcn.10027b6b
movss xmm1, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
movss xmm3, dword [esp + 0x2c]
add esp, 0xc
movss xmm2, dword [esp + 0x24]
addss xmm1, xmm3
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x44], xmm0
call fcn.100229ff
push 0
xor edx, edx
lea ecx, [esp + 0x3c]
call fcn.100232a8
pop ecx
test al, al
je 0x1002d9c2
push dword [esp + 0x3c]
movss xmm3, dword [esp + 0x20]
mov ecx, ebx
push dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
call fcn.1002731b
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret