Function at 0x10012500
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x15c
mov ebx, dword [ecx + 4]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xa8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, esi
mov edi, dword [ecx + 8]
mov dword [ebp - 0xa0], ebx
mov ebx, dword [ecx + 0x18]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x80], edx
call sym._checkMipmapArgs.isra.0
mov dword [ebp - 0xb0], eax
test eax, eax
jne 0x100129b4
test edi, edi
jle 0x100129d0
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jle 0x100129d0
mov edx, dword [ebp - 0x80]
mov dword [esp + 4], esi
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0xa8]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp], esi
call sym._closestFit
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x10015a8a
call sym._computeLog.part.0
mov ecx, eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x10015a94
call sym._computeLog.part.0
cmp ecx, eax
mov edx, dword [ebp - 0x80]
cmovge eax, ecx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x98]
call sym._checkMipmapArgs.isra.0
mov dword [ebp - 0xb0], eax
test eax, eax
jne 0x10015cc8
cmp dword [ebp - 0x80], 0x1a00
lea eax, [ebp - 0x58]
je 0x10014a58
call sym._retrieveStoreModes
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x98]
call sym._elements_per_group
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
mov esi, eax
mov eax, dword [ebp - 0x80]
test edx, edx
cmovle edx, edi
call sym._bytes_per_element
mov ecx, dword [ebp - 0x38]
mov dword [esp + 4], 0
fstp dword [ebp - 0x78]
cvttss2si eax, dword [ebp - 0x78]
mov dword [esp], 0xcf3
imul esi, eax
mov dword [ebp - 0x78], eax
cmp eax, 1
mov eax, dword [ebp - 0xcc]
cmove eax, dword [ebp - 0xb0]
imul edx, esi
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x84], esi
mov eax, edx
mov dword [ebp - 0x94], edx
cdq
idiv ecx
mov eax, dword [ebp - 0x94]
sub ecx, edx
add ecx, eax
test edx, edx
cmove ecx, eax
imul esi, dword [ebp - 0x2c]
mov eax, ecx
imul eax, dword [ebp - 0x30]
mov dword [ebp - 0x94], ecx
add eax, esi
add eax, ebx
mov dword [ebp - 0xc0], eax
call sym._glPixelStorei_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0xcf4
call sym._glPixelStorei_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
sub esp, 8
cmp dword [ebp - 0xb8], edi
jne 0x10012c00
mov esi, dword [ebp - 0xa0]
cmp dword [ebp - 0xc8], esi
jne 0x10012c00
cmp dword [ebp - 0xbc], 0xffffffff
jne 0x100129e0
mov dword [esp + 4], 0
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
sub esp, 8
mov esi, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x98]
mov eax, esi
sar eax, 1
cmp esi, 1
cmove eax, esi
mov dword [ebp - 0xb8], eax
mov eax, ebx
sar eax, 1
cmp ebx, 1
mov esi, eax
mov eax, dword [ebp - 0xb8]
cmove esi, ebx
mov edx, esi
mov esi, dword [ebp - 0x80]
mov dword [esp], esi
call sym._image_size
cmp esi, 0x8036
ja 0x10012ae8
cmp esi, 0x8031
ja 0x10015d84
lea edx, [esi - 0x1400]
cmp edx, 6
ja 0x10012bc8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xd4], eax
call eax
mov dword [ebp - 0x8c], eax
sub esp, 0xc
test eax, eax
je 0x10012b34
mov eax, dword [ebp - 0x80]
sub eax, 0x1401
cmp eax, 5
ja case.default.0x100127d4
jmp dword [eax*4 + 0x10025114]
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove1555rev
mov edx, sym._extract1555rev
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._halveImagePackedPixel
mov eax, dword [ebp - 0x84]
mov esi, eax
cmp edi, 1
je 0x10012844
sar edi, 1
imul eax, edi
mov esi, eax
mov ebx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x98]
mov eax, ebx
sar eax, 1
cmp ebx, 1
cmove eax, ebx
mov ebx, dword [ebp - 0x80]
mov dword [esp], ebx
mov edx, eax
mov dword [ebp - 0xa0], eax
mov eax, edi
call sym._image_size
cmp ebx, 0x8036
ja 0x100140f8
cmp ebx, 0x8031
ja 0x10012892
lea edx, [ebx - 0x1400]
cmp edx, 6
ja 0x10012bc8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xd4]
call eax
mov dword [ebp - 0x88], eax
sub esp, 0xc
test eax, eax
je 0x10015fc5
mov dword [ebp - 0x90], 2
mov ebx, 1
mov dword [esp + 4], 0
mov dword [esp], 0xcf0
call sym._glPixelStorei_8
sub esp, 8
cmp ebx, dword [ebp - 0xbc]
jle 0x10015966
mov eax, dword [ebp - 0x38]
mov dword [esp], 0xcf5
mov esi, dword fs:[0x18]
mov dword [esp + 4], eax
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x30]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf3
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x2c]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf4
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x34]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x24]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf0
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x8c]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x88]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov eax, dword [ebp - 0xb0]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov dword [ebp - 0xb0], 0x18a25
jmp 0x100129b4
mov eax, dword [ebp - 0x34]
mov dword [esp], 0xcf2
mov dword [esp + 4], eax
call sym._glPixelStorei_8
mov eax, dword [ebp - 0xc0]
sub esp, 8
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sym._glTexImage2D_36
sub esp, 0x24
mov dword [esp + 4], 0
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
mov eax, dword [ebp - 0xbc]
sub esp, 8
test eax, eax
jne 0x10012721
mov eax, dword [ebp - 0x38]
mov dword [esp], 0xcf5
mov dword [esp + 4], eax
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x30]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf3
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x2c]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf4
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x34]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x24]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf0
call sym._glPixelStorei_8
sub esp, 8
jmp 0x100129b4
mov esi, dword [ebp - 0x80]
lea edx, [esi - 0x8362]
cmp edx, 6
ja 0x10012bc8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xd4], eax
call eax
mov dword [ebp - 0x8c], eax
sub esp, 0xc
test eax, eax
jne 0x10012be0
mov eax, dword [ebp - 0x38]
mov dword [esp], 0xcf5
mov dword [esp + 4], eax
call sym._glPixelStorei_8
push eax
push eax
mov eax, dword [ebp - 0x30]
mov dword [esp], 0xcf3
mov dword [esp + 4], eax
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x2c]
push edx
push edx
mov dword [esp + 4], eax
mov dword [esp], 0xcf4
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x34]
push ecx
push ecx
mov dword [esp + 4], eax
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x24]
push ebx
push ebx
mov dword [esp + 4], eax
mov dword [esp], 0xcf0
call sym._glPixelStorei_8
push esi
push esi
mov dword [ebp - 0xb0], 0x18a26
jmp 0x100129b4
mov edi, dword [ebp - 0x80]
lea edx, [edi - 0x8362]
cmp edx, 6
jbe 0x10013160
lea esi, [esi]
mov dword [ebp - 0xb0], 0x18a24
jmp 0x100129b4
mov eax, dword [ebp - 0x80]
sub eax, 0x8363
cmp eax, 5
ja case.default.0x10012bf1
jmp dword [eax*4 + 0x1002512c]
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xb8]
mov dword [esp], esi
call sym._image_size
cmp esi, 0x8036
ja 0x10012c90
cmp esi, 0x8031
ja 0x10015770
lea edx, [esi - 0x1400]
cmp edx, 6
ja 0x10012bc8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xd4], eax
call eax
mov dword [ebp - 0x8c], eax
sub esp, 0xc
test eax, eax
je 0x10012b34
mov eax, dword [ebp - 0x80]
sub eax, 0x1401
cmp eax, 5
ja case.default.0x10012c87
jmp dword [eax*4 + 0x10025144]
mov esi, dword [ebp - 0x80]
lea edx, [esi - 0x8362]
cmp edx, 6
ja 0x10012bc8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xd4], eax
call eax
mov dword [ebp - 0x8c], eax
sub esp, 0xc
test eax, eax
je 0x10012b34
mov eax, dword [ebp - 0x80]
sub eax, 0x8363
cmp eax, 5
ja case.default.0x10012ced
jmp dword [eax*4 + 0x1002515c]
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove4444rev
mov edx, sym._extract4444rev
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove565rev
mov edx, sym._extract565rev
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 3
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove565
mov edx, sym._extract565
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 3
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove8888rev
mov edx, sym._extract8888rev
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove2101010rev
mov edx, sym._extract2101010rev
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_int
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_ushort
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_short
jmp 0x10012830
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_ubyte
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_uint
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_float
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove1555rev
mov edx, sym._extract1555rev
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._scaleInternalPackedPixel
lea esi, [esi]
mov eax, dword [ebp - 0xb8]
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0xbc]
imul esi, eax
test edi, edi
je 0x10014e10
mov edi, eax
sar eax, 1
mov ecx, 1
cmp edi, 1
mov edi, dword [ebp - 0xc8]
cmovle eax, ecx
mov edx, edi
sar edx, 1
cmp edi, 1
mov edi, dword [ebp - 0x80]
cmovle edx, ecx
mov ecx, dword [ebp - 0x98]
mov dword [esp], edi
call sym._image_size
cmp edi, 0x8036
ja 0x10012bb0
cmp edi, 0x8031
ja 0x10013160
lea edx, [edi - 0x1400]
cmp edx, 6
ja 0x10012bc8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xd4]
call eax
mov dword [ebp - 0x88], eax
sub esp, 0xc
test eax, eax
je 0x10015fc5
mov eax, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xb8]
xor ebx, ebx
mov dword [ebp - 0x90], 1
mov dword [ebp - 0xa0], eax
jmp 0x100128d6
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove4444rev
mov edx, sym._extract4444rev
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove565rev
mov edx, sym._extract565rev
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 3
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove565
mov edx, sym._extract565
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 3
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove8888rev
mov edx, sym._extract8888rev
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove2101010rev
mov edx, sym._extract2101010rev
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0xb8]
add eax, eax
cmp edi, eax
je 0x10015c57
pxor xmm6, xmm6
pxor xmm0, xmm0
pxor xmm2, xmm2
movsd xmm1, qword [0x10025258]
cvtsi2ss xmm0, dword [ebp - 0xc8]
pxor xmm5, xmm5
cvtsi2ss xmm6, dword [ebp - 0xa0]
cvtsi2ss xmm2, edi
divss xmm6, xmm0
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0xb8]
divss xmm2, xmm0
movq xmm0, qword [0x10025260]
movupd xmm4, xmm0
cvtss2sd xmm5, xmm6
movupd xmm3, xmm5
andpd xmm3, xmm0
ucomisd xmm1, xmm3
jbe 0x1001348b
addsd xmm3, xmm1
andnpd xmm4, xmm5
subsd xmm3, xmm1
orpd xmm3, xmm4
movupd xmm4, xmm3
cmpnlesd xmm4, xmm5
movsd xmm5, qword [0x10025270]
andpd xmm4, xmm5
movupd xmm5, xmm3
subsd xmm5, xmm4
cvttsd2si eax, xmm5
pxor xmm3, xmm3
movups xmm5, xmm6
pxor xmm4, xmm4
cvtss2sd xmm4, xmm2
cvtsi2ss xmm3, eax
mov dword [ebp - 0x134], eax
subss xmm5, xmm3
movupd xmm3, xmm4
andpd xmm3, xmm0
ucomisd xmm1, xmm3
movss dword [ebp - 0x138], xmm5
jbe 0x100134ef
addsd xmm3, xmm1
andnpd xmm0, xmm4
movsd xmm5, qword [0x10025270]
subsd xmm3, xmm1
orpd xmm3, xmm0
movupd xmm0, xmm3
cmpnlesd xmm0, xmm4
andpd xmm0, xmm5
subsd xmm3, xmm0
movupd xmm4, xmm3
cvttsd2si eax, xmm4
pxor xmm0, xmm0
movups xmm5, xmm2
mulss xmm6, xmm2
cvtsi2ss xmm0, eax
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xc8]
subss xmm5, xmm0
movss dword [ebp - 0xf8], xmm5
test eax, eax
jle 0x100130f0
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0xb8]
lea ebx, [ebp - 0x68]
pxor xmm5, xmm5
mov dword [ebp - 0x88], ebx
mov edx, dword [ebp - 0x134]
imul edi, eax
mov dword [ebp - 0x120], 0
movss xmm4, dword [ebp - 0x138]
mov dword [ebp - 0x108], 0
movss xmm7, dword [0x100251e4]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x13c], edi
lea edi, [eax*4]
add ebx, edi
mov dword [ebp - 0x104], edi
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x90], ebx
imul edi, eax
movss dword [ebp - 0x130], xmm5
movss dword [ebp - 0xf0], xmm5
mov dword [ebp - 0xec], edi
mov edi, eax
sub eax, 1
and edi, 0xfffffffc
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], edi
lea esi, [esi]
mov edi, dword [ebp - 0xa0]
lea eax, [edi - 1]
cmp edi, edx
cmovle edx, eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], edx
test eax, eax
jle 0x10015680
mov edi, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x108]
mov dword [ebp - 0xdc], 0
pxor xmm0, xmm0
mov ecx, dword [ebp - 0x12c]
movss xmm2, dword [ebp - 0xf8]
mov dword [ebp - 0xc4], 0
mov esi, edi
lea eax, [ebx + 1]
imul esi, ebx
mov dword [ebp - 0xe4], eax
mov eax, edi
add eax, esi
mov dword [ebp - 0xfc], esi
add eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0x100], eax
mov eax, edi
imul eax, esi
cmp esi, ebx
not ebx
setg byte [ebp - 0x110]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x8c]
lea eax, [eax + ecx*4]
mov dword [ebp - 0xe8], eax
mov eax, ebx
add eax, esi
imul eax, edi
mov edi, dword [ebp - 0xcc]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x9c], eax
lea esi, [esi]
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0xc4]
pxor xmm5, xmm5
mov ecx, dword [ebp - 0xfc]
movups xmmword [ebp - 0x68], xmm5
imul eax, ebx
add ecx, eax
add ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0x9c], ebx
jle 0x100136ce
cmp byte [ebp - 0x110], 0
jne 0x10014430
mov esi, dword [ebp - 0x108]
cmp dword [ebp - 0xb4], esi
jg 0x10014830
movups xmm3, xmm4
mov esi, dword [ebp - 0xc4]
subss xmm3, dword [ebp - 0xf0]
cmp dword [ebp - 0x9c], esi
jle 0x100147d0
movups xmm1, xmm7
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x88]
subss xmm1, xmm0
mov ecx, dword [ebp - 0xac]
mulss xmm1, xmm3
test eax, eax
jle 0x10013749
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x90]
lea esi, [esi]
mov eax, dword [ecx]
pxor xmm0, xmm0
add edx, 4
add ecx, ebx
cvtsi2ss xmm0, eax
mulss xmm0, xmm1
addss xmm0, dword [edx - 4]
movss dword [edx - 4], xmm0
cmp esi, edx
jne 0x10013728
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xac]
lea ebx, [eax + 1]
cmp ebx, dword [ebp - 0x9c]
jge 0x100137c8
mov eax, dword [ebp - 0x7c]
add esi, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov ecx, esi
test eax, eax
jle 0x100137a1
lea esi, [esi]
mov eax, dword [ecx]
pxor xmm0, xmm0
movss xmm1, dword [edx]
add edx, 4
add ecx, dword [ebp - 0x78]
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp dword [ebp - 0x90], edx
jne 0x10013778
add ebx, 1
cmp ebx, dword [ebp - 0x9c]
jne 0x10013760
mov eax, dword [ebp - 0x9c]
sub eax, 1
sub eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x84]
add dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xac]
mulss xmm3, xmm2
add ecx, dword [ebp - 0x84]
test edx, edx
jle 0x100155e0
mov edx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x90]
lea esi, [esi]
mov eax, dword [ecx]
pxor xmm0, xmm0
movss xmm1, dword [edx]
add edx, 4
add ecx, ebx
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp esi, edx
jne 0x100137f8
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x100]
add eax, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xe4]
mov ebx, eax
cmp dword [ebp - 0xb4], esi
jle 0x10013901
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xc4], edi
mov edi, ebx
mov dword [ebp - 0xac], eax
lea esi, [esi]
mov eax, dword [ebp - 0xd0]
mov esi, dword [ebp - 0x9c]
mov ecx, edi
mov ebx, eax
cmp eax, esi
jge 0x100138d5
lea esi, [esi]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x88]
mov esi, ecx
test eax, eax
jle 0x100138c4
nop
cmp dword [ebp - 0xc4], 0
movss xmm3, dword [edx]
mov eax, dword [esi]
je 0x100140e0
pxor xmm1, xmm1
cvtsi2ss xmm1, eax
addss xmm1, xmm3
movups xmm0, xmm1
movss dword [edx], xmm0
add esi, dword [ebp - 0x78]
add edx, 4
cmp dword [ebp - 0x90], edx
jne 0x10013890
add ecx, dword [ebp - 0x84]
add ebx, 1
cmp ebx, dword [ebp - 0x9c]
jne 0x10013880
add dword [ebp - 0xac], 1
add edi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xb4], eax
jg 0x10013868
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0xc4]
test eax, eax
jle 0x10013953
cmp dword [ebp - 0x10c], 2
jbe 0x100156e8
movups xmm5, xmmword [ebp - 0x68]
movups xmm0, xmm6
mov ebx, dword [ebp - 0xe8]
shufps xmm0, xmm0, 0
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x7c]
divps xmm5, xmm0
cvttps2dq xmm0, xmm5
movups xmmword [ebx], xmm0
cmp edx, ecx
je 0x10013953
mov esi, dword [ebp - 0x88]
movss xmm0, dword [esi + edx*4]
divss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [ebx + edx*4], eax
add edx, 1
cmp ecx, edx
jg 0x1001393c
movss xmm1, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0x9c]
addss xmm1, xmm2
comiss xmm1, xmm7
jbe 0x10013977
subss xmm1, xmm7
add eax, 1
mov esi, dword [ebp - 0x9c]
add dword [ebp - 0xdc], 1
movups xmm0, xmm2
mov ecx, dword [ebp - 0x104]
mov ebx, dword [ebp - 0xdc]
add dword [ebp - 0xe8], ecx
mov dword [ebp - 0xc4], esi
cmp dword [ebp - 0xb8], ebx
je 0x10015680
mov dword [ebp - 0x9c], eax
movups xmm2, xmm1
jmp 0x10013688
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._scale_internal_ushort
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._scale_internal_short
jmp 0x100130f0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._scale_internal_ubyte
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._scale_internal_uint
jmp 0x100130f0
mov eax, dword [ebp - 0xb8]
add eax, eax
cmp edi, eax
je 0x10015bf6
pxor xmm6, xmm6
pxor xmm0, xmm0
pxor xmm2, xmm2
movsd xmm1, qword [0x10025258]
cvtsi2ss xmm0, dword [ebp - 0xc8]
pxor xmm5, xmm5
cvtsi2ss xmm6, dword [ebp - 0xa0]
cvtsi2ss xmm2, edi
divss xmm6, xmm0
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0xb8]
divss xmm2, xmm0
movq xmm0, qword [0x10025260]
movupd xmm4, xmm0
cvtss2sd xmm5, xmm6
movupd xmm3, xmm5
andpd xmm3, xmm0
ucomisd xmm1, xmm3
jbe 0x10013bf3
addsd xmm3, xmm1
andnpd xmm4, xmm5
subsd xmm3, xmm1
orpd xmm3, xmm4
movupd xmm4, xmm3
cmpnlesd xmm4, xmm5
movsd xmm5, qword [0x10025270]
andpd xmm4, xmm5
movupd xmm5, xmm3
subsd xmm5, xmm4
cvttsd2si eax, xmm5
pxor xmm3, xmm3
movups xmm5, xmm6
cvtsi2ss xmm3, eax
mov dword [ebp - 0x128], eax
subss xmm5, xmm3
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movupd xmm4, xmm3
andpd xmm4, xmm0
ucomisd xmm1, xmm4
movss dword [ebp - 0x12c], xmm5
jbe 0x10013c57
addsd xmm4, xmm1
andnpd xmm0, xmm3
movsd xmm5, qword [0x10025270]
subsd xmm4, xmm1
orpd xmm4, xmm0
movupd xmm0, xmm4
cmpnlesd xmm0, xmm3
movupd xmm3, xmm4
andpd xmm0, xmm5
subsd xmm3, xmm0
cvttsd2si eax, xmm3
pxor xmm0, xmm0
movups xmm5, xmm2
mov esi, dword [ebp - 0xc8]
mulss xmm6, xmm2
cvtsi2ss xmm0, eax
mov dword [ebp - 0xec], eax
subss xmm5, xmm0
movss dword [ebp - 0xf0], xmm5
test esi, esi
jle 0x100130f0
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0xb8]
lea edx, [ebp - 0x68]
pxor xmm5, xmm5
mov dword [ebp - 0x88], edx
mov ecx, dword [ebp - 0x128]
imul edi, eax
mov dword [ebp - 0x118], 0
movss xmm4, dword [ebp - 0x12c]
mov dword [ebp - 0x100], 0
movss xmm7, dword [0x100251e4]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x134], edi
lea edi, [eax*4]
add edx, edi
mov dword [ebp - 0xfc], edi
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x9c], edx
imul edi, eax
movss dword [ebp - 0x130], xmm5
movss dword [ebp - 0xe8], xmm5
mov dword [ebp - 0xe4], edi
mov edi, eax
sub eax, 1
and edi, 0xfffffffc
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], edi
mov edi, dword [ebp - 0xcc]
nop
lea esi, [esi]
mov esi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xb8]
lea eax, [esi - 1]
cmp esi, ecx
cmovle ecx, eax
mov dword [ebp - 0xac], ecx
test ebx, ebx
jle 0x10015612
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0xd0], 0
pxor xmm0, xmm0
mov edx, dword [ebp - 0x124]
movss xmm2, dword [ebp - 0xf0]
mov dword [ebp - 0xb4], 0
mov ebx, esi
lea eax, [ecx + 1]
imul ebx, ecx
mov dword [ebp - 0xdc], eax
mov eax, esi
add eax, ebx
mov dword [ebp - 0xf4], ebx
add eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0xac]
mov dword [ebp - 0xf8], eax
mov eax, esi
imul eax, ebx
cmp ebx, ecx
not ecx
setg byte [ebp - 0x108]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x8c]
lea eax, [eax + edx*4]
mov dword [ebp - 0xe0], eax
mov eax, ecx
add eax, ebx
imul eax, esi
mov esi, edi
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x90], eax
nop
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0xb4]
pxor xmm5, xmm5
mov edi, dword [ebp - 0xf4]
movups xmmword [ebp - 0x68], xmm5
imul eax, ebx
add edi, eax
mov dword [ebp - 0xd8], eax
add edi, dword [ebp - 0xc0]
cmp dword [ebp - 0x90], ebx
jle 0x10013e30
cmp byte [ebp - 0x108], 0
jne 0x10014110
mov ebx, dword [ebp - 0x100]
cmp dword [ebp - 0xac], ebx
jg 0x10014950
movups xmm3, xmm4
mov ebx, dword [ebp - 0xb4]
subss xmm3, dword [ebp - 0xe8]
cmp dword [ebp - 0x90], ebx
jle 0x10014780
movups xmm1, xmm7
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x88]
mov edx, edi
subss xmm1, xmm0
mulss xmm1, xmm3
test ecx, ecx
jle 0x10013ea3
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x9c]
lea esi, [esi]
movss xmm0, dword [edx]
add eax, 4
add edx, ecx
mulss xmm0, xmm1
addss xmm0, dword [eax - 4]
movss dword [eax - 4], xmm0
cmp eax, ebx
jne 0x10013e88
mov eax, dword [ebp - 0xb4]
mov ebx, edi
lea ecx, [eax + 1]
cmp ecx, dword [ebp - 0x90]
jge 0x10013f28
mov dword [ebp - 0xc4], edi
mov edi, dword [ebp - 0x9c]
lea esi, [esi]
add ebx, dword [ebp - 0x84]
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x88]
mov edx, ebx
jle 0x10013eff
lea esi, [esi]
movss xmm0, dword [edx]
movss xmm1, dword [eax]
add eax, 4
add edx, dword [ebp - 0x78]
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, edi
jne 0x10013ee0
add ecx, 1
cmp ecx, dword [ebp - 0x90]
jne 0x10013ec8
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0xc4]
sub eax, 1
sub eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0x84]
add edi, eax
mov edx, dword [ebp - 0x7c]
mulss xmm3, xmm2
add edi, dword [ebp - 0x84]
test edx, edx
jle 0x100155b0
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x9c]
lea esi, [esi]
movss xmm1, dword [edi]
movss xmm0, dword [eax]
add eax, 4
add edi, edx
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, ecx
jne 0x10013f50
mov edx, dword [ebp - 0xd8]
add edx, dword [ebp - 0xf8]
add edx, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xdc]
mov ebx, edx
cmp dword [ebp - 0xac], edi
jle 0x1001402e
mov eax, dword [ebp - 0xb4]
add eax, 1
mov dword [ebp - 0xc4], eax
mov edi, dword [ebp - 0xdc]
mov dword [ebp - 0xb4], esi
mov esi, ebx
lea esi, [esi]
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x90]
mov edx, esi
mov ecx, eax
cmp eax, ebx
jge 0x10014010
lea esi, [esi]
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x88]
mov ebx, edx
jle 0x10013fff
nop
movss xmm1, dword [eax]
movss xmm0, dword [ebx]
add eax, 4
add ebx, dword [ebp - 0x78]
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp dword [ebp - 0x9c], eax
jne 0x10013fe0
add edx, dword [ebp - 0x84]
add ecx, 1
cmp ecx, dword [ebp - 0x90]
jne 0x10013fd0
add esi, dword [ebp - 0x94]
add edi, 1
cmp dword [ebp - 0xac], edi
jg 0x10013fb8
mov esi, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x7c]
test edx, edx
jle 0x1001407a
cmp dword [ebp - 0x104], 2
jbe 0x10015700
movups xmm5, xmmword [ebp - 0x68]
movups xmm0, xmm6
mov ecx, dword [ebp - 0xe0]
shufps xmm0, xmm0, 0
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x7c]
divps xmm5, xmm0
movups xmmword [ecx], xmm5
cmp eax, edx
je 0x1001407a
mov ebx, dword [ebp - 0x88]
movss xmm0, dword [ebx + eax*4]
divss xmm0, xmm6
movss dword [ecx + eax*4], xmm0
add eax, 1
cmp edx, eax
jg 0x10014065
movss xmm1, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xec]
add eax, dword [ebp - 0x90]
addss xmm1, xmm2
comiss xmm1, xmm7
jbe 0x1001409e
subss xmm1, xmm7
add eax, 1
mov ebx, dword [ebp - 0x90]
add dword [ebp - 0xd0], 1
movups xmm0, xmm2
mov ecx, dword [ebp - 0xfc]
mov edi, dword [ebp - 0xd0]
add dword [ebp - 0xe0], ecx
mov dword [ebp - 0xb4], ebx
cmp dword [ebp - 0xb8], edi
je 0x10015610
mov dword [ebp - 0x90], eax
movups xmm2, xmm1
jmp 0x10013df0
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
addss xmm0, xmm3
jmp 0x100138b2
mov ebx, dword [ebp - 0x80]
lea edx, [ebx - 0x8362]
cmp edx, 6
jbe 0x10012892
jmp 0x10012bc8
movups xmm3, xmm7
movups xmm5, xmm7
subss xmm3, dword [ebp - 0xe8]
mov edx, edi
subss xmm5, xmm0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x88]
movups xmm1, xmm3
mulss xmm1, xmm5
test ecx, ecx
jle 0x1001415c
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x9c]
movss xmm0, dword [edx]
add eax, 4
add edx, ecx
mulss xmm0, xmm1
addss xmm0, dword [eax - 4]
movss dword [eax - 4], xmm0
cmp ebx, eax
jne 0x10014141
mov eax, dword [ebp - 0xb4]
mov ecx, edi
add eax, 1
mov dword [ebp - 0xc4], eax
mov ebx, eax
cmp eax, dword [ebp - 0x90]
jge 0x10015995
mov dword [ebp - 0xcc], edi
mov edi, dword [ebp - 0x9c]
mov esi, esi
lea edi, [edi]
add ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x88]
mov edx, ecx
jle 0x100141c7
lea esi, [esi]
movss xmm0, dword [edx]
movss xmm1, dword [eax]
add eax, 4
add edx, dword [ebp - 0x78]
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, edi
jne 0x100141a8
add ebx, 1
cmp ebx, dword [ebp - 0x90]
jne 0x10014190
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0xcc]
sub eax, 1
sub eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0x84]
add eax, edi
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x11c]
mulss xmm3, xmm2
add eax, dword [ebp - 0x84]
add edx, dword [ebp - 0xd8]
mov ebx, eax
add edx, dword [ebp - 0xc0]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x88]
mov edx, ebx
test ecx, ecx
jle 0x1001428a
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x9c]
movss xmm1, dword [edx]
movss xmm0, dword [eax]
add eax, 4
add edx, ecx
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, ebx
jne 0x10014232
movups xmm3, xmm5
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xcc]
mulss xmm3, xmm4
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x9c]
movss xmm1, dword [edx]
movss xmm0, dword [eax]
add eax, 4
add edx, ecx
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, ebx
jne 0x1001426c
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xcc]
mov ebx, eax
cmp eax, edx
jge 0x10014310
mov dword [ebp - 0x114], edi
mov edi, dword [ebp - 0x9c]
nop
add ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x88]
mov edx, ecx
jle 0x100142e3
movss xmm0, dword [edx]
movss xmm1, dword [eax]
add eax, 4
add edx, dword [ebp - 0x78]
mulss xmm0, xmm4
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, edi
jne 0x100142c4
add ebx, 1
cmp ebx, dword [ebp - 0x90]
jne 0x100142b0
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x114]
sub eax, 1
sub eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0x84]
add dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x7c]
movups xmm3, xmm4
mov edx, dword [ebp - 0xcc]
mulss xmm3, xmm2
mov eax, dword [ebp - 0x88]
add edx, dword [ebp - 0x84]
test ecx, ecx
jle 0x10014357
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x9c]
movss xmm1, dword [edx]
movss xmm0, dword [eax]
add eax, 4
add edx, ecx
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, ebx
jne 0x10014339
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0xac], eax
jle 0x10014027
mov dword [ebp - 0xb4], eax
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 0xcc], esi
mov esi, dword [ebp - 0x110]
nop
mov eax, dword [ebp - 0x94]
add edi, eax
add esi, eax
mov eax, dword [ebp - 0x7c]
test eax, eax
jle 0x100143dd
mov eax, dword [ebp - 0x88]
mov ecx, esi
mov edx, edi
movss xmm1, dword [edx]
cmp dword [ebp - 0xcc], 0
movss xmm3, dword [eax]
movss xmm0, dword [ecx]
mulss xmm1, xmm5
je 0x10014418
mulss xmm0, xmm2
addss xmm3, xmm1
addss xmm0, xmm3
movss dword [eax], xmm0
add edx, ebx
add ecx, ebx
add eax, 4
cmp eax, dword [ebp - 0x9c]
jne 0x1001439b
mov eax, dword [ebp - 0xe4]
add edi, eax
add esi, eax
add dword [ebp - 0xb4], 1
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xac], eax
jne 0x10014380
mov edx, dword [ebp - 0xd8]
add edx, dword [ebp - 0xf8]
add edx, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xcc]
mov ebx, edx
jmp 0x10013fa3
mulss xmm0, xmm2
addss xmm0, xmm1
addss xmm0, xmm3
jmp 0x100143c0
movups xmm3, xmm7
movups xmm5, xmm7
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x88]
subss xmm3, dword [ebp - 0xf0]
subss xmm5, xmm0
movups xmm1, xmm3
mulss xmm1, xmm5
test eax, eax
jle 0x10015710
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x90]
mov eax, dword [ecx]
pxor xmm0, xmm0
add edx, 4
add ecx, ebx
cvtsi2ss xmm0, eax
mulss xmm0, xmm1
addss xmm0, dword [edx - 4]
movss dword [edx - 4], xmm0
cmp esi, edx
jne 0x10014463
mov eax, dword [ebp - 0xc4]
lea esi, [eax + 1]
cmp esi, dword [ebp - 0x9c]
jge 0x10015a4b
mov dword [ebp - 0xd0], esi
mov ebx, dword [ebp - 0xac]
lea esi, [esi]
mov eax, dword [ebp - 0x7c]
add ebx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov ecx, ebx
test eax, eax
jle 0x100144e9
lea esi, [esi]
mov eax, dword [ecx]
pxor xmm0, xmm0
movss xmm1, dword [edx]
add edx, 4
add ecx, dword [ebp - 0x78]
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp dword [ebp - 0x90], edx
jne 0x100144c0
add esi, 1
cmp esi, dword [ebp - 0x9c]
jne 0x100144a8
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x7c]
mulss xmm3, xmm2
mov esi, dword [ebp - 0xd0]
lea ebx, [eax - 1]
sub eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x84]
add eax, dword [ebp - 0xac]
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0x118], eax
mov ebx, dword [ebp - 0xe0]
add ebx, dword [ebp - 0x124]
add ebx, dword [ebp - 0xc0]
test edx, edx
jle 0x10015760
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx]
pxor xmm1, xmm1
movss xmm0, dword [edx]
add edx, 4
add ecx, dword [ebp - 0x78]
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp dword [ebp - 0x90], edx
jne 0x1001454f
movups xmm3, xmm5
mov edx, dword [ebp - 0x88]
mov ecx, ebx
mulss xmm3, xmm4
mov eax, dword [ecx]
pxor xmm1, xmm1
movss xmm0, dword [edx]
add edx, 4
add ecx, dword [ebp - 0x78]
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp dword [ebp - 0x90], edx
jne 0x10014587
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0xd0], esi
lea edx, [eax - 1]
mov dword [ebp - 0xd8], edx
cmp esi, eax
jge 0x10015a78
nop
lea esi, [esi]
mov eax, dword [ebp - 0x7c]
add ebx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov ecx, ebx
test eax, eax
jle 0x10014616
mov eax, dword [ecx]
pxor xmm0, xmm0
movss xmm1, dword [edx]
add edx, 4
add ecx, dword [ebp - 0x78]
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp dword [ebp - 0x90], edx
jne 0x100145ed
add esi, 1
cmp esi, dword [ebp - 0x9c]
jne 0x100145d8
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0xd8]
movups xmm3, xmm4
mulss xmm3, xmm2
sub ebx, dword [ebp - 0xc4]
add ebx, 1
imul ebx, dword [ebp - 0x84]
add ebx, dword [ebp - 0x11c]
test eax, eax
jle 0x10015740
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x90]
mov eax, dword [ebx]
pxor xmm0, xmm0
movss xmm1, dword [edx]
add edx, 4
add ebx, ecx
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp esi, edx
jne 0x1001465e
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xb4], eax
jle 0x10013901
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0x118]
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x94]
add dword [ebp - 0xac], eax
mov ebx, dword [ebp - 0xac]
add edi, eax
mov eax, dword [ebp - 0x7c]
test eax, eax
jle 0x10014729
mov ecx, dword [ebp - 0x88]
mov esi, edi
mov eax, dword [ebx]
pxor xmm0, xmm0
movss xmm1, dword [ecx]
mov edx, dword [esi]
cvtsi2ss xmm0, eax
mov eax, dword [ebp - 0xd8]
mulss xmm0, xmm5
test eax, eax
je 0x10014768
addss xmm0, xmm1
pxor xmm1, xmm1
cvtsi2ss xmm1, edx
mulss xmm1, xmm2
addss xmm0, xmm1
mov eax, dword [ebp - 0x78]
movss dword [ecx], xmm0
add ecx, 4
add ebx, eax
add esi, eax
cmp dword [ebp - 0x90], ecx
jne 0x100146d3
mov ebx, dword [ebp - 0xec]
add dword [ebp - 0xac], ebx
add edi, ebx
add dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0xb4], eax
jne 0x100146b0
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x100]
add eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xd8]
mov ebx, eax
jmp 0x10013851
pxor xmm3, xmm3
cvtsi2ss xmm3, edx
mulss xmm3, xmm2
addss xmm0, xmm3
addss xmm0, xmm1
jmp 0x10014705
movups xmm5, xmm2
mov eax, dword [ebp - 0x7c]
subss xmm5, xmm0
mulss xmm3, xmm5
test eax, eax
jle 0x100155b0
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x9c]
lea esi, [esi]
movss xmm0, dword [edi]
add eax, 4
add edi, edx
mulss xmm0, xmm3
addss xmm0, dword [eax - 4]
movss dword [eax - 4], xmm0
cmp eax, ecx
jne 0x100147a8
jmp 0x10013f6e
movups xmm5, xmm2
mov eax, dword [ebp - 0x7c]
subss xmm5, xmm0
mulss xmm3, xmm5
test eax, eax
jle 0x100155e0
mov edx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xac]
nop
lea esi, [esi]
mov eax, dword [ecx]
pxor xmm0, xmm0
add edx, 4
add ecx, ebx
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm0, dword [edx - 4]
movss dword [edx - 4], xmm0
cmp esi, edx
jne 0x10014800
jmp 0x1001381c
movups xmm3, xmm2
movups xmm1, xmm7
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x88]
subss xmm3, xmm0
subss xmm1, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xac]
mulss xmm1, xmm3
test eax, eax
jle 0x10014889
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x90]
lea esi, [esi]
mov eax, dword [ecx]
pxor xmm0, xmm0
add edx, 4
add ecx, ebx
cvtsi2ss xmm0, eax
mulss xmm0, xmm1
addss xmm0, dword [edx - 4]
movss dword [edx - 4], xmm0
cmp esi, edx
jne 0x10014868
mov eax, dword [ebp - 0xe4]
mov ebx, dword [ebp - 0xac]
mov esi, eax
cmp dword [ebp - 0xb4], eax
jle 0x100148f5
nop
mov eax, dword [ebp - 0x7c]
add ebx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x88]
mov ecx, ebx
test eax, eax
jle 0x100148de
mov eax, dword [ecx]
pxor xmm0, xmm0
movss xmm1, dword [edx]
add edx, 4
add ecx, dword [ebp - 0x78]
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp dword [ebp - 0x90], edx
jne 0x100148b5
add esi, 1
cmp dword [ebp - 0xb4], esi
jne 0x100148a0
mov esi, dword [ebp - 0x128]
add dword [ebp - 0xac], esi
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xac]
mulss xmm3, xmm4
add ecx, dword [ebp - 0x94]
test eax, eax
jle 0x100155e0
mov edx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x90]
nop
mov eax, dword [ecx]
pxor xmm0, xmm0
movss xmm1, dword [edx]
add edx, 4
add ecx, ebx
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [edx - 4], xmm0
cmp esi, edx
jne 0x10014920
jmp 0x1001381c
movups xmm3, xmm2
movups xmm1, xmm7
subss xmm1, dword [ebp - 0xe8]
mov edx, edi
subss xmm3, xmm0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x88]
mulss xmm1, xmm3
test ecx, ecx
jle 0x1001499b
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x9c]
nop
movss xmm0, dword [edx]
add eax, 4
add edx, ecx
mulss xmm0, xmm1
addss xmm0, dword [eax - 4]
movss dword [eax - 4], xmm0
cmp eax, ebx
jne 0x10014980
mov eax, dword [ebp - 0xdc]
mov ecx, edi
mov ebx, eax
cmp dword [ebp - 0xac], eax
jle 0x10014a0a
mov dword [ebp - 0xc4], edi
mov edi, dword [ebp - 0x9c]
lea esi, [esi]
add ecx, dword [ebp - 0x94]
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x88]
mov edx, ecx
jle 0x100149f3
movss xmm0, dword [edx]
movss xmm1, dword [eax]
add eax, 4
add edx, dword [ebp - 0x78]
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, edi
jne 0x100149d4
add ebx, 1
cmp dword [ebp - 0xac], ebx
jne 0x100149c0
mov edi, dword [ebp - 0xc4]
add edi, dword [ebp - 0x120]
mov ebx, dword [ebp - 0x7c]
mulss xmm3, xmm4
add edi, dword [ebp - 0x94]
test ebx, ebx
jle 0x100155b0
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x9c]
nop
movss xmm1, dword [edi]
movss xmm0, dword [eax]
add eax, 4
add edi, edx
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [eax - 4], xmm0
cmp eax, ecx
jne 0x10014a30
jmp 0x10013f6e
call sym._retrieveStoreModes
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x1a00
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [ebp - 0xa4]
call sym._closestFit
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10015cc0
call sym._computeLog.part.0
mov ecx, eax
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x10015cb8
call sym._computeLog.part.0
cmp eax, ecx
mov dword [esp], 0x1403
mov esi, dword [ebp - 0x98]
cmovge ecx, eax
mov edx, dword [ebp - 0xa0]
mov eax, edi
mov dword [ebp - 0x7c], ecx
mov ecx, esi
call sym._image_size
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x84], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xd4], eax
call eax
mov dword [ebp - 0x78], eax
sub esp, 0xc
test eax, eax
je 0x10012b9d
mov dword [esp + 0x10], eax
lea eax, [esi - 0x1900]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
cmp eax, 1
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0x58]
setbe al
mov dword [esp + 4], 0x1a00
movzx eax, al
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, ebx
call sym._fill_image
mov eax, esi
call sym._elements_per_group.part.0
mov dword [esp + 4], 2
mov dword [esp], 0xcf5
mov dword [ebp - 0x80], eax
call sym._glPixelStorei_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0xcf3
call sym._glPixelStorei_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0xcf4
call sym._glPixelStorei_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0xcf0
call sym._glPixelStorei_8
sub esp, 8
cmp dword [ebp - 0x7c], 0xffffffff
je 0x10014d4d
xor esi, esi
xor ebx, ebx
jmp 0x10014c91
test ebx, ebx
je 0x10014d00
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp - 0xa0]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp], eax
mov eax, dword [ebp - 0x80]
call sym._scale_internal
mov ecx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov dword [esp + 0x20], ebx
mov edx, dword [ebp - 0x98]
mov dword [esp + 0x1c], 0x1403
mov dword [ebp - 0xa0], ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], edx
call sym._glTexImage2D_36
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], ebx
sub esp, 0x24
mov ebx, eax
mov eax, dword [ebp - 0x6c]
cmp eax, 1
jle 0x10014c78
sar eax, 1
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
cmp eax, 1
jle 0x10014c85
sar eax, 1
mov dword [ebp - 0x68], eax
add esi, 1
cmp dword [ebp - 0x7c], esi
jl 0x10014d50
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
cmp eax, edi
jne 0x10014be8
cmp edx, dword [ebp - 0xa0]
jne 0x10014be8
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x1c], 0x1403
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sym._glTexImage2D_36
sub esp, 0x24
jmp 0x10014c6b
mov dword [esp], 0x1403
mov ecx, dword [ebp - 0x98]
call sym._image_size
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xd4]
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x10015ce5
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
jmp 0x10014bf0
xor ebx, ebx
nop
mov eax, dword [ebp - 0x38]
mov dword [esp], 0xcf5
mov edi, dword fs:[0x18]
mov dword [esp + 4], eax
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x30]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf3
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x2c]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf4
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x34]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x24]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], 0xcf0
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x78]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x100129b4
mov dword [esp + 4], 0
xor ebx, ebx
mov dword [esp], 0xcf0
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x8c], 0
sub esp, 8
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xa8]
mov dword [esp + 4], ebx
mov edi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xb8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x98]
mov ebx, dword [ebp - 0xa4]
mov dword [esp + 8], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
call sym._glTexImage2D_36
mov edx, dword [ebp - 0xbc]
sub esp, 0x24
cmp dword [ebp - 0x90], edx
jg 0x10016048
lea ebx, [edi - 0x8362]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x9c], ebx
lea ebx, [edi - 0x8033]
mov edi, dword [ebp - 0xc8]
mov dword [ebp - 0xc0], ebx
mov ebx, esi
mov esi, dword [ebp - 0xb8]
cmp eax, 0x8036
ja 0x100150d4
lea esi, [esi]
cmp eax, 0x8031
ja 0x100152c8
sub eax, 0x1400
cmp eax, 6
ja case.default.0x10014f01
jmp dword [eax*4 + 0x10025174]
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_uint
lea esi, [esi]
cmp esi, 1
jle 0x10014f5a
mov eax, ebx
sar esi, 1
shr eax, 0x1f
add eax, ebx
sar eax, 1
mov ebx, eax
mov eax, edi
mov ecx, dword [ebp - 0x38]
sar eax, 1
cmp edi, 1
cmovg edi, eax
mov eax, ebx
cdq
idiv ecx
test edx, edx
je 0x10015270
lea eax, [ebx + ecx]
mov dword [esp + 4], 0
sub eax, edx
mov edx, eax
mov dword [ebp - 0xb4], eax
imul edx, edi
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xd4]
call eax
mov dword [ebp - 0xac], eax
sub esp, 0xc
test eax, eax
je 0x10012b34
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x8c]
test edi, edi
jle 0x1001501b
mov dword [ebp - 0xb8], esi
mov esi, ebx
mov ebx, eax
mov dword [ebp - 0xa0], edi
mov edi, edx
nop
mov dword [esp + 4], edi
add edi, esi
mov dword [esp], ebx
mov dword [esp + 8], esi
call sym._memcpy
add dword [ebp - 0x94], 1
add ebx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0xa0]
jne 0x10014fe0
mov ebx, esi
mov edi, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xb8]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x98]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0xa8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x90]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0xa4]
mov dword [esp], edx
call sym._glTexImage2D_36
mov ecx, dword [ebp - 0xac]
sub esp, 0x24
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
add dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0xbc]
jg 0x100128f9
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], ecx
cmp eax, 0x8036
jbe 0x10014ee8
cmp dword [ebp - 0x9c], 6
ja case.default.0x10014f01
mov eax, dword [ebp - 0x9c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
jmp dword [eax*4 + 0x10025190]
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_int
jmp 0x10014f48
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_ushort
jmp 0x10014f48
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_short
jmp 0x10014f48
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_ubyte
jmp 0x10014f48
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_byte
jmp 0x10014f48
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_float
jmp 0x10014f48
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sym._glTexImage2D_36
sub esp, 0x24
jmp 0x10015095
mov eax, dword [ebp - 0xc0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
cmp eax, 3
ja case.default.0x100152e3
jmp dword [eax*4 + 0x100251ac]
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove5551
mov edx, sym._extract5551
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove4444
mov edx, sym._extract4444
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove8888
mov edx, sym._extract8888
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove1010102
mov edx, sym._extract1010102
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove8888rev
mov edx, sym._extract8888rev
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove1555rev
mov edx, sym._extract1555rev
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove4444rev
mov edx, sym._extract4444rev
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove565rev
mov edx, sym._extract565rev
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 3
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove565
mov edx, sym._extract565
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 3
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove233rev
mov edx, sym._extract233rev
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 3
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove2101010rev
mov edx, sym._extract2101010rev
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10014f48
mov eax, dword [ebp - 0x78]
mov dword [esp], esi
mov ecx, sym._shove332
mov edx, sym._extract332
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, 3
call sym._halveImagePackedPixel
jmp 0x10014f48
mov edx, dword [ebp - 0xd8]
add edx, dword [ebp - 0xf8]
add edx, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xdc]
mov ebx, edx
cmp dword [ebp - 0xac], edi
jg 0x10013f94
jmp 0x1001407a
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x100]
add eax, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xe4]
mov ebx, eax
cmp dword [ebp - 0xb4], esi
jg 0x10013842
jmp 0x10013953
mov edi, esi
movss xmm0, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
add ecx, dword [ebp - 0xac]
addss xmm0, xmm4
comiss xmm0, xmm7
jbe 0x10015636
subss xmm0, xmm7
add ecx, 1
add dword [ebp - 0x118], 1
mov ebx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x118]
add dword [ebp - 0x124], ebx
movss dword [ebp - 0xe8], xmm4
cmp dword [ebp - 0xc8], eax
je 0x100130f0
mov eax, dword [ebp - 0xac]
movups xmm4, xmm0
mov dword [ebp - 0x100], eax
jmp 0x10013d30
movss xmm0, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
add edx, dword [ebp - 0xb4]
addss xmm0, xmm4
comiss xmm0, xmm7
jbe 0x100156a4
subss xmm0, xmm7
add edx, 1
add dword [ebp - 0x120], 1
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x120]
add dword [ebp - 0x12c], esi
movss dword [ebp - 0xf0], xmm4
cmp dword [ebp - 0xc8], eax
je 0x100130f0
mov eax, dword [ebp - 0xb4]
movups xmm4, xmm0
mov dword [ebp - 0x108], eax
jmp 0x100135c0
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0xe8]
xor edx, edx
jmp 0x10013936
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xe0]
xor eax, eax
jmp 0x1001405f
lea esi, [ebx + 1]
cmp esi, dword [ebp - 0x9c]
jl 0x10014499
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0x118], eax
mov esi, esi
lea edi, [edi]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xb4], eax
jg 0x1001469a
jmp 0x10013953
mov dword [ebp - 0x11c], ebx
jmp 0x100145d8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xd4], eax
call eax
mov dword [ebp - 0x8c], eax
sub esp, 0xc
test eax, eax
je 0x10012b34
mov eax, dword [ebp - 0x80]
sub eax, 0x8033
cmp eax, 3
ja case.default.0x100157bb
jmp dword [eax*4 + 0x100251bc]
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove5551
mov edx, sym._extract5551
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove4444
mov edx, sym._extract4444
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove8888
mov edx, sym._extract8888
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove1010102
mov edx, sym._extract1010102
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xc8], eax
jmp 0x10014e49
mov eax, edi
jmp 0x100141f0
cmp dword [ebp - 0x98], 0x1907
jne 0x10015f8b
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove233rev
mov edx, sym._extract233rev
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 3
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_byte
jmp 0x10012830
mov eax, dword [ebp - 0xac]
mov ebx, dword [ebp - 0xe0]
mulss xmm3, xmm2
add eax, dword [ebp - 0x84]
add ebx, dword [ebp - 0x124]
mov dword [ebp - 0x118], eax
add ebx, dword [ebp - 0xc0]
jmp 0x10014543
movups xmm3, xmm4
add ebx, dword [ebp - 0x84]
mulss xmm3, xmm2
jmp 0x1001464f
mov ecx, 0xffffffff
jmp 0x100125b8
mov eax, 0xffffffff
jmp 0x100125ce
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove332
mov edx, sym._extract332
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 3
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._scale_internal_byte
jmp 0x100130f0
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove233rev
mov edx, sym._extract233rev
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 3
call sym._scaleInternalPackedPixel
jmp 0x100130f0
mov dword [esp + 8], 0x10d6
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], 0x10025112
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebp - 0xc8]
add eax, eax
cmp dword [ebp - 0xa0], eax
jne 0x10013b68
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_float
jmp 0x100130f0
mov eax, dword [ebp - 0xc8]
add eax, eax
cmp dword [ebp - 0xa0], eax
jne 0x10013400
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa0]
mov edx, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call sym._halveImage_int
jmp 0x100130f0
or eax, 0xffffffff
jmp 0x10014abb
or ecx, 0xffffffff
jmp 0x10014aab
mov dword [esp + 8], 0xe8f
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.checkMipmapArgs_internalFormat_format_type___0
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebp - 0x38]
mov dword [esp], 0xcf5
mov dword [esp + 4], eax
call sym._glPixelStorei_8
push eax
push eax
mov eax, dword [ebp - 0x30]
mov dword [esp], 0xcf3
mov dword [esp + 4], eax
call sym._glPixelStorei_8
push eax
push eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], 0xcf4
mov dword [esp + 4], eax
call sym._glPixelStorei_8
push eax
push eax
mov eax, dword [ebp - 0x34]
mov dword [esp], 0xcf2
mov dword [esp + 4], eax
call sym._glPixelStorei_8
push eax
push eax
mov eax, dword [ebp - 0x24]
mov dword [esp], 0xcf0
mov dword [esp + 4], eax
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x78]
push edx
push edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0xb0], 0x18a26
sub esp, 0xc
jmp 0x100129b4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xd4], eax
call eax
mov dword [ebp - 0x8c], eax
sub esp, 0xc
test eax, eax
je 0x10012b34
mov eax, dword [ebp - 0x80]
sub eax, 0x8033
cmp eax, 3
ja case.default.0x10015dcf
jmp dword [eax*4 + 0x100251cc]
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove5551
mov edx, sym._extract5551
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove4444
mov edx, sym._extract4444
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove8888
mov edx, sym._extract8888
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10012830
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove1010102
mov edx, sym._extract1010102
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 4
call sym._halveImagePackedPixel
jmp 0x10012830
cmp dword [ebp - 0x98], 0x1907
jne 0x10015fa8
mov eax, dword [ebp - 0xcc]
mov dword [esp], edi
mov ecx, sym._shove332
mov edx, sym._extract332
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, 3
call sym._halveImagePackedPixel
jmp 0x10012830
mov dword [esp + 8], 0xf25
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.format__GL_RGB
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0xf1f
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.format__GL_RGB
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebp - 0x38]
mov dword [esp], 0xcf5
mov dword [esp + 4], eax
call sym._glPixelStorei_8
push eax
push eax
mov eax, dword [ebp - 0x30]
mov dword [esp], 0xcf3
mov dword [esp + 4], eax
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x2c]
push edx
push edx
mov dword [esp + 4], eax
mov dword [esp], 0xcf4
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x34]
push ecx
push ecx
mov dword [esp + 4], eax
mov dword [esp], 0xcf2
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x24]
push esi
push esi
mov dword [esp + 4], eax
mov dword [esp], 0xcf0
call sym._glPixelStorei_8
mov eax, dword [ebp - 0x8c]
push edi
push edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
jmp 0x10015d66
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], edi
jmp 0x100128f9