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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push edi
push esi
push ebx
sub esp, 0xb4
inc dword [0x10210ca0]
cmp dword [0x102830a8], 0
je 0x100ea519
mov ebx, dword [0x10210ca4]
test ebx, ebx
je 0x100ea0ed
mov edx, dword [0x10210ca8]
test edx, edx
jle 0x100ea0da
xor eax, eax
mov esi, eax
mov edi, edx
push dword [ebx + esi*4]
call fcn.101bceaa
pop ecx
inc esi
cmp esi, edi
jl 0x100ea0cc
push ebx
call fcn.101bceaa
pop ecx
xor eax, eax
mov dword [0x10210ca4], eax
mov dword [0x10210ca8], eax
mov ebx, dword [ebp + 0x3c]
push 4
push ebx
call fcn.101beb7a
add esp, 8
mov dword [0x10210ca4], eax
test ebx, ebx
mov dword [0x10210ca8], ebx
jle 0x100ea511
mov edx, dword [ebp + 0x1c]
movsd xmm2, qword [0x101e7be8]
movsd xmm1, qword [0x101e7bf0]
xor eax, eax
mov dword [esp + 0x88], eax
mov esi, eax
mov edi, edx
mov ecx, dword [edi + esi*4]
shl ecx, 4
push ecx
call fcn.101bcde0
pop ecx
mov ebx, eax
mov ecx, dword [edi + esi*4]
test ecx, ecx
jle 0x100ea1ce
mov edx, dword [0x1021f544]
mov eax, dword [0x10219190]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + esi*4]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x38]
mov dword [esi + 8], ebx
mov edi, dword [ecx + ebx*4]
mov edi, dword [edx + edi*4]
imul edi, dword [edi], 0xa10
inc ebx
movsd xmm0, qword [edi + eax + 0x48]
movsd qword [esi], xmm0
add esi, 0x10
cmp ebx, dword [esp + 0x90]
jl 0x100ea196
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x80]
mov edi, dword [ebp + 0x1c]
push 0x100adf10
push 0x10
push ecx
push ebx
call fcn.101bec80
mov ecx, dword [edi + esi*4]
shl ecx, 4
push ecx
call fcn.101bcde0
add esp, 0x14
mov dword [esp + 0x84], eax
mov eax, dword [edi + esi*4]
test eax, eax
jle 0x100ea31c
mov eax, dword [esp + 0x84]
mov dword [esp + 0x30], ebx
xor edx, edx
mov ebx, eax
mov eax, esi
mov esi, edx
mov edi, dword [ebp + 8]
mov ecx, dword [edi + eax*4]
mov edi, dword [0x1021f544]
mov ecx, dword [ecx + esi*4]
mov ecx, dword [edi + ecx*4]
mov edi, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + esi*4]
mov dword [esp + 0x80], eax
xor edx, edx
mov dword [esp + 0x10], 1
mov dword [esp], edi
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + eax*4]
movsd xmm0, qword [ecx + esi*8]
divsd xmm0, qword [0x101e7bf0]
mulsd xmm0, qword [0x101e7be8]
mov dword [esp + 0x14], edx
movsd qword [esp + 8], xmm0
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
call fcn.100dfc50
imul edi, edi, 0xa10
mov eax, dword [esp + 0x80]
mov edx, dword [0x10219190]
movsd xmm0, qword [esp + 0x60]
addsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [0x101e7bf8]
mulsd xmm0, xmm1
mov ecx, dword [ebp + 0xc]
movsd xmm2, qword [esp + 0x70]
addsd xmm2, qword [esp + 0x68]
mulsd xmm2, xmm1
mov ecx, dword [ecx + eax*4]
addsd xmm0, qword [ecx + esi*8]
subsd xmm0, qword [edx + edi + 0x78]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
addsd xmm2, qword [ecx + esi*8]
subsd xmm2, qword [edx + edi + 0x80]
mov edi, dword [ebp + 0x1c]
movsd qword [ebx], xmm0
movsd qword [ebx + 8], xmm2
inc esi
add ebx, 0x10
cmp esi, dword [edi + eax*4]
jl 0x100ea210
mov ebx, dword [esp + 0x30]
mov edi, dword [ebp + 0x1c]
mov esi, eax
mov eax, dword [edi + esi*4]
mov ecx, dword [ebp + 0x28]
movsd xmm1, qword [ecx]
mov ecx, dword [ebp + 0x30]
movsd xmm0, qword [ecx]
test eax, eax
jle 0x100ea4ad
mov ecx, dword [edi + esi*4]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x80], esi
xor eax, eax
mov edi, eax
mov eax, edi
mov esi, edi
shl esi, 4
cmp edi, dword [esp + 0x94]
lea ecx, [ebx + esi]
jge 0x100ea42f
movsd xmm6, qword [0x1020c110]
movsd xmm4, qword [0x101e7be0]
movsd xmm3, qword [ecx]
pxor xmm2, xmm2
subsd xmm2, xmm6
mov edx, eax
shl edx, 4
movsd xmm5, qword [ebx + edx]
subsd xmm5, xmm3
comisd xmm6, xmm5
jbe 0x100ea42f
comisd xmm5, xmm2
jbe 0x100ea42f
mov edx, dword [edx + ebx + 8]
movsd qword [esp + 0x50], xmm6
movaps xmm7, xmm4
shl edx, 4
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x84]
movsd xmm5, qword [edx + edi + 8]
movsd xmm6, qword [edi + edx]
subsd xmm5, xmm0
mulsd xmm5, xmm5
subsd xmm6, xmm1
mulsd xmm6, xmm6
addsd xmm6, xmm5
movaps xmm5, xmm4
sqrtsd xmm6, xmm6
movaps xmm4, xmm6
comisd xmm5, xmm6
cmova esi, eax
minsd xmm4, xmm7
inc eax
cmp eax, ecx
jge 0x100ea528
movsd xmm6, qword [esp + 0x50]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x78]
jmp 0x100ea37a
cmp edi, dword [esp + 0x88]
je 0x100ea479
mov edx, dword [esp + 0x88]
shl edx, 4
mov dword [esp + 0x48], edx
add edx, ebx
push edx
push ecx
call fcn.100e3df0
mov edx, dword [esp + 0x50]
lea eax, [ebx + esi + 8]
lea ecx, [ebx + edx + 8]
push ecx
push eax
call fcn.100e3dd0
add esp, 0x10
mov ecx, dword [esp + 0x80]
mov edx, dword [ebp + 0x1c]
mov edx, dword [edx + ecx*4]
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x84]
mov edx, dword [esi + ebx + 8]
shl edx, 4
movsd xmm1, qword [edx + ecx]
movsd xmm0, qword [edx + ecx + 8]
inc edi
cmp edi, dword [esp + 0x94]
jl 0x100ea347
mov esi, dword [esp + 0x80]
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi + esi*4]
shl eax, 2
push eax
call fcn.101bcde0
pop ecx
mov ecx, dword [0x10210ca4]
mov dword [esp + 0x8c], ecx
mov dword [ecx + esi*4], eax
cmp dword [edi + esi*4], 0
jle 0x100ea4eb
xor ecx, ecx
mov edx, dword [esp + 0x8c]
mov edx, dword [edx + esi*4]
mov eax, ecx
shl eax, 4
mov eax, dword [ebx + eax + 8]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [edi + esi*4]
jl 0x100ea4cf
push ebx
call fcn.101bceaa
push dword [esp + 0x88]
call fcn.101bceaa
add esp, 8
inc esi
cmp esi, dword [ebp + 0x3c]
jl 0x100ea12e
mov eax, dword [esp + 0x8c]
mov edx, dword [0x102830a8]
mov dword [edx], eax
xor eax, eax
add esp, 0xb4
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x78]
jmp 0x100ea42f