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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x1c]
jae 0x10015f7d
comiss xmm0, dword [edi + 0x20]
jae 0x10015f7d
call fcn.10013cc9
mov esi, eax
xor edx, edx
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
div dword [esi + 0x24]
mov ebx, edx
shl ebx, 4
add ebx, dword [esi + 0x28]
mov dword [esp + 0x38], ebx
lea edx, [ebx + 4]
mov ecx, dword [edx]
lea eax, [ebx + 0xc]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x10015b7a
mov eax, dword [eax]
cmp eax, dword [edi + 0xc]
jge 0x10015c47
jmp 0x10015b7e
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x10015b8b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea edx, [ebx + 4]
and dword [edx], 0
xorps xmm0, xmm0
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x10]
add eax, 0x1388
push edx
push 0x100ac534
push 0
mov dword [ecx], eax
lea edx, [esp + 0x64]
imul eax, eax, 0x14
xor ecx, ecx
push 0xac3
push edx
push 0
movlpd qword [esp + 0x60], xmm0
lea edx, [esp + 0x54]
mov dword [esp + 0x80], eax
xor eax, eax
inc eax
mov dword [esp + 0x54], 2
mov dword [esp + 0x88], eax
mov word [esp + 0x8c], ax
mov word [esp + 0x8e], ax
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esi]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
movlpd qword [esp + 0x74], xmm0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x70], 1
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x6c]
test eax, eax
js 0x10015f7d
mov ecx, dword [ebx]
test ecx, ecx
je 0x10015c63
mov eax, dword [ebx + 8]
cmp eax, dword [edi + 8]
jge 0x10015d12
test ecx, ecx
je 0x10015c63
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor edx, edx
mov dword [esp + 0x3c], 2
mov dword [ebx], edx
xor ecx, ecx
mov eax, dword [edi + 8]
inc ecx
push ebx
push 0x100ac534
add eax, 0x2710
mov dword [esp + 0x48], edx
push edx
mov dword [ebx + 8], eax
xorps xmm0, xmm0
add eax, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x94], edx
lea edx, [esp + 0x64]
push 0xac3
mov dword [esp + 0x78], eax
mov eax, dword [esi]
xor esi, esi
push edx
push esi
movlpd qword [esp + 0x60], xmm0
lea edx, [esp + 0x54]
movlpd qword [esp + 0x74], xmm0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x88], ecx
mov word [esp + 0x8c], cx
mov word [esp + 0x8e], cx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x6c]
test eax, eax
js 0x10015f7d
jmp 0x10015d14
xor esi, esi
xorps xmm0, xmm0
lea edx, [esp + 0x90]
movlpd qword [esp + 0x50], xmm0
mov eax, dword [ebx + 4]
push edx
lea edx, [esp + 0x54]
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x10015f7d
mov eax, dword [ebx]
lea edx, [esp + 0x94]
push edx
lea edx, [esp + 0x54]
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x10015f7d
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
cmp dword [edi + 4], esi
jle 0x10015dda
mov ebx, esi
mov eax, dword [edi + 0x10]
mov esi, dword [ebx + eax]
imul eax, dword [esi + 0x18], 0x14
push eax
push dword [esi + 0x20]
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, eax
push eax
push dword [esi + 0x14]
push dword [esp + 0x1c]
call sub.msvcrt.dll_memcpy
imul eax, dword [esi + 0x18], 0x14
lea ebx, [ebx + 4]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 4]
jl 0x10015d7b
mov ebx, dword [esp + 0x38]
xor esi, esi
mov eax, dword [ebx + 4]
lea edx, [esp + 0x50]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebx]
lea edx, [esp + 0x50]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, edi
push ebx
call fcn.10015993
and dword [esp + 0x1c], 0
xor edx, edx
movss xmm0, dword [edi + 0x14]
movss xmm4, dword [edi + 0x18]
pop ecx
mov dword [esp + 0x10], esi
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x14], xmm4
mov dword [esp + 0x30], edx
cmp dword [edi + 4], edx
jle 0x10015f7d
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [edi + 0x10]
and dword [esp + 0x24], 0
mov eax, dword [ecx + eax]
mov dword [esp + 0x20], eax
cmp dword [eax], 0
jle 0x10015f52
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov esi, dword [eax + 8]
add esi, ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10015e80
cmp ecx, 0xffffffff
jne 0x10015e79
mov edx, dword [esp + 0x1c]
mov ecx, edi
push ebx
call fcn.10015993
pop ecx
jmp 0x10015f1a
push esi
push eax
call ecx
pop ecx
jmp 0x10015e73
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm3, xmm0
movss xmm1, dword [esi + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x10015f24
comiss xmm1, xmm0
jae 0x10015f24
cvttss2si eax, xmm3
mov ecx, dword [esp + 0x1c]
xor edx, edx
inc edx
push dword [esi + 0x14]
mov dword [esp + 0x40], eax
push dword [esi + 0x10]
cvttss2si eax, xmm1
push edx
push ecx
mov dword [esp + 0x50], eax
cvttss2si eax, xmm2
mov dword [esp + 0x54], eax
cvttss2si eax, xmm0
mov dword [esp + 0x58], eax
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
push edx
xor edx, edx
inc edx
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x58]
mov eax, dword [esi + 0x18]
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [esi + 0x1c]
add eax, dword [esp + 0x20]
mov ecx, dword [edx]
push eax
xor eax, eax
inc eax
push eax
push dword [esi + 0x20]
push edx
call dword [ecx + 0x34]
movss xmm4, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc esi
movss xmm0, dword [esp + 0x2c]
add ecx, 0x30
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
cmp esi, dword [eax]
jl 0x10015e56
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add ecx, 4
add ebx, dword [eax + 0xc]
add esi, dword [eax + 0x18]
inc edx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
cmp edx, dword [edi + 4]
jl 0x10015e38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret