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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x3c], ebx
mov esi, dword [ebx]
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + 0x7c]
mov ecx, edx
mov eax, dword [eax]
imul ecx, dword [ebp + 0xc]
sub eax, ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x10]
cmp eax, edx
cmovg eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
imul eax, dword [ecx]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
imul eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x20]
mov edi, dword [eax]
mov eax, dword [ebx + 0x24]
imul edi, ecx
mov edx, dword [eax]
mov eax, edx
imul eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], edi
imul eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x28]
mov ebx, dword [esp + 0x38]
imul edx, ebx
mov eax, dword [eax]
imul eax, edi
imul eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
cmp ecx, edx
jge 0x100ee825
imul eax, ecx
mov dword [esp + 0x54], eax
mov eax, ecx
sub esp, 0x10
cdq
idiv ebx
mov dword [esp + 0x78], eax
mov esi, edx
mov eax, dword [esp + 0x70]
add eax, esi
cdq
idiv dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov ebx, edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx]
mov ecx, dword [eax + 0x30]
mov eax, esi
cdq
mov ecx, dword [ecx]
idiv ecx
mov eax, edx
sub esi, eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
sub eax, esi
mov dword [esp + 0x80], esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmin]
mov ecx, dword [esp + 0x4c]
add esp, 0x10
fstp qword [esp + 0x78]
mov eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x38]
mov esi, dword [eax]
mov eax, ebx
cdq
idiv edi
imul eax, esi
sub eax, dword [ecx]
mov dword [esp + 0x5c], eax
mov eax, ebx
cdq
idiv edi
mov ebx, dword [esp + 0x3c]
mov ecx, edx
imul ecx, esi
mov esi, dword [esp + 0x5c]
mov eax, dword [ebx + 0x3c]
sub ecx, dword [eax]
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
mov dword [esp + 0x44], eax
lea edx, [eax + esi]
mov eax, dword [ebx + 0x1c]
cmp edx, dword [eax]
cmovge edx, dword [eax]
xor edi, edi
sub edx, esi
mov eax, esi
neg eax
mov dword [esp + 0x48], edx
test esi, esi
cmovs edi, eax
mov eax, dword [ebx + 0x18]
add ecx, dword [esp + 0x44]
mov eax, dword [eax]
cmp ecx, eax
mov dword [esp + 0x50], eax
cmovge ecx, eax
mov eax, dword [esp + 0x40]
mov edx, ecx
sub edx, eax
test eax, eax
cmovs edx, ecx
mov eax, edx
imul eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
imul eax, esi
mov esi, dword [esp + 0x2c]
imul esi, dword [esp + 0x4c]
add eax, dword [esp + 0x40]
mov dword [esp + 0x2c], esi
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
imul eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
imul eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x2c]
add esi, eax
mov eax, dword [ebx + 0x44]
add esi, dword [eax]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x2c], esi
cvttsd2si esi, qword [esp + 0x78]
mov eax, dword [eax]
imul eax, dword [esp + 0x70]
imul esi, dword [esp + 0x68]
add eax, dword [esp + 0x74]
add esi, eax
mov eax, dword [ebx + 0x48]
imul esi, dword [esp + 0x30]
add esi, dword [eax]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x40]
cmp edx, ecx
jne 0x100ee734
mov eax, dword [esp + 0x48]
sub eax, edi
cmp eax, ecx
jne 0x100ee734
mov eax, dword [ebx + 0x4c]
mov edi, dword [eax]
mov eax, dword [ebx + 8]
add edi, dword [esp + 0x54]
mov ecx, dword [eax]
mov eax, ecx
imul eax, dword [esp + 0x44]
push eax
push ecx
push ecx
imul ecx, dword [esp + 0x5c]
push ecx
push edi
push dword [esp + 0x40]
jmp 0x100ee7d4
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax]
add eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax]
mov eax, dword [ebx]
add ecx, dword [esp + 0x54]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x18]
push dword [eax + 0x18]
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esp + 0x58], 0
jle 0x100ee7ba
cmp edi, dword [esp + 0x48]
jge 0x100ee7ba
mov eax, dword [ebx + 0x18]
push dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x40]
imul ecx, edi
mov edx, dword [eax]
imul edx, edi
mov eax, ecx
sub eax, esi
test esi, esi
cmovs ecx, eax
imul ecx, dword [esp + 0x34]
mov eax, edx
sub eax, esi
add ecx, dword [esp + 0x30]
test esi, esi
push ecx
cmovs edx, eax
imul edx, dword [esp + 0x38]
add edx, dword [esp + 0x58]
push edx
call sub.VCRUNTIME140.dll_memcpy
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x48]
jl 0x100ee771
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x74]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax]
imul eax, ecx
push eax
push ecx
push ecx
push eax
push edi
push dword [esp + 0x64]
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
call eax
mov eax, dword [ebx + 0x40]
mov esi, dword [ebx]
mov edx, dword [eax]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov eax, edx
imul eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x78]
push ecx
push dword [esp + 0x54]
imul ecx, edx
push ecx
push eax
mov eax, dword [esi + 0x60]
push edi
call eax
mov eax, dword [ebx + 0x2c]
add esp, 0x30
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov eax, dword [ebx + 0x24]
mov ebx, dword [esp + 0x38]
mov dword [ebp + 8], ecx
mov eax, dword [eax]
imul eax, ebx
cmp ecx, eax
jl 0x100ee596
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8