Function at 0x10003800
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
add esp, 0xffffff80
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 0x18]
test byte [0x1000702c], 8
jne 0x100038c0
cmp edx, 0x402a
ja 0x10003850
cmp edx, 0x4003
jbe 0x10003870
lea eax, [edx - 0x4004]
cmp eax, 0x26
ja case.0x10003885.0
jmp dword [eax*4 + 0x100095a4]
lea eax, [edx - 0x5000]
cmp eax, 0x1e
ja case.0x1000385f.20483
jmp dword [eax*4 + 0x10009640]
lea eax, [edx - 1]
cmp eax, 9
ja case.0x10003885.0
cmp edx, 0xa
ja case.0x10003885.0
jmp dword [edx*4 + 0x100096bc]
mov esi, 1
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
test edi, edi
je 0x100045b0
lea esi, [esi]
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], esi
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], 0x1000702c
mov dword [esp], 3
mov dword [ebp - 0x14], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x14]
jmp 0x10003828
mov esi, 0xffffffff
test byte [0x1000702c], 1
je 0x10003895
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], 0x1000702c
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10003895
cmp edx, 0x3fff
ja case.0x1000385f.20483
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], edx
mov dword [ebp + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp dword [sym.imp.winmm.dll_DefDriverProc]
mov eax, dword [ebp - 0x10]
cmp eax, 0xffff0000
je case.0x10003885.1
test eax, eax
je case.0x10003885.1
test byte [0x1000702c], 8
jne 0x10004eaa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10004e82
mov eax, dword [ebp - 0x10]
call sym._CompressEnd
mov eax, dword [ebp - 0x10]
mov esi, 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
jmp 0x10003895
test edi, edi
je 0x10004e1e
mov eax, dword [edi + 4]
mov edx, eax
xor edx, 0x63646976
and edx, 0xdfdfdfdf
jne case.0x1000385f.20480
test byte [0x1000702c], 8
jne 0x100048ef
mov eax, dword [edi + 8]
cmp eax, 0x454c524d
je 0x10003a26
jbe 0x100044e0
cmp eax, 0x656c726d
jne 0x100044fd
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 0x100051e8
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 0x10003895
test ebx, ebx
je 0x10004f6a
mov dword [ebx], 0x2134
xor esi, esi
jmp 0x10003895
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1000520f
test ebx, ebx
je 0x10004ed7
cmp edi, 0x237
jbe case.0x1000385f.20480
mov eax, dword [ebp - 0x10]
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 [0x10007018]
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0x64
mov dword [esp], eax
call esi
mov eax, dword [0x10007018]
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 0x10003895
cmp ebx, 0xffffffff
je case.0x1000385f.20480
mov eax, ebx
call sym._About.constprop.0
mov esi, eax
jmp 0x10003895
test byte [0x1000702c], 1
jne 0x10004760
cmp ebx, 0xffffffff
je 0x10004f6a
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jne case.0x1000385f.20480
mov dword [esp + 8], 0x4ab
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
nop
mov esi, 0xffffffff
test byte [0x1000702c], 1
je 0x10003895
mov eax, dword [ebp - 0x10]
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], 0x1000702c
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10003895
test ebx, ebx
je case.0x1000385f.20480
mov dword [ebx], 0xf
xor esi, esi
jmp 0x10003895
test byte [0x1000702c], 8
jne 0x10004720
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x10005266
test ebx, ebx
je 0x100045d8
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, ebx
call sym._CompressQuery
mov esi, eax
test eax, eax
jne 0x100038a1
movzx edx, word [ebx + 0xe]
lea eax, [edx - 1]
cmp ax, 7
ja 0x1000513a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, 0x38454c52
je 0x10004eef
ja 0x10004642
cmp eax, 0x20454c52
je 0x10004649
cmp eax, 0x34454c52
jne 0x10004638
mov edx, 0x10
mov eax, dword [ebx + 0x20]
test eax, eax
cmove eax, edx
test edi, edi
je 0x10004ef9
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 - 0x10]
cmp dword [eax], 0x34454c52
je 0x10004e95
cmp word [ebx + 0xe], 4
jbe 0x10004e95
mov eax, 8
mov dword [edi + 0x10], 1
mov word [edi + 0xe], ax
mov eax, edi
call sym._MSRLE32_GetMaxCompressedSize
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 edx, dword [ebx + 0x20]
test edx, edx
jne 0x10003cff
movzx ecx, word [ebx + 0xe]
mov eax, 1
shl eax, cl
mov edx, eax
movzx ecx, word [edi + 0xe]
mov eax, 1
mov dword [edi + 0x24], 0
shl eax, cl
cmp eax, edx
cmovg eax, edx
add edi, 0x28
mov dword [edi - 8], eax
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 0x10003895
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ebx
call sym._CompressQuery
mov esi, eax
jmp 0x10003895
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100050e3
test byte [0x1000702c], 8
jne 0x100047d0
mov eax, ebx
or eax, edi
je case.0x1000385f.20480
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ebx
call sym._CompressQuery
test eax, eax
jne case.0x1000385f.20480
test ebx, ebx
je 0x10004ee1
mov eax, ebx
call sym._MSRLE32_GetMaxCompressedSize
mov esi, eax
jmp 0x10003895
test byte [0x1000702c], 8
jne 0x10004660
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100051cb
test ebx, ebx
je 0x10004890
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, ebx
call sym._DecompressQuery
mov esi, eax
test eax, eax
jne 0x100048e0
mov eax, dword [ebx]
movzx ecx, word [ebx + 0xe]
mov dword [ebp - 0x10], eax
cmp cx, 8
ja 0x10003e08
mov edx, dword [ebx + 0x20]
mov eax, 1
shl eax, cl
test edx, edx
mov dword [ebp - 0x14], edx
cmove edx, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + edx*4]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x10004dfd
mov eax, dword [ebp - 0x10]
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 0x10003895
test byte [0x1000702c], 8
jne 0x100046a0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10005157
test ebx, ebx
je 0x100045e0
cmp edi, 0x2f
jbe 0x100045e0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x100045e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x100045e0
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x100045e0
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x100045e0
test byte [0x1000702c], 8
jne 0x10004810
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
test esi, esi
jne 0x100045c0
call sym._CompressBegin
mov esi, eax
test eax, eax
jne 0x10003895
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x1c]
mov eax, dword [eax + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jge 0x100048c8
cmp edx, eax
je 0x10004e05
mov esi, dword [ebx]
and esi, 1
jne 0x10003f60
test byte [0x1000702c], 4
jne 0x10004f14
mov edi, dword [ebx + 0x28]
test edi, edi
je 0x10004f60
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x10004f60
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x10]
mov edx, edi
call sym._CompressQuery
test eax, eax
jne 0x100045b0
test byte [0x1000702c], 4
jne 0x10004f74
mov edx, edi
mov edi, dword [ebp - 0x10]
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 - 0x14], 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 - 0x10]
mov dword [esp + 4], edi
je 0x10004540
call sym._MSRLE32_CompressRLE8.isra.0
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x10004012
mov eax, dword [ebx + 4]
cmp edx, dword [eax + 0x14]
ja 0x10004012
mov edx, dword [ebx + 0x18]
test byte [edx], 1
jne 0x10003ff5
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 - 0x10]
mov dword [esp + 4], edi
je 0x100048a0
call sym._MSRLE32_CompressRLE8.isra.0
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x10004fe8
mov eax, dword [ebx + 4]
cmp edx, dword [eax + 0x14]
ja 0x10004fe8
mov edx, dword [ebx + 0x24]
cmp edx, 0x3e7
jbe 0x10004012
sub edx, 0x3e8
dec dword [ebp - 0x14]
mov dword [ebx + 0x24], edx
jne 0x10003f6b
mov edi, dword [ebp - 0x10]
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 0x10003895
mov eax, dword [ebp - 0x10]
call sym._DecompressEnd
mov esi, eax
jmp 0x10003895
test byte [0x1000702c], 8
jne 0x100046e0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10005249
test ebx, ebx
je 0x100045e0
mov edx, dword [ebx + 4]
test edx, edx
je 0x100045e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x100045e0
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x100045e0
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x100045e0
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x14]
test esi, esi
jne 0x10004598
call sym._DecompressBegin
mov esi, eax
test eax, eax
jne 0x10003895
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov eax, dword [edx + 4]
cmp dword [esi + 4], eax
jne 0x100051ae
mov ecx, dword [edx + 8]
cmp dword [esi + 8], ecx
jne 0x10005174
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10004e59
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 0x10004949
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1000511d
mov esi, dword [eax + 0x10]
test esi, esi
jne 0x1000511d
test ecx, ecx
je 0x10005191
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10005191
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
movzx edx, word [edi + 0xe]
mov eax, edx
imul ax, word [edi + 4]
inc edx
mov edi, ecx
mov ebx, edx
sar ebx, 3
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
mov dword [ebp - 0x30], eax
lea esi, cs:[esi]
nop
movzx esi, byte [edi]
lea eax, [edi + 2]
movzx ecx, byte [edi + 1]
mov dword [ebp - 0x1c], eax
mov eax, esi
test al, al
jne 0x10004328
cmp cl, 1
je case.0x1000385f.20480
cmp cl, 2
je 0x10004468
test cl, cl
je 0x10004450
mov eax, dword [ebp - 0x18]
movzx esi, cl
mov dword [ebp - 0x2c], esi
cdq
idiv ebx
add eax, esi
mov esi, dword [ebp - 0x28]
mov edx, dword [esi + 4]
cmp eax, edx
jg 0x10004fb4
mov eax, ecx
dec ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
and eax, 1
add edx, dword [ebp - 0x18]
mov byte [ebp - 0x34], al
movzx eax, cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
lea eax, [edi + eax + 3]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
jmp 0x10004231
cmp dword [ebp - 0x14], 2
je 0x100043d8
lea ebx, [eax*4]
movzx eax, byte [esi + eax*4]
mov byte [edx], al
mov eax, dword [edi + 0x18]
movzx eax, byte [eax + ebx + 1]
mov byte [edx + 1], al
mov eax, dword [edi + 0x18]
movzx eax, byte [eax + ebx + 2]
mov byte [edx + 2], al
add edx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x24]
je 0x100044b0
inc ecx
cmp dword [ebp - 0x14], 1
mov esi, dword [edi + 0x18]
movzx eax, byte [ecx - 1]
jne 0x100041f8
movzx eax, byte [esi + eax]
mov byte [edx], al
jmp 0x10004225
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ebx
call sym._DecompressBegin
mov esi, eax
jmp 0x10003895
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ebx
call sym._DecompressQuery
mov esi, eax
jmp 0x10003895
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ebx
call sym._CompressBegin
mov esi, eax
jmp 0x10003895
mov eax, dword [ebp - 0x10]
call sym._CompressEnd
mov esi, eax
jmp 0x10003895
test byte [0x1000702c], 8
jne 0x10004790
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x100051f2
test ebx, ebx
je 0x100045e0
test edi, edi
je 0x100045e0
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ebx
call sym._DecompressQuery
mov esi, eax
test eax, eax
jne 0x100045b0
cmp word [edi + 0xe], 8
ja 0x10004638
movzx ecx, word [ebx + 0xe]
cmp cx, 8
ja case.0x1000385f.20480
mov eax, dword [ebx + 0x20]
mov edx, 1
shl edx, cl
test eax, eax
mov dword [ebp - 0x10], eax
cmove eax, edx
mov dword [edi + 0x20], eax
add edi, dword [edi]
jmp 0x10003d1c
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
cdq
idiv ebx
mov edx, esi
movzx edx, dl
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x14]
add edi, edx
cmp edi, eax
jg 0x100045ea
mov eax, dword [ebp - 0x10]
lea edx, [esi - 1]
mov byte [ebp - 0x24], dl
mov eax, dword [eax + 0x18]
cmp ebx, 1
je 0x10004550
movzx edx, cl
cmp ebx, 2
je 0x100043f0
lea ecx, [edx*4]
movzx edi, byte [eax + edx*4]
movzx edx, byte [ebp - 0x24]
movzx esi, byte [eax + ecx + 2]
movzx ecx, byte [eax + ecx + 1]
mov byte [ebp - 0x2c], dl
mov eax, dword [ebp - 0x20]
mov edx, esi
add eax, dword [ebp - 0x18]
mov esi, ecx
mov byte [ebp - 0x14], dl
movzx edx, byte [ebp - 0x2c]
lea esi, [esi]
mov ecx, edi
dec edx
mov byte [eax], cl
mov ecx, esi
mov byte [eax + 1], cl
movzx ecx, byte [ebp - 0x14]
mov byte [eax + 2], cl
add eax, ebx
cmp dl, 0xff
jne 0x100043a0
movzx esi, byte [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
imul esi, ebx
add eax, ebx
add eax, esi
mov dword [ebp - 0x18], eax
jmp 0x10004180
movzx ebx, byte [esi + eax*2]
mov byte [edx], bl
mov esi, dword [edi + 0x18]
movzx eax, byte [esi + eax*2 + 1]
mov byte [edx + 1], al
jmp 0x10004225
movzx esi, byte [eax + edx*2]
movzx edi, byte [eax + edx*2 + 1]
movzx ecx, byte [ebp - 0x24]
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x18]
lea eax, [edx + 2]
mov dword [ebp - 0x24], ecx
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x14], ecx
mov ecx, esi
mov esi, ebx
mov ebx, ecx
jmp 0x10004423
add eax, 2
mov ecx, edi
mov byte [edx], bl
mov byte [edx + 1], cl
mov edx, eax
cmp dword [ebp - 0x14], eax
jne 0x10004420
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov ebx, esi
lea eax, [eax + edi*2 + 2]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x10004180
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
add dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x1c]
jmp 0x10004180
movzx eax, byte [edi + 2]
mov edx, dword [ebp - 0x28]
add edi, 4
imul eax, ebx
add dword [ebp - 0x18], eax
movzx eax, byte [edi - 1]
imul eax, dword [ebp - 0x30]
add dword [ebp - 0x20], eax
mov eax, dword [edx + 4]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
imul eax, ebx
cmp esi, eax
jl 0x10004180
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
add ecx, edx
mov dword [ebp - 0x20], ecx
jmp 0x10004180
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edx, edi
imul edx, ebx
add eax, ebx
add eax, edx
mov dword [ebp - 0x18], eax
lea eax, [esi + edi + 2]
mov edi, dword [ebp - 0x2c]
add edi, esi
cmp byte [ebp - 0x34], 0
cmovne edi, eax
jmp 0x10004180
lea edx, [eax - 0x34454c52]
and edx, 0xfbffffff
je 0x10003a26
cmp eax, 0x20454c52
je 0x10003a26
test byte [0x1000702c], 4
je case.0x1000385f.20480
add edi, 8
mov dword [esp + 0x10], eax
xor esi, esi
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], 0x1000702c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x100038b2
call sym._MSRLE32_CompressRLE4.isra.0
jmp 0x10003f9c
movzx eax, byte [eax + ecx]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
add esi, dword [ebp - 0x14]
imul eax, eax, 0x1010101
cmp edi, 4
jae 0x100048b0
test edi, edi
je 0x1000457b
and edi, 2
mov byte [esi], al
jne 0x100050ad
movzx esi, byte [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
lea eax, [eax + esi + 1]
mov dword [ebp - 0x18], eax
jmp 0x10004180
mov eax, dword [ebp - 0x10]
call sym._DecompressQuery
test eax, eax
je 0x100040c9
lea esi, cs:[esi]
mov esi, 0xfffffffe
jmp 0x10003895
mov eax, dword [ebp - 0x10]
call sym._CompressQuery
test eax, eax
je 0x10003ecf
jmp 0x100045b0
test edi, edi
je case.0x1000385f.20480
mov esi, 0xfffffffa
jmp 0x10003895
test byte [0x1000702c], 4
je 0x10004638
movzx edx, cl
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x1c], edx
add edx, dword [ebp - 0x14]
mov dword [esp + 0x18], ebx
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], 0x1000702c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
lea esi, [esi]
mov esi, 0xffffff9c
jmp 0x10003895
cmp eax, 0x454c524d
jne 0x10004638
cmp dx, 5
sbb edx, edx
and dl, 0x10
add edx, 0x100
jmp 0x10003c80
mov eax, dword [ebp - 0x10]
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], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003db5
mov eax, dword [ebp - 0x10]
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], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003e5d
mov eax, dword [ebp - 0x10]
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], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000406d
mov eax, dword [ebp - 0x10]
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], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003c15
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], 0x1000702c
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10003b6d
mov eax, dword [ebp - 0x10]
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], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100042bd
mov eax, dword [ebp - 0x10]
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], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003d70
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], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
jmp 0x10003eb2
test edi, edi
jne 0x100045e0
xor esi, esi
jmp 0x100038b2
call sym._MSRLE32_CompressRLE4.isra.0
jmp 0x10003fde
mov ecx, dword [ebp - 0x2c]
mov edi, esi
mov dword [esi + ecx - 4], eax
dec ecx
shr ecx, 2
rep stosd dword es:[edi], eax
jmp 0x1000457b
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x10]
call sym._computeInternalFrame
mov esi, dword [ebx]
and esi, 1
jmp 0x10003f60
test edi, edi
jne 0x100045b0
xor esi, esi
jmp 0x100038b2
mov edx, dword [edi + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x28], edx
lea edx, [edi + 8]
mov dword [esp + 0x24], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
lea edx, [edi + 4]
mov dword [esp + 0x1c], 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], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003a04
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x10005100
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x10005100
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1000522c
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x1000522c
mov edi, dword [ebp - 0x3c]
movzx edx, word [edi + 0xe]
mov eax, edx
imul ax, word [edi + 4]
inc edx
xor edi, edi
sar edx, 3
mov dword [ebp - 0x14], edx
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
mov dword [ebp - 0x40], eax
lea esi, cs:[esi]
nop
mov ebx, dword [ebp - 0x24]
movzx eax, byte [ebx]
lea esi, [ebx + 2]
movzx ecx, byte [ebx + 1]
mov dword [ebp - 0x28], esi
test al, al
jne 0x10004b20
cmp cl, 1
je case.0x1000385f.20480
cmp cl, 2
je 0x10004ce0
test cl, cl
je 0x10004cd0
movzx esi, cl
lea eax, [esi + 1]
mov dword [ebp - 0x38], esi
and eax, 2
mov dword [ebp - 0x48], eax
mov eax, edi
cdq
idiv dword [ebp - 0x14]
add eax, esi
mov esi, dword [ebp - 0x3c]
cmp eax, dword [esi + 4]
jg 0x10004638
mov eax, dword [ebp - 0x28]
mov ebx, 1
mov esi, dword [ebp - 0x10]
mov byte [ebp - 0x49], cl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], eax
mov eax, ecx
shr al, 1
movzx eax, al
mov dword [ebp - 0x44], eax
lea eax, [eax + eax + 1]
mov dword [ebp - 0x34], eax
jmp 0x10004ac8
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], 2
movzx eax, al
lea ecx, [ecx + edi + 1]
mov dword [ebp - 0x30], ecx
je 0x10004c08
lea edx, [eax*4]
movzx eax, byte [ebx + eax*4]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov byte [ebx], al
mov eax, dword [esi + 0x18]
mov ebx, dword [ebp - 0x30]
movzx eax, byte [eax + edx + 1]
mov byte [ebx], al
mov eax, dword [esi + 0x18]
mov ebx, dword [ebp - 0x38]
movzx eax, byte [eax + edx + 2]
mov byte [ecx + edi + 2], al
add edi, dword [ebp - 0x14]
cmp dword [ebp - 0x18], ebx
jg 0x10004ab3
mov eax, dword [ebp - 0x20]
mov ebx, dword [esi + 0x18]
movzx eax, byte [eax]
and eax, 0xf
lea edx, [eax*4]
movzx eax, byte [ebx + eax*4]
mov byte [ecx + edi], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + edx + 1]
mov byte [ecx + edi + 1], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + edx + 2]
mov byte [ecx + edi + 2], al
add edi, dword [ebp - 0x14]
add dword [ebp - 0x18], 2
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x20]
cmp eax, ebx
je 0x10004d28
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [esi + 0x18]
movzx edx, byte [eax]
add ecx, edi
mov dword [ebp - 0x2c], ecx
mov eax, edx
shr al, 4
cmp dword [ebp - 0x14], 1
jne 0x10004a30
movzx eax, al
lea ecx, [edi + 1]
movzx eax, byte [ebx + eax]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
mov ebx, dword [ebp - 0x38]
cmp dword [ebp - 0x18], ebx
jg 0x10004c60
mov eax, dword [esi + 0x18]
and edx, 0xf
mov ebx, dword [ebp - 0x1c]
add edi, 2
movzx eax, byte [eax + edx]
mov byte [ebx + ecx], al
jmp 0x10004ab3
movzx esi, al
mov eax, edi
cdq
idiv dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
add eax, esi
cmp eax, dword [edx + 4]
jg 0x10004638
mov ebx, ecx
mov eax, dword [ebp - 0x10]
and ecx, 0xf
shr bl, 4
cmp dword [ebp - 0x14], 1
mov eax, dword [eax + 0x18]
movzx ebx, bl
je 0x10004dc0
cmp dword [ebp - 0x14], 2
movzx ecx, cl
je 0x10004c70
lea edx, [ebx*4]
movzx ebx, byte [eax + ebx*4]
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x18], bl
movzx ebx, byte [eax + edx + 1]
mov byte [ebp - 0x20], bl
movzx ebx, byte [eax + edx + 2]
lea edx, [ecx*4]
mov byte [ebp - 0x24], bl
movzx ebx, byte [eax + ecx*4]
movzx ecx, byte [eax + edx + 2]
mov byte [ebp - 0x2c], bl
movzx ebx, byte [eax + edx + 1]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x30], cl
add eax, edi
mov edi, dword [ebp - 0x14]
jmp 0x10004bcb
movzx ecx, byte [ebp - 0x18]
mov byte [eax], cl
movzx ecx, byte [ebp - 0x20]
mov byte [eax + 1], cl
movzx ecx, byte [ebp - 0x24]
mov byte [eax + 2], cl
inc edx
add eax, edi
cmp esi, edx
je 0x10004be8
test dl, 1
je 0x10004bb0
movzx ecx, byte [ebp - 0x2c]
mov byte [eax + 1], bl
mov byte [eax], cl
movzx ecx, byte [ebp - 0x30]
mov byte [eax + 2], cl
jmp 0x10004bc4
mov ebx, dword [ebp - 0x14]
lea eax, [esi - 1]
mov edi, dword [ebp - 0x34]
imul eax, ebx
lea edx, [ebx + edi]
lea edi, [eax + edx]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
jmp 0x100049b0
movzx ebx, byte [ebx + eax*2]
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], bl
mov edx, dword [esi + 0x18]
lea ebx, [edi + 2]
mov ecx, dword [ebp - 0x30]
movzx eax, byte [edx + eax*2 + 1]
mov byte [ecx], al
mov ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x18], ecx
jg 0x10004db8
mov eax, dword [ebp - 0x20]
mov edx, dword [esi + 0x18]
lea ebx, [edi + 3]
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [eax]
and eax, 0xf
movzx edx, byte [edx + eax*2]
mov byte [ecx + edi + 2], dl
mov edx, dword [esi + 0x18]
add edi, 4
movzx eax, byte [edx + eax*2 + 1]
mov byte [ecx + ebx], al
jmp 0x10004ab3
mov edi, ecx
jmp 0x10004ab3
movzx edx, byte [eax + ebx*2]
movzx ebx, byte [eax + ebx*2 + 1]
mov byte [ebp - 0x18], dl
movzx edx, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
mov byte [ebp - 0x24], dl
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edi]
xor eax, eax
jmp 0x10004ca9
movzx edx, byte [ebp - 0x18]
mov byte [ecx + 1], bl
mov byte [ecx], dl
inc eax
add ecx, 2
cmp esi, eax
je 0x10004cc0
test al, 1
je 0x10004c98
movzx edx, byte [ebp - 0x24]
mov byte [ecx], dl
movzx edx, byte [ebp - 0x20]
mov byte [ecx + 1], dl
jmp 0x10004ca1
mov eax, dword [ebp - 0x28]
lea edi, [edi + esi*2]
mov dword [ebp - 0x24], eax
jmp 0x100049b0
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x24], esi
add dword [ebp - 0x1c], edi
xor edi, edi
jmp 0x100049b0
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
movzx eax, byte [esi + 2]
add esi, 4
imul eax, ebx
add edi, eax
movzx eax, byte [esi - 1]
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], esi
add dword [ebp - 0x1c], eax
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
imul eax, ebx
cmp edi, eax
jl 0x100049b0
mov edx, dword [ebp - 0x40]
xor edi, edi
add ecx, edx
mov dword [ebp - 0x1c], ecx
jmp 0x100049b0
movzx ecx, byte [ebp - 0x49]
and ecx, 1
je 0x10004d9d
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + esi]
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x18]
mov esi, dword [ebp - 0x1c]
shr al, 4
cmp dword [ebp - 0x14], 1
lea ebx, [esi + edi]
je 0x10004f05
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], 2
movzx eax, al
lea esi, [esi + edi + 1]
je 0x10004f45
lea edx, [eax*4]
movzx eax, byte [ecx + eax*4]
mov byte [ebx], al
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
movzx eax, byte [eax + edx + 1]
mov byte [esi], al
mov eax, dword [ebx + 0x18]
mov esi, dword [ebp - 0x1c]
movzx eax, byte [eax + edx + 2]
mov byte [esi + edi + 2], al
add edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add eax, 3
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 1
sbb eax, 0xffffffff
mov dword [ebp - 0x24], eax
jmp 0x100049b0
mov edi, ebx
jmp 0x10004ab3
movzx ecx, cl
movzx edx, byte [eax + ebx]
movzx ebx, byte [eax + ecx]
mov ecx, dword [ebp - 0x1c]
xor eax, eax
add ecx, edi
jmp 0x10004de0
mov byte [ecx + eax], dl
inc eax
cmp esi, eax
je 0x10004df0
test al, 1
je 0x10004dd8
mov byte [ecx + eax], bl
jmp 0x10004ddb
mov eax, dword [ebp - 0x28]
add edi, esi
mov dword [ebp - 0x24], eax
jmp 0x100049b0
mov esi, dword [ebp - 0x10]
jmp 0x10003895
mov edi, dword [ebp - 0x10]
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 0x10003f60
mov esi, 0xffff0000
test byte [0x1000702c], 8
je 0x10003895
mov dword [esp + 0xc], str._NULL__n
mov dword [esp + 8], str.Open
mov dword [esp + 4], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003895
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 0x10003895
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x10]
test esi, esi
jne 0x100039b1
jmp 0x100039b9
mov eax, 4
mov dword [edi + 0x10], 2
mov word [edi + 0xe], ax
jmp 0x10003cd5
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.Close
mov dword [esp + 4], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100039a3
mov esi, 0x238
jmp 0x10003895
mov eax, edi
call sym._MSRLE32_GetMaxCompressedSize
mov esi, eax
jmp 0x10003895
mov edx, 0x100
jmp 0x10003c80
lea esi, [eax*4 + 0x28]
jmp 0x10003895
movzx eax, al
inc edi
movzx eax, byte [ecx + eax]
mov byte [ebx], al
jmp 0x10004d94
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], 0x1000702c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10003eff
movzx edx, byte [ecx + eax*2]
add edi, 2
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x18]
movzx eax, byte [edx + eax*2 + 1]
mov byte [esi], al
jmp 0x10004d94
mov esi, 3
jmp 0x10003895
mov esi, 0xffffffff
jmp 0x10003895
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
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], 0x1000702c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x28]
jmp 0x10003f37
test byte [0x1000702c], 4
je 0x10004638
mov edi, dword [ebp - 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], str.aborted_absolute:___d_d__d_d_____ld_n
jmp 0x10004618
test byte [0x1000702c], 4
jne 0x100050ba
mov esi, dword [ebx + 0x14]
mov edx, dword [esi]
movzx eax, dl
cmp dl, 0x40
jbe 0x100050a2
sub eax, 0x37
shl eax, 4
shr dx, 8
cmp dx, 0x41
lea edi, [edx - 0x37]
lea ecx, [edx - 0x30]
cmovae ecx, edi
add eax, ecx
movzx ecx, ax
and eax, 0xf
cmp ax, 9
lea eax, [edx - 0x30]
jbe 0x10005085
cmp dx, 0x40
jbe 0x10005037
lea eax, [edx - 0x37]
and eax, 0xf
add eax, 0x37
shl eax, 8
mov edx, ecx
shr cl, 4
sar edx, 4
and edx, 0xf
cmp edx, 9
jle 0x10005099
add ecx, 0x37
movsx dx, cl
or eax, edx
mov edi, dword [ebp - 0x10]
cwde
or eax, 0x62640000
mov dword [esi], eax
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 0x10004037
cmp dx, 0x40
jbe 0x1000508e
lea eax, [edx - 0x37]
and eax, 0xf
add eax, 0x30
shl eax, 8
jmp 0x10005040
add ecx, 0x30
movsx dx, cl
jmp 0x10005057
sub eax, 0x30
shl eax, 4
jmp 0x1000500c
mov edi, dword [ebp - 0x2c]
mov word [esi + edi - 2], ax
jmp 0x1000457b
mov dword [esp + 0xc], str.switched_to_keyframe__was_small_enough__n
mov dword [esp + 8], str.Compress
mov dword [esp + 4], 0x1000702c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10004ff5
mov dword [esp + 8], 0x50f
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x34e
mov dword [esp + 4], str..._src_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], 0x3ef
mov dword [esp + 4], str..._src_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], 0x4d6
mov dword [esp + 4], str..._src_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], 0x592
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x6cc
mov dword [esp + 4], str..._src_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], 0x3f0
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.lpIn___NULL__lpOut___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x6cb
mov dword [esp + 4], str..._src_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], 0x61d
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov edx, 0xfffffffd
jmp 0x10003a77
mov dword [esp + 8], 0x6f6
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x493
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x34f
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.lpIn___NULL__lpOut___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x6ba
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x4c9
mov dword [esp + 4], str..._src_wine_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop