Function at 0x1007c9d0
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
cmp dword [eax + 0x14], 0x10
push ebx
push esi
push edi
mov ebx, ecx
jb 0x1007c9e4
mov eax, dword [eax]
push 0x10199dc8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x1007cdc0
push dword [ebx + 4]
push dword [ebx]
push str.XYOFFSET_n_tX:_u_n_tY:_u_n_n
push edi
call fcn.1001d650
mov edx, dword [ebx + 0x2c]
mov eax, edx
mov esi, dword [ebx + 0x28]
mov ecx, esi
shr eax, 0x16
and eax, 0x3f
push 0
push eax
push 0
mov eax, edx
shr eax, 8
and eax, 0x3fff
push eax
push 0
mov eax, edx
shr eax, 2
and eax, 0x3f
push eax
mov eax, edx
shrd ecx, eax, 0x14
push 0
mov eax, esi
and ecx, 0x3fff
push ecx
shrd eax, edx, 0xe
push 0
and eax, 0x3f
and esi, 0x3fff
push eax
push 0
push esi
push str.MIPTBP1_n_tBP1:0x_llx_n_tBW1:_llu_n_tBP2:0x_llx_n_tBW2:_llu_n_tBP3:0x_llx_n_tBW3:_llu_n_n
push edi
call fcn.1001d650
mov edx, dword [ebx + 0x34]
add esp, 0x48
mov esi, dword [ebx + 0x30]
mov eax, edx
shr eax, 0x16
mov ecx, esi
and eax, 0x3f
push 0
push eax
push 0
mov eax, edx
shr eax, 8
and eax, 0x3fff
push eax
push 0
mov eax, edx
shr eax, 2
and eax, 0x3f
push eax
mov eax, edx
shrd ecx, eax, 0x14
push 0
mov eax, esi
and ecx, 0x3fff
push ecx
shrd eax, edx, 0xe
push 0
and eax, 0x3f
and esi, 0x3fff
push eax
push 0
push esi
push str.MIPTBP2_n_tBP4:0x_llx_n_tBW4:_llu_n_tBP5:0x_llx_n_tBW5:_llu_n_tBP6:0x_llx_n_tBW6:_llu_n_n
push edi
call fcn.1001d650
mov esi, dword [ebx + 8]
mov ecx, esi
mov edx, dword [ebx + 0xc]
mov eax, edx
shrd ecx, eax, 0x1e
push 0
and ecx, 0xf
shr eax, 0x1d
push ecx
push eax
mov eax, edx
shr eax, 0x18
and eax, 0x1f
push eax
mov eax, edx
shr eax, 0x17
and eax, 1
push eax
mov eax, edx
shr eax, 0x13
and eax, 0xf
push eax
mov eax, edx
shr eax, 5
and eax, 0x3fff
push eax
mov eax, edx
shr edx, 2
shr eax, 3
and edx, 1
and eax, 3
push eax
push edx
mov eax, esi
shr eax, 0x1a
and eax, 0xf
push eax
mov eax, esi
shr eax, 0x14
and eax, 0x3f
push eax
mov eax, esi
and esi, 0x3fff
shr eax, 0xe
and eax, 0x3f
push eax
push esi
push str.TEX0_n_tTBP0:0x_x_n_tTBW:_u_n_tPSM:0x_x_n_tTW:_u_n_tTCC:_u_n_tTFX:_u_n_tCBP:0x_x_n_tCPSM:0x_x_n_tCSM:_u_n_tCSA:_u_n_tCLD:_u_n_tTH:_llu_n_n
push edi
call fcn.1001d650
mov eax, dword [ebx + 0x14]
add esp, 0x74
mov ecx, dword [ebx + 0x10]
shl eax, 0x14
sar eax, 0x14
push eax
mov eax, ecx
shr eax, 0x13
and eax, 3
push eax
mov eax, ecx
shr eax, 9
and eax, 1
push eax
mov eax, ecx
shr eax, 6
and eax, 7
push eax
mov eax, ecx
shr eax, 5
and eax, 1
push eax
mov eax, ecx
and ecx, 1
shr eax, 2
and eax, 7
push eax
push ecx
push str.TEX1_n_tLCM:_u_n_tMXL:_u_n_tMMAG:_u_n_tMMIN:_u_n_tMTBA:_u_n_tL:_u_n_tK:_d_n_n
push edi
call fcn.1001d650
mov ecx, dword [ebx + 0x1c]
add esp, 0x24
mov eax, ecx
shr eax, 0x1d
push eax
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
push eax
mov eax, ecx
shr eax, 0x17
and eax, 1
push eax
mov eax, ecx
shr ecx, 5
shr eax, 0x13
and ecx, 0x3fff
and eax, 0xf
push eax
mov eax, dword [ebx + 0x18]
push ecx
shr eax, 0x14
and eax, 0x3f
push eax
push str.TEX2_n_tPSM:0x_x_n_tCBP:0x_x_n_tCPSM:0x_x_n_tCSM:_u_n_tCSA:_u_n_tCLD:_u_n_n
push edi
call fcn.1001d650
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov edx, dword [ebx + 0x24]
mov eax, edx
shrd ecx, eax, 0x18
push 0
and ecx, 0x3ff
shr edx, 2
push ecx
mov eax, esi
and edx, 0x3ff
shr eax, 0xe
and eax, 0x3ff
push edx
push eax
mov eax, esi
shr eax, 4
and eax, 0x3ff
push eax
mov eax, esi
and esi, 3
shr eax, 2
and eax, 3
push eax
push esi
push str.CLAMP_n_tWMS:_u_n_tWMT:_u_n_tMINU:_u_n_tMAXU:_u_n_tMAXV:_u_n_tMINV:_llu_n_n
push edi
call fcn.1001d650
mov ecx, dword [ebx + 0x3c]
add esp, 0x44
mov edx, dword [ebx + 0x38]
mov eax, ecx
shr eax, 0x10
and ecx, 0x7ff
and eax, 0x7ff
push eax
mov eax, edx
and edx, 0x7ff
push ecx
shr eax, 0x10
and eax, 0x7ff
push eax
push edx
push str.SCISSOR_n_tX0:_u_n_tX1:_u_n_tY0:_u_n_tY1:_u_n_n
push edi
call fcn.1001d650
movzx eax, byte [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
push eax
mov eax, ecx
shr eax, 6
and eax, 3
push eax
mov eax, ecx
shr eax, 4
and eax, 3
push eax
mov eax, ecx
shr eax, 2
and eax, 3
push eax
and ecx, 3
push ecx
push str.ALPHA_n_tA:_u_n_tB:_u_n_tC:_u_n_tD:_u_n_tFIX:_u_n
push edi
call fcn.1001d650
mov ecx, dword [ebx + 0x40]
add esp, 0x34
mov eax, ecx
mov dword [esp + 0x10], 0x1019a00c
shr eax, 6
and eax, 3
mov dword [esp + 0x14], 0x1019a010
mov dword [esp + 0x18], 0x10198e8c
mov dword [esp + 0x1c], 0x1019a014
mov dword [esp + 0x20], 0x1019a018
push dword [esp + eax*4 + 0x10]
mov eax, ecx
mov dword [esp + 0x28], 0x1019a01c
shr eax, 4
and eax, 3
push dword [esp + eax*4 + 0x20]
mov eax, ecx
and ecx, 3
shr eax, 2
and eax, 3
push dword [esp + eax*4 + 0x18]
push dword [esp + ecx*4 + 0x1c]
push str._t____s____s____s___s_n_n
push edi
call fcn.1001d650
mov ecx, dword [ebx + 0x48]
mov eax, ecx
shr eax, 0x11
and eax, 3
push eax
mov eax, ecx
shr eax, 0x10
and eax, 1
push eax
mov eax, ecx
shr eax, 0xf
and eax, 1
push eax
mov eax, ecx
shr eax, 0xe
and eax, 1
push eax
mov eax, ecx
shr eax, 0xc
and eax, 3
push eax
mov eax, ecx
shr eax, 4
movzx eax, al
push eax
mov eax, ecx
and ecx, 1
shr eax, 1
and eax, 7
push eax
push ecx
push str.TEST_n_tATE:_u_n_tATST:_u_n_tAREF:_u_n_tAFAIL:_u_n_tDATE:_u_n_tDATM:_u_n_tZTE:_u_n_tZTST:_u_n_n
push edi
call fcn.1001d650
mov eax, dword [ebx + 0x50]
add esp, 0x40
and eax, 1
push eax
push str.FBA_n_tFBA:_u_n_n
push edi
call fcn.1001d650
mov ecx, dword [ebx + 0x58]
add esp, 0xc
mov eax, ecx
shr eax, 0x18
and eax, 0x3f
push dword [ebx + 0x5c]
push eax
mov eax, ecx
shr eax, 0x10
and eax, 0x3f
push eax
and ecx, 0x1ff
shl ecx, 5
push ecx
push str.FRAME_n_tFBP__32_:0x_x_n_tFBW:_u_n_tPSM:0x_x_n_tFBMSK:0x_x_n_n
push edi
call fcn.1001d650
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
and eax, 1
push eax
mov eax, ecx
and ecx, 0x1ff
shr eax, 0x18
and eax, 0x3f
shl ecx, 5
push eax
push ecx
push str.ZBUF_n_tZBP__32_:0x_x_n_tPSM:0x_x_n_tZMSK:_u_n_n
push edi
call fcn.1001d650
add esp, 0x2c
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4