Function at 0x1001b530
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1001b541
mov eax, 1
pop esi
ret 4
push edi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x1001b718
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetArkLPGLVersion
push eax
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x1001b718
push 0
call eax
add esp, 4
cmp eax, 0x20220427
jne 0x1001b718
push str.CreatePackMP3
push dword [esi]
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x1001b718
push str.AllocWinZipJPEGDecompressor
push dword [esi]
call edi
push str.FreeWinZipJPEGDecompressor
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.ReadWinZipJPEGHeader
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.ReadNextWinZipJPEGBundle
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.ReadNextWinZipJPEGSlice
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.EncodeWinZipJPEGBlocksToBuffer
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.IsFinalWinZipJPEGBundle
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.AreMoreWinZipJPEGSlicesAvailable
push dword [esi]
mov dword [esi + 0x24], eax
call edi
push str.AreMoreWinZipJPEGBytesAvailable
push dword [esi]
mov dword [esi + 0x28], eax
call edi
push str.WinZipJPEGBundleMetadataLength
push dword [esi]
mov dword [esi + 0x2c], eax
call edi
push str.WinZipJPEGBundleMetadataBytes
push dword [esi]
mov dword [esi + 0x30], eax
call edi
push str.Create7zArc
push dword [esi]
mov dword [esi + 0x34], eax
call edi
push str.lzxd_init
push dword [esi]
mov dword [esi + 0x38], eax
call edi
push str.lzxd_decompress
push dword [esi]
mov dword [esi + 0x3c], eax
call edi
push str.lzxd_free
push dword [esi]
mov dword [esi + 0x40], eax
call edi
push str.lzxd_set_output_length
push dword [esi]
mov dword [esi + 0x44], eax
call edi
push str.qtmd_init
push dword [esi]
mov dword [esi + 0x48], eax
call edi
push str.qtmd_free
push dword [esi]
mov dword [esi + 0x4c], eax
call edi
push str.qtmd_decompress
push dword [esi]
mov dword [esi + 0x50], eax
call edi
cmp dword [esi + 8], 0
mov dword [esi + 0x54], eax
je 0x1001b6f9
cmp dword [esi + 0xc], 0
je 0x1001b6f9
cmp dword [esi + 0x10], 0
je 0x1001b6f9
cmp dword [esi + 0x14], 0
je 0x1001b6f9
cmp dword [esi + 0x18], 0
je 0x1001b6f9
cmp dword [esi + 0x1c], 0
je 0x1001b6f9
cmp dword [esi + 0x20], 0
je 0x1001b6f9
cmp dword [esi + 0x24], 0
je 0x1001b6f9
cmp dword [esi + 0x28], 0
je 0x1001b6f9
cmp dword [esi + 0x2c], 0
je 0x1001b6f9
cmp dword [esi + 0x30], 0
je 0x1001b6f9
cmp dword [esi + 0x34], 0
je 0x1001b6f9
cmp dword [esi + 0x38], 0
je 0x1001b6f9
cmp dword [esi + 0x3c], 0
je 0x1001b6f9
cmp dword [esi + 0x40], 0
je 0x1001b6f9
cmp dword [esi + 0x44], 0
je 0x1001b6f9
cmp dword [esi + 0x48], 0
je 0x1001b6f9
cmp dword [esi + 0x4c], 0
je 0x1001b6f9
cmp dword [esi + 0x50], 0
je 0x1001b6f9
test eax, eax
je 0x1001b6f9
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi]
test eax, eax
je 0x1001b70c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
mov ecx, esi
call fcn.1001b360
call fcn.1001b360
pop edi
xor eax, eax
pop esi
ret 4