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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x30
push ebx
push esi
push edi
mov eax, edx
call fcn.004221c9
test eax, eax
jne case.default.0x422487
xor ecx, ecx
cmp dword [edx + 0xc], ecx
je case.default.0x422487
cmp dword [edx], ecx
jne 0x422443
cmp dword [edx + 4], ecx
jne case.default.0x422487
mov edi, dword [edx + 0x1c]
cmp dword [edi + 4], 0x3f3f
jne 0x422456
mov dword [edi + 4], 0x3f40
mov eax, dword [edx + 0xc]
mov esi, dword [edi + 0x40]
mov ebx, dword [edi + 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
jmp 0x422509
jmp dword [eax*4 + 0x423700]
cmp dword [edi + 0xc], 0
jne 0x4224bf
mov dword [edi + 4], 0x3f40
jmp 0x422509
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x42249d
test byte [edi + 0xc], 2
je 0x422522
cmp ebx, 0x8b1f
jne 0x422522
cmp dword [edi + 0x28], 0
jne 0x4224df
mov dword [edi + 0x28], 0xf
xor esi, esi
push 2
lea edx, [ebp - 0x18]
xor eax, eax
mov dword [edi + 0x1c], esi
mov word [ebp - 0x18], 0x8b1f
call fcn.00423da3
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f35
mov edx, dword [ebp + 8]
mov eax, dword [edi + 4]
sub eax, 0x3f34
cmp eax, 0x1e
jbe switch.0x00422487
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0x24]
and dword [edi + 0x14], 0
test eax, eax
je 0x422531
or dword [eax + 0x30], 0xffffffff
test byte [edi + 0xc], 1
je 0x4225d2
movzx eax, bl
shl eax, 8
mov ecx, ebx
shr ecx, 8
add eax, ecx
push 0x1f
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x4225d2
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x422570
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
mov edx, eax
jmp 0x422509
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
sub esi, 4
add ecx, 8
cmp dword [edi + 0x28], 0
mov dword [ebp - 0xc], esi
jne 0x42258a
mov dword [edi + 0x28], ecx
cmp ecx, 0xf
ja 0x4225c6
cmp ecx, dword [edi + 0x28]
ja 0x4225c6
xor eax, eax
inc eax
shr ebx, 8
mov edx, eax
shl edx, cl
mov ecx, dword [ebp + 8]
not ebx
and ebx, 2
or ebx, 0x3f3d
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [edi + 4], ebx
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov edx, ecx
jmp 0x422509
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x422565
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov dword [edi + 4], 0x3f51
jmp 0x422509
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x4225e8
mov dword [edi + 0x14], ebx
cmp bl, 8
je 0x422620
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x4225dc
test ebx, 0xe000
je 0x422631
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x4225dc
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422642
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x14], 0x200
je 0x42266e
test byte [edi + 0xc], 4
je 0x42266e
mov eax, dword [edi + 0x1c]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00423da3
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f36
jmp case.0x422487.16182
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x20
jb 0x42267b
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4226a9
mov dword [eax + 4], ebx
test dword [edi + 0x14], 0x200
je 0x4226e5
test byte [edi + 0xc], 4
je 0x4226e5
mov eax, ebx
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x16], al
mov eax, dword [edi + 0x1c]
shr ebx, 0x18
push 4
lea edx, [ebp - 0x18]
mov byte [ebp - 0x15], bl
call fcn.00423da3
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f37
jmp case.0x422487.16183
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x10
jb 0x4226f2
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422733
mov ecx, ebx
and ecx, 0xff
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x24]
mov eax, ebx
shr eax, 8
mov dword [ecx + 0xc], eax
test dword [edi + 0x14], 0x200
je 0x42275f
test byte [edi + 0xc], 4
je 0x42275f
mov eax, dword [edi + 0x1c]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00423da3
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f38
test dword [edi + 0x14], 0x400
jne 0x422801
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422785
and dword [eax + 0x10], 0
mov dword [edi + 4], 0x3f39
test dword [edi + 0x14], 0x400
je 0x42289e
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jbe 0x4227a9
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x422894
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x422863
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x422863
mov eax, dword [ecx + 0x14]
sub eax, dword [edi + 0x44]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x18]
add edx, eax
cmp edx, ecx
jbe 0x42284b
sub ecx, eax
jmp 0x42284e
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x10
jb 0x4227e2
mov eax, dword [edi + 0x24]
mov dword [edi + 0x44], ebx
test eax, eax
je 0x422813
mov dword [eax + 0x14], ebx
test dword [edi + 0x14], 0x200
je 0x42283f
test byte [edi + 0xc], 4
je 0x42283f
mov eax, dword [edi + 0x1c]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00423da3
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
jmp 0x422785
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 4]
add ecx, eax
push ecx
call fcn.00425470
mov edx, dword [ebp + 8]
add esp, 0xc
test dword [edi + 0x14], 0x200
je 0x422888
test byte [edi + 0xc], 4
je 0x422888
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00423d8d
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
sub dword [edi + 0x44], eax
cmp dword [edi + 0x44], 0
jne 0x4235f0
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test dword [edi + 0x14], 0x800
je 0x422944
cmp dword [ebp - 8], 0
je 0x4235f0
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
movzx eax, byte [ecx + eax]
inc dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4228fc
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4228fc
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x20]
jae 0x4228fc
mov dl, byte [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
inc dword [edi + 0x44]
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x24], 0
je 0x42290a
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x4228c4
test dword [edi + 0x14], 0x200
je 0x42292f
test byte [edi + 0xc], 4
je 0x42292f
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00423d8d
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
cmp dword [ebp - 0x24], 0
jne 0x4235f0
jmp 0x42294f
mov eax, dword [edi + 0x24]
test eax, eax
je 0x42294f
and dword [eax + 0x1c], 0
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test dword [edi + 0x14], 0x1000
je 0x4229f5
cmp dword [ebp - 8], 0
je 0x4235f0
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
movzx eax, byte [ecx + eax]
inc dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4229ad
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4229ad
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x28]
jae 0x4229ad
mov dl, byte [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
inc dword [edi + 0x44]
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x24], 0
je 0x4229bb
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x422975
test dword [edi + 0x14], 0x200
je 0x4229e0
test byte [edi + 0xc], 4
je 0x4229e0
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00423d8d
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
cmp dword [ebp - 0x24], 0
jne 0x4235f0
jmp 0x422a00
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422a00
and dword [eax + 0x24], 0
mov dword [edi + 4], 0x3f3c
test dword [edi + 0x14], 0x200
je 0x422a5a
jmp 0x422a34
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x422a12
test byte [edi + 0xc], 4
je 0x422a53
movzx eax, word [edi + 0x1c]
cmp ebx, eax
je 0x422a53
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x4225dc
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422a77
mov ecx, dword [edi + 0x14]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 1
and dword [edi + 0x1c], 0
and dword [edx + 0x30], 0
mov dword [edi + 4], 0x3f3f
jmp 0x422509
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x20
jb 0x422a8b
mov ecx, ebx
mov esi, ebx
mov eax, 0xff00
and ecx, eax
shl esi, 0x10
add ecx, esi
mov esi, ebx
shr esi, 8
and eax, esi
shl ecx, 8
shr ebx, 0x18
add eax, ecx
add eax, ebx
mov dword [edi + 0x1c], eax
mov dword [edx + 0x30], eax
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f3e
cmp dword [edi + 0x10], 0
je 0x4235ac
xor eax, eax
inc eax
mov dword [edi + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [edi + 4], 0x3f3f
cmp dword [edi + 8], 0
je 0x422b38
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4e
jmp 0x422509
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 3
jb 0x422b19
mov eax, ebx
and eax, 1
mov dword [edi + 8], eax
shr ebx, 1
mov eax, ebx
and eax, 3
sub eax, 0
je 0x422b98
dec eax
je 0x422b73
dec eax
je 0x422b6a
dec eax
jne 0x422b9f
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi + 4], 0x3f51
jmp 0x422b9f
mov dword [edi + 4], 0x3f44
jmp 0x422b9f
mov dword [edi + 0x50], 0x44a6e8
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x44aee8
mov dword [edi + 0x5c], 5
mov dword [edi + 4], 0x3f47
jmp 0x422b9f
mov dword [edi + 4], 0x3f41
shr ebx, 2
sub esi, 3
mov dword [ebp - 0xc], esi
jmp 0x422509
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
jmp 0x422bd7
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x422bb8
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x422bfd
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x4225dc
xor ebx, ebx
xor esi, esi
mov dword [edi + 0x44], eax
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f42
mov dword [edi + 4], 0x3f43
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x422a7f
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jbe 0x422c2e
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x422c39
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4235f0
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.00425470
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
sub dword [ebp - 0x14], eax
add dword [ebp - 0x1c], eax
add esp, 0xc
sub dword [edi + 0x44], eax
jmp 0x422506
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0xe
jb 0x422c6b
mov eax, ebx
and eax, 0x1f
add eax, 0x101
mov dword [edi + 0x64], eax
shr ebx, 5
mov eax, ebx
and eax, 0x1f
inc eax
shr ebx, 5
mov dword [edi + 0x68], eax
mov eax, ebx
and eax, 0xf
add eax, 4
sub esi, 0xe
shr ebx, 4
cmp dword [edi + 0x64], 0x11e
mov dword [edi + 0x60], eax
mov dword [ebp - 0xc], esi
ja 0x422cdb
cmp dword [edi + 0x68], 0x1e
ja 0x422cdb
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f45
jmp case.0x422487.16197
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4225dc
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 3
jb 0x422ce7
mov ecx, dword [edi + 0x6c]
movzx ecx, word [ecx*2 + 0x44af68]
mov eax, ebx
and eax, 7
mov word [edi + ecx*2 + 0x74], ax
inc dword [edi + 0x6c]
shr ebx, 3
sub esi, 3
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x60]
jb 0x422d06
jmp 0x422d4b
mov eax, dword [edi + 0x6c]
movzx eax, word [eax*2 + 0x44af68]
xor ecx, ecx
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
cmp dword [edi + 0x6c], 0x13
jb 0x422d36
lea eax, [edi + 0x534]
lea esi, [edi + 0x70]
mov dword [esi], eax
mov dword [edi + 0x50], eax
lea eax, [edi + 0x2f4]
push eax
push 0x13
lea eax, [edi + 0x74]
push eax
lea ecx, [edi + 0x58]
push 0
mov dword [ecx], 7
call fcn.0042402d
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x422d98
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x422565
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
jmp 0x422f36
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov ecx, dword [edi + 0x58]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
and eax, ebx
mov ecx, dword [ecx + eax*4]
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x24], ecx
cmp eax, esi
ja 0x422da8
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x30], eax
cmp ax, 0x10
jae 0x422e16
mov eax, dword [edi + 0x6c]
shr ecx, 8
movzx ecx, cl
sub esi, ecx
shr ebx, cl
mov cx, word [ebp - 0x30]
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
mov dword [ebp - 0xc], esi
jmp case.0x422487.16198
jne 0x422e7e
mov eax, ecx
shr eax, 8
movzx eax, al
jmp 0x422e47
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
add ebx, eax
inc dword [ebp - 4]
add esi, 8
movzx eax, ch
add eax, 2
cmp esi, eax
jb 0x422e22
mov eax, dword [edi + 0x6c]
movzx ecx, ch
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], esi
test eax, eax
je 0x422f4a
movzx eax, word [edi + eax*2 + 0x72]
mov dword [ebp - 0x24], eax
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
sub esi, 2
jmp 0x422f0e
cmp word [ebp - 0x22], 0x11
movzx eax, ch
mov dword [ebp - 0x24], eax
jne 0x422eec
jmp 0x422eaf
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add esi, 8
add eax, 3
cmp esi, eax
jb 0x422e8d
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x422f05
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add esi, 8
add eax, 7
cmp esi, eax
jb 0x422eca
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffff9
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
and dword [ebp - 0x24], 0
pop edx
sub edx, ecx
add esi, edx
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x6c]
add ecx, dword [edi + 0x64]
add edx, eax
mov dword [ebp - 0xc], esi
cmp edx, ecx
ja 0x422f56
test eax, eax
je 0x422f36
mov ecx, dword [edi + 0x6c]
mov dx, word [ebp - 0x24]
mov word [edi + ecx*2 + 0x74], dx
inc dword [edi + 0x6c]
dec eax
jne 0x422f24
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
cmp dword [edi + 0x6c], eax
jb 0x422dc7
jmp 0x422f67
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x4225dc
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [edi + 4], 0x3f51
cmp dword [edi + 4], 0x3f51
je 0x422509
cmp word [edi + 0x274], 0
jne 0x422f8a
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4225dc
lea eax, [edi + 0x534]
lea esi, [edi + 0x70]
mov dword [esi], eax
mov dword [edi + 0x50], eax
lea eax, [edi + 0x2f4]
push eax
push dword [edi + 0x64]
lea eax, [edi + 0x74]
push eax
lea ecx, [edi + 0x58]
push 1
mov dword [ecx], 9
call fcn.0042402d
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x422fd2
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x422565
mov eax, dword [esi]
mov dword [edi + 0x54], eax
lea eax, [edi + 0x2f4]
push eax
push dword [edi + 0x68]
mov eax, dword [edi + 0x64]
lea eax, [edi + eax*2 + 0x74]
push eax
lea ecx, [edi + 0x5c]
push 2
mov dword [ecx], 6
call fcn.0042402d
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x423015
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x422565
mov edx, dword [ebp + 8]
mov dword [edi + 4], 0x3f47
mov dword [edi + 4], 0x3f48
cmp dword [ebp - 8], 6
jb 0x42309f
cmp dword [ebp - 0x14], 0x102
jb 0x42309f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
push eax
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], esi
call fcn.004239cb
cmp dword [edi + 4], 0x3f3f
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x40]
mov ebx, dword [edi + 0x3c]
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
jne 0x422509
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x422509
mov ecx, dword [edi + 0x58]
and dword [edi + 0x1bc8], 0
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
jmp 0x4230eb
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x58]
add esi, 8
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x4230bb
test al, al
je 0x42319b
test al, 0xf0
jne 0x42319b
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
mov dword [ebp - 0xc], edx
movzx ecx, al
add ecx, edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
shr eax, 0x10
dec edx
and edx, ebx
shr edx, cl
add edx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + edx*4]
movzx edx, byte [ebp - 0x24]
jmp 0x42317c
cmp dword [ebp - 8], 0
je 0x4235ed
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
movzx edx, byte [ebp - 0xf]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
movzx ecx, byte [ebp - 0x10]
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
add esi, 8
mov ecx, edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0xe]
add eax, ecx
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, esi
ja 0x42313b
movzx ecx, byte [ebp - 0xf]
mov edx, dword [ebp + 8]
shr ebx, cl
sub esi, ecx
mov dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
mov dword [ebp - 0xc], ecx
shr ebx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], esi
mov dword [edi + 0x44], ecx
test al, al
jne 0x4231cb
mov dword [edi + 4], 0x3f4d
jmp 0x422509
test al, 0x20
je 0x4231db
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x422a7f
test al, 0x40
je 0x4231eb
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x4225dc
movzx eax, al
and eax, 0xf
mov dword [edi + 0x4c], eax
mov dword [edi + 4], 0x3f49
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x423242
cmp esi, eax
jae 0x42322a
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
inc dword [ebp - 4]
cmp esi, dword [edi + 0x4c]
jb 0x423206
mov ecx, dword [edi + 0x4c]
xor eax, eax
inc eax
shl eax, cl
sub esi, ecx
dec eax
and eax, ebx
add dword [edi + 0x44], eax
shr ebx, cl
add dword [edi + 0x1bc8], ecx
mov eax, dword [edi + 0x44]
mov dword [edi + 0x1bcc], eax
mov dword [edi + 4], 0x3f4a
mov ecx, dword [edi + 0x5c]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + ecx*4]
jmp 0x423297
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x5c]
add esi, 8
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x54]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x423267
test al, 0xf0
jne 0x42333f
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
mov dword [ebp - 0xc], edx
movzx ecx, al
add ecx, edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
shr eax, 0x10
dec edx
and edx, ebx
shr edx, cl
add edx, eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + edx*4]
movzx edx, byte [ebp - 0x24]
jmp 0x423320
cmp dword [ebp - 8], 0
je 0x4235ed
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
movzx edx, byte [ebp - 0xf]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
movzx ecx, byte [ebp - 0x10]
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
add esi, 8
mov ecx, edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0xe]
add eax, ecx
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, esi
ja 0x4232df
movzx ecx, byte [ebp - 0xf]
mov edx, dword [ebp + 8]
shr ebx, cl
sub esi, ecx
add dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0xc], esi
test al, 0x40
je 0x423367
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x4225dc
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov dword [edi + 4], 0x3f4b
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4233c9
cmp esi, eax
jae 0x4233ae
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
inc dword [ebp - 4]
cmp esi, dword [edi + 0x4c]
jb 0x42338a
mov ecx, dword [edi + 0x4c]
xor eax, eax
inc eax
shl eax, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
dec eax
and eax, ebx
add dword [edi + 0x48], eax
shr ebx, cl
add dword [edi + 0x1bc8], ecx
mov dword [edi + 4], 0x3f4c
cmp dword [ebp - 0x14], 0
je 0x4235f0
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x48]
cmp ecx, eax
jbe 0x423428
sub ecx, eax
cmp ecx, dword [edi + 0x30]
jbe 0x423403
cmp dword [edi + 0x1bc4], 0
je 0x423403
mov dword [edx + 0x18], str.invalid_distance_too_far_back
jmp 0x4225dc
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
cmp ecx, edx
jbe 0x423416
add eax, dword [edi + 0x2c]
sub ecx, edx
sub eax, ecx
jmp 0x42341a
sub eax, ecx
add eax, edx
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x24], edx
cmp ecx, edx
jbe 0x423433
mov ecx, edx
jmp 0x423433
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jbe 0x42343b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
sub dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
sub edx, ecx
sub dword [ebp - 0x24], eax
mov dword [edi + 0x44], edx
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + eax]
mov byte [eax], dl
inc eax
dec ecx
jne 0x42344f
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x44], ecx
jne 0x422506
mov dword [edi + 4], 0x3f48
jmp 0x422506
cmp dword [ebp - 0x14], 0
je 0x4235f0
mov ecx, dword [ebp - 0x1c]
mov al, byte [edi + 0x44]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x14]
mov byte [ecx], al
mov dword [edi + 4], 0x3f48
jmp 0x422509
cmp dword [edi + 0xc], 0
je 0x423563
jmp 0x4234c5
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x4234a3
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
add dword [edx + 0x14], eax
add dword [edi + 0x20], eax
test byte [edi + 0xc], 4
mov dword [ebp - 0x20], eax
je 0x423514
test eax, eax
je 0x423514
cmp dword [edi + 0x14], 0
push eax
je 0x4234fa
mov edx, dword [ebp - 0x1c]
push dword [edi + 0x1c]
sub edx, eax
call fcn.00423d8d
pop ecx
jmp 0x423508
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x1c]
call fcn.004237b0
pop ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov edx, ecx
test byte [edi + 0xc], 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
je 0x42355c
cmp dword [edi + 0x14], 0
mov eax, ebx
jne 0x42354b
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 + 0x1c]
je 0x42355c
mov dword [edx + 0x18], str.incorrect_data_check
jmp 0x4225dc
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4f
cmp dword [edi + 0xc], 0
je 0x4235d4
cmp dword [edi + 0x14], 0
je 0x4235d4
jmp 0x423596
cmp dword [ebp - 8], 0
je 0x4235f0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x423578
cmp ebx, dword [edi + 0x20]
je 0x4235d0
mov dword [edx + 0x18], str.incorrect_length_check
jmp 0x4225dc
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], esi
push 2
jmp 0x42251c
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f50
mov dword [ebp - 0x28], 1
jmp 0x4235f0
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x4235f0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
cmp dword [edi + 0x2c], 0
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], esi
jne 0x423624
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
je 0x423649
cmp dword [edi + 4], 0x3f51
jge 0x423649
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.00422346
pop ecx
test eax, eax
je 0x423649
mov dword [edi + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x42251c
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
sub eax, dword [esi + 4]
mov ebx, dword [ebp - 0x20]
sub ebx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], ebx
add dword [edi + 0x20], ebx
test byte [edi + 0xc], 4
mov dword [ebp - 0x2c], eax
je 0x42369c
test ebx, ebx
je 0x42369c
cmp dword [edi + 0x14], 0
push ebx
je 0x423685
mov edx, dword [esi + 0xc]
push dword [edi + 0x1c]
sub edx, ebx
call fcn.00423d8d
pop ecx
jmp 0x423692
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x1c]
sub ecx, ebx
call fcn.004237b0
mov dword [edi + 0x1c], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov ecx, dword [edi + 4]
cmp ecx, 0x3f3f
jne 0x4236b0
mov dword [ebp - 0x2c], 0x80
jmp 0x4236b4
and dword [ebp - 0x2c], 0
cmp ecx, 0x3f47
je 0x4236c8
cmp ecx, 0x3f42
je 0x4236c8
xor ecx, ecx
jmp 0x4236cd
mov ecx, pe_nt_image_headers32
mov edx, dword [edi + 8]
neg edx
sbb edx, edx
and edx, 0x40
add edx, ecx
add edx, dword [ebp - 0x2c]
add edx, dword [edi + 0x40]
mov dword [esi + 0x2c], edx
test eax, eax
jne 0x4236f6
test ebx, ebx
jne 0x4236f6
cmp dword [ebp - 0x28], ebx
jne 0x4236f6
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x42251d