Function at 0x5770e0
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push r13
push r15
sub rsp, 0x80
mov ebx, edx
mov r15, rcx
test rcx, rcx
je 0x578cc6
mov r13, qword [rcx + 0x28]
test r13, r13
je 0x578cc6
cmp qword [rcx + 0x10], 0
je 0x578cc6
cmp qword [rcx], 0
jne 0x577126
cmp dword [rcx + 8], 0
jne 0x578cc6
cmp dword [r13], 0xb
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r14
jne 0x57714e
mov dword [r13], 0xc
mov r10d, dword [rcx + 0x18]
mov eax, dword [r13]
mov r9, qword [rcx + 0x10]
mov esi, dword [rcx + 8]
mov rbp, qword [rcx]
mov r12d, dword [r13 + 0x40]
mov edi, dword [r13 + 0x44]
xor r14d, r14d
mov qword [rsp + 0x40], r9
mov dword [rsp + 0xb8], r10d
mov dword [rsp + 0x38], esi
mov r8d, r10d
mov dword [rsp + 0xa0], r10d
mov dword [rsp + 0xb0], r14d
cmp eax, 0x1e
ja case.default.0x5771bc
lea rdx, [0x00400000]
lea r11, str.unknown_compression_method
nop word [rax + rax]
mov edx, dword [r13 + 8]
test edx, edx
jne 0x5771d3
mov dword [r13], 0xc
jmp 0x57872e
cmp edi, 0x10
jae 0x5771f8
test esi, esi
je 0x578b54
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x5771d8
test dl, 2
je 0x577258
cmp r12d, 0x8b1f
jne 0x577258
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0057b9c0
lea rdx, [rsp + 0x30]
mov r8d, 2
mov dword [r13 + 0x18], eax
mov byte [rsp + 0x30], 0x1f
mov byte [rsp + 0x31], 0x8b
mov ecx, dword [r13 + 0x18]
call fcn.0057b9c0
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 1
jmp 0x57872e
mov rax, qword [r13 + 0x20]
mov dword [r13 + 0x10], r14d
test rax, rax
je 0x57726c
mov dword [rax + 0x40], 0xffffffff
test byte [r13 + 8], 1
je 0x57733f
movzx ecx, r12b
mov eax, r12d
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x57733f
mov eax, r12d
and al, 0xf
cmp al, 8
je 0x5772bd
mov qword [r15 + 0x20], r11
mov dword [r13], 0x1d
jmp 0x57872e
mov eax, dword [r13 + 0x28]
shr r12d, 4
add edi, 0xfffffffc
mov ecx, r12d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x577323
mov dword [r13 + 0x28], ecx
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r13 + 0x14], eax
call fcn.0057b390
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
shr r12d, 8
mov dword [r13 + 0x18], eax
not r12d
mov dword [r15 + 0x4c], eax
mov edi, r14d
and r12d, 2
or r12d, 9
mov dword [r13], r12d
mov r12d, r14d
jmp 0x57872e
cmp ecx, eax
jbe 0x5772d9
lea rax, str.invalid_window_size
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
cmp edi, 0x10
jae 0x577380
nop dword [rax]
test esi, esi
je 0x578b3c
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x577360
mov dword [r13 + 0x10], r12d
cmp r12b, 8
je 0x57739b
mov qword [r15 + 0x20], r11
mov dword [r13], 0x1d
jmp 0x57872e
test r12d, 0xe000
je 0x5773bc
lea rax, str.unknown_header_flags_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x5773d0
mov eax, r12d
shr eax, 8
and eax, 1
mov dword [rcx], eax
bt dword [r13 + 0x10], 9
jae 0x5773fe
mov byte [rsp + 0x30], r12b
shr r12d, 8
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.0057b9c0
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 2
jmp 0x577413
cmp edi, 0x20
jae 0x577433
test esi, esi
je 0x578b24
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x577413
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x577440
mov dword [rax + 4], r12d
bt dword [r13 + 0x10], 9
jae 0x577482
mov eax, r12d
mov byte [rsp + 0x30], r12b
lea rdx, [rsp + 0x30]
shr eax, 8
mov r8d, 4
mov byte [rsp + 0x31], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rsp + 0x33], r12b
mov byte [rsp + 0x32], al
mov ecx, dword [r13 + 0x18]
call fcn.0057b9c0
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 3
jmp 0x577497
cmp edi, 0x10
jae 0x5774b7
test esi, esi
je 0x578b0c
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x577497
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x5774d4
movzx eax, r12b
mov dword [rcx + 8], eax
mov rax, qword [r13 + 0x20]
mov ecx, r12d
shr ecx, 8
mov dword [rax + 0xc], ecx
bt dword [r13 + 0x10], 9
jae 0x577502
mov byte [rsp + 0x30], r12b
shr r12d, 8
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.0057b9c0
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 4
bt dword [r13 + 0x10], 0xa
jae 0x577587
cmp edi, 0x10
jae 0x577540
nop dword [rax]
test esi, esi
je 0x578af4
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x577520
mov rax, qword [r13 + 0x20]
mov dword [r13 + 0x48], r12d
test rax, rax
je 0x577551
mov dword [rax + 0x18], r12d
bt dword [r13 + 0x10], 9
jae 0x57757f
mov byte [rsp + 0x30], r12b
shr r12d, 8
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.0057b9c0
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
jmp 0x577594
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x577594
mov qword [rax + 0x10], r14
mov dword [r13], 5
bt dword [r13 + 0x10], 0xa
jae 0x57761b
mov ecx, dword [r13 + 0x48]
cmp ecx, esi
mov ebx, ecx
cmova ebx, esi
test ebx, ebx
je 0x577610
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x5775ea
mov r9, qword [rax + 0x10]
test r9, r9
je 0x5775ea
mov edx, dword [rax + 0x18]
sub edx, ecx
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x5775d8
sub ecx, edx
jmp 0x5775da
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, rbp
add rcx, r9
call sub.msvcrt.dll_memcpy
bt dword [r13 + 0x10], 9
jae 0x577605
mov ecx, dword [r13 + 0x18]
mov r8d, ebx
mov rdx, rbp
call fcn.0057b9c0
mov dword [r13 + 0x18], eax
mov eax, ebx
sub esi, ebx
add rbp, rax
sub dword [r13 + 0x48], ebx
cmp dword [r13 + 0x48], 0
jne 0x578ad9
mov dword [r13 + 0x48], r14d
mov dword [r13], 6
bt dword [r13 + 0x10], 0xb
jae 0x5776a6
test esi, esi
je 0x578abe
mov r8, rbp
nop word [rax + rax]
mov rax, qword [r13 + 0x20]
movzx ebx, byte [r8]
inc r14d
inc r8
test rax, rax
je 0x57766c
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x57766c
mov ecx, dword [r13 + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x57766c
mov byte [rcx + rdx], bl
inc dword [r13 + 0x48]
test ebx, ebx
je 0x577675
cmp r14d, esi
jb 0x577640
bt dword [r13 + 0x10], 9
jae 0x577690
mov ecx, dword [r13 + 0x18]
mov r8d, r14d
mov rdx, rbp
call fcn.0057b9c0
mov dword [r13 + 0x18], eax
mov eax, r14d
sub esi, r14d
add rbp, rax
test ebx, ebx
jne 0x578aa3
xor r14d, r14d
jmp 0x5776b3
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x5776b3
mov qword [rax + 0x20], r14
mov dword [r13 + 0x48], r14d
mov dword [r13], 7
bt dword [r13 + 0x10], 0xc
jae 0x577738
test esi, esi
je 0x578a88
mov r8, rbp
mov rax, qword [r13 + 0x20]
movzx ebx, byte [r8]
inc r14d
inc r8
test rax, rax
je 0x5776fe
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x5776fe
mov ecx, dword [r13 + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x5776fe
mov byte [rcx + rdx], bl
inc dword [r13 + 0x48]
test ebx, ebx
je 0x577707
cmp r14d, esi
jb 0x5776d2
bt dword [r13 + 0x10], 9
jae 0x577722
mov ecx, dword [r13 + 0x18]
mov r8d, r14d
mov rdx, rbp
call fcn.0057b9c0
mov dword [r13 + 0x18], eax
mov eax, r14d
sub esi, r14d
add rbp, rax
test ebx, ebx
jne 0x578a6d
xor r14d, r14d
jmp 0x577745
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x577745
mov qword [rax + 0x30], r14
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13], 8
bt dword [r13 + 0x10], 9
jae 0x5777af
cmp edi, 0x10
jae 0x577787
test esi, esi
je 0x578a52
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x577767
movzx eax, word [r13 + 0x18]
cmp r12d, eax
je 0x5777a9
lea rax, str.header_crc_mismatch
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov r12d, r14d
mov edi, r14d
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x5777d0
mov eax, dword [r13 + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [r13 + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0057b9c0
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r13], 0xb
jmp 0x57872e
cmp edi, 0x20
jae 0x577823
test esi, esi
je 0x578a37
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x577803
mov ecx, r12d
mov eax, r12d
mov edi, r14d
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, r12d
shr r12d, 0x18
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
add eax, r12d
mov r12d, r14d
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r13], 0xa
cmp dword [r13 + 0xc], 0
je 0x578760
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0057b390
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r13], 0xb
cmp ebx, 5
je 0x578a1c
cmp ebx, 6
je 0x578a01
cmp dword [r13 + 4], 0
je 0x5778c5
mov ecx, edi
mov dword [r13], 0x1a
and ecx, 7
shr r12d, cl
sub edi, ecx
jmp 0x57872e
cmp edi, 3
jae 0x5778f0
nop word [rax + rax]
test esi, esi
je 0x5789e6
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 3
jb 0x5778d0
mov eax, r12d
shr r12d, 1
dec edi
and eax, 1
mov dword [r13 + 4], eax
mov eax, r12d
and eax, 3
je 0x5779a6
sub eax, 1
je 0x577951
sub eax, 1
je 0x57793d
cmp eax, 1
jne 0x5779ae
lea rax, str.invalid_block_type
shr r12d, 2
add edi, 0xfffffffe
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
shr r12d, 2
mov dword [r13], 0x10
add byte [rax], al
add byte [rbx - 0x22160139], al
invalid
add byte [rax], al
lea rax, [0x005f23a0]
mov dword [r13], 0xd
mov ecx, edi
and ecx, 7
sub edi, ecx
shr r12d, cl
cmp edi, 0x20
jae 0x5779f0
nop dword [rax]
test esi, esi
je 0x5789cb
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x5779d0
mov eax, r12d
movzx ecx, r12w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x577a18
lea rax, str.invalid_stored_block_lengths
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov dword [r13 + 0x48], ecx
mov r12d, r14d
mov edi, r14d
mov dword [r13], 0xe
cmp ebx, 6
je 0x5789b0
mov dword [r13], 0xf
mov r14d, dword [r13 + 0x48]
test r14d, r14d
je 0x577a9b
cmp r14d, esi
cmova r14d, esi
cmp r14d, r10d
cmova r14d, r10d
test r14d, r14d
je 0x578995
mov r8d, r14d
mov rdx, rbp
mov rcx, r9
mov ebx, r14d
call sub.msvcrt.dll_memcpy
mov r10d, dword [rsp + 0xb8]
mov r9, qword [rsp + 0x40]
sub r10d, r14d
sub esi, r14d
add r9, rbx
add rbp, rbx
sub dword [r13 + 0x48], r14d
mov dword [rsp + 0xb8], r10d
mov qword [rsp + 0x40], r9
jmp 0x57872e
mov dword [r13], 0xb
jmp 0x57872e
cmp edi, 0xe
jae 0x577ad0
nop dword [rax]
test esi, esi
je 0x57897a
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0xe
jb 0x577ab0
mov ecx, r12d
shr r12d, 5
add edi, 0xfffffff2
mov edx, r12d
shr r12d, 5
and ecx, 0x1f
mov eax, r12d
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr r12d, 4
add eax, 4
mov dword [r13 + 0x74], ecx
mov dword [r13 + 0x78], edx
mov dword [r13 + 0x70], eax
cmp ecx, 0x11e
ja 0x577c32
cmp edx, 0x1e
ja 0x577c32
mov dword [r13 + 0x7c], r14d
mov dword [r13], 0x11
lea rdx, [0x00400000]
mov eax, dword [r13 + 0x70]
cmp dword [r13 + 0x7c], eax
jae 0x577b97
nop word [rax + rax]
cmp edi, 3
jae 0x577b65
test esi, esi
je 0x57895f
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 3
jb 0x577b45
mov eax, dword [r13 + 0x7c]
movzx ecx, r12w
add edi, 0xfffffffd
movzx eax, word [rdx + rax*2 + 0x1f2c20]
and cx, 7
shr r12d, 3
mov word [r13 + rax*2 + 0x88], cx
inc dword [r13 + 0x7c]
mov eax, dword [r13 + 0x70]
cmp dword [r13 + 0x7c], eax
jb 0x577b40
cmp dword [r13 + 0x7c], 0x13
jae 0x577bc0
nop
mov eax, dword [r13 + 0x7c]
movzx eax, word [rdx + rax*2 + 0x1f2c20]
mov word [r13 + rax*2 + 0x88], r14w
inc dword [r13 + 0x7c]
cmp dword [r13 + 0x7c], 0x13
jb 0x577ba0
lea rcx, [r13 + 0x68]
lea rax, [r13 + 0x548]
lea r9, [r13 + 0x80]
mov qword [r9], rax
mov qword [r13 + 0x58], rax
lea rax, [r13 + 0x308]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r13 + 0x88]
lea r8d, [rcx + 0x13]
call fcn.005792c0
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x577c4a
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_code_lengths_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
lea rax, str.too_many_length_or_distance_symbols
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov dword [r13 + 0x7c], r14d
mov dword [r13], 0x12
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp dword [r13 + 0x7c], eax
jae 0x577e79
nop dword [rax + rax]
mov ecx, dword [r13 + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rsp + 0x34], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x577ce6
nop dword [rax + rax]
test esi, esi
je 0x5788f3
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r13 + 0x68]
dec esi
add r12d, eax
mov eax, 1
inc rbp
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rsp + 0x34], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x577ca0
mov edx, eax
shr edx, 0x10
cmp dx, 0x10
jae 0x577d12
shr eax, 8
movzx ecx, al
mov eax, dword [r13 + 0x7c]
mov word [r13 + rax*2 + 0x88], dx
shr r12d, cl
sub edi, ecx
inc dword [r13 + 0x7c]
jmp 0x577e67
cmp dx, 0x10
jne 0x577d8b
movzx edx, byte [rsp + 0x35]
shr eax, 8
movzx ecx, al
add ecx, 2
cmp edi, ecx
jae 0x577d55
nop word [rax + rax]
test esi, esi
je 0x578944
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
movzx eax, dl
add eax, 2
cmp edi, eax
jb 0x577d30
mov eax, dword [r13 + 0x7c]
movzx ecx, dl
shr r12d, cl
sub edi, ecx
test eax, eax
je 0x577eb4
mov r8d, r12d
dec eax
shr r12d, 2
movzx r9d, word [r13 + rax*2 + 0x88]
and r8d, 3
add r8d, 3
add edi, 0xfffffffe
jmp 0x577e33
cmp word [rsp + 0x36], 0x11
jne 0x577de4
movzx r10d, byte [rsp + 0x35]
lea edx, [r10 + 3]
cmp edi, edx
jae 0x577dc0
test esi, esi
je 0x578929
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, edx
jb 0x577da1
mov ecx, r10d
mov eax, 0xfffffffd
mov r9d, r14d
shr r12d, cl
sub eax, r10d
mov r8d, r12d
shr r12d, 3
and r8d, 7
add r8d, 3
add edi, eax
jmp 0x577e33
movzx r10d, byte [rsp + 0x35]
lea edx, [r10 + 7]
cmp edi, edx
jae 0x577e11
test esi, esi
je 0x57890e
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, edx
jb 0x577df2
mov ecx, r10d
mov eax, 0xfffffff9
mov r9d, r14d
shr r12d, cl
sub eax, r10d
mov r8d, r12d
shr r12d, 7
and r8d, 0x7f
add r8d, 0xb
add edi, eax
mov edx, dword [r13 + 0x78]
mov eax, dword [r13 + 0x7c]
add edx, dword [r13 + 0x74]
lea ecx, [r8 + rax]
cmp ecx, edx
ja 0x577ed9
test r8d, r8d
je 0x577e67
mov eax, dword [r13 + 0x7c]
mov word [r13 + rax*2 + 0x88], r9w
inc dword [r13 + 0x7c]
add r8d, 0xffffffff
jne 0x577e50
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp dword [r13 + 0x7c], eax
jb 0x577c70
cmp dword [r13], 0x1d
je 0x578721
cmp word [r13 + 0x288], 0
jne 0x577efe
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_code____missing_end_of_block
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov r8d, dword [r13 + 0x74]
lea rax, [r13 + 0x548]
lea r14, [r13 + 0x308]
test r10d, r10d
je 0x57880f
movzx eax, byte [r13 + 0x48]
inc r9
dec r10d
mov byte [r9 - 1], al
mov dword [rsp + 0xb8], r10d
mov qword [rsp + 0x40], r9
mov dword [r13], 0x14
jmp 0x57872e
cmp dword [r13 + 8], 0
je 0x5786af
cmp edi, 0x20
jae 0x5785f0
test esi, esi
je 0x5787f4
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x5785d0
sub r8d, r10d
add dword [r15 + 0x1c], r8d
add dword [r13 + 0x1c], r8d
test r8d, r8d
je 0x578642
cmp dword [r13 + 0x10], 0
je 0x57861b
mov ecx, dword [r13 + 0x18]
mov eax, r8d
mov rdx, r9
sub rdx, rax
call fcn.0057b9c0
jmp 0x57862d
mov ecx, dword [r13 + 0x18]
mov eax, r8d
mov rdx, r9
sub rdx, rax
call fcn.0057b390
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
cmp dword [r13 + 0x10], 0
mov ebx, r10d
mov dword [rsp + 0xa0], ebx
je 0x578658
mov ecx, r12d
jmp 0x578681
mov ecx, r12d
mov eax, r12d
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, r12d
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, r12d
shr eax, 0x18
add ecx, eax
cmp ecx, dword [r13 + 0x18]
je 0x57869f
lea rax, str.incorrect_data_check
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov r12d, r14d
mov edi, r14d
mov dword [r13], 0x1b
jmp 0x5786c7
mov ebx, dword [rsp + 0xa0]
mov dword [r13], 0x1b
jmp 0x5786c7
mov ebx, dword [rsp + 0xa0]
cmp dword [r13 + 8], 0
je 0x5787a8
cmp dword [r13 + 0x10], 0
je 0x5787a8
cmp edi, 0x20
jae 0x578702
test esi, esi
je 0x578b6c
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x5786e2
cmp r12d, dword [r13 + 0x1c]
je 0x5787a2
lea rax, str.incorrect_length_check
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x57872e
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov qword [r15 + 0x10], r9
mov dword [r15 + 0x18], r10d
mov qword [r15], rbp
mov dword [r15 + 8], esi
mov eax, 2
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], edi
mov r12d, r14d
mov edi, r14d
mov ecx, dword [rsp + 0xa8]
mov dword [r13], 0x1c
mov r14d, 1
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa8]
mov r14d, 1
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa8]
mov r14d, 0xfffffffd
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x578b7b
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
mov eax, 0xfffffffe
add rsp, 0x80
pop r15
pop r13
pop rbx
ret