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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x1c]
jae 0x10011207
comiss xmm0, dword [edi + 0x20]
jae 0x10011207
call fcn.1000ee66
mov ecx, eax
xor edx, edx
mov dword [esp + 0x20], ecx
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
div dword [ecx + 0x24]
mov ebx, edx
shl ebx, 4
add ebx, dword [ecx + 0x28]
mov dword [esp + 0x2c], ebx
mov ecx, dword [ebx + 4]
lea esi, [ebx + 0xc]
test ecx, ecx
je 0x10010e33
mov eax, dword [esi]
cmp eax, dword [edi + 0xc]
jge 0x10010eec
test ecx, ecx
je 0x10010e33
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx + 4], 0
mov eax, dword [edi + 0xc]
add eax, 0x1388
push 0x14
mov dword [esi], eax
lea eax, [esp + 0x48]
push 0
push eax
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
mov dword [esp + 0x44], 2
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
push 0x38
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.msvcrt.dll_memset]
imul eax, dword [esi], 0x14
lea edx, [ebx + 4]
mov esi, dword [esp + 0x2c]
add esp, 0xc
xor ecx, ecx
inc ecx
mov dword [esp + 0x58], ecx
push edx
push 0x1009edd0
mov dword [esp + 0x70], eax
lea edx, [esp + 0x60]
xor eax, eax
mov dword [esp + 0x78], ecx
push 0
push 0xac3
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x98], eax
mov eax, dword [esi]
push edx
push 0
mov word [esp + 0x8c], cx
lea edx, [esp + 0x5c]
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 0x10011207
jmp 0x10010ef0
mov esi, dword [esp + 0x20]
mov ecx, dword [ebx]
test ecx, ecx
je 0x10010f0c
mov eax, dword [ebx + 8]
cmp eax, dword [edi + 8]
jge 0x10010fc3
test ecx, ecx
je 0x10010f0c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx], 0
mov eax, dword [edi + 8]
add eax, 0x2710
push 0x14
mov dword [ebx + 8], eax
lea eax, [esp + 0x48]
push 0
push eax
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
mov dword [esp + 0x44], 2
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
push 0x38
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.msvcrt.dll_memset]
mov eax, dword [ebx + 8]
lea edx, [esp + 0x64]
add esp, 0xc
add eax, eax
mov dword [esp + 0x68], eax
xor ecx, ecx
xor eax, eax
inc ecx
mov dword [esp + 0x6c], eax
push ebx
push 0x1009edd0
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], eax
mov eax, dword [esi]
xor esi, esi
push esi
push 0xac3
push edx
push esi
mov dword [esp + 0x70], ecx
lea edx, [esp + 0x5c]
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 0x10011207
jmp 0x10010fc5
xor esi, esi
push 8
lea eax, [esp + 0x40]
push esi
push eax
call dword [sym.imp.msvcrt.dll_memset]
mov eax, dword [ebx + 4]
lea edx, [esp + 0x40]
add esp, 0xc
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x40]
push edx
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x10011207
mov eax, dword [ebx]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x40]
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x10011207
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], esi
cmp dword [edi + 4], esi
jle 0x1001107e
mov ebx, esi
mov eax, dword [edi + 0x10]
mov esi, dword [eax + ebx*4]
imul eax, dword [esi + 0x18], 0x14
push eax
push dword [esi + 0x20]
push ecx
call dword [sym.imp.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 dword [sym.imp.msvcrt.dll_memcpy]
imul eax, dword [esi + 0x18], 0x14
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esi + 0xc]
inc ebx
mov dword [esp + 0x20], ecx
lea edx, [edx + eax*2]
mov dword [esp + 0x14], edx
cmp ebx, dword [edi + 4]
jl 0x10011028
mov ebx, dword [esp + 0x2c]
xor esi, esi
mov eax, dword [ebx + 4]
lea edx, [esp + 0x3c]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebx]
lea edx, [esp + 0x3c]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.10010bf1
movss xmm0, dword [edi + 0x14]
mov edx, esi
movss xmm4, dword [edi + 0x18]
pop ecx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x14], xmm4
mov dword [esp + 0x30], ecx
cmp dword [edi + 4], ecx
jle 0x10011207
mov eax, dword [edi + 0x10]
and dword [esp + 0x24], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x18], eax
cmp dword [eax], 0
jle 0x100111eb
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 0x1001111f
cmp ecx, 0xffffffff
jne 0x10011118
mov edx, dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.10010bf1
pop ecx
jmp 0x100111b3
push esi
push eax
call ecx
pop ecx
jmp 0x10011112
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 0x100111bd
comiss xmm1, xmm0
jae 0x100111bd
cvttss2si eax, xmm3
mov ecx, dword [esp + 0x10]
push dword [esi + 0x14]
mov dword [esp + 0x48], eax
push dword [esi + 0x10]
cvttss2si eax, xmm1
push 1
push ecx
mov dword [esp + 0x58], eax
cvttss2si eax, xmm2
mov dword [esp + 0x5c], eax
cvttss2si eax, xmm0
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x44]
push edx
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x58]
mov eax, dword [esi + 0x18]
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push 0
push eax
mov eax, dword [esi + 0x1c]
add eax, dword [esp + 0x24]
mov ecx, dword [edx]
push eax
push 1
push dword [esi + 0x20]
push edx
call dword [ecx + 0x34]
movss xmm4, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
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 0x100110f5
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
add esi, dword [eax + 0xc]
add edx, dword [eax + 0x18]
inc ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
cmp ecx, dword [edi + 4]
jl 0x100110d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret