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

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov ebx, edx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ecx
push esi
mov esi, ebp
push edi
mov edi, dword [0x102062d4]
cmp ebp, 0xffffffff
jae 0x1008526b
mov cl, byte [esi]
test cl, cl
je 0x1008526b
lea eax, [esi + 1]
cmp cl, 0x23
jne 0x10085264
cmp byte [eax], cl
je 0x1008526b
mov esi, eax
cmp esi, 0xffffffff
jb 0x10085252
movss xmm2, dword [edi + 0x18e0]
movss xmm5, dword [0x101c753c]
cmp ebp, esi
jne 0x10085290
xorps xmm0, xmm0
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x20], xmm0
jmp 0x100852e2
push 0
push esi
push ebp
push ecx
mov ecx, dword [edi + 0x18dc]
lea eax, [esp + 0x24]
mov dword [esp], 0xbf800000
movaps xmm3, xmm5
push eax
call fcn.10064c80
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x101c735c]
movss xmm5, dword [0x101c753c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x24], xmm0
movss xmm2, dword [ebx + 8]
lea esi, [ebx + 8]
movss xmm3, dword [ebx]
movaps xmm0, xmm2
movss xmm4, dword [0x101c736c]
subss xmm0, xmm3
comiss xmm4, xmm0
jb 0x1008530c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x60
ret
test byte [esp + 0x74], 1
mov eax, esi
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [ebx + 4]
subss xmm2, dword [esp + 0x78]
addss xmm3, dword [esp + 0x78]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ebx + 0xc]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm0
je 0x1008547c
movss xmm2, dword [edi + 0x18e0]
lea eax, [esp + 0x30]
push 0
push 0
push 0x101b2e3c
push ecx
mov ecx, dword [edi + 0x18dc]
movaps xmm3, xmm5
mov dword [esp], 0xbf800000
push eax
call fcn.10064c80
movss xmm0, dword [esp + 0x30]
lea edx, [esp + 0x30]
addss xmm0, dword [0x101c735c]
movss xmm1, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
push 0
mov dword [esp + 0x18], 0
cvttss2si eax, xmm0
mov dword [esp + 0x1c], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [ebx]
movss dword [esp + 0x84], xmm1
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x44], xmm1
addss xmm0, dword [0x101c73d0]
minss xmm0, xmm1
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [ebx + 4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edi + 0x18e0]
mulss xmm0, dword [0x101c7308]
cvttss2si eax, xmm0
movd xmm0, eax
lea eax, [esp + 0x18]
cvtdq2ps xmm0, xmm0
push eax
push 0
push 0
lea eax, [esp + 0x38]
push 0x101b2e3c
subss xmm1, xmm0
movss xmm0, dword [esi]
subss xmm0, dword [esp + 0x8c]
push eax
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, dword [esp + 0x94]
movss dword [esp + 0x44], xmm0
call fcn.1000ad50
movss xmm2, dword [esp + 0x98]
lea eax, [ebx + 8]
movss xmm4, dword [0x101c736c]
add esp, 0x18
movups xmm0, xmmword [esp + 0x38]
mov ecx, dword [esp + 0x88]
xor bl, bl
movups xmmword [esp + 0x38], xmm0
test ecx, ecx
je 0x100854bd
mov edx, esi
mov dword [esp + 0x14], edx
cmp byte [esp + 0x8c], bl
jne 0x100854f4
movss xmm0, dword [esi]
mov edx, eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
subss xmm0, dword [esi]
comiss xmm0, dword [edi + 0x15a4]
jae 0x100854f8
movss xmm0, dword [eax]
subss xmm0, xmm4
lea eax, [esp + 0x20]
movaps xmm3, xmm2
push eax
push ecx
push ebp
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x50]
movss dword [esp], xmm0
lea edx, [esp + 0x48]
push eax
call fcn.1000b080
add esp, 0x14
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov esi, dword [esp + 0x10]
mov eax, edx
mov edx, dword [edi + 0x1a3c]
cmp edx, dword [esp + 0x84]
je 0x10085520
cmp edx, ecx
je 0x10085520
mov edx, dword [edi + 0x1a50]
cmp edx, dword [esp + 0x84]
je 0x10085520
cmp edx, ecx
jne 0x100854bd
lea ecx, [esp + 0x48]
call fcn.1006ad20
movss xmm0, dword [edi + 0x18e0]
lea edx, [esp + 0x78]
mov ecx, 0xa
movss dword [esp + 0x10], xmm0
call fcn.1000a800
movss xmm0, dword [esp + 0x78]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x14]
mulss xmm0, dword [0x101c73d0]
mov ecx, dword [esp + 0x88]
movss xmm1, dword [eax]
subss xmm1, xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 0x34], xmm0
subss xmm1, dword [esp + 0x10]
movss dword [esp + 0x30], xmm1
call fcn.1006cb70
mov ecx, 1
mov bl, al
call fcn.1000a880
test byte [esp + 0x74], 4
mov edx, dword [0x102062d4]
movups xmm0, xmmword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov ecx, dword [edx + 0x1a18]
movups xmmword [ecx + 0x11c], xmm0
mov dword [ecx + 0x114], eax
movups xmm0, xmmword [esp + 0x60]
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x118], eax
movups xmmword [ecx + 0x12c], xmm0
jne 0x100855e8
movss xmm0, dword [edx + 0x404]
ucomiss xmm0, dword [0x101c7294]
lahf
test ah, 0x44
jp 0x100855e8
mov bl, 1
movss xmm2, dword [esp + 0x80]
subss xmm2, dword [esp + 0x10]
movaps xmm0, xmm2
jmp 0x100854c5