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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x3c], 0
jle 0x10187a21
mov eax, dword [edi + 0x38]
mov ecx, dword [eax]
test ecx, ecx
je 0x10187a21
mov ebx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [ebx], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0xffffffff
jmp 0x10187a33
mov ebx, dword [ebp + 8]
movq xmm0, qword [edi + 4]
mov eax, dword [edi + 0xc]
movq qword [ebx], xmm0
mov dword [ebx + 8], eax
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0
lea eax, [ecx - 1]
mov dword [ebp + 8], eax
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp dword [ebp + 8], 0
jl 0x10187b85
movsd xmm5, qword [0x103a61c0]
xor eax, eax
movsd xmm4, qword [0x103a66c8]
mov edx, dword [ebp + 8]
nop dword [eax]
test esi, esi
js 0x10187b77
cmp esi, ecx
jge 0x10187b77
mov eax, dword [edi + 0x38]
mov edx, dword [eax + esi*4]
mov dword [ebp - 8], edx
test edx, edx
je 0x10187b71
mov eax, dword [edi + 0x68]
cmp dword [eax + 0x78], 0
je 0x10187ab7
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10187ab7
movss xmm0, dword [ecx]
jmp 0x10187abc
movss xmm0, dword [eax + 0x5c]
movss xmm2, dword [edx + 0x20]
mov eax, dword [ebp + 0xc]
movaps xmm3, xmm2
subss xmm3, dword [edx + 0x28]
subss xmm2, dword [edx + 0x2c]
movss xmm1, dword [eax + 4]
subss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x10187afc
movaps xmm0, xmm1
subss xmm0, xmm3
cvtps2pd xmm0, xmm0
comisd xmm5, xmm0
jbe 0x10187af5
comisd xmm0, xmm4
ja 0x10187afc
mov dword [ebp - 0xc], 0
comiss xmm2, xmm1
jbe 0x10187b1e
movaps xmm0, xmm1
subss xmm0, xmm2
cvtps2pd xmm0, xmm0
comisd xmm5, xmm0
jbe 0x10187b17
comisd xmm0, xmm4
ja 0x10187b1e
mov dword [ebp - 0x10], 0
comiss xmm3, xmm1
jbe 0x10187b46
movaps xmm0, xmm1
subss xmm0, xmm3
cvtps2pd xmm0, xmm0
comisd xmm5, xmm0
jbe 0x10187b39
comisd xmm0, xmm4
ja 0x10187b46
mov eax, dword [ebp - 4]
lea edx, [esi - 1]
mov dword [ebp + 8], edx
add eax, edx
jmp 0x10187b67
comiss xmm1, xmm2
jbe 0x10187bc8
subss xmm1, xmm2
cvtps2pd xmm0, xmm1
comisd xmm5, xmm0
jbe 0x10187b5e
comisd xmm0, xmm4
ja 0x10187bc8
lea eax, [esi + 1]
mov dword [ebp - 4], eax
add eax, dword [ebp + 8]
mov ecx, dword [edi + 0x3c]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp eax, edx
jle 0x10187a80
cmp dword [ebp - 0xc], 0
je 0x10187b9e
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.101878e0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebx], xmm0
mov dword [ebx + 8], eax
cmp dword [ebp - 0x10], 0
je 0x10187bbd
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.10187930
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebx], xmm0
mov dword [ebx + 8], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jg 0x10187bf8
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10186f40
push eax
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
mov eax, dword [ebp + 0xc]
movss xmm2, dword [eax]
call fcn.10187d10
pop edi
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
mov eax, ebx
movq qword [ebx], xmm0
mov dword [ebx + 8], ecx
mov dword [ebx + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8