Function at 0x4473fd
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.004471b6
test eax, eax
jne case.default.0x447474
xor ecx, ecx
cmp dword [edx + 0xc], ecx
je case.default.0x447474
cmp dword [edx], ecx
jne 0x447430
cmp dword [edx + 4], ecx
jne case.default.0x447474
mov edi, dword [edx + 0x1c]
cmp dword [edi + 4], 0x3f3f
jne 0x447443
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 0x4474f6
jmp dword [eax*4 + 0x4486ed]
cmp dword [edi + 0xc], 0
jne 0x4474ac
mov dword [edi + 4], 0x3f40
jmp 0x4474f6
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x44748a
test byte [edi + 0xc], 2
je 0x44750f
cmp ebx, 0x8b1f
jne 0x44750f
cmp dword [edi + 0x28], 0
jne 0x4474cc
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.00448d90
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.0x00447474
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 0x44751e
or dword [eax + 0x30], 0xffffffff
test byte [edi + 0xc], 1
je 0x4475bf
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 0x4475bf
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x44755d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
mov edx, eax
jmp 0x4474f6
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 0x447577
mov dword [edi + 0x28], ecx
cmp ecx, 0xf
ja 0x4475b3
cmp ecx, dword [edi + 0x28]
ja 0x4475b3
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 0x4474f6
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x447552
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov dword [edi + 4], 0x3f51
jmp 0x4474f6
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x4475d5
mov dword [edi + 0x14], ebx
cmp bl, 8
je 0x44760d
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x4475c9
test ebx, 0xe000
je 0x44761e
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x4475c9
mov eax, dword [edi + 0x24]
test eax, eax
je 0x44762f
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x14], 0x200
je 0x44765b
test byte [edi + 0xc], 4
je 0x44765b
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.00448d90
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.0x447474.16182
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447668
mov eax, dword [edi + 0x24]
test eax, eax
je 0x447696
mov dword [eax + 4], ebx
test dword [edi + 0x14], 0x200
je 0x4476d2
test byte [edi + 0xc], 4
je 0x4476d2
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.00448d90
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.0x447474.16183
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x4476df
mov eax, dword [edi + 0x24]
test eax, eax
je 0x447720
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 0x44774c
test byte [edi + 0xc], 4
je 0x44774c
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.00448d90
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 0x4477ee
mov eax, dword [edi + 0x24]
test eax, eax
je 0x447772
and dword [eax + 0x10], 0
mov dword [edi + 4], 0x3f39
test dword [edi + 0x14], 0x400
je 0x44788b
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jbe 0x447796
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x447881
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x447850
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x447850
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 0x447838
sub ecx, eax
jmp 0x44783b
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x4477cf
mov eax, dword [edi + 0x24]
mov dword [edi + 0x44], ebx
test eax, eax
je 0x447800
mov dword [eax + 0x14], ebx
test dword [edi + 0x14], 0x200
je 0x44782c
test byte [edi + 0xc], 4
je 0x44782c
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.00448d90
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
jmp 0x447772
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 4]
add ecx, eax
push ecx
call fcn.0044a670
mov edx, dword [ebp + 8]
add esp, 0xc
test dword [edi + 0x14], 0x200
je 0x447875
test byte [edi + 0xc], 4
je 0x447875
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00448d7a
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 0x4485dd
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test dword [edi + 0x14], 0x800
je 0x447931
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x4478e9
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4478e9
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x20]
jae 0x4478e9
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 0x4478f7
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x4478b1
test dword [edi + 0x14], 0x200
je 0x44791c
test byte [edi + 0xc], 4
je 0x44791c
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00448d7a
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 0x4485dd
jmp 0x44793c
mov eax, dword [edi + 0x24]
test eax, eax
je 0x44793c
and dword [eax + 0x1c], 0
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test dword [edi + 0x14], 0x1000
je 0x4479e2
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x44799a
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x44799a
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x28]
jae 0x44799a
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 0x4479a8
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x447962
test dword [edi + 0x14], 0x200
je 0x4479cd
test byte [edi + 0xc], 4
je 0x4479cd
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00448d7a
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 0x4485dd
jmp 0x4479ed
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4479ed
and dword [eax + 0x24], 0
mov dword [edi + 4], 0x3f3c
test dword [edi + 0x14], 0x200
je 0x447a47
jmp 0x447a21
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x4479ff
test byte [edi + 0xc], 4
je 0x447a40
movzx eax, word [edi + 0x1c]
cmp ebx, eax
je 0x447a40
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x4475c9
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x447a64
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 0x4474f6
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447a78
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 0x448599
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 0x447b25
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4e
jmp 0x4474f6
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447b06
mov eax, ebx
and eax, 1
mov dword [edi + 8], eax
shr ebx, 1
mov eax, ebx
and eax, 3
sub eax, 0
je 0x447b85
dec eax
je 0x447b60
dec eax
je 0x447b57
dec eax
jne 0x447b8c
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi + 4], 0x3f51
jmp 0x447b8c
mov dword [edi + 4], 0x3f44
jmp 0x447b8c
mov dword [edi + 0x50], 0x4796a8
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x479ea8
mov dword [edi + 0x5c], 5
mov dword [edi + 4], 0x3f47
jmp 0x447b8c
mov dword [edi + 4], 0x3f41
shr ebx, 2
sub esi, 3
mov dword [ebp - 0xc], esi
jmp 0x4474f6
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
jmp 0x447bc4
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447ba5
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x447bea
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x4475c9
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 0x447a6c
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jbe 0x447c1b
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x447c26
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4485dd
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.0044a670
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 0x4474f3
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447c58
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 0x447cc8
cmp dword [edi + 0x68], 0x1e
ja 0x447cc8
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f45
jmp case.0x447474.16197
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4475c9
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447cd4
mov ecx, dword [edi + 0x6c]
movzx ecx, word [ecx*2 + 0x479f28]
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 0x447cf3
jmp 0x447d38
mov eax, dword [edi + 0x6c]
movzx eax, word [eax*2 + 0x479f28]
xor ecx, ecx
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
cmp dword [edi + 0x6c], 0x13
jb 0x447d23
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.0044901a
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x447d85
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x447552
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
jmp 0x447f23
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447d95
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x30], eax
cmp ax, 0x10
jae 0x447e03
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.0x447474.16198
jne 0x447e6b
mov eax, ecx
shr eax, 8
movzx eax, al
jmp 0x447e34
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447e0f
mov eax, dword [edi + 0x6c]
movzx ecx, ch
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], esi
test eax, eax
je 0x447f37
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 0x447efb
cmp word [ebp - 0x22], 0x11
movzx eax, ch
mov dword [ebp - 0x24], eax
jne 0x447ed9
jmp 0x447e9c
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447e7a
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x447ef2
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x447eb7
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 0x447f43
test eax, eax
je 0x447f23
mov ecx, dword [edi + 0x6c]
mov dx, word [ebp - 0x24]
mov word [edi + ecx*2 + 0x74], dx
inc dword [edi + 0x6c]
dec eax
jne 0x447f11
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
cmp dword [edi + 0x6c], eax
jb 0x447db4
jmp 0x447f54
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x4475c9
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 0x4474f6
cmp word [edi + 0x274], 0
jne 0x447f77
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4475c9
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.0044901a
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x447fbf
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x447552
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.0044901a
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x448002
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x447552
mov edx, dword [ebp + 8]
mov dword [edi + 4], 0x3f47
mov dword [edi + 4], 0x3f48
cmp dword [ebp - 8], 6
jb 0x44808c
cmp dword [ebp - 0x14], 0x102
jb 0x44808c
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.004489b8
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 0x4474f6
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x4474f6
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 0x4480d8
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x4480a8
test al, al
je 0x448188
test al, 0xf0
jne 0x448188
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 0x448169
cmp dword [ebp - 8], 0
je 0x4485da
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 0x448128
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 0x4481b8
mov dword [edi + 4], 0x3f4d
jmp 0x4474f6
test al, 0x20
je 0x4481c8
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x447a6c
test al, 0x40
je 0x4481d8
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x4475c9
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 0x44822f
cmp esi, eax
jae 0x448217
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x4481f3
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 0x448284
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x448254
test al, 0xf0
jne 0x44832c
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 0x44830d
cmp dword [ebp - 8], 0
je 0x4485da
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 0x4482cc
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 0x448354
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x4475c9
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 0x4483b6
cmp esi, eax
jae 0x44839b
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x448377
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 0x4485dd
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x48]
cmp ecx, eax
jbe 0x448415
sub ecx, eax
cmp ecx, dword [edi + 0x30]
jbe 0x4483f0
cmp dword [edi + 0x1bc4], 0
je 0x4483f0
mov dword [edx + 0x18], str.invalid_distance_too_far_back
jmp 0x4475c9
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
cmp ecx, edx
jbe 0x448403
add eax, dword [edi + 0x2c]
sub ecx, edx
sub eax, ecx
jmp 0x448407
sub eax, ecx
add eax, edx
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x24], edx
cmp ecx, edx
jbe 0x448420
mov ecx, edx
jmp 0x448420
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jbe 0x448428
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 0x44843c
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x44], ecx
jne 0x4474f3
mov dword [edi + 4], 0x3f48
jmp 0x4474f3
cmp dword [ebp - 0x14], 0
je 0x4485dd
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 0x4474f6
cmp dword [edi + 0xc], 0
je 0x448550
jmp 0x4484b2
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x448490
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 0x448501
test eax, eax
je 0x448501
cmp dword [edi + 0x14], 0
push eax
je 0x4484e7
mov edx, dword [ebp - 0x1c]
push dword [edi + 0x1c]
sub edx, eax
call fcn.00448d7a
pop ecx
jmp 0x4484f5
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x1c]
call fcn.0044879d
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 0x448549
cmp dword [edi + 0x14], 0
mov eax, ebx
jne 0x448538
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 0x448549
mov dword [edx + 0x18], str.incorrect_data_check
jmp 0x4475c9
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4f
cmp dword [edi + 0xc], 0
je 0x4485c1
cmp dword [edi + 0x14], 0
je 0x4485c1
jmp 0x448583
cmp dword [ebp - 8], 0
je 0x4485dd
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 0x448565
cmp ebx, dword [edi + 0x20]
je 0x4485bd
mov dword [edx + 0x18], str.incorrect_length_check
jmp 0x4475c9
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 0x447509
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f50
mov dword [ebp - 0x28], 1
jmp 0x4485dd
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x4485dd
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 0x448611
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
je 0x448636
cmp dword [edi + 4], 0x3f51
jge 0x448636
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.00447333
pop ecx
test eax, eax
je 0x448636
mov dword [edi + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x447509
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 0x448689
test ebx, ebx
je 0x448689
cmp dword [edi + 0x14], 0
push ebx
je 0x448672
mov edx, dword [esi + 0xc]
push dword [edi + 0x1c]
sub edx, ebx
call fcn.00448d7a
pop ecx
jmp 0x44867f
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x1c]
sub ecx, ebx
call fcn.0044879d
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 0x44869d
mov dword [ebp - 0x2c], 0x80
jmp 0x4486a1
and dword [ebp - 0x2c], 0
cmp ecx, 0x3f47
je 0x4486b5
cmp ecx, 0x3f42
je 0x4486b5
xor ecx, ecx
jmp 0x4486ba
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 0x4486e3
test ebx, ebx
jne 0x4486e3
cmp dword [ebp - 0x28], ebx
jne 0x4486e3
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x44750a