Function at 0x10003b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, edi
push ebx
sub esp, 0xbc
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov edi, dword [edi + 0x10]
test byte [0x10007018], 8
jne 0x10003cd0
cmp edx, 0x402a
ja 0x10003c40
cmp edx, 0x4003
jbe 0x10003c10
lea eax, [edx - 0x4004]
cmp eax, 0x26
ja case.0x10003c1d.0
jmp dword [eax*4 + 0x100095ac]
cmp edx, 0x3fff
ja case.0x10003c4f.20483
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
jmp dword [sym.imp.winmm.dll_DefDriverProc]
lea eax, [edx - 1]
cmp eax, 9
ja case.0x10003c1d.0
cmp edx, 0xa
ja case.0x10003c1d.0
jmp dword [edx*4 + 0x10009648]
mov esi, 1
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 0x14
lea eax, [edx - 0x5000]
cmp eax, 0x1e
ja case.0x10003c4f.20483
jmp dword [eax*4 + 0x10009674]
lea edx, [eax - 0x34454c52]
and edx, 0xfbffffff
je 0x10003db7
cmp eax, 0x20454c52
je 0x10003db7
test byte [0x10007018], 4
je case.0x10003c4f.20480
add edi, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], str.unknown_FOURCC__0x_08lX__4.4s____n
mov dword [esp + 8], str.Open
mov dword [esp + 4], 0x10007018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 0x14
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__Ix__p_0x_04X_0x_08IX_0x_08IX__n
mov dword [esp + 8], str.MSRLE32_DriverProc
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x10003bb7
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffff0000
je case.0x10003c1d.1
test eax, eax
je case.0x10003c1d.1
test byte [0x10007018], 8
jne 0x10005679
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10005666
mov eax, dword [ebp - 0x1c]
call sym._CompressEnd
mov eax, dword [ebp - 0x1c]
mov esi, 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
jmp 0x10003c29
test edi, edi
je 0x10005602
mov edx, dword [edi + 4]
mov eax, edx
xor eax, 0x63646976
test eax, 0xdfdfdfdf
jne case.0x10003c4f.20480
mov eax, dword [edi + 8]
test byte [0x10007018], 8
jne 0x10004ce7
cmp eax, 0x454c524d
je 0x10003db7
jbe 0x10003c60
cmp eax, 0x656c726d
jne 0x10003c7d
mov dword [edi + 8], 0x454c524d
mov dword [esp + 4], 0x1c
mov dword [esp], 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
sub esp, 8
test eax, eax
je 0x10005a42
mov edx, dword [edi + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax], edx
xor edx, edx
mov dword [edi + 0x14], edx
mov esi, eax
jmp 0x10003c29
test ebx, ebx
je case.0x10003c4f.20480
mov dword [ebx], 0xf
xor esi, esi
jmp 0x10003c29
test byte [0x10007018], 8
jne 0x10004b20
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10005a25
test ebx, ebx
je 0x100049f0
test edi, edi
je 0x100049f0
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov edx, ebx
call sym._DecompressQuery
mov esi, eax
test eax, eax
jne 0x100049c0
cmp word [edi + 0xe], 8
ja 0x10004a50
movzx ecx, word [ebx + 0xe]
cmp cx, 8
ja case.0x10003c4f.20480
mov eax, dword [ebx + 0x20]
mov edx, 1
shl edx, cl
test eax, eax
mov dword [ebp - 0x1c], eax
cmove eax, edx
mov dword [edi + 0x20], eax
add edi, dword [edi]
add ebx, dword [ebx]
shl eax, 2
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call sym._memcpy
jmp 0x10003c29
mov esi, 0xffffffff
test byte [0x10007018], 1
je 0x10003c29
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._..._____SetPalette__p__p__p_:_stub__n
mov dword [esp + 8], str.MSRLE32_DriverProc
mov dword [esp + 4], 0x10007018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10003c29
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov edx, ebx
call sym._DecompressQuery
mov esi, eax
jmp 0x10003c29
test byte [0x10007018], 8
jne 0x10004a78
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100059b1
test ebx, ebx
je 0x10004ca0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, ebx
call sym._DecompressQuery
mov esi, eax
test eax, eax
jne 0x10004cd8
mov eax, dword [ebx]
movzx ecx, word [ebx + 0xe]
mov dword [ebp - 0x1c], eax
cmp cx, 8
ja 0x10003f6c
mov edx, dword [ebx + 0x20]
mov eax, 1
shl eax, cl
test edx, edx
mov dword [ebp - 0x20], edx
cmove edx, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edx*4]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x100055d2
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._memcpy
movzx eax, word [edi + 0xe]
imul ax, word [edi + 4]
mov dword [edi + 0x10], 0
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
imul eax, dword [edi + 8]
mov dword [edi + 0x14], eax
jmp 0x10003c29
mov eax, dword [ebp - 0x1c]
call sym._CompressEnd
mov esi, eax
jmp 0x10003c29
test byte [0x10007018], 8
jne 0x10004b60
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10005a69
test ebx, ebx
je 0x100049f0
cmp edi, 0x2f
jbe 0x100049f0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x100049f0
mov eax, dword [ebx + 8]
test eax, eax
je 0x100049f0
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x100049f0
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x100049f0
test byte [0x10007018], 8
jne 0x10004c20
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 4]
test esi, esi
jne 0x100049d0
call sym._CompressBegin
mov esi, eax
test eax, eax
jne 0x10003c29
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x1c]
mov eax, dword [eax + 8]
cmp eax, edx
jl 0x10004cc0
je 0x100055da
mov esi, dword [ebx]
and esi, 1
jne 0x100040c8
test byte [0x10007018], 4
jne 0x10005708
mov edi, dword [ebx + 0x28]
test edi, edi
je 0x1000576c
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x1000576c
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x1c]
mov edx, edi
call sym._CompressQuery
test eax, eax
jne 0x100049c0
test byte [0x10007018], 4
jne 0x10005780
mov edx, edi
mov edi, dword [ebp - 0x1c]
mov ecx, esi
mov eax, edi
call sym._computeInternalFrame
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x1c]
mov dword [edi + 8], eax
mov esi, dword [ebx]
and esi, 1
lea esi, [esi]
mov edi, 3
mov eax, dword [ebx + 4]
mov dword [ebp - 0x20], edi
mov dword [eax + 0x14], 0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
cmp word [eax + 0xe], 4
mov dword [esp + 8], esi
mov edi, dword [ebx + 8]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], edi
je 0x100048d8
call sym._MSRLE32_CompressRLE8
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1000417b
mov eax, dword [ebx + 4]
cmp edx, dword [eax + 0x14]
ja 0x1000417b
mov edx, dword [ebx + 0x18]
test byte [edx], 1
jne 0x1000415d
mov edi, dword [ebx + 8]
cmp word [eax + 0xe], 4
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov dword [esp], eax
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], edi
je 0x10004cb0
call sym._MSRLE32_CompressRLE8
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x100057c0
mov eax, dword [ebx + 4]
cmp edx, dword [eax + 0x14]
ja 0x100057c0
mov edx, dword [ebx + 0x24]
cmp edx, 0x3e7
jbe 0x1000417b
sub edx, 0x3e8
sub dword [ebp - 0x20], 1
mov dword [ebx + 0x24], edx
jne 0x100040d3
mov edi, dword [ebp - 0x1c]
cmp esi, 1
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x1c]
mov dword [edi + 8], eax
mov edx, dword [ebx + 0x18]
sbb eax, eax
and eax, 0xfffffff0
mov ecx, dword [edx]
add eax, 0x12
or eax, ecx
xor esi, esi
mov dword [edx], eax
jmp 0x10003c29
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov edx, ebx
call sym._CompressBegin
mov esi, eax
jmp 0x10003c29
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov edx, ebx
call sym._CompressQuery
mov esi, eax
jmp 0x10003c29
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100059ce
test byte [0x10007018], 8
jne 0x10004be0
mov eax, ebx
or eax, edi
je case.0x10003c4f.20480
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov edx, ebx
call sym._CompressQuery
test eax, eax
jne case.0x10003c4f.20480
test ebx, ebx
je 0x100056bf
mov eax, ebx
call sym._MSRLE32_GetMaxCompressedSize
mov esi, eax
jmp 0x10003c29
test byte [0x10007018], 8
jne 0x10004ab0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10005a08
test ebx, ebx
je 0x100049e8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, ebx
call sym._CompressQuery
mov esi, eax
test eax, eax
jne 0x100055f3
movzx edx, word [ebx + 0xe]
lea eax, [edx - 1]
cmp ax, 7
ja 0x10005903
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, 0x38454c52
je 0x100056cd
ja 0x10004a5a
cmp eax, 0x20454c52
je 0x10004a61
cmp eax, 0x34454c52
jne 0x10004a50
mov edx, 0x10
mov eax, dword [ebx + 0x20]
test eax, eax
cmove eax, edx
test edi, edi
je 0x100056d7
mov dword [edi], 0x28
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, 1
mov word [edi + 0xc], ax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x34454c52
je 0x100056f4
cmp word [ebx + 0xe], 5
sbb edx, edx
and dl, 0x10
add edx, 0x100
cmp word [ebx + 0xe], 5
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 8
cmp word [ebx + 0xe], 5
sbb eax, eax
not eax
add eax, 2
mov dword [edi + 0x10], eax
mov eax, edi
mov word [edi + 0xe], cx
mov dword [ebp - 0x1c], edx
call sym._MSRLE32_GetMaxCompressedSize
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x1000432d
movzx ecx, word [ebx + 0xe]
mov eax, 1
shl eax, cl
cmp eax, edx
mov dword [edi + 0x24], 0
cmovg eax, edx
add edi, 0x28
mov dword [edi - 8], eax
jmp 0x10003e95
test ebx, ebx
je 0x10005776
mov dword [ebx], 0x2134
xor esi, esi
jmp 0x10003c29
cmp ebx, 0xffffffff
je case.0x10003c4f.20480
mov eax, ebx
call sym._About.isra.0
mov esi, eax
jmp 0x10003c29
test byte [0x10007018], 1
jne 0x10004af0
cmp ebx, 0xffffffff
je 0x10005776
mov edx, dword [ebp - 0x1c]
test edx, edx
jne case.0x10003c4f.20480
mov dword [esp + 8], 0x4ab
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10005920
test ebx, ebx
je 0x100056a6
cmp edi, 0x237
jbe case.0x10003c4f.20480
mov eax, dword [ebp - 0x1c]
mov dword [ebx], 0x238
mov dword [ebx + 4], 0x63646976
mov esi, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [eax]
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0x104
mov dword [ebx + 8], eax
lea eax, [ebx + 0x18]
add ebx, 0x38
mov dword [ebx - 0x24], 0x104
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0x64
mov dword [esp], eax
call esi
mov eax, dword [section..bss]
sub esp, 0x10
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x65
mov dword [esp], eax
call esi
mov esi, 0x238
sub esp, 0x10
jmp 0x10003c29
test byte [0x10007018], 8
jne 0x10004ba0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10005a86
test ebx, ebx
je 0x100049f0
mov edx, dword [ebx + 4]
test edx, edx
je 0x100049f0
mov eax, dword [ebx + 8]
test eax, eax
je 0x100049f0
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x100049f0
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x100049f0
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x14]
test esi, esi
jne 0x100049a8
call sym._DecompressBegin
mov esi, eax
test eax, eax
jne 0x10003c29
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov eax, dword [edx + 4]
cmp dword [esi + 4], eax
jne 0x100059eb
mov ecx, dword [edx + 8]
cmp dword [esi + 8], ecx
jne 0x10005994
mov edi, dword [esi + 0x10]
test edi, edi
je 0x1000563d
imul ax, word [edx + 0xe]
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
imul eax, ecx
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 4]
cmp word [eax + 0xe], 4
mov eax, dword [ebx + 0x10]
je 0x10004d41
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10005a4c
mov ebx, dword [eax + 0x10]
test ebx, ebx
jne 0x10005a4c
test esi, esi
je 0x1000593d
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1000593d
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x20], 0
movzx edx, word [edi + 0xe]
mov eax, edx
imul ax, word [edi + 4]
add edx, 1
mov ebx, edx
sar ebx, 3
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
mov dword [ebp - 0x6c], eax
lea esi, [esi]
movzx ecx, byte [esi]
lea eax, [esi + 2]
movzx edi, byte [esi + 1]
mov dword [ebp - 0x38], eax
test cl, cl
jne 0x100046a0
mov eax, edi
cmp al, 1
je case.0x10003c4f.20480
cmp al, 2
je 0x10004860
test al, al
je 0x10004848
movzx ecx, al
mov eax, dword [ebp - 0x20]
cdq
idiv ebx
mov edx, dword [ebp - 0x58]
mov edx, dword [edx + 4]
add eax, ecx
cmp eax, edx
jg 0x10005870
mov eax, edi
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
and eax, 1
add edx, dword [ebp - 0x20]
mov byte [ebp - 0x68], al
lea eax, [edi - 1]
mov edi, ebx
movzx eax, al
mov dword [ebp - 0x70], eax
lea eax, [esi + eax + 3]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x1000461a
cmp edi, 2
je 0x10004748
lea ebx, [eax*4]
movzx eax, byte [esi + eax*4]
mov esi, dword [ebp - 0x24]
mov byte [edx], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + ebx + 1]
mov byte [edx + 1], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + ebx + 2]
mov byte [edx + 2], al
add edx, edi
cmp ecx, dword [ebp - 0x48]
je 0x100048a8
mov ebx, dword [ebp - 0x24]
add ecx, 1
movzx eax, byte [ecx - 1]
mov esi, dword [ebx + 0x18]
cmp edi, 1
jne 0x100045e0
movzx eax, byte [esi + eax]
mov byte [edx], al
jmp 0x1000460f
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov edx, ebx
call sym._DecompressBegin
mov esi, eax
jmp 0x10003c29
mov eax, dword [ebp - 0x1c]
call sym._DecompressEnd
mov esi, eax
jmp 0x10003c29
mov esi, 0xffffffff
test byte [0x10007018], 1
je 0x10003c29
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Unknown_message_uMsg0x_08X_lParam10x_08IX_lParam20x_08IX_n
mov dword [esp + 8], str.MSRLE32_DriverProc
mov dword [esp + 4], 0x10007018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10003c29
mov eax, dword [ebp - 0x20]
cdq
idiv ebx
movzx edx, cl
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
add edx, dword [ebp - 0x24]
mov esi, dword [eax + 4]
cmp edx, esi
jg 0x100049fa
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
lea eax, [ecx - 1]
mov byte [ebp - 0x48], al
mov eax, edi
movzx edi, al
cmp ebx, 1
je 0x100048e8
cmp ebx, 2
je 0x10004768
lea eax, [edi*4]
movzx edi, byte [edx + edi*4]
movzx esi, byte [edx + eax + 2]
movzx ecx, byte [edx + eax + 1]
movzx edx, byte [ebp - 0x48]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
mov byte [ebp - 0x68], dl
mov edx, esi
mov esi, ecx
mov byte [ebp - 0x24], dl
movzx edx, byte [ebp - 0x68]
lea esi, [esi]
mov ecx, edi
sub edx, 1
mov byte [eax], cl
mov ecx, esi
mov byte [eax + 1], cl
movzx ecx, byte [ebp - 0x24]
mov byte [eax + 2], cl
add eax, ebx
cmp dl, 0xff
jne 0x10004710
movzx edx, byte [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
imul edx, ebx
add eax, ebx
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x10004568
movzx ebx, byte [esi + eax*2]
mov byte [edx], bl
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebx + 0x18]
movzx eax, byte [esi + eax*2 + 1]
mov byte [edx + 1], al
jmp 0x1000460f
movzx eax, byte [edx + edi*2]
cmp byte [ebp - 0x48], 6
movzx esi, byte [edx + edi*2 + 1]
mov byte [ebp - 0x24], al
jbe 0x100056b0
mov edx, esi
movzx eax, dl
movzx edx, byte [ebp - 0x24]
shl eax, 8
mov dword [ebp - 0x68], edx
or eax, edx
mov edx, esi
movzx edi, dl
shl eax, 8
mov edx, ecx
or eax, edi
shr dl, 3
mov edi, dword [ebp - 0x28]
add edi, dword [ebp - 0x20]
shl eax, 8
sub edx, 1
or eax, dword [ebp - 0x68]
movd xmm0, eax
movzx edx, dl
lea eax, [edi + 0x10]
punpckldq xmm0, xmm0
shl edx, 4
punpcklqdq xmm0, xmm0
add edx, eax
jmp 0x100047d3
add eax, 0x10
movups xmmword [edi], xmm0
mov edi, eax
cmp edx, eax
jne 0x100047d0
mov edx, dword [ebp - 0x20]
mov eax, ecx
mov edi, ecx
and eax, 0xf8
and edi, 0xfffffff8
lea eax, [edx + eax*2]
mov edx, edi
mov dword [ebp - 0x68], eax
movzx eax, byte [ebp - 0x48]
sub eax, edx
cmp cl, dl
je 0x1000482c
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x68]
movzx eax, al
lea ecx, [edi + edx]
lea edx, [edi + edx + 2]
lea eax, [edx + eax*2]
movzx edx, byte [ebp - 0x24]
mov edi, eax
mov eax, esi
mov esi, edi
lea esi, [esi]
mov byte [ecx], dl
add ecx, 2
mov byte [ecx - 1], al
cmp esi, ecx
jne 0x10004820
mov edi, dword [ebp - 0x20]
movzx eax, byte [ebp - 0x48]
mov esi, dword [ebp - 0x38]
lea eax, [edi + eax*2 + 2]
mov dword [ebp - 0x20], eax
jmp 0x10004568
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0
add dword [ebp - 0x28], edi
jmp 0x10004568
movzx eax, byte [esi + 2]
mov edx, dword [ebp - 0x58]
add esi, 4
imul eax, ebx
add dword [ebp - 0x20], eax
movzx eax, byte [esi - 1]
imul eax, dword [ebp - 0x6c]
add dword [ebp - 0x28], eax
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
imul eax, ebx
cmp edi, eax
jl 0x10004568
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x20], 0
add ecx, edx
mov dword [ebp - 0x28], ecx
jmp 0x10004568
mov eax, dword [ebp - 0x20]
mov ebx, edi
mov esi, dword [ebp - 0x38]
add eax, edi
mov edi, dword [ebp - 0x70]
mov edx, edi
imul edx, ebx
add eax, edx
cmp byte [ebp - 0x68], 0
mov dword [ebp - 0x20], eax
lea eax, [esi + edi + 2]
lea esi, [esi + edi + 1]
cmovne esi, eax
jmp 0x10004568
call sym._MSRLE32_CompressRLE4
jmp 0x10004104
movzx eax, byte [edx + edi]
cmp byte [ebp - 0x48], 0xe
mov byte [ebp - 0x20], al
jbe 0x10005739
mov edx, ecx
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
movd xmm0, dword [ebp - 0x20]
shr dl, 4
punpcklbw xmm0, xmm0
sub edx, 1
add edi, eax
punpcklwd xmm0, xmm0
mov eax, dword [ebp - 0x24]
movzx esi, dl
lea edx, [edi + 0x10]
pshufd xmm0, xmm0, 0
shl esi, 4
add esi, edx
jmp 0x10004933
add edx, 0x10
movups xmmword [edi], xmm0
mov edi, edx
cmp edx, esi
jne 0x10004930
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x24], eax
and edx, 0xf0
and esi, 0xfffffff0
add edx, eax
movzx eax, byte [ebp - 0x48]
mov dword [ebp - 0x68], edx
mov edx, esi
sub eax, edx
mov edi, eax
cmp cl, dl
je 0x1000498c
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x68]
lea edx, [eax + esi + 1]
lea ecx, [eax + esi]
mov eax, edi
movzx edi, al
mov eax, dword [ebp - 0x24]
add edi, edx
movzx edx, byte [ebp - 0x20]
lea esi, [esi]
mov byte [ecx], dl
add ecx, 1
cmp ecx, edi
jne 0x10004980
mov dword [ebp - 0x24], eax
movzx edx, byte [ebp - 0x48]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x20], eax
jmp 0x10004568
mov eax, dword [ebp - 0x1c]
call sym._DecompressQuery
test eax, eax
je 0x100044b8
nop
lea esi, [esi]
mov esi, 0xfffffffe
jmp 0x10003c29
mov eax, dword [ebp - 0x1c]
call sym._CompressQuery
test eax, eax
je 0x1000403c
jmp 0x100049c0
test edi, edi
je case.0x10003c4f.20480
mov esi, 0xfffffffa
jmp 0x10003c29
mov ecx, dword [ebp - 0x24]
test byte [0x10007018], 4
je 0x10004a50
mov eax, edi
mov dword [esp + 0x20], esi
movzx edx, al
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
add edx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.aborted_coded:___d_d__d_d_____ld_n
mov dword [esp + 8], str.MSRLE32_DecompressRLE8
mov dword [esp + 4], 0x10007018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
nop
lea esi, [esi]
mov esi, 0xffffff9c
jmp 0x10003c29
cmp eax, 0x454c524d
jne 0x10004a50
cmp dx, 5
sbb edx, edx
and dl, 0x10
add edx, 0x100
jmp 0x10004295
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__p__p__n
mov dword [esp + 8], str.DecompressGetFormat
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003f19
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__p__p__n
mov dword [esp + 8], str.CompressGetFormat
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000422a
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.ICM_CONFIGURE___Id__n
mov dword [esp + 8], str.MSRLE32_DriverProc
mov dword [esp + 4], 0x10007018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x1000437d
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__p__p__n
mov dword [esp + 8], str.DecompressGetPalette
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003e34
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__p__lu__n
mov dword [esp + 8], str.Compress
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003fca
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__p__lu__n
mov dword [esp + 8], str.Decompress
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000445c
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__p__p__n
mov dword [esp + 8], str.CompressGetSize
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100041e9
mov edi, dword [ebx + 0x2c]
mov dword [esp + 0x3c], edi
mov edi, dword [ebx + 0x28]
mov dword [esp + 0x38], edi
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x34], edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x30], edi
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x2c], edi
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x28], edi
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], str.lpic0x_lX__p__p__p__p__p__p__ld__lu__lu__p__p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.Compress
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
jmp 0x1000401f
test edi, edi
jne 0x100049f0
xor esi, esi
jmp 0x10003cb7
call sym._MSRLE32_CompressRLE4
jmp 0x10004146
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call sym._computeInternalFrame
mov esi, dword [ebx]
and esi, 1
jmp 0x100040c8
test edi, edi
jne 0x100049c0
xor esi, esi
jmp 0x10003cb7
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
mov dword [esp + 0x28], ecx
lea ecx, [edi + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov eax, dword [edi]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__p___lu_0x_08lX__4.4s__0x_08lX__4.4s__0x_lX_0x_lX_...__n
mov dword [esp + 8], str.Open
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [edi + 8]
jmp 0x10003d98
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x10005977
mov edi, dword [eax + 0x10]
test edi, edi
jne 0x10005977
test ecx, ecx
je 0x1000595a
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x1000595a
mov ebx, dword [ebp - 0x74]
xor edi, edi
movzx edx, word [ebx + 0xe]
mov eax, edx
imul ax, word [ebx + 4]
add edx, 1
mov ebx, ecx
sar edx, 3
mov dword [ebp - 0x20], edx
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
mov dword [ebp - 0x78], eax
lea esi, [esi]
lea ecx, [ebx + 2]
movzx eax, byte [ebx]
mov dword [ebp - 0x28], ecx
movzx ecx, byte [ebx + 1]
mov byte [ebp - 0x58], cl
test al, al
jne 0x10004f10
cmp cl, 1
je case.0x10003c4f.20480
cmp cl, 2
je 0x100052f0
test cl, cl
je 0x100052e0
movzx ecx, byte [ebp - 0x58]
mov esi, dword [ebp - 0x74]
lea eax, [ecx + 1]
mov dword [ebp - 0x70], ecx
and eax, 2
mov dword [ebp - 0x7c], eax
mov eax, edi
cdq
idiv dword [ebp - 0x20]
add eax, ecx
cmp eax, dword [esi + 4]
jg 0x10004a50
movzx eax, byte [ebp - 0x58]
mov dword [ebp - 0x68], ebx
shr al, 1
movzx eax, al
mov dword [ebp - 0x6c], eax
xor eax, eax
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
jmp 0x10004eae
mov ebx, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 2
movzx eax, al
lea ebx, [ebx + edi + 1]
mov edx, ebx
je 0x10004ff8
lea ebx, [eax*4]
movzx eax, byte [ecx + eax*4]
mov ecx, dword [ebp - 0x48]
mov byte [ecx], al
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x38]
movzx eax, byte [eax + ebx + 1]
mov byte [edx], al
mov eax, dword [ecx + 0x18]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + ebx + 2]
mov byte [edx + edi + 2], al
add edi, dword [ebp - 0x20]
lea eax, [esi + esi]
cmp eax, dword [ebp - 0x70]
jge 0x10004ea2
mov ebx, dword [ebp - 0x68]
mov ecx, dword [ecx + 0x18]
movzx eax, byte [ebx + esi + 2]
and eax, 0xf
lea ebx, [eax*4]
movzx eax, byte [ecx + eax*4]
mov ecx, dword [ebp - 0x38]
mov byte [edx + edi], al
mov eax, dword [ecx + 0x18]
movzx eax, byte [eax + ebx + 1]
mov byte [edx + edi + 1], al
mov eax, dword [ecx + 0x18]
movzx eax, byte [eax + ebx + 2]
mov byte [edx + edi + 2], al
add edi, dword [ebp - 0x20]
add esi, 1
cmp esi, dword [ebp - 0x6c]
je 0x10005330
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
movzx ebx, byte [eax + esi + 2]
add edx, edi
mov dword [ebp - 0x48], edx
mov ecx, dword [ecx + 0x18]
mov eax, ebx
shr al, 4
cmp dword [ebp - 0x20], 1
jne 0x10004e18
movzx eax, al
lea edx, [edi + 1]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x48]
mov byte [ecx], al
lea eax, [esi + esi]
cmp dword [ebp - 0x70], eax
jle 0x10005058
mov eax, dword [ebp - 0x38]
and ebx, 0xf
add edi, 2
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + ebx]
mov ebx, dword [ebp - 0x24]
mov byte [ebx + edx], al
jmp 0x10004ea2
movzx esi, al
mov eax, edi
mov ecx, dword [ebp - 0x74]
cdq
idiv dword [ebp - 0x20]
add eax, esi
cmp eax, dword [ecx + 4]
jg 0x10004a50
movzx ecx, byte [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
mov ebx, ecx
and ecx, 0xf
mov eax, dword [eax + 0x18]
shr bl, 4
cmp dword [ebp - 0x20], 1
movzx ebx, bl
je 0x100053d0
cmp dword [ebp - 0x20], 2
movzx ecx, cl
je 0x10005060
lea edx, [ebx*4]
movzx ebx, byte [eax + ebx*4]
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x38], bl
movzx ebx, byte [eax + edx + 1]
mov byte [ebp - 0x48], bl
movzx ebx, byte [eax + edx + 2]
lea edx, [ecx*4]
mov byte [ebp - 0x58], bl
movzx ebx, byte [eax + ecx*4]
movzx ecx, byte [eax + edx + 2]
mov byte [ebp - 0x68], bl
movzx ebx, byte [eax + edx + 1]
xor edx, edx
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x6c], cl
add eax, edi
mov edi, dword [ebp - 0x20]
jmp 0x10004fbd
movzx ecx, byte [ebp - 0x38]
mov byte [eax], cl
movzx ecx, byte [ebp - 0x48]
mov byte [eax + 1], cl
movzx ecx, byte [ebp - 0x58]
mov byte [eax + 2], cl
add edx, 1
add eax, edi
cmp esi, edx
je 0x10004fd8
test dl, 1
je 0x10004fa0
movzx ecx, byte [ebp - 0x68]
mov byte [eax + 1], bl
mov byte [eax], cl
movzx ecx, byte [ebp - 0x6c]
mov byte [eax + 2], cl
jmp 0x10004fb4
mov ebx, dword [ebp - 0x20]
lea eax, [esi - 1]
mov edi, dword [ebp - 0x70]
imul eax, ebx
lea edx, [ebx + edi]
mov ebx, dword [ebp - 0x28]
lea edi, [eax + edx]
jmp 0x10004da0
movzx ecx, byte [ecx + eax*2]
mov ebx, dword [ebp - 0x48]
mov byte [ebx], cl
mov ebx, dword [ebp - 0x38]
lea ecx, [edi + 2]
mov ebx, dword [ebx + 0x18]
movzx eax, byte [ebx + eax*2 + 1]
mov byte [edx], al
lea eax, [esi + esi]
cmp dword [ebp - 0x70], eax
jle 0x100053c0
mov eax, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x38]
lea ecx, [edi + 3]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + esi + 2]
mov ebx, dword [ebx + 0x18]
and eax, 0xf
movzx ebx, byte [ebx + eax*2]
mov byte [edx + edi + 2], bl
mov ebx, dword [ebp - 0x38]
add edi, 4
mov ebx, dword [ebx + 0x18]
movzx eax, byte [ebx + eax*2 + 1]
mov byte [edx + ecx], al
jmp 0x10004ea2
mov edi, edx
jmp 0x10004ea2
movzx edx, byte [eax + ebx*2]
movzx ebx, byte [eax + ebx*2 + 1]
mov byte [ebp - 0x6c], bl
movzx ebx, byte [eax + ecx*2]
mov byte [ebp - 0x68], dl
mov byte [ebp - 0x70], bl
movzx ebx, byte [eax + ecx*2 + 1]
lea eax, [esi - 1]
mov dword [ebp - 0x7c], eax
cmp eax, 0xe
jbe 0x10005763
movd xmm0, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
mov ecx, esi
pxor xmm4, xmm4
punpcklbw xmm0, xmm0
shr ecx, 4
punpcklwd xmm0, xmm0
lea edx, [eax + edi]
shl ecx, 5
xor eax, eax
pshufd xmm5, xmm0, 0
movd xmm0, dword [ebp - 0x6c]
punpcklbw xmm0, xmm0
movups xmmword [ebp - 0x48], xmm5
punpcklwd xmm0, xmm0
pshufd xmm5, xmm0, 0
movd xmm0, dword [ebp - 0x70]
punpcklbw xmm0, xmm0
movups xmmword [ebp - 0x38], xmm5
movdqu xmm5, xmmword [0x10009840]
punpcklwd xmm0, xmm0
pshufd xmm6, xmm0, 0
movups xmmword [ebp - 0x58], xmm6
movd xmm6, ebx
punpcklbw xmm6, xmm6
punpcklwd xmm6, xmm6
pshufd xmm6, xmm6, 0
lea esi, [esi]
movdqu xmm1, xmmword [0x10009870]
movdqu xmm2, xmm5
movdqu xmm0, xmmword [0x10009860]
paddd xmm5, xmmword [0x10009850]
paddd xmm1, xmm2
pand xmm0, xmm2
pand xmm1, xmmword [0x10009860]
pcmpeqd xmm0, xmm4
pcmpeqd xmm1, xmm4
movdqu xmm3, xmm0
punpcklwd xmm0, xmm1
punpckhwd xmm3, xmm1
movdqu xmm1, xmm0
punpcklwd xmm0, xmm3
punpckhwd xmm1, xmm3
punpcklwd xmm0, xmm1
movdqu xmm1, xmmword [str._b_b_b_b_f_f_f_f]
pand xmm0, xmmword [0x10009800]
paddd xmm1, xmm2
paddd xmm2, xmmword [0x10009890]
pand xmm1, xmmword [0x10009860]
pand xmm2, xmmword [0x10009860]
pcmpeqd xmm1, xmm4
pcmpeqd xmm2, xmm4
movdqu xmm3, xmm1
punpcklwd xmm1, xmm2
punpckhwd xmm3, xmm2
movdqu xmm2, xmm1
punpcklwd xmm1, xmm3
punpckhwd xmm2, xmm3
movdqu xmm3, xmmword [edx + eax + 0x10]
punpcklwd xmm1, xmm2
movdqu xmm2, xmmword [edx + eax + 0x10]
pand xmm1, xmmword [0x10009800]
pand xmm2, xmmword [0x10009800]
psrlw xmm3, 8
packuswb xmm0, xmm1
movdqu xmm1, xmmword [edx + eax]
pand xmm1, xmmword [0x10009800]
movdqu xmm7, xmm0
packuswb xmm1, xmm2
movdqu xmm2, xmmword [ebp - 0x48]
pandn xmm7, xmm1
movdqu xmm1, xmmword [edx + eax]
pand xmm2, xmm0
psrlw xmm1, 8
por xmm2, xmm7
movdqu xmm7, xmm0
packuswb xmm1, xmm3
movdqu xmm3, xmmword [ebp - 0x38]
pandn xmm7, xmm1
pand xmm3, xmm0
movdqu xmm1, xmm7
movdqu xmm7, xmmword [0x10009800]
por xmm1, xmm3
movdqu xmm3, xmm2
punpcklbw xmm3, xmm1
punpckhbw xmm2, xmm1
movdqu xmm1, xmmword [0x10009800]
pand xmm7, xmm2
psrlw xmm2, 8
pand xmm1, xmm3
psrlw xmm3, 8
packuswb xmm1, xmm7
movdqu xmm7, xmm0
pandn xmm7, xmmword [ebp - 0x58]
pand xmm1, xmm0
packuswb xmm3, xmm2
por xmm1, xmm7
pand xmm3, xmm0
pandn xmm0, xmm6
por xmm0, xmm3
movdqu xmm2, xmm1
punpcklbw xmm2, xmm0
punpckhbw xmm1, xmm0
movups xmmword [edx + eax], xmm2
movups xmmword [edx + eax + 0x10], xmm1
add eax, 0x20
cmp ecx, eax
jne 0x10005100
mov eax, esi
and eax, 0xfffffff0
lea edx, [edi + eax*2]
cmp eax, esi
je 0x100052d0
add edx, dword [ebp - 0x24]
jmp 0x100052b7
movzx ecx, byte [ebp - 0x68]
mov byte [edx], cl
movzx ecx, byte [ebp - 0x6c]
mov byte [edx + 1], cl
add eax, 1
add edx, 2
cmp eax, esi
jge 0x100052d0
test al, 1
je 0x100052a0
movzx ecx, byte [ebp - 0x70]
mov byte [edx + 1], bl
mov byte [edx], cl
jmp 0x100052ad
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x28]
lea edi, [edi + eax*2 + 2]
jmp 0x10004da0
mov ebx, dword [ebp - 0x78]
xor edi, edi
add dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x28]
jmp 0x10004da0
movzx eax, byte [ebx + 2]
mov esi, dword [ebp - 0x20]
add ebx, 4
mov edx, dword [ebp - 0x74]
imul eax, esi
add edi, eax
movzx eax, byte [ebx - 1]
imul eax, dword [ebp - 0x78]
add dword [ebp - 0x24], eax
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x24]
imul eax, esi
cmp edi, eax
jl 0x10004da0
mov edx, dword [ebp - 0x78]
xor edi, edi
add ecx, edx
mov dword [ebp - 0x24], ecx
jmp 0x10004da0
mov ebx, dword [ebp - 0x68]
test byte [ebp - 0x58], 1
je 0x100053a7
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + esi]
mov esi, dword [ebp - 0x1c]
mov edx, dword [esi + 0x18]
mov esi, dword [ebp - 0x24]
shr al, 4
add esi, edi
cmp dword [ebp - 0x20], 1
je 0x100056e3
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 2
movzx eax, al
lea ecx, [ecx + edi + 1]
mov dword [ebp - 0x38], ecx
je 0x10005748
lea ecx, [eax*4]
movzx eax, byte [edx + eax*4]
mov edx, dword [ebp - 0x38]
mov byte [esi], al
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + ecx + 1]
mov byte [edx], al
mov eax, dword [esi + 0x18]
mov esi, dword [ebp - 0x24]
movzx eax, byte [eax + ecx + 2]
mov byte [esi + edi + 2], al
add edi, dword [ebp - 0x20]
lea eax, [ebx + 3]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
add ebx, dword [ebp - 0x6c]
cmp dword [ebp - 0x7c], 1
sbb ebx, 0xffffffff
jmp 0x10004da0
mov edi, ecx
jmp 0x10004ea2
movzx ebx, byte [eax + ebx]
movzx ecx, cl
mov byte [ebp - 0x6c], bl
movzx ebx, byte [eax + ecx]
lea eax, [esi - 1]
cmp eax, 0xe
jbe 0x100058a1
movd xmm0, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
mov ecx, esi
pxor xmm7, xmm7
punpcklbw xmm0, xmm0
and ecx, 0xf0
movdqu xmm6, xmmword [0x10009840]
punpcklwd xmm0, xmm0
lea edx, [eax + edi]
xor eax, eax
pshufd xmm5, xmm0, 0
movd xmm0, ebx
movups xmmword [ebp - 0x38], xmm6
punpcklbw xmm0, xmm0
movups xmmword [ebp - 0x68], xmm5
punpcklwd xmm0, xmm0
pshufd xmm5, xmm0, 0
movups xmmword [ebp - 0x58], xmm5
lea esi, [esi]
movdqu xmm4, xmmword [0x10009870]
movdqu xmm6, xmmword [ebp - 0x38]
movdqu xmm0, xmmword [0x10009860]
movdqu xmm2, xmmword [str._b_b_b_b_f_f_f_f]
movdqu xmm3, xmm6
paddd xmm6, xmmword [0x10009850]
paddd xmm4, xmm3
pand xmm0, xmm3
paddd xmm2, xmm3
pand xmm4, xmmword [0x10009860]
pcmpeqd xmm0, xmm7
pand xmm2, xmmword [0x10009860]
movups xmmword [ebp - 0x38], xmm6
paddd xmm3, xmmword [0x10009890]
pand xmm3, xmmword [0x10009860]
pcmpeqd xmm4, xmm7
pcmpeqd xmm2, xmm7
movdqu xmm1, xmm0
pcmpeqd xmm3, xmm7
pcmpeqd xmm1, xmm7
movdqu xmm5, xmm4
movups xmmword [ebp - 0x48], xmm4
pcmpeqd xmm5, xmm7
movdqu xmm6, xmm3
movdqu xmm4, xmm1
pcmpeqd xmm6, xmm7
punpcklwd xmm1, xmm5
punpckhwd xmm4, xmm5
movdqu xmm5, xmm1
punpcklwd xmm1, xmm4
punpckhwd xmm5, xmm4
movdqu xmm4, xmm2
pcmpeqd xmm4, xmm7
punpcklwd xmm1, xmm5
pand xmm1, xmmword [0x10009800]
movdqu xmm5, xmm4
punpcklwd xmm4, xmm6
punpckhwd xmm5, xmm6
movdqu xmm6, xmm4
punpckhwd xmm6, xmm5
punpcklwd xmm4, xmm5
punpcklwd xmm4, xmm6
movdqu xmm6, xmmword [ebp - 0x48]
pand xmm4, xmmword [0x10009800]
packuswb xmm1, xmm4
movdqu xmm4, xmm0
punpcklwd xmm0, xmm6
punpckhwd xmm4, xmm6
movdqu xmm5, xmm0
movdqu xmm6, xmmword [edx + eax]
punpckhwd xmm5, xmm4
punpcklwd xmm0, xmm4
movdqu xmm4, xmm2
punpcklwd xmm2, xmm3
punpckhwd xmm4, xmm3
punpcklwd xmm0, xmm5
pand xmm0, xmmword [0x10009800]
movdqu xmm3, xmm2
punpcklwd xmm2, xmm4
punpckhwd xmm3, xmm4
punpcklwd xmm2, xmm3
pand xmm2, xmmword [0x10009800]
packuswb xmm0, xmm2
movdqu xmm2, xmmword [ebp - 0x68]
pand xmm2, xmm0
pandn xmm0, xmm6
por xmm0, xmm2
movdqu xmm2, xmmword [ebp - 0x58]
pand xmm2, xmm1
pandn xmm1, xmm0
por xmm1, xmm2
movups xmmword [edx + eax], xmm1
add eax, 0x10
cmp ecx, eax
jne 0x10005438
mov eax, esi
and eax, 0xfffffff0
lea edx, [edi + eax]
cmp esi, eax
je 0x100055c8
sub edx, eax
movzx ecx, byte [ebp - 0x6c]
add edx, dword [ebp - 0x24]
jmp 0x100055ba
mov byte [edx + eax], cl
add eax, 1
cmp eax, esi
jge 0x100055c8
test al, 1
je 0x100055b0
mov byte [edx + eax], bl
jmp 0x100055b3
mov ebx, dword [ebp - 0x28]
add edi, esi
jmp 0x10004da0
mov esi, dword [ebp - 0x1c]
jmp 0x10003c29
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], edx
mov esi, dword [ebx]
and esi, 1
jmp 0x100040c8
test edi, edi
je 0x100049c0
xor esi, esi
jmp 0x10003cb7
mov esi, 0xffff0000
test byte [0x10007018], 8
je 0x10003c29
mov dword [esp + 0xc], str._NULL__n
mov dword [esp + 8], str.Open
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003c29
mov eax, dword [esi + 0x14]
xor esi, esi
mov dword [edx + 0x14], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 8]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._memcpy
jmp 0x10003c29
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x10003d4a
jmp 0x10003d52
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.Close
mov dword [esp + 4], 0x10007018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003d3c
mov esi, 0x238
jmp 0x10003c29
mov edi, dword [ebp - 0x20]
movzx eax, byte [ebp - 0x48]
mov dword [ebp - 0x68], edi
jmp 0x100047fd
mov eax, edi
call sym._MSRLE32_GetMaxCompressedSize
mov esi, eax
jmp 0x10003c29
mov edx, 0x100
jmp 0x10004295
lea esi, [eax*4 + 0x28]
jmp 0x10003c29
movzx eax, al
add edi, 1
movzx eax, byte [edx + eax]
mov byte [esi], al
jmp 0x100053a1
mov edx, 0x10
mov ecx, 4
mov eax, 2
jmp 0x100042f8
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.:_prev_ld_cur_ld_gone_back_____untested_n
mov dword [esp + 8], str.Compress
mov dword [esp + 4], 0x10007018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10004067
mov eax, dword [ebp - 0x24]
movzx edi, byte [ebp - 0x48]
mov dword [ebp - 0x68], eax
jmp 0x1000495f
movzx edx, byte [edx + eax*2]
add edi, 2
mov byte [esi], dl
mov esi, dword [ebp - 0x1c]
mov edx, dword [esi + 0x18]
movzx eax, byte [edx + eax*2 + 1]
mov byte [ecx], al
jmp 0x100053a1
mov edx, edi
xor eax, eax
jmp 0x10005291
mov esi, 3
jmp 0x10003c29
mov esi, 0xffffffff
jmp 0x10003c29
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], str.:_prev_ld_cur_ld_compute_swapped____untested_n
mov dword [esp + 8], str.Compress
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10007018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x28]
jmp 0x1000409f
test byte [0x10007018], 4
jne 0x100058da
mov edi, dword [ebx + 0x14]
mov esi, dword [edi]
mov eax, esi
mov ecx, esi
movzx eax, al
cmp cl, 0x40
jbe 0x100058c4
sub eax, 0x37
shl eax, 4
mov edx, esi
shr dx, 8
lea ecx, [edx - 0x37]
cmp dx, 0x41
mov word [ebp - 0x20], cx
lea ecx, [edx - 0x30]
cmovae cx, word [ebp - 0x20]
add ecx, eax
movzx eax, cx
and ecx, 0xf
cmp cx, 9
jbe 0x100058aa
lea ecx, [edx - 0x30]
cmp dx, 0x40
jbe 0x1000581f
lea ecx, [edx - 0x37]
and ecx, 0xf
lea edx, [ecx + 0x37]
shl edx, 8
mov ecx, eax
shr al, 4
sar ecx, 4
and ecx, 0xf
cmp ecx, 9
jle 0x100058cf
add eax, 0x37
movzx eax, al
or eax, edx
cwde
or eax, 0x62640000
mov dword [edi], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x1c]
mov dword [edi + 8], eax
mov edx, dword [ebx + 0x18]
mov eax, 0x12
mov ecx, dword [edx]
jmp 0x100041a0
test byte [0x10007018], 4
je 0x10004a50
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp - 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.aborted_absolute:___d_d__d_d_____ld_n
jmp 0x10004a2c
mov edx, edi
xor eax, eax
jmp 0x100055a4
lea ecx, [edx - 0x30]
cmp dx, 0x40
jbe 0x100058b6
lea ecx, [edx - 0x37]
and ecx, 0xf
lea edx, [ecx + 0x30]
shl edx, 8
jmp 0x10005828
sub eax, 0x30
shl eax, 4
jmp 0x100057e8
add eax, 0x30
movzx eax, al
jmp 0x10005842
mov dword [esp + 0xc], str.switched_to_keyframe__was_small_enough__n
mov dword [esp + 8], str.Compress
mov dword [esp + 4], 0x10007018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x100057cd
mov dword [esp + 8], 0x4d6
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.0___lpbiIn__biBitCount__lpbiIn__biBitCount___8
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x493
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x3f0
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.lpIn___NULL__lpOut___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x34f
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.lpIn___NULL__lpOut___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x34e
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.lpbi___NULL__lpbi__biCompression__BI_RGB
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x6cc
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pic__lpbiInput__biHeight__pic__lpbiOutput__biHeight
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x61d
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x50f
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x6cb
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pic__lpbiInput__biWidth__pic__lpbiOutput__biWidth
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x4c9
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x6f6
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov edx, 0xfffffffd
jmp 0x10003e08
mov dword [esp + 8], 0x3ef
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.lpbi___NULL__lpbi__biCompression__BI_RGB
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x592
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x6ba
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]
lea edi, [edi]