Function at 0x419440
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
push edi
test eax, eax
je 0x41a804
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x41a804
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41a804
mov edx, dword [eax]
test edx, edx
jne 0x419477
cmp dword [eax + 4], edx
jne 0x41a804
cmp dword [edi], 0xb
jne 0x419482
mov dword [edi], 0xc
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 4]
push ebx
mov ebx, dword [edi + 0x38]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
push esi
mov esi, dword [edi + 0x3c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], 0
cmp eax, 0x1c
ja case.default.0x4194b4
jmp dword [eax*4 + 0x41a810]
cmp dword [edi + 8], 0
jne 0x4194cc
mov dword [edi], 0xc
jmp 0x41a6cb
cmp esi, 0x10
jae 0x4194f3
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x4194d1
test byte [edi + 8], 2
je 0x419538
cmp ebx, 0x8b1f
jne 0x419538
push 0
xor edx, edx
xor ecx, ecx
call fcn.0041c7a0
add esp, 4
mov edx, 2
lea ecx, [ebp - 0x14]
mov dword [edi + 0x18], eax
mov word [ebp - 0x14], bx
call fcn.0041c7c0
mov edx, dword [ebp - 8]
xor ebx, ebx
mov dword [edi + 0x18], eax
xor esi, esi
mov dword [edi], 1
jmp 0x41a6cb
mov eax, dword [edi + 0x20]
mov dword [edi + 0x10], 0
test eax, eax
je 0x41954d
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x4195e9
movzx eax, bl
shl eax, 8
mov ecx, ebx
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
jne 0x4195e9
mov edx, ebx
and dl, 0xf
cmp dl, 8
je 0x41958d
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x41a6c5
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
add ecx, 8
sub esi, 4
cmp ecx, dword [edi + 0x24]
jbe 0x4195b2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x41a6c5
mov edx, 1
shl edx, cl
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x14], edx
xor edx, edx
call fcn.0041c120
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
shr ebx, 8
not ebx
and ebx, 2
or ebx, 9
mov dword [edi], ebx
xor ebx, ebx
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
xor esi, esi
jmp 0x41a6cb
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov edx, dword [ebp - 8]
jmp 0x41a6c5
cmp esi, 0x10
jae 0x419622
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x419600
mov dword [edi + 0x10], ebx
cmp bl, 8
je 0x419639
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x41a6c5
test ebx, 0xe000
je 0x419650
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x41a6c5
mov eax, dword [edi + 0x20]
test eax, eax
je 0x419661
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x10], 0x200
je 0x419689
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x14], bl
shr ebx, 8
mov edx, 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.0041c7c0
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 2
jmp 0x4196a0
cmp esi, 0x20
jae 0x4196c2
lea ebx, [ebx]
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x4196a0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4196cc
mov dword [eax + 4], ebx
test dword [edi + 0x10], 0x200
je 0x419704
mov eax, dword [edi + 0x18]
mov ecx, ebx
mov edx, ebx
shr ecx, 8
shr edx, 0x10
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], cl
mov byte [ebp - 0x12], dl
shr ebx, 0x18
mov edx, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x11], bl
call fcn.0041c7c0
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 3
jmp 0x419715
cmp esi, 0x10
jae 0x419737
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x419715
mov eax, dword [edi + 0x20]
test eax, eax
je 0x419754
mov ecx, ebx
and ecx, 0xff
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x20]
mov eax, ebx
shr eax, 8
mov dword [ecx + 0xc], eax
test dword [edi + 0x10], 0x200
je 0x41977c
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x14], bl
shr ebx, 8
mov edx, 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.0041c7c0
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 4
test dword [edi + 0x10], 0x400
je 0x4197f1
cmp esi, 0x10
jae 0x4197b6
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x419794
mov eax, dword [edi + 0x20]
mov dword [edi + 0x40], ebx
test eax, eax
je 0x4197c3
mov dword [eax + 0x14], ebx
test dword [edi + 0x10], 0x200
je 0x4197eb
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x14], bl
shr ebx, 8
mov edx, 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.0041c7c0
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
jmp 0x4197ff
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4197ff
mov dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x4198ac
mov ecx, dword [edi + 0x40]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jbe 0x419824
mov ecx, eax
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x4198a2
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41986f
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41986f
mov edx, dword [edi + 0x20]
mov eax, dword [edx + 0x14]
sub eax, dword [edi + 0x40]
mov edx, dword [edx + 0x18]
add ecx, eax
cmp ecx, edx
jbe 0x419853
sub edx, eax
jmp 0x419856
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 0x2c]
push ecx
add edx, eax
push edx
call fcn.004259e0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x419897
mov eax, dword [edi + 0x18]
test edx, edx
jne 0x419883
xor eax, eax
jmp 0x419894
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.0041c7c0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
sub dword [ebp - 4], ecx
add edx, ecx
sub dword [edi + 0x40], ecx
mov dword [ebp - 8], edx
cmp dword [edi + 0x40], 0
jne 0x41a725
mov dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x41994f
cmp dword [ebp - 4], 0
je 0x41a725
xor eax, eax
movzx ecx, byte [eax + edx]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x419905
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x419905
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x419905
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x20]
mov byte [edx + ecx], al
inc dword [edi + 0x40]
mov edx, dword [ebp - 8]
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
je 0x419913
cmp eax, dword [ebp - 4]
jb 0x4198d2
test dword [edi + 0x10], 0x200
je 0x41993b
mov eax, dword [edi + 0x18]
test edx, edx
jne 0x419927
xor eax, eax
jmp 0x419935
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.0041c7c0
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], eax
add edx, eax
cmp dword [ebp - 0x20], 0
mov dword [ebp - 8], edx
jne 0x41a725
jmp 0x41995d
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41995d
mov dword [eax + 0x1c], 0
mov dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x419a00
cmp dword [ebp - 4], 0
je 0x41a725
xor eax, eax
movzx ecx, byte [eax + edx]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x4199b6
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x4199b6
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x4199b6
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x20]
mov byte [edx + ecx], al
inc dword [edi + 0x40]
mov edx, dword [ebp - 8]
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
je 0x4199c4
cmp eax, dword [ebp - 4]
jb 0x419983
test dword [edi + 0x10], 0x200
je 0x4199ec
mov eax, dword [edi + 0x18]
test edx, edx
jne 0x4199d8
xor eax, eax
jmp 0x4199e6
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.0041c7c0
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], eax
add edx, eax
cmp dword [ebp - 0x20], 0
mov dword [ebp - 8], edx
jne 0x41a725
jmp 0x419a0e
mov eax, dword [edi + 0x20]
test eax, eax
je 0x419a0e
mov dword [eax + 0x24], 0
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x419a5f
cmp esi, 0x10
jae 0x419a44
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x419a22
movzx ecx, word [edi + 0x18]
cmp ebx, ecx
je 0x419a5b
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x41a6c5
xor ebx, ebx
xor esi, esi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x419a7c
mov ecx, dword [edi + 0x10]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov edx, dword [edi + 0x20]
mov dword [edx + 0x30], 1
push 0
xor edx, edx
xor ecx, ecx
call fcn.0041c7a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], 0xb
jmp 0x41a6cb
cmp esi, 0x20
jae 0x419ac8
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x419aa6
mov ecx, ebx
mov eax, ebx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, ebx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
mov ecx, dword [ebp + 8]
shr ebx, 0x18
add eax, ebx
xor ebx, ebx
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
xor esi, esi
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x41a6e2
xor eax, eax
xor edx, edx
xor ecx, ecx
call fcn.0041c120
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
mov dword [edi], 0xb
cmp dword [edi + 4], 0
je 0x419b3f
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x18
jmp 0x41a6cb
cmp esi, 3
jae 0x419b66
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 3
jb 0x419b44
mov ecx, ebx
shr ebx, 1
mov eax, ebx
and ecx, 1
and eax, 3
mov dword [edi + 4], ecx
cmp eax, 3
ja case.default.0x419b7a
jmp dword [eax*4 + 0x41a884]
shr ebx, 2
mov dword [edi], 0xd
sub esi, 3
jmp 0x41a6cb
shr ebx, 2
mov dword [edi + 0x4c], 0x4380b0
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x4388b0
mov dword [edi + 0x58], 5
mov dword [edi], 0x12
sub esi, 3
jmp 0x41a6cb
shr ebx, 2
mov dword [edi], 0xf
sub esi, 3
jmp 0x41a6cb
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edi], 0x1b
shr ebx, 2
sub esi, 3
jmp 0x41a6cb
mov ecx, esi
and ecx, 7
sub esi, ecx
shr ebx, cl
cmp esi, 0x20
jae 0x419c22
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x419c00
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x419c43
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x41a6c5
xor ebx, ebx
mov dword [edi + 0x40], eax
xor esi, esi
mov dword [edi], 0xe
mov eax, dword [edi + 0x40]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41a29b
mov ecx, dword [ebp - 4]
cmp eax, ecx
jbe 0x419c6a
mov eax, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jbe 0x419c76
mov eax, ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41a725
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
push ecx
push edx
push eax
call fcn.004259e0
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub dword [ebp - 4], eax
sub dword [ebp - 0x10], eax
add dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
add esp, 0xc
sub dword [edi + 0x40], eax
jmp 0x41a6cb
cmp esi, 0xe
jae 0x419cd3
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0xe
jb 0x419cb1
mov ecx, ebx
and ecx, 0x1f
shr ebx, 5
add ecx, 0x101
mov eax, ebx
mov dword [edi + 0x60], ecx
shr ebx, 5
mov ecx, ebx
and eax, 0x1f
and ecx, 0xf
inc eax
add ecx, 4
shr ebx, 4
sub esi, 0xe
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x64], eax
mov dword [edi + 0x5c], ecx
ja 0x419df1
cmp eax, 0x1e
ja 0x419df1
mov dword [edi + 0x68], 0
mov dword [edi], 0x10
mov ecx, dword [edi + 0x68]
cmp ecx, dword [edi + 0x5c]
jae 0x419d7d
lea esp, [esp]
cmp esi, 3
jae 0x419d57
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 3
jb 0x419d35
mov eax, dword [edi + 0x68]
movzx eax, word [eax*2 + 0x438930]
mov ecx, ebx
and ecx, 7
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
mov ecx, dword [edi + 0x68]
shr ebx, 3
sub esi, 3
cmp ecx, dword [edi + 0x5c]
jb 0x419d30
mov eax, 0x13
cmp dword [edi + 0x68], eax
jae 0x419daa
jmp 0x419d90
mov edx, dword [edi + 0x68]
movzx ecx, word [edx*2 + 0x438930]
xor edx, edx
mov word [edi + ecx*2 + 0x70], dx
inc dword [edi + 0x68]
cmp dword [edi + 0x68], eax
jb 0x419d90
lea eax, [edi + 0x530]
lea edx, [edi + 0x6c]
lea ecx, [edi + 0x2f0]
push ecx
mov dword [edx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x54]
push eax
push 0x13
lea ecx, [edi + 0x70]
push 0
mov dword [eax], 7
call fcn.0041cac0
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x419e00
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_code_lengths_set
mov edx, dword [ebp - 8]
jmp 0x41a6c5
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x41a6c5
mov edx, dword [ebp - 8]
mov dword [edi + 0x68], 0
mov dword [edi], 0x11
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jae 0x41a024
nop
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
jbe 0x419e81
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
inc edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
ja 0x419e42
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x419ee2
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp esi, ecx
jae 0x419ec7
jmp 0x419ea0
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
mov eax, dword [ebp - 0xc]
movzx ecx, ah
cmp esi, ecx
jb 0x419ea0
movzx ecx, ah
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
mov cx, word [ebp - 0xa]
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
jmp 0x41a015
mov cx, word [ebp - 0xa]
cmp cx, 0x10
jne 0x419f51
movzx ecx, ah
lea eax, [ecx + 2]
mov dword [ebp - 0x24], ecx
cmp esi, eax
jae 0x419f27
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
inc edx
add esi, 8
add ebx, eax
lea eax, [ecx + 2]
mov dword [ebp - 8], edx
cmp esi, eax
jb 0x419f00
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
test eax, eax
je 0x41a076
movzx ecx, word [edi + eax*2 + 0x6e]
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
mov dword [ebp - 0x20], ecx
sub esi, 2
jmp 0x419fea
cmp cx, 0x11
movzx ecx, ah
mov dword [ebp - 0x24], ecx
jne 0x419f9f
lea eax, [ecx + 3]
cmp esi, eax
jae 0x419f8b
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
inc edx
add esi, 8
add ebx, eax
lea eax, [ecx + 3]
mov dword [ebp - 8], edx
cmp esi, eax
jb 0x419f64
shr ebx, cl
mov edx, 0xfffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x419fdf
lea eax, [ecx + 7]
cmp esi, eax
jae 0x419fcd
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
inc edx
add esi, 8
add ebx, eax
lea eax, [ecx + 7]
mov dword [ebp - 8], edx
cmp esi, eax
jb 0x419fa6
shr ebx, cl
mov edx, 0xfffffff9
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
sub edx, ecx
add esi, edx
mov dword [ebp - 0x20], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [edi + 0x68]
add ecx, dword [edi + 0x60]
add edx, eax
cmp edx, ecx
ja 0x41a085
test eax, eax
je 0x41a012
mov ecx, dword [ebp - 0x20]
mov edx, dword [edi + 0x68]
mov word [edi + edx*2 + 0x70], cx
inc dword [edi + 0x68]
dec eax
jne 0x41a004
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jb 0x419e20
cmp dword [edi], 0x1b
je 0x41a6cb
lea eax, [edi + 0x530]
lea edx, [edi + 0x6c]
mov dword [edx], eax
mov dword [edi + 0x4c], eax
lea ecx, [edi + 0x2f0]
push ecx
lea eax, [edi + 0x54]
push eax
mov dword [eax], 9
mov eax, dword [edi + 0x60]
push eax
lea ecx, [edi + 0x70]
push 1
call fcn.0041cac0
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41a097
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
jmp 0x41a6c5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x41a6c5
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov edx, dword [ebp - 8]
jmp 0x41a6c5
mov eax, dword [edi + 0x6c]
lea edx, [edi + 0x6c]
mov dword [edi + 0x50], eax
lea ecx, [edi + 0x2f0]
push ecx
mov ecx, dword [edi + 0x64]
lea eax, [edi + 0x58]
push eax
mov dword [eax], 6
mov eax, dword [edi + 0x60]
push ecx
lea ecx, [edi + eax*2 + 0x70]
push 2
call fcn.0041cac0
mov edx, dword [ebp - 8]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41a0df
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_distances_set
jmp 0x41a6c5
mov dword [edi], 0x12
cmp dword [ebp - 4], 6
jb 0x41a14c
cmp dword [ebp - 0x10], 0x102
jb 0x41a14c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
push edx
push eax
mov dword [eax + 4], ecx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
call fcn.0041c390
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov ebx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax]
mov dword [ebp - 4], edx
add esp, 8
mov dword [ebp - 8], ecx
mov edx, ecx
jmp 0x41a6cb
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
jbe 0x41a1af
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
inc edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
ja 0x41a170
test al, al
je 0x41a271
test al, 0xf0
jne 0x41a271
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov dword [ebp - 0x20], ecx
movzx ecx, al
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x20]
dec eax
and eax, ebx
shr eax, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x2c]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x41a266
jmp 0x41a210
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
dec dword [ebp - 4]
inc edx
add ebx, eax
movzx eax, ch
mov dword [ebp - 0x20], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x20]
add esi, 8
mov dword [ebp - 8], edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0x22]
add eax, ecx
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, dword [ebp - 0x20]
cmp eax, esi
ja 0x41a210
movzx ecx, byte [ebp - 0x23]
mov eax, dword [ebp - 0xc]
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0x20], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [edi + 0x40], ecx
test al, al
jne 0x41a297
mov dword [edi], 0x17
jmp 0x41a6cb
test al, 0x20
je 0x41a2a6
mov dword [edi], 0xb
jmp 0x41a6cb
test al, 0x40
je 0x41a2b9
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x41a6c5
movzx ecx, al
and ecx, 0xf
mov dword [edi + 0x48], ecx
mov dword [edi], 0x13
mov eax, dword [edi + 0x48]
test eax, eax
je 0x41a309
cmp esi, eax
jae 0x41a2f5
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, dword [edi + 0x48]
jb 0x41a2d3
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
add dword [edi + 0x40], eax
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x14
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
jbe 0x41a372
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x58]
inc edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
ja 0x41a333
test al, 0xf0
jne 0x41a424
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov dword [ebp - 0x20], ecx
movzx ecx, al
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x20]
dec eax
and eax, ebx
shr eax, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x2c]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x41a419
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
dec dword [ebp - 4]
inc edx
add ebx, eax
movzx eax, ch
mov dword [ebp - 0x20], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x20]
add esi, 8
mov dword [ebp - 8], edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0x22]
add eax, ecx
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, dword [ebp - 0x20]
cmp eax, esi
ja 0x41a3c3
movzx ecx, byte [ebp - 0x23]
mov eax, dword [ebp - 0xc]
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0x20], ecx
test al, 0x40
je 0x41a446
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x41a6c5
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov dword [edi], 0x15
mov eax, dword [edi + 0x48]
test eax, eax
je 0x41a4a6
cmp esi, eax
jae 0x41a492
jmp 0x41a470
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, dword [edi + 0x48]
jb 0x41a470
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
add dword [edi + 0x44], eax
shr ebx, cl
sub esi, ecx
mov ecx, dword [edi + 0x2c]
sub ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x1c]
cmp dword [edi + 0x44], ecx
jbe 0x41a4c3
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x41a6c5
mov dword [edi], 0x16
cmp dword [ebp - 0x10], 0
je 0x41a725
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
mov eax, dword [edi + 0x44]
cmp eax, ecx
jbe 0x41a517
sub eax, ecx
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0xc], eax
cmp eax, ecx
jbe 0x41a4fb
sub eax, ecx
mov ecx, dword [edi + 0x34]
add ecx, dword [edi + 0x28]
mov dword [ebp - 0xc], eax
sub ecx, eax
jmp 0x41a506
mov ecx, dword [edi + 0x34]
sub ecx, eax
add ecx, dword [edi + 0x30]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x24], ecx
cmp eax, ecx
jbe 0x41a528
mov eax, ecx
jmp 0x41a525
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jbe 0x41a534
mov eax, ecx
mov dword [ebp - 0xc], eax
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x18]
mov dword [edi + 0x40], ecx
mov dword [ebp - 0x2c], eax
jmp 0x41a553
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov cl, byte [eax + ecx]
mov eax, dword [ebp - 0x18]
mov byte [eax], cl
inc eax
dec dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jne 0x41a550
cmp dword [edi + 0x40], 0
jne 0x41a6cb
mov dword [edi], 0x12
jmp 0x41a6cb
cmp dword [ebp - 0x10], 0
je 0x41a725
mov eax, dword [ebp - 0x18]
mov cl, byte [edi + 0x40]
mov byte [eax], cl
inc eax
dec dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [edi], 0x12
jmp 0x41a6cb
cmp dword [edi + 8], 0
je 0x41a668
cmp esi, 0x20
jae 0x41a5d2
nop
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x41a5b0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add dword [ecx + 0x14], eax
add dword [edi + 0x1c], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41a622
cmp dword [edi + 0x10], 0
je 0x41a606
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [edi + 0x18]
jne 0x41a5fc
xor eax, eax
jmp 0x41a619
mov edx, dword [ebp - 0x1c]
call fcn.0041c7c0
jmp 0x41a616
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x18]
sub edx, eax
call fcn.0041c120
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [edi + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, ebx
jne 0x41a653
and eax, 0xff00
mov ecx, ebx
shl ecx, 0x10
add eax, ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff00
shl eax, 8
add eax, ecx
mov ecx, ebx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [edi + 0x18]
je 0x41a664
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x41a6c5
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x19
cmp dword [edi + 8], 0
je 0x41a70f
cmp dword [edi + 0x10], 0
je 0x41a70f
cmp esi, 0x20
jae 0x41a6b2
jmp 0x41a690
cmp dword [ebp - 4], 0
je 0x41a725
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x41a690
cmp ebx, dword [edi + 0x1c]
je 0x41a70b
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1b
mov eax, dword [edi]
cmp eax, 0x1c
jbe switch.0x004194b4
mov eax, 0xfffffffe
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x3c], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 4]
pop esi
mov dword [edi + 0x38], ebx
pop ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
mov eax, 2
pop edi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x1a
mov dword [ebp - 0x28], 1
jmp 0x41a725
mov dword [ebp - 0x28], 0xfffffffd
cmp dword [edi + 0x28], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
jne 0x41a754
cmp dword [edi], 0x18
jge 0x41a779
mov eax, ecx
cmp dword [ebp - 0x1c], eax
je 0x41a779
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
push ecx
call fcn.00419340
add esp, 4
test eax, eax
je 0x41a779
mov dword [edi], 0x1c
pop esi
pop ebx
mov eax, 0xfffffffc
pop edi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
sub eax, dword [esi + 0x10]
sub ecx, dword [esi + 4]
add dword [esi + 0x14], eax
add dword [esi + 8], ecx
add dword [edi + 0x1c], eax
cmp dword [edi + 8], 0
je 0x41a7cd
test eax, eax
je 0x41a7cd
cmp dword [edi + 0x10], 0
je 0x41a7ba
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov ebx, dword [edi + 0x18]
jne 0x41a7af
xor eax, eax
jmp 0x41a7c7
mov edx, eax
mov eax, ebx
call fcn.0041c7c0
jmp 0x41a7c7
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + 0x18]
sub edx, eax
call fcn.0041c120
mov dword [edi + 0x18], eax
mov dword [esi + 0x30], eax
mov edx, dword [edi + 4]
neg edx
sbb edx, edx
xor eax, eax
and edx, 0x40
cmp dword [edi], 0xb
setne al
dec eax
and eax, 0x80
add edx, eax
add edx, dword [edi + 0x3c]
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x2c], edx
test eax, eax
jne 0x41a6db
pop esi
pop ebx
mov eax, 0xfffffffb
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret