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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [0x10443bf0]
xor eax, ebp
mov dword [esp + 0x78], eax
mov ecx, dword [ecx]
call fcn.100294c0
fstp dword [esp + 0x3c]
cvttss2si edi, dword [esp + 0x3c]
mov ecx, dword [esi]
call fcn.100294d0
fstp dword [esp + 0x38]
xor ebx, ebx
test edi, edi
jle 0x101c1c77
cvttss2si eax, dword [esp + 0x38]
test eax, eax
jle 0x101c1c77
mov ebx, eax
mov eax, edi
xor edi, edi
dec edi
lea ecx, [esp + 0x6c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [esp + 0x18], eax
push eax
call fcn.101c1c8c
lea ecx, [esp + 0x60]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [esp + 0x10], ebx
push ebx
call fcn.101c1c8c
mov edx, dword [esi]
mov edi, dword [edx + 0x5c]
xorps xmm0, xmm0
mov dword [esp + 0xc], 0
cmp dword [edx + 0x60], edi
je 0x101c1bda
mov ebx, dword [edx + 0x68]
mov ecx, ebx
mov eax, ebx
add ebx, dword [edx + 0x6c]
mov edx, ebx
shr edx, 0xa
mov esi, 0x3ff
and ebx, esi
shl ebx, 2
add ebx, dword [edi + edx*4]
shr ecx, 0xa
lea ecx, [edi + ecx*4]
and eax, esi
shl eax, 2
add eax, dword [ecx]
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x101c1bda
mov edi, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x18]
cvtsi2ss xmm1, dword [esp + 0x10]
movsldup xmm1, xmm1
movaps xmmword [esp + 0x40], xmm1
movsldup xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
xor edx, edx
xorps xmm0, xmm0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
movss dword [esp + 8], xmm0
mov esi, dword [edi]
mov eax, dword [esi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
test al, al
je 0x101c1b9a
mov ecx, dword [edi]
movss xmm0, dword [ecx + 0x20]
movss xmm1, dword [ecx + 0x18]
unpcklps xmm1, xmm0
movaps xmm0, xmmword [esp + 0x50]
minps xmm0, xmm1
xorps xmm2, xmm2
cmpnltps xmm1, xmm2
andps xmm1, xmm0
cvttps2dq xmm0, xmm1
movd edx, xmm0
pshufd xmm0, xmm0, 0x55
movd eax, xmm0
cmp edx, eax
jge 0x101c1b9a
movss xmm0, dword [ecx + 0x1c]
movss xmm1, dword [ecx + 0x24]
unpcklps xmm0, xmm1
movaps xmm1, xmmword [esp + 0x40]
minps xmm1, xmm0
cmpnltps xmm0, xmm2
andps xmm0, xmm1
cvttps2dq xmm0, xmm0
movd ecx, xmm0
pshufd xmm0, xmm0, 0x55
movd esi, xmm0
cmp ecx, esi
jge 0x101c1b9a
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edx
movss xmm0, dword [esp + 8]
mov esi, eax
xor eax, eax
inc eax
mov edi, eax
mov ecx, edx
shl edi, cl
mov ebx, dword [esp + 0x6c]
mov ecx, edx
shr ecx, 5
or dword [ebx + ecx*4], edi
inc edx
cmp esi, edx
jne 0x101c1b18
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edx, eax
shl edx, cl
mov edi, dword [esp + 0x60]
mov ebx, ecx
shr ebx, 5
or dword [edi + ebx*4], edx
inc ecx
cmp esi, ecx
jne 0x101c1b3b
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
cmp ecx, eax
cmovge ecx, eax
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp edx, eax
cmovle edx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
cmovge eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp eax, esi
cmovle eax, esi
mov dword [esp + 0xc], eax
xorps xmm1, xmm1
ucomiss xmm1, xmm0
jae 0x101c1bc8
mov edi, dword [esp + 0x20]
jmp 0x101c1ba4
movss xmm0, dword [esp + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add edi, 4
mov eax, edi
sub eax, dword [ecx]
cmp eax, 0x1000
jne 0x101c1bbc
mov edi, dword [ecx + 4]
add ecx, 4
cmp edi, dword [esp + 0x34]
jne 0x101c1a65
jmp 0x101c1bdc
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
movss xmm0, dword [eax + 0x24]
subss xmm0, dword [eax + 0x1c]
jmp 0x101c1ba4
xor edx, edx
addss xmm0, xmm0
cvttss2si eax, xmm0
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 0x10]
xor edi, edi
inc edi
cmp ecx, eax
jge 0x101c1bf7
mov ebx, edi
jmp 0x101c1c55
mov ecx, edx
mov esi, edx
mov edx, dword [esp + 0x18]
sub ecx, edx
mov ebx, 2
cmp ecx, eax
jl 0x101c1c55
lea ecx, [esp + 0x6c]
push esi
call fcn.101c1cbe
add esp, 4
ucomiss xmm0, dword [0x103c5908]
mov ebx, edi
ja 0x101c1c55
lea ecx, [esp + 0x60]
mov edx, dword [esp + 0x10]
push dword [esp + 0xc]
movss dword [esp + 0xc], xmm0
call fcn.101c1cbe
add esp, 4
xor eax, eax
movss xmm1, dword [esp + 8]
ucomiss xmm0, xmm1
seta al
add eax, eax
xor ebx, ebx
inc ebx
ucomiss xmm1, xmm0
cmovbe ebx, eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x101c1c66
push eax
call fcn.1023b489
add esp, 4
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x101c1c77
push eax
call fcn.1023b489
add esp, 4
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.1023b4d8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret