Function at 0x4223ec
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.004221a5
test eax, eax
jne case.default.0x422463
xor ecx, ecx
cmp dword [edx + 0xc], ecx
je case.default.0x422463
cmp dword [edx], ecx
jne 0x42241f
cmp dword [edx + 4], ecx
jne case.default.0x422463
mov edi, dword [edx + 0x1c]
cmp dword [edi + 4], 0x3f3f
jne 0x422432
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 0x4224e5
jmp dword [eax*4 + 0x4236dc]
cmp dword [edi + 0xc], 0
jne 0x42249b
mov dword [edi + 4], 0x3f40
jmp 0x4224e5
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422479
test byte [edi + 0xc], 2
je 0x4224fe
cmp ebx, 0x8b1f
jne 0x4224fe
cmp dword [edi + 0x28], 0
jne 0x4224bb
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.00423d7f
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.0x00422463
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 0x42250d
or dword [eax + 0x30], 0xffffffff
test byte [edi + 0xc], 1
je 0x4225ae
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 0x4225ae
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x42254c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
mov edx, eax
jmp 0x4224e5
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 0x422566
mov dword [edi + 0x28], ecx
cmp ecx, 0xf
ja 0x4225a2
cmp ecx, dword [edi + 0x28]
ja 0x4225a2
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 0x4224e5
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x422541
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov dword [edi + 4], 0x3f51
jmp 0x4224e5
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x4225c4
mov dword [edi + 0x14], ebx
cmp bl, 8
je 0x4225fc
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x4225b8
test ebx, 0xe000
je 0x42260d
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x4225b8
mov eax, dword [edi + 0x24]
test eax, eax
je 0x42261e
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x14], 0x200
je 0x42264a
test byte [edi + 0xc], 4
je 0x42264a
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.00423d7f
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.0x422463.16182
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422657
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422685
mov dword [eax + 4], ebx
test dword [edi + 0x14], 0x200
je 0x4226c1
test byte [edi + 0xc], 4
je 0x4226c1
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.00423d7f
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.0x422463.16183
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x4226ce
mov eax, dword [edi + 0x24]
test eax, eax
je 0x42270f
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 0x42273b
test byte [edi + 0xc], 4
je 0x42273b
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.00423d7f
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 0x4227dd
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422761
and dword [eax + 0x10], 0
mov dword [edi + 4], 0x3f39
test dword [edi + 0x14], 0x400
je 0x42287a
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jbe 0x422785
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x422870
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x42283f
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42283f
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 0x422827
sub ecx, eax
jmp 0x42282a
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x4227be
mov eax, dword [edi + 0x24]
mov dword [edi + 0x44], ebx
test eax, eax
je 0x4227ef
mov dword [eax + 0x14], ebx
test dword [edi + 0x14], 0x200
je 0x42281b
test byte [edi + 0xc], 4
je 0x42281b
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.00423d7f
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
jmp 0x422761
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 4]
add ecx, eax
push ecx
call fcn.00425450
mov edx, dword [ebp + 8]
add esp, 0xc
test dword [edi + 0x14], 0x200
je 0x422864
test byte [edi + 0xc], 4
je 0x422864
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00423d69
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 0x4235cc
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test dword [edi + 0x14], 0x800
je 0x422920
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x4228d8
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4228d8
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x20]
jae 0x4228d8
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 0x4228e6
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x4228a0
test dword [edi + 0x14], 0x200
je 0x42290b
test byte [edi + 0xc], 4
je 0x42290b
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00423d69
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 0x4235cc
jmp 0x42292b
mov eax, dword [edi + 0x24]
test eax, eax
je 0x42292b
and dword [eax + 0x1c], 0
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test dword [edi + 0x14], 0x1000
je 0x4229d1
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422989
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x422989
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x28]
jae 0x422989
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 0x422997
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x422951
test dword [edi + 0x14], 0x200
je 0x4229bc
test byte [edi + 0xc], 4
je 0x4229bc
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00423d69
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 0x4235cc
jmp 0x4229dc
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4229dc
and dword [eax + 0x24], 0
mov dword [edi + 4], 0x3f3c
test dword [edi + 0x14], 0x200
je 0x422a36
jmp 0x422a10
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x4229ee
test byte [edi + 0xc], 4
je 0x422a2f
movzx eax, word [edi + 0x1c]
cmp ebx, eax
je 0x422a2f
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x4225b8
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422a53
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 0x4224e5
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422a67
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 0x423588
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 0x422b14
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4e
jmp 0x4224e5
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422af5
mov eax, ebx
and eax, 1
mov dword [edi + 8], eax
shr ebx, 1
mov eax, ebx
and eax, 3
sub eax, 0
je 0x422b74
dec eax
je 0x422b4f
dec eax
je 0x422b46
dec eax
jne 0x422b7b
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi + 4], 0x3f51
jmp 0x422b7b
mov dword [edi + 4], 0x3f44
jmp 0x422b7b
mov dword [edi + 0x50], 0x44a710
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x44af10
mov dword [edi + 0x5c], 5
mov dword [edi + 4], 0x3f47
jmp 0x422b7b
mov dword [edi + 4], 0x3f41
shr ebx, 2
sub esi, 3
mov dword [ebp - 0xc], esi
jmp 0x4224e5
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
jmp 0x422bb3
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422b94
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x422bd9
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x4225b8
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 0x422a5b
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jbe 0x422c0a
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x422c15
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4235cc
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.00425450
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 0x4224e2
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422c47
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 0x422cb7
cmp dword [edi + 0x68], 0x1e
ja 0x422cb7
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f45
jmp case.0x422463.16197
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4225b8
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422cc3
mov ecx, dword [edi + 0x6c]
movzx ecx, word [ecx*2 + 0x44af90]
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 0x422ce2
jmp 0x422d27
mov eax, dword [edi + 0x6c]
movzx eax, word [eax*2 + 0x44af90]
xor ecx, ecx
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
cmp dword [edi + 0x6c], 0x13
jb 0x422d12
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.00424009
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x422d74
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x422541
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
jmp 0x422f12
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422d84
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x30], eax
cmp ax, 0x10
jae 0x422df2
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.0x422463.16198
jne 0x422e5a
mov eax, ecx
shr eax, 8
movzx eax, al
jmp 0x422e23
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422dfe
mov eax, dword [edi + 0x6c]
movzx ecx, ch
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], esi
test eax, eax
je 0x422f26
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 0x422eea
cmp word [ebp - 0x22], 0x11
movzx eax, ch
mov dword [ebp - 0x24], eax
jne 0x422ec8
jmp 0x422e8b
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422e69
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x422ee1
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x422ea6
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 0x422f32
test eax, eax
je 0x422f12
mov ecx, dword [edi + 0x6c]
mov dx, word [ebp - 0x24]
mov word [edi + ecx*2 + 0x74], dx
inc dword [edi + 0x6c]
dec eax
jne 0x422f00
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
cmp dword [edi + 0x6c], eax
jb 0x422da3
jmp 0x422f43
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x4225b8
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 0x4224e5
cmp word [edi + 0x274], 0
jne 0x422f66
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4225b8
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.00424009
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x422fae
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x422541
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.00424009
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x422ff1
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x422541
mov edx, dword [ebp + 8]
mov dword [edi + 4], 0x3f47
mov dword [edi + 4], 0x3f48
cmp dword [ebp - 8], 6
jb 0x42307b
cmp dword [ebp - 0x14], 0x102
jb 0x42307b
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.004239a7
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 0x4224e5
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x4224e5
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 0x4230c7
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x423097
test al, al
je 0x423177
test al, 0xf0
jne 0x423177
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 0x423158
cmp dword [ebp - 8], 0
je 0x4235c9
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 0x423117
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 0x4231a7
mov dword [edi + 4], 0x3f4d
jmp 0x4224e5
test al, 0x20
je 0x4231b7
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x422a5b
test al, 0x40
je 0x4231c7
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x4225b8
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 0x42321e
cmp esi, eax
jae 0x423206
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x4231e2
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 0x423273
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x423243
test al, 0xf0
jne 0x42331b
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 0x4232fc
cmp dword [ebp - 8], 0
je 0x4235c9
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 0x4232bb
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 0x423343
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x4225b8
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 0x4233a5
cmp esi, eax
jae 0x42338a
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x423366
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 0x4235cc
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x48]
cmp ecx, eax
jbe 0x423404
sub ecx, eax
cmp ecx, dword [edi + 0x30]
jbe 0x4233df
cmp dword [edi + 0x1bc4], 0
je 0x4233df
mov dword [edx + 0x18], str.invalid_distance_too_far_back
jmp 0x4225b8
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
cmp ecx, edx
jbe 0x4233f2
add eax, dword [edi + 0x2c]
sub ecx, edx
sub eax, ecx
jmp 0x4233f6
sub eax, ecx
add eax, edx
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x24], edx
cmp ecx, edx
jbe 0x42340f
mov ecx, edx
jmp 0x42340f
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jbe 0x423417
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 0x42342b
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x44], ecx
jne 0x4224e2
mov dword [edi + 4], 0x3f48
jmp 0x4224e2
cmp dword [ebp - 0x14], 0
je 0x4235cc
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 0x4224e5
cmp dword [edi + 0xc], 0
je 0x42353f
jmp 0x4234a1
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x42347f
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 0x4234f0
test eax, eax
je 0x4234f0
cmp dword [edi + 0x14], 0
push eax
je 0x4234d6
mov edx, dword [ebp - 0x1c]
push dword [edi + 0x1c]
sub edx, eax
call fcn.00423d69
pop ecx
jmp 0x4234e4
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x1c]
call fcn.0042378c
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 0x423538
cmp dword [edi + 0x14], 0
mov eax, ebx
jne 0x423527
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 0x423538
mov dword [edx + 0x18], str.incorrect_data_check
jmp 0x4225b8
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4f
cmp dword [edi + 0xc], 0
je 0x4235b0
cmp dword [edi + 0x14], 0
je 0x4235b0
jmp 0x423572
cmp dword [ebp - 8], 0
je 0x4235cc
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 0x423554
cmp ebx, dword [edi + 0x20]
je 0x4235ac
mov dword [edx + 0x18], str.incorrect_length_check
jmp 0x4225b8
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 0x4224f8
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f50
mov dword [ebp - 0x28], 1
jmp 0x4235cc
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x4235cc
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 0x423600
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
je 0x423625
cmp dword [edi + 4], 0x3f51
jge 0x423625
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.00422322
pop ecx
test eax, eax
je 0x423625
mov dword [edi + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x4224f8
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 0x423678
test ebx, ebx
je 0x423678
cmp dword [edi + 0x14], 0
push ebx
je 0x423661
mov edx, dword [esi + 0xc]
push dword [edi + 0x1c]
sub edx, ebx
call fcn.00423d69
pop ecx
jmp 0x42366e
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x1c]
sub ecx, ebx
call fcn.0042378c
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 0x42368c
mov dword [ebp - 0x2c], 0x80
jmp 0x423690
and dword [ebp - 0x2c], 0
cmp ecx, 0x3f47
je 0x4236a4
cmp ecx, 0x3f42
je 0x4236a4
xor ecx, ecx
jmp 0x4236a9
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 0x4236d2
test ebx, ebx
jne 0x4236d2
cmp dword [ebp - 0x28], ebx
jne 0x4236d2
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x4224f9