Function at 0x6c783b10
Capabilities:
Encrypt data using rc4 ksa

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, 0x88
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
test byte [0x6c786018], 8
jne 0x6c783b70
cmp edi, 0x402a
ja 0x6c783bb6
cmp edi, 0x4003
jbe 0x6c783bd0
lea eax, [edi - 0x4004]
cmp eax, 0x26
ja case.0x6c783b60.16399
jmp dword [eax*4 + str.Hxl__xl]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [ebp - 0x20], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6c7882dc
mov dword [esp + 8], str.MSRLE32_DriverProc
mov dword [esp + 4], 0x6c786018
mov dword [esp], 3
call fcn.6c781b00
mov edx, dword [ebp - 0x20]
cmp edi, 0x402a
jbe 0x6c783b49
lea eax, [edi - 0x5000]
cmp eax, 0x1e
ja case.default.0x6c783bc5
jmp dword [eax*4 + 0x6c788664]
lea eax, [edi - 1]
cmp eax, 9
ja case.0x6c783b60.16399
sub edi, 3
cmp edi, 5
ja case.0x6c783be4.5
jmp dword [edi*4 + 0x6c7886e0]
cmp edi, 0x3fff
ja case.default.0x6c783bc5
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.winmm.dll_DefDriverProc
sub esp, 0x14
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffff0000
je case.0x6c783be4.5
test eax, eax
je case.0x6c783be4.5
test byte [0x6c786018], 8
jne 0x6c7851f5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x6c785186
mov eax, dword [ebp - 0x1c]
call fcn.6c781c20
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, 1
jmp 0x6c783c1a
test ebx, ebx
je 0x6c7840cd
mov dword [ebx], 0x2134
xor eax, eax
jmp 0x6c783c1a
test byte [0x6c786018], 8
jne 0x6c784930
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6c7850f1
test ebx, ebx
je 0x6c7847e0
test esi, esi
je 0x6c7847e0
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov edx, ebx
call fcn.6c782770
test eax, eax
jne 0x6c7847b0
cmp word [esi + 0xe], 8
ja 0x6c7851c9
movzx ecx, word [ebx + 0xe]
cmp cx, 8
ja case.0x6c783be4.8
mov eax, dword [ebx + 0x20]
mov edx, 1
shl edx, cl
test eax, eax
cmove eax, edx
mov dword [esi + 0x20], eax
add esi, dword [esi]
shl eax, 2
add ebx, dword [ebx]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], ebx
call sub.ucrtbase.dll_memcpy
xor eax, eax
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
call fcn.6c781b90
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov edx, ebx
call fcn.6c783580
jmp 0x6c783c1a
test byte [0x6c786018], 8
jne 0x6c7848b0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6c785047
test ebx, ebx
je 0x6c7847d8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, ebx
call fcn.6c782670
test eax, eax
jne 0x6c784ffe
movzx eax, word [ebx + 0xe]
sub eax, 1
cmp ax, 7
ja 0x6c7851d3
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, 0x38454c52
je 0x6c78524a
ja 0x6c78522e
cmp eax, 0x20454c52
je 0x6c785235
mov edx, 0x10
cmp eax, 0x34454c52
jne 0x6c7851c9
mov eax, dword [ebx + 0x20]
test eax, eax
cmove eax, edx
lea eax, [eax*4 + 0x28]
test esi, esi
je 0x6c783c1a
mov dword [esi], 0x28
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, 1
mov word [esi + 0xc], ax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x34454c52
je 0x6c7852cc
cmp word [ebx + 0xe], 5
sbb edx, edx
and edx, 0xfffffffc
add edx, 8
cmp word [ebx + 0xe], 5
sbb eax, eax
not eax
add eax, 2
mov word [esi + 0xe], dx
mov dword [esi + 0x10], eax
mov eax, esi
call fcn.6c781020
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov edx, dword [ebx + 0x20]
test edx, edx
jne 0x6c783e47
movzx ecx, word [ebx + 0xe]
mov edx, 1
shl edx, cl
movzx ecx, word [esi + 0xe]
mov eax, 1
mov dword [esi + 0x24], 0
shl eax, cl
cmp eax, edx
cmovg eax, edx
mov dword [esi + 0x20], eax
jmp 0x6c783cfb
test ebx, ebx
je case.0x6c783be4.8
mov dword [ebx], 0xf
xor eax, eax
jmp 0x6c783c1a
test byte [0x6c786018], 8
jne 0x6c784870
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6c78508b
test ebx, ebx
je 0x6c7847e0
mov edx, dword [ebx + 4]
test edx, edx
je 0x6c7847e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x6c7847e0
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x6c7847e0
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x6c7847e0
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x14]
test esi, esi
jne 0x6c7847a0
call fcn.6c783580
test eax, eax
jne 0x6c783c1a
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov esi, dword [edx + 4]
cmp dword [eax + 4], esi
je 0x6c783f20
mov dword [esp + 8], 0x6cb
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pic__lpbiInput__biWidth__pic__lpbiOutput__biWidth
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov esi, dword [edx + 8]
cmp dword [eax + 8], esi
je 0x6c783f4b
mov dword [esp + 8], 0x6cc
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pic__lpbiInput__biHeight__pic__lpbiOutput__biHeight
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x6c78515d
movzx eax, word [edx + 0xe]
imul ax, word [edx + 4]
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
imul eax, dword [edx + 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 4]
cmp word [eax + 0xe], 4
mov eax, dword [ebx + 0x10]
je 0x6c784b7a
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x6c783f99
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x6c783fb6
mov dword [esp + 8], 0x3ef
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.lpbi___NULL__lpbi__biCompression__BI_RGB
call dword [sym.imp.ucrtbase.dll__assert]
test edi, edi
je 0x6c785196
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x6c785196
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
movzx edx, word [esi + 0xe]
mov eax, edx
add edx, 1
imul ax, word [esi + 4]
mov ebx, edx
sar ebx, 3
mov esi, ebx
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
mov dword [ebp - 0x38], eax
lea esi, [esi]
lea esi, [esi]
movzx ecx, byte [edi]
lea eax, [edi + 2]
movzx ebx, byte [edi + 1]
mov dword [ebp - 0x28], eax
test cl, cl
jne 0x6c784558
cmp bl, 1
je case.0x6c783be4.8
cmp bl, 2
je 0x6c7846e0
test bl, bl
jne 0x6c784620
mov ebx, dword [ebp - 0x38]
mov edi, eax
mov dword [ebp - 0x20], 0
add dword [ebp - 0x30], ebx
jmp 0x6c784000
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6c7850cf
test byte [0x6c786018], 8
jne 0x6c784830
mov eax, ebx
or eax, esi
je case.0x6c783be4.8
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov edx, ebx
call fcn.6c782670
test eax, eax
jne case.0x6c783be4.8
test ebx, ebx
je 0x6c785222
mov eax, ebx
call fcn.6c781020
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov edx, ebx
call fcn.6c782670
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov edx, ebx
call fcn.6c783890
jmp 0x6c783c1a
test byte [0x6c786018], 1
jne 0x6c7848f0
mov eax, 0xffffffff
jmp 0x6c783c1a
test byte [0x6c786018], 8
jne 0x6c7847f0
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x6c7850ad
test ebx, ebx
je 0x6c7847e0
cmp esi, 0x2f
jbe 0x6c7847e0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6c7847e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x6c7847e0
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x6c7847e0
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x6c7847e0
test byte [0x6c786018], 8
jne 0x6c7849e0
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 4]
test esi, esi
jne 0x6c7847c0
call fcn.6c783890
test eax, eax
jne 0x6c783c1a
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x1c]
mov eax, dword [eax + 8]
cmp eax, edx
jl 0x6c784af8
je 0x6c785010
mov esi, dword [ebx]
and esi, 1
jne 0x6c7841f0
test byte [0x6c786018], 4
jne 0x6c785304
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x6c785335
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x6c785335
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x1c]
call fcn.6c782670
test eax, eax
jne 0x6c7847b0
test byte [0x6c786018], 4
jne 0x6c7853a7
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov eax, esi
call fcn.6c7810d0
movd xmm1, dword [esi + 0xc]
movd xmm0, dword [esi + 0x10]
punpckldq xmm0, xmm1
movq qword [esi + 0xc], xmm0
mov eax, dword [ebx + 0x1c]
mov dword [esi + 8], eax
mov esi, dword [ebx]
and esi, 1
lea esi, [esi]
mov eax, dword [ebx + 4]
mov edi, 3
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 dword [esp + 4], edi
mov eax, dword [ebp - 0x1c]
je 0x6c784750
call fcn.6c782940
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x6c7842a3
mov eax, dword [ebx + 4]
cmp dword [eax + 0x14], edx
jb 0x6c7842a3
mov edx, dword [ebx + 0x18]
test byte [edx], 1
jne 0x6c784285
cmp word [eax + 0xe], 4
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x1c]
je 0x6c784a70
call fcn.6c782940
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x6c7853e1
mov eax, dword [ebx + 4]
cmp dword [eax + 0x14], edx
jb 0x6c7853e1
mov edx, dword [ebx + 0x24]
cmp edx, 0x3e7
jbe 0x6c7842a3
sub edx, 0x3e8
sub dword [ebp - 0x20], 1
mov dword [ebx + 0x24], edx
jne 0x6c7841fb
mov edi, dword [ebp - 0x1c]
cmp esi, 1
movd xmm1, dword [edi + 0xc]
movd xmm0, dword [edi + 0x10]
punpckldq xmm0, xmm1
movq qword [edi + 0xc], xmm0
mov eax, dword [ebx + 0x1c]
mov dword [edi + 8], eax
mov edx, dword [ebx + 0x18]
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x12
mov ecx, dword [edx]
or eax, ecx
mov dword [edx], eax
xor eax, eax
jmp 0x6c783c1a
test byte [0x6c786018], 8
jne 0x6c7849a0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6c785069
test ebx, ebx
je 0x6c784a60
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, ebx
call fcn.6c782770
test eax, eax
jne 0x6c784b10
movzx ecx, word [ebx + 0xe]
mov edx, dword [ebx]
cmp cx, 8
ja 0x6c784335
mov eax, dword [ebx + 0x20]
mov edi, 1
shl edi, cl
test eax, eax
mov dword [ebp - 0x1c], eax
cmove eax, edi
lea edx, [edx + eax*4]
mov eax, edx
test esi, esi
je 0x6c783c1a
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.ucrtbase.dll_memcpy
movzx eax, word [esi + 0xe]
mov dword [esi + 0x10], 0
imul ax, word [esi + 4]
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
imul eax, dword [esi + 8]
mov dword [esi + 0x14], eax
xor eax, eax
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov edx, ebx
call fcn.6c782770
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
call fcn.6c781c20
jmp 0x6c783c1a
test esi, esi
je 0x6c785030
mov eax, dword [esi + 4]
mov edx, eax
xor edx, 0x63646976
and edx, 0xdfdfdfdf
jne case.0x6c783be4.8
test byte [0x6c786018], 8
jne 0x6c784b20
mov eax, dword [esi + 8]
cmp eax, 0x454c524d
je 0x6c7843f6
jbe 0x6c784a80
cmp eax, 0x656c726d
jne 0x6c784a9d
mov dword [esi + 8], 0x454c524d
mov dword [esp + 4], 0x1c
mov dword [esp], 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov edx, 0xfffffffd
sub esp, 8
test eax, eax
je 0x6c784447
mov edx, dword [esi + 8]
xor ecx, ecx
mov ebx, 0xffffffff
mov dword [eax + 0xc], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], 0
mov dword [eax], edx
xor edx, edx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [esi + 0x14], edx
jmp 0x6c783c1a
cmp ebx, 0xffffffff
je case.0x6c783be4.8
mov eax, ebx
call fcn.6c782880
jmp 0x6c783c1a
test byte [0x6c786018], 1
jne 0x6c784970
cmp ebx, 0xffffffff
je 0x6c7840cd
mov eax, dword [ebp - 0x1c]
test eax, eax
jne case.0x6c783be4.8
mov dword [esp + 8], 0x4ab
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
xor eax, eax
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6c785113
test ebx, ebx
je 0x6c784549
cmp esi, 0x237
jbe case.0x6c783be4.8
mov eax, 0x238
mov edx, 0x63646976
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], edx
mov eax, dword [eax]
mov dword [ebx + 8], eax
lea eax, [ebx + 0x18]
add ebx, 0x38
mov dword [ebx - 0x2c], 7
mov dword [ebx - 0x28], 0x104
mov dword [ebx - 0x24], 0x104
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], 0x64
mov eax, dword [section..bss]
mov dword [esp], eax
call sub.user32.dll_LoadStringW
sub esp, 0x10
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x65
mov eax, dword [section..bss]
mov dword [esp], eax
call sub.user32.dll_LoadStringW
sub esp, 0x10
mov eax, 0x238
jmp 0x6c783c1a
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x34]
cdq
idiv esi
movzx edx, cl
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x2c]
add edi, edx
cmp edi, eax
jg 0x6c7851b8
mov eax, dword [ebp - 0x1c]
sub ecx, 1
mov byte [ebp - 0x24], cl
mov eax, dword [eax + 0x18]
cmp esi, 1
je 0x6c784760
cmp esi, 2
je 0x6c7845e0
movzx ecx, byte [eax + ebx*4 + 2]
mov edi, dword [ebp - 0x20]
movzx ebx, word [eax + ebx*4]
mov eax, dword [ebp - 0x30]
movzx edx, byte [ebp - 0x24]
add eax, edi
lea esi, [esi]
lea esi, [esi]
sub edx, 1
mov word [eax], bx
mov byte [eax + 2], cl
add eax, esi
cmp dl, 0xff
jne 0x6c7845b0
movzx edx, byte [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
imul edx, esi
add eax, esi
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x6c784000
mov edi, dword [ebp - 0x20]
movzx ebx, word [eax + ebx*2]
mov eax, dword [ebp - 0x30]
lea edx, [eax + edi]
movzx edi, byte [ebp - 0x24]
lea eax, [edx + 2]
lea ecx, [eax + edi*2]
jmp 0x6c784603
add eax, 2
mov word [edx], bx
mov edx, eax
cmp eax, ecx
jne 0x6c784600
mov eax, dword [ebp - 0x20]
lea eax, [eax + edi*2 + 2]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
jmp 0x6c784000
mov eax, dword [ebp - 0x20]
movzx ecx, bl
cdq
idiv esi
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 4]
add eax, ecx
cmp eax, edx
jg 0x6c785498
mov eax, ebx
mov edx, dword [ebp - 0x20]
sub ebx, 1
and eax, 1
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0x30]
add edx, eax
movzx eax, bl
lea edi, [edi + eax + 3]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
jmp 0x6c7846a3
cmp esi, 2
je 0x6c7846c0
lea edi, [eax*4]
movzx eax, byte [ebx + eax*4]
mov byte [edx], al
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + edi + 1]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + edi + 2]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x2c]
add edx, esi
cmp ecx, eax
je 0x6c784720
mov edi, dword [ebp - 0x24]
add ecx, 1
movzx eax, byte [ecx - 1]
mov ebx, dword [edi + 0x18]
cmp esi, 1
jne 0x6c784668
movzx eax, byte [ebx + eax]
mov byte [edx], al
jmp 0x6c784696
movzx ebx, byte [ebx + eax*2]
mov edi, dword [ebp - 0x24]
mov byte [edx], bl
mov ebx, dword [edi + 0x18]
movzx eax, byte [ebx + eax*2 + 1]
mov byte [edx + 1], al
jmp 0x6c784696
movzx eax, byte [edi + 2]
add edi, 4
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
imul eax, esi
add dword [ebp - 0x20], eax
movzx eax, byte [edi - 1]
mov ebx, dword [ebp - 0x20]
imul eax, ecx
add dword [ebp - 0x30], eax
mov eax, dword [edx + 4]
imul eax, esi
cmp ebx, eax
jl 0x6c784000
add dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], 0
jmp 0x6c784000
mov edi, eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x20]
mov ecx, eax
imul ecx, esi
add edx, esi
cmp byte [ebp - 0x3c], 0
lea ebx, [ecx + edx]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x28]
lea eax, [ebx + eax + 2]
cmovne edi, eax
jmp 0x6c784000
call fcn.6c782f00
jmp 0x6c78422c
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ebx]
add edi, ecx
imul eax, eax, 0x1010101
cmp edx, 4
jae 0x6c784ae0
test edx, edx
je 0x6c78478a
mov byte [edi], al
test dl, 2
jne 0x6c785516
mov edi, dword [ebp - 0x2c]
movzx eax, byte [ebp - 0x24]
lea eax, [edi + eax + 1]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
jmp 0x6c784000
mov eax, dword [ebp - 0x1c]
call fcn.6c782770
test eax, eax
je 0x6c783eef
mov eax, 0xfffffffe
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
call fcn.6c782670
test eax, eax
je 0x6c78415d
jmp 0x6c7847b0
test esi, esi
je case.0x6c783be4.8
mov eax, 0xfffffffa
jmp 0x6c783c1a
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p__p__lu__n
mov dword [esp + 8], str.Compress
mov dword [esp + 4], 0x6c786018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c7840ed
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p__p__p__n
mov dword [esp + 8], str.CompressGetSize
mov dword [esp + 4], 0x6c786018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c784058
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p__p__lu__n
mov dword [esp + 8], str.Decompress
mov dword [esp + 4], 0x6c786018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c783e95
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p__p__p__n
mov dword [esp + 8], str.CompressGetFormat
mov dword [esp + 4], 0x6c786018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c783d55
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str._..._____SetPalette__p__p__p_:_stub__n
mov dword [esp + 8], str.MSRLE32_DriverProc
mov dword [esp + 4], 0x6c786018
mov dword [esp + 0x10], eax
mov dword [esp], 0
call fcn.6c781b00
jmp 0x6c7840cd
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p__p__p__n
mov dword [esp + 8], str.DecompressGetPalette
mov dword [esp + 4], 0x6c786018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c783ca5
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], 0x6c786018
mov dword [esp], 0
call fcn.6c781b00
jmp 0x6c784475
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p__p__p__n
mov dword [esp + 8], str.DecompressGetFormat
mov dword [esp + 4], 0x6c786018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c7842ed
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 + 0x20], esi
mov dword [esp + 0x24], edi
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 + 8], str.Compress
mov dword [esp + 4], 0x6c786018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c781b00
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
jmp 0x6c784142
test esi, esi
jne 0x6c7847e0
xor eax, eax
jmp 0x6c783c1a
call fcn.6c782f00
jmp 0x6c78426e
lea edx, [eax - 0x34454c52]
and edx, 0xfbffffff
je 0x6c7843f6
cmp eax, 0x20454c52
je 0x6c7843f6
test byte [0x6c786018], 4
je case.0x6c783be4.8
add esi, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], str.unknown_FOURCC__0x_08lX__4.4s____n
mov dword [esp + 8], str.Open
mov dword [esp + 4], 0x6c786018
mov dword [esp], 2
call fcn.6c781b00
xor eax, eax
jmp 0x6c783c1a
lea ecx, [edx - 1]
mov dword [edi + edx - 4], eax
shr ecx, 2
rep stosd dword es:[edi], eax
jmp 0x6c78478a
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.6c7810d0
mov esi, dword [ebx]
and esi, 1
jmp 0x6c7841f0
test esi, esi
jne 0x6c7847b0
xor eax, eax
jmp 0x6c783c1a
mov edx, dword [esi + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x28], edx
lea edx, [esi + 8]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
lea edx, [esi + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [esi]
mov dword [esp + 0x10], esi
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 + 0x14], eax
mov dword [esp + 4], 0x6c786018
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c7843d4
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x6c784b94
mov edi, dword [eax + 0x10]
test edi, edi
je 0x6c784bb1
mov dword [esp + 8], 0x34e
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.lpbi___NULL__lpbi__biCompression__BI_RGB
call dword [sym.imp.ucrtbase.dll__assert]
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x6c7852aa
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x6c7852aa
mov esi, dword [ebp - 0x40]
xor edi, edi
movzx edx, word [esi + 0xe]
mov eax, edx
add edx, 1
imul ax, word [esi + 4]
sar edx, 3
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
add eax, 0x1f
and eax, 0xffe0
shr eax, 3
mov dword [ebp - 0x44], eax
lea esi, [esi]
movzx eax, byte [esi]
lea ebx, [esi + 2]
movzx ecx, byte [esi + 1]
mov dword [ebp - 0x34], ebx
test al, al
jne 0x6c784c30
cmp cl, 1
je case.0x6c783be4.8
cmp cl, 2
je 0x6c784ec0
test cl, cl
jne 0x6c784d28
mov esi, dword [ebp - 0x44]
xor edi, edi
add dword [ebp - 0x28], esi
mov esi, ebx
jmp 0x6c784bf8
movzx esi, al
mov eax, edi
cdq
idiv dword [ebp - 0x20]
mov edx, dword [ebp - 0x40]
add eax, esi
cmp eax, dword [edx + 4]
jg 0x6c7851c9
mov eax, dword [ebp - 0x1c]
mov ebx, ecx
shr bl, 4
mov edx, dword [eax + 0x18]
mov eax, ecx
movzx ecx, bl
and eax, 0xf
cmp dword [ebp - 0x20], 1
je 0x6c784fc0
cmp dword [ebp - 0x20], 2
movzx eax, al
je 0x6c784cf0
movzx ebx, word [edx + ecx*4]
mov dword [ebp - 0x38], edi
mov word [ebp - 0x24], bx
movzx ebx, byte [edx + ecx*4 + 2]
movzx ecx, word [edx + eax*4]
mov word [ebp - 0x2c], cx
movzx ecx, byte [edx + eax*4 + 2]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x30], cl
lea edx, [eax + edi]
mov edi, dword [ebp - 0x20]
xor eax, eax
jmp 0x6c784cb3
movzx ecx, word [ebp - 0x24]
mov byte [edx + 2], bl
mov word [edx], cx
add eax, 1
add edx, edi
cmp esi, eax
je 0x6c784cd0
test al, 1
je 0x6c784ca0
movzx ecx, word [ebp - 0x2c]
mov word [edx], cx
movzx ecx, byte [ebp - 0x30]
mov byte [edx + 2], cl
jmp 0x6c784caa
mov ebx, dword [ebp - 0x20]
lea eax, [esi - 1]
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
imul eax, ebx
lea edx, [ebx + edi]
lea edi, [eax + edx]
jmp 0x6c784bf8
movzx ebx, word [edx + eax*2]
xor eax, eax
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x28]
add edx, edi
jmp 0x6c784d17
mov word [edx + eax*2], cx
add eax, 1
cmp esi, eax
je 0x6c784f00
test al, 1
je 0x6c784d08
mov word [edx + eax*2], bx
jmp 0x6c784d0c
movzx ebx, cl
lea eax, [ebx + 1]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], eax
mov eax, edi
cdq
idiv dword [ebp - 0x20]
add eax, ebx
mov ebx, dword [ebp - 0x40]
cmp eax, dword [ebx + 4]
jg 0x6c7851c9
mov ebx, dword [ebp - 0x34]
mov eax, ecx
xor edx, edx
mov dword [ebp - 0x50], esi
shr al, 1
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x51], cl
movzx eax, al
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x48], eax
add eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], ebx
jmp 0x6c784e09
mov edx, dword [ebp - 0x28]
movzx eax, al
cmp dword [ebp - 0x20], 2
lea edx, [edx + edi + 1]
mov ecx, edx
je 0x6c784e58
lea edx, [eax*4]
movzx eax, byte [ebx + eax*4]
mov ebx, dword [ebp - 0x30]
mov byte [ebx], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + edx + 1]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x28]
movzx eax, byte [eax + edx + 2]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edi + 2], al
mov eax, dword [ebp - 0x20]
add edi, eax
cmp dword [ebp - 0x3c], edx
jle 0x6c784df3
mov ebx, dword [ebp - 0x2c]
movzx eax, byte [ebx]
mov ebx, dword [esi + 0x18]
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
mov eax, dword [ebp - 0x20]
add edi, eax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x24]
add dword [ebp - 0x2c], 1
cmp ebx, eax
je 0x6c784f10
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [esi + 0x18]
movzx edx, byte [eax]
add ecx, edi
mov dword [ebp - 0x30], ecx
mov eax, edx
shr al, 4
cmp dword [ebp - 0x20], 1
jne 0x6c784d70
lea ecx, [edi + 1]
movzx eax, al
movzx eax, byte [ebx + eax]
mov ebx, dword [ebp - 0x30]
mov byte [ebx], al
mov ebx, dword [ebp - 0x24]
cmp dword [ebp - 0x3c], ebx
jle 0x6c784eb0
mov eax, dword [esi + 0x18]
and edx, 0xf
add edi, 2
mov ebx, dword [ebp - 0x28]
movzx eax, byte [eax + edx]
mov byte [ebx + ecx], al
jmp 0x6c784df3
movzx ebx, byte [ebx + eax*2]
mov edx, dword [ebp - 0x30]
mov byte [edx], bl
mov edx, dword [esi + 0x18]
lea ebx, [edi + 2]
movzx eax, byte [edx + eax*2 + 1]
mov edx, dword [ebp - 0x24]
cmp dword [ebp - 0x3c], edx
mov byte [ecx], al
jle 0x6c784fb0
mov eax, dword [ebp - 0x2c]
lea ebx, [edi + 3]
mov edx, dword [esi + 0x18]
mov ecx, dword [ebp - 0x28]
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 0x6c784df3
mov edi, ecx
jmp 0x6c784df3
movzx eax, byte [esi + 2]
add esi, 4
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
imul eax, ebx
add edi, eax
movzx eax, byte [esi - 1]
imul eax, ecx
add dword [ebp - 0x28], eax
mov eax, dword [edx + 4]
imul eax, ebx
cmp edi, eax
jl 0x6c784bf8
add dword [ebp - 0x28], ecx
xor edi, edi
jmp 0x6c784bf8
lea edi, [edi + esi*2]
mov esi, dword [ebp - 0x34]
jmp 0x6c784bf8
movzx ecx, byte [ebp - 0x51]
mov esi, dword [ebp - 0x50]
and ecx, 1
je 0x6c784f8f
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax + ebx]
mov ebx, dword [ebp - 0x1c]
shr al, 4
cmp dword [ebp - 0x20], 1
mov ecx, dword [ebx + 0x18]
mov ebx, dword [ebp - 0x28]
lea edx, [ebx + edi]
je 0x6c785254
mov ebx, dword [ebp - 0x28]
movzx eax, al
cmp dword [ebp - 0x20], 2
lea ebx, [ebx + edi + 1]
mov dword [ebp - 0x24], ebx
je 0x6c78533f
lea ebx, [eax*4]
movzx eax, byte [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
mov byte [edx], al
mov edx, ebx
mov eax, dword [ecx + 0x18]
movzx eax, byte [eax + ebx + 1]
mov ebx, dword [ebp - 0x24]
mov byte [ebx], al
mov eax, dword [ecx + 0x18]
mov ebx, dword [ebp - 0x28]
movzx eax, byte [eax + edx + 2]
mov byte [ebx + edi + 2], al
mov eax, dword [ebp - 0x20]
add edi, eax
lea eax, [esi + 3]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x34]
add esi, eax
mov eax, dword [ebp - 0x4c]
and eax, 2
cmp eax, 1
sbb esi, 0xffffffff
jmp 0x6c784bf8
mov edi, ebx
jmp 0x6c784df3
movzx eax, al
movzx ebx, byte [edx + ecx]
mov dword [ebp - 0x24], edi
movzx ecx, byte [edx + eax]
xor eax, eax
mov edx, dword [ebp - 0x28]
add edx, edi
mov edi, ecx
lea esi, [esi]
nop
test al, 1
mov ecx, edi
cmove ecx, ebx
mov byte [edx + eax], cl
add eax, 1
cmp esi, eax
jne 0x6c784fe0
mov edi, dword [ebp - 0x24]
add edi, esi
mov esi, dword [ebp - 0x34]
jmp 0x6c784bf8
test esi, esi
je 0x6c7847b0
xor eax, eax
jmp 0x6c783c1a
mov eax, dword [ebp - 0x1c]
movd xmm1, dword [eax + 0xc]
movd xmm0, dword [eax + 0x10]
punpckldq xmm0, xmm1
movq qword [eax + 0xc], xmm0
mov esi, dword [ebx]
and esi, 1
jmp 0x6c7841f0
test byte [0x6c786018], 8
jne 0x6c7852db
mov eax, 0xffff0000
jmp 0x6c783c1a
mov dword [esp + 8], 0x4c9
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c783d60
mov dword [esp + 8], 0x61d
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c7842f8
mov dword [esp + 8], 0x6ba
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c783ea0
mov dword [esp + 8], 0x592
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c7840f8
mov dword [esp + 8], 0x50f
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c78404b
mov dword [esp + 8], 0x6f6
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c783cb0
mov dword [esp + 8], 0x493
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.pi___NULL
call dword [sym.imp.ucrtbase.dll__assert]
test ebx, ebx
je 0x6c784549
cmp esi, 0x237
jbe case.0x6c783be4.8
mov eax, 0x238
mov edx, 0x63646976
mov dword [ebx], eax
mov eax, 0x454c524d
mov dword [ebx + 4], edx
jmp 0x6c7844e3
mov eax, dword [eax + 0x14]
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], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sub.ucrtbase.dll_memcpy
xor eax, eax
jmp 0x6c783c1a
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x6c783c59
jmp 0x6c783c61
mov dword [esp + 8], 0x3f0
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.lpIn___NULL__lpOut___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c783fc9
mov edi, ebx
mov ebx, esi
test byte [0x6c786018], 4
jne 0x6c78535d
mov eax, 0xffffff9c
jmp 0x6c783c1a
mov dword [esp + 8], 0x4d6
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.0___lpbiIn__biBitCount__lpbiIn__biBitCount___8
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c783d8d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.Close
mov dword [esp + 4], 0x6c786018
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c783c4b
mov eax, esi
call fcn.6c781020
jmp 0x6c783c1a
cmp eax, 0x454c524d
jne 0x6c7851c9
cmp word [ebx + 0xe], 5
sbb edx, edx
and dl, 0x10
add edx, 0x100
jmp 0x6c783dbe
mov edx, 0x100
jmp 0x6c783dbe
movzx eax, al
add edi, 1
movzx eax, byte [ecx + eax]
mov byte [edx], al
jmp 0x6c784f89
test byte [0x6c786018], 1
je 0x6c7840cd
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
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], 0x6c786018
mov dword [esp], 0
call fcn.6c781b00
jmp 0x6c7840cd
mov dword [esp + 8], 0x34f
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_msrle32_msrle32.c
mov dword [esp], str.lpIn___NULL__lpOut___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c784bc7
mov edx, 4
mov eax, 2
jmp 0x6c783e18
mov dword [esp + 0xc], str._NULL__n
mov dword [esp + 8], str.Open
mov dword [esp + 4], 0x6c786018
mov dword [esp], 3
call fcn.6c781b00
jmp 0x6c78503d
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], 0x6c786018
mov dword [esp], 2
call fcn.6c781b00
jmp 0x6c784188
mov eax, 3
jmp 0x6c783c1a
movzx ecx, byte [ecx + eax*2]
add edi, 2
mov ebx, dword [ebp - 0x1c]
mov byte [edx], cl
mov edx, dword [ebx + 0x18]
movzx eax, byte [edx + eax*2 + 1]
mov edx, dword [ebp - 0x24]
mov byte [edx], al
jmp 0x6c784f89
mov edx, edi
mov dword [esp + 0x20], eax
movzx esi, dl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], str.aborted_coded:___d_d__d_d_____ld_n
mov dword [esp + 8], str.MSRLE32_DecompressRLE8
mov dword [esp + 4], 0x6c786018
add eax, esi
mov dword [esp], 2
mov dword [esp + 0x10], eax
call fcn.6c781b00
jmp 0x6c7851c9
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 + 4], 0x6c786018
mov dword [esp], 2
mov dword [esp + 0x10], eax
call fcn.6c781b00
jmp 0x6c7841be
test byte [0x6c786018], 4
jne 0x6c785520
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi]
movzx eax, cl
cmp cl, 0x40
jbe 0x6c7854fe
sub eax, 0x37
shl eax, 4
mov edi, eax
mov eax, ecx
shr ax, 8
lea edx, [eax - 0x37]
cmp ax, 0x41
mov word [ebp - 0x20], dx
lea edx, [eax - 0x30]
cmovae dx, word [ebp - 0x20]
add edi, edx
and edx, 0xf
cmp dx, 9
lea edx, [eax - 0x30]
jbe 0x6c7854e5
cmp ax, 0x40
jbe 0x6c78543b
lea edx, [eax - 0x37]
mov eax, edx
and eax, 0xf
add eax, 0x37
shl eax, 8
movzx edx, di
mov ecx, edx
shr dl, 4
sar ecx, 4
and ecx, 0xf
cmp ecx, 9
jle 0x6c78550b
add edx, 0x37
movzx edx, dl
or eax, edx
cwde
or eax, 0x62640000
mov dword [esi], eax
mov esi, dword [ebp - 0x1c]
movd xmm1, dword [esi + 0xc]
movd xmm0, dword [esi + 0x10]
punpckldq xmm0, xmm1
movq qword [esi + 0xc], xmm0
mov eax, dword [ebx + 0x1c]
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x18]
mov eax, 0x12
mov ecx, dword [edx]
jmp 0x6c7842cf
test byte [0x6c786018], 4
je 0x6c7851c9
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov esi, dword [ebp - 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.aborted_absolute:___d_d__d_d_____ld_n
mov dword [esp + 8], str.MSRLE32_DecompressRLE8
mov dword [esp + 0x14], esi
mov dword [esp + 4], 0x6c786018
mov dword [esp], 2
call fcn.6c781b00
jmp 0x6c7851c9
cmp ax, 0x40
jbe 0x6c7854ee
lea edx, [eax - 0x37]
mov eax, edx
and eax, 0xf
add eax, 0x30
shl eax, 8
jmp 0x6c785446
sub eax, 0x30
shl eax, 4
mov edi, eax
jmp 0x6c785407
add edx, 0x30
movzx edx, dl
jmp 0x6c785463
mov word [edi + edx - 2], ax
jmp 0x6c78478a
mov dword [esp + 0xc], str.switched_to_keyframe__was_small_enough__n
mov dword [esp + 8], str.Compress
mov dword [esp + 4], 0x6c786018
mov dword [esp], 2
call fcn.6c781b00
jmp 0x6c7853ee