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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2c
test eax, eax
push edi
je 0x42b3de
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x42b3de
cmp dword [eax + 0xc], 0
je 0x42b3de
cmp dword [eax], 0
jne 0x429ea4
cmp dword [eax + 4], 0
jne 0x42b3de
cmp dword [edi], 0xb
jne 0x429eaf
mov dword [edi], 0xc
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [edi + 0x38]
push ebp
mov ebp, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [edi]
cmp eax, 0x1c
push esi
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0
ja case.default.0x429ef0
mov edi, edi
jmp dword [eax*4 + 0x42b3e8]
cmp dword [edi + 8], 0
jne 0x429f08
mov dword [edi], 0xc
jmp 0x42b286
cmp esi, 0x10
jae 0x429f38
lea ecx, [ecx]
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x429f10
test byte [edi + 8], 2
je 0x429f86
cmp ebx, 0x8b1f
jne 0x429f86
push 0
push 0
xor ecx, ecx
call fcn.0042f3c0
push 2
lea ecx, [esp + 0x2c]
mov dword [edi + 0x18], eax
mov byte [esp + 0x2c], 0x1f
mov byte [esp + 0x2d], 0x8b
call fcn.0042f3e0
mov edx, dword [esp + 0x1c]
xor ebx, ebx
add esp, 0xc
mov dword [edi + 0x18], eax
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 1
jmp 0x42b286
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [edi + 0x10], 0
je 0x429f9b
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x42a04c
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 0x42a04c
mov edx, ebx
and dl, 0xf
cmp dl, 8
je 0x429fe1
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x42b280
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
add ecx, 8
sub esi, 4
cmp ecx, dword [edi + 0x24]
mov dword [esp + 0x18], ebx
jbe 0x42a00c
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x42b280
mov edx, 1
shl edx, cl
push 0
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x14], edx
call fcn.0042f140
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
shr ebx, 8
not ebx
and ebx, 2
or ebx, 9
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], ebx
xor ebx, ebx
add esp, 4
mov dword [esp + 0x18], ebx
xor esi, esi
jmp 0x42b286
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.incorrect_header_check
mov edx, dword [esp + 0x10]
jmp 0x42b280
cmp esi, 0x10
jae 0x42a08d
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x42a065
cmp bl, 8
mov dword [edi + 0x10], ebx
je 0x42a0a5
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x42b280
test ebx, 0xe000
je 0x42a0bd
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x42b280
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42a0ce
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x10], 0x200
je 0x42a0fa
mov eax, dword [edi + 0x18]
mov byte [esp + 0x20], bl
shr ebx, 8
push 2
lea ecx, [esp + 0x24]
mov byte [esp + 0x25], bl
call fcn.0042f3e0
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 2
jmp 0x42a110
cmp esi, 0x20
jae 0x42a134
jmp 0x42a110
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
jb 0x42a110
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42a13e
mov dword [eax + 4], ebx
test dword [edi + 0x10], 0x200
je 0x42a17c
mov eax, dword [edi + 0x18]
mov ecx, ebx
shr ecx, 8
mov edx, ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], cl
shr edx, 0x10
shr ebx, 0x18
push 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], bl
call fcn.0042f3e0
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 3
jmp 0x42a190
cmp esi, 0x10
jae 0x42a1b4
lea ecx, [ecx]
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
jb 0x42a190
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42a1d1
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 0x42a1fd
mov eax, dword [edi + 0x18]
mov byte [esp + 0x20], bl
shr ebx, 8
push 2
lea ecx, [esp + 0x24]
mov byte [esp + 0x25], bl
call fcn.0042f3e0
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 4
test dword [edi + 0x10], 0x400
je 0x42a287
cmp esi, 0x10
jae 0x42a244
lea esp, [esp]
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
jb 0x42a220
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [edi + 0x40], ebx
je 0x42a251
mov dword [eax + 0x14], ebx
test dword [edi + 0x10], 0x200
je 0x42a27d
mov eax, dword [edi + 0x18]
mov byte [esp + 0x20], bl
shr ebx, 8
push 2
lea ecx, [esp + 0x24]
mov byte [esp + 0x25], bl
call fcn.0042f3e0
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
jmp 0x42a295
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42a295
mov dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x42a34b
mov eax, dword [edi + 0x40]
cmp eax, edx
mov dword [esp + 0x14], eax
jbe 0x42a2b9
mov eax, edx
mov dword [esp + 0x14], edx
test eax, eax
je 0x42a341
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x42a30f
mov ecx, dword [ecx + 0x10]
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x42a30f
mov ecx, dword [edi + 0x20]
mov ecx, dword [ecx + 0x14]
sub ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x20]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x24], ecx
add ecx, eax
cmp ecx, edx
jbe 0x42a2f2
sub edx, dword [esp + 0x24]
mov eax, edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x28]
add edx, eax
push ebp
push edx
call fcn.0046cef0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x42a336
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0042f3c0
mov edx, dword [esp + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x1c]
add esp, 8
sub edx, eax
add ebp, eax
sub dword [edi + 0x40], eax
mov dword [esp + 0x10], edx
cmp dword [edi + 0x40], 0
jne 0x42b2e0
mov dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x42a3fe
test edx, edx
je 0x42b2e0
xor eax, eax
nop
movzx ecx, byte [eax + ebp]
add eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [esp + 0x24], ecx
je 0x42a3ac
mov ecx, dword [eax + 0x1c]
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x42a3ac
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x42a3ac
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0x24]
mov byte [edx + ecx], al
add dword [edi + 0x40], 1
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x14]
je 0x42a3bb
cmp eax, edx
jb 0x42a370
test dword [edi + 0x10], 0x200
je 0x42a3e9
test ebp, ebp
mov eax, dword [edi + 0x18]
jne 0x42a3cf
xor eax, eax
jmp 0x42a3e2
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0042f3e0
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x14]
sub edx, eax
add ebp, eax
cmp dword [esp + 0x24], 0
mov dword [esp + 0x10], edx
jne 0x42b2e0
jmp 0x42a40c
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42a40c
mov dword [eax + 0x1c], 0
mov dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x42a4be
test edx, edx
je 0x42b2e0
xor eax, eax
movzx ecx, byte [eax + ebp]
add eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [esp + 0x24], ecx
je 0x42a46c
mov ecx, dword [eax + 0x24]
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x42a46c
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x42a46c
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0x24]
mov byte [edx + ecx], al
add dword [edi + 0x40], 1
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x14]
je 0x42a47b
cmp eax, edx
jb 0x42a430
test dword [edi + 0x10], 0x200
je 0x42a4a9
test ebp, ebp
mov eax, dword [edi + 0x18]
jne 0x42a48f
xor eax, eax
jmp 0x42a4a2
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0042f3e0
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x14]
sub edx, eax
add ebp, eax
cmp dword [esp + 0x24], 0
mov dword [esp + 0x10], edx
jne 0x42b2e0
jmp 0x42a4cc
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42a4cc
mov dword [eax + 0x24], 0
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x42a528
cmp esi, 0x10
jae 0x42a508
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x42a4e0
movzx ecx, word [edi + 0x18]
cmp ebx, ecx
je 0x42a520
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x42b280
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42a545
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
push 0
xor ecx, ecx
call fcn.0042f3c0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
add esp, 8
mov dword [edi], 0xb
jmp 0x42b286
cmp esi, 0x20
jae 0x42a599
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x42a571
mov ecx, ebx
and ecx, 0xff00
mov eax, ebx
shl eax, 0x10
add ecx, eax
xor eax, eax
mov ah, byte [esp + 0x1a]
shl ecx, 8
shr ebx, 0x18
add ecx, eax
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 0xa
jmp 0x42a5d3
mov ecx, dword [esp + 0x40]
cmp dword [edi + 0xc], 0
je 0x42b29e
push 0
xor eax, eax
xor ecx, ecx
call fcn.0042f140
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
add esp, 4
mov dword [edi], 0xb
cmp dword [edi + 4], 0
je 0x42a61d
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x18
mov dword [esp + 0x18], ebx
jmp 0x42b286
cmp esi, 3
jae 0x42a646
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 3
mov dword [esp + 0x10], edx
jb 0x42a622
mov ecx, ebx
shr ebx, 1
mov eax, ebx
and ecx, 1
and eax, 3
sub esi, 1
cmp eax, 3
mov dword [edi + 4], ecx
ja case.default.0x42a65d
jmp dword [eax*4 + 0x42b45c]
shr ebx, 2
mov dword [edi], 0xd
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x42b286
shr ebx, 2
mov dword [edi + 0x4c], 0x488be8
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x4893e8
mov dword [edi + 0x58], 5
mov dword [edi], 0x12
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x42b286
shr ebx, 2
mov dword [edi], 0xf
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x42b286
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edi], 0x1b
shr ebx, 2
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x42b286
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
cmp esi, 0x20
mov dword [esp + 0x18], ebx
jae 0x42a719
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x42a6f1
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x42a73b
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x42b280
xor ebx, ebx
mov dword [edi + 0x40], eax
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 0xe
mov eax, dword [edi + 0x40]
test eax, eax
mov dword [esp + 0x14], eax
je 0x42ae09
cmp eax, edx
jbe 0x42a765
mov eax, edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x42a773
mov eax, ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x42b2e0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
push ecx
push ebp
push edx
call fcn.0046cef0
mov eax, dword [esp + 0x20]
sub dword [esp + 0x1c], eax
sub dword [esp + 0x28], eax
add dword [esp + 0x34], eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
add ebp, eax
sub dword [edi + 0x40], eax
jmp 0x42b286
cmp esi, 0xe
jae 0x42a7d5
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0xe
mov dword [esp + 0x10], edx
jb 0x42a7b1
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
add eax, 1
add ecx, 4
shr ebx, 4
sub esi, 0xe
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x64], eax
mov dword [edi + 0x5c], ecx
mov dword [esp + 0x18], ebx
ja 0x42a903
cmp eax, 0x1e
ja 0x42a903
mov dword [edi + 0x68], 0
mov dword [edi], 0x10
mov ecx, dword [edi + 0x68]
cmp ecx, dword [edi + 0x5c]
jae 0x42a890
cmp esi, 3
jae 0x42a864
lea esp, [esp]
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 3
mov dword [esp + 0x10], edx
jb 0x42a840
mov eax, dword [edi + 0x68]
movzx eax, word [eax*2 + 0x489468]
movzx ecx, bl
and ecx, 7
mov word [edi + eax*2 + 0x70], cx
add dword [edi + 0x68], 1
mov ecx, dword [edi + 0x68]
shr ebx, 3
sub esi, 3
cmp ecx, dword [edi + 0x5c]
mov dword [esp + 0x18], ebx
jb 0x42a834
cmp dword [edi + 0x68], 0x13
jae 0x42a8b9
mov ecx, 1
xor eax, eax
lea ecx, [ecx]
mov edx, dword [edi + 0x68]
movzx edx, word [edx*2 + 0x489468]
mov word [edi + edx*2 + 0x70], ax
add dword [edi + 0x68], ecx
cmp dword [edi + 0x68], 0x13
jb 0x42a8a0
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
push ecx
lea edx, [edi + 0x54]
push 0x13
lea ecx, [edi + 0x70]
push 0
mov dword [edx], 7
call fcn.0042f680
mov edx, dword [esp + 0x20]
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x42a913
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_code_lengths_set
jmp 0x42b280
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x42b280
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 0x42ab69
nop
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x42a999
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x42a955
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x42a9fb
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp esi, ecx
jae 0x42a9da
nop
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
mov eax, dword [esp + 0x14]
movzx ecx, ah
cmp esi, ecx
mov dword [esp + 0x10], edx
jb 0x42a9b0
movzx ecx, ah
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
mov cx, word [esp + 0x16]
mov word [edi + eax*2 + 0x70], cx
add dword [edi + 0x68], 1
mov dword [esp + 0x18], ebx
jmp 0x42ab5a
mov cx, word [esp + 0x16]
cmp cx, 0x10
jne 0x42aa71
movzx ecx, ah
lea eax, [ecx + 2]
cmp esi, eax
mov dword [esp + 0x24], ecx
jae 0x42aa3e
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x24]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 2]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x42aa14
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
test eax, eax
mov dword [esp + 0x18], ebx
je 0x42abbe
movzx ecx, word [edi + eax*2 + 0x6e]
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
sub esi, 2
jmp 0x42ab20
cmp cx, 0x11
movzx ecx, ah
mov dword [esp + 0x24], ecx
jne 0x42aac7
lea eax, [ecx + 3]
cmp esi, eax
jae 0x42aaaf
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x24]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 3]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x42aa85
shr ebx, cl
mov eax, ebx
and eax, 7
add eax, 3
mov dword [esp + 0x14], eax
shr ebx, 3
mov eax, 0xfffffffd
jmp 0x42ab10
lea eax, [ecx + 7]
cmp esi, eax
jae 0x42aafa
mov edi, edi
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x24]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 7]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x42aad0
shr ebx, cl
mov eax, ebx
and eax, 0x7f
add eax, 0xb
mov dword [esp + 0x14], eax
shr ebx, 7
mov eax, 0xfffffff9
sub eax, ecx
add esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov ecx, dword [edi + 0x68]
add ecx, eax
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
mov dword [esp + 0x18], ebx
cmp ecx, eax
ja 0x42abce
cmp dword [esp + 0x14], 0
je 0x42ab5a
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x68]
sub dword [esp + 0x14], 1
mov word [edi + ecx*2 + 0x70], ax
add dword [edi + 0x68], 1
cmp dword [esp + 0x14], 0
jne 0x42ab42
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jb 0x42a930
cmp dword [edi], 0x1b
je 0x42b286
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
push ecx
mov ecx, dword [edi + 0x60]
push ecx
lea edx, [edi + 0x54]
lea ecx, [edi + 0x70]
push 1
mov dword [edx], 9
call fcn.0042f680
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x42abde
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov edx, dword [esp + 0x10]
jmp 0x42b280
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x42b280
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
jmp 0x42b280
mov ecx, dword [edi + 0x6c]
lea eax, [edi + 0x6c]
mov dword [edi + 0x50], ecx
lea ecx, [edi + 0x2f0]
push ecx
mov ecx, dword [edi + 0x60]
push eax
mov eax, dword [edi + 0x64]
push eax
lea edx, [edi + 0x58]
lea ecx, [edi + ecx*2 + 0x70]
push 2
mov dword [edx], 6
call fcn.0042f680
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x42ac29
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_distances_set
mov edx, dword [esp + 0x10]
jmp 0x42b280
mov edx, dword [esp + 0x10]
mov dword [edi], 0x12
cmp edx, 6
jb 0x42ac9d
cmp dword [esp + 0x1c], 0x102
jb 0x42ac9d
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [eax], ebp
mov dword [eax + 4], ecx
push eax
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
call fcn.0042fb60
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x24], edx
add esp, 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov edx, eax
jmp 0x42b286
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
sub eax, 1
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
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x42ad08
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x42acc4
test al, al
je 0x42adda
test al, 0xf0
jne 0x42adda
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x34], ecx
movzx ecx, cl
mov dword [esp + 0x24], ecx
movzx ecx, al
add ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x24]
sub eax, 1
and eax, ebx
shr eax, cl
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [esp + 0x34]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x42adcd
nop
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x18]
sub edx, 1
add esi, 8
add ebx, eax
movzx eax, ch
add ecx, eax
mov dword [esp + 0x24], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x24]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1a]
add eax, ecx
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, dword [esp + 0x24]
cmp eax, esi
ja 0x42ad70
movzx ecx, byte [esp + 0x19]
mov eax, dword [esp + 0x14]
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x24], ecx
mov ecx, eax
shr ecx, 0x10
test al, al
mov dword [esp + 0x18], ebx
mov dword [edi + 0x40], ecx
jne 0x42ae05
mov dword [edi], 0x17
jmp 0x42b286
test al, 0x20
je 0x42ae14
mov dword [edi], 0xb
jmp 0x42b286
test al, 0x40
je 0x42ae28
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x42b280
and eax, 0xf
mov dword [edi + 0x48], eax
mov dword [edi], 0x13
mov eax, dword [edi + 0x48]
test eax, eax
je 0x42ae7a
cmp esi, eax
jae 0x42ae64
nop
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, dword [edi + 0x48]
mov dword [esp + 0x10], edx
jb 0x42ae40
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
sub eax, 1
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
sub eax, 1
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
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x42aeeb
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x58]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x42aea7
test al, 0xf0
jne 0x42afba
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x34], ecx
movzx ecx, cl
mov dword [esp + 0x24], ecx
movzx ecx, al
add ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x24]
sub eax, 1
and eax, ebx
shr eax, cl
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [esp + 0x34]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x42afad
lea ebx, [ebx]
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x18]
sub edx, 1
add esi, 8
add ebx, eax
movzx eax, ch
add ecx, eax
mov dword [esp + 0x24], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x24]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1a]
add eax, ecx
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, dword [esp + 0x24]
cmp eax, esi
ja 0x42af50
movzx ecx, byte [esp + 0x19]
mov eax, dword [esp + 0x14]
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
test al, 0x40
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebx
je 0x42afe2
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x42b280
mov ecx, eax
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 0x42b03f
cmp esi, eax
jae 0x42b025
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, dword [edi + 0x48]
mov dword [esp + 0x10], edx
jb 0x42b001
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
sub eax, 1
and eax, ebx
add dword [edi + 0x44], eax
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [edi + 0x2c]
sub ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x2c]
cmp dword [edi + 0x44], ecx
jbe 0x42b05f
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x42b280
mov dword [edi], 0x16
cmp dword [esp + 0x1c], 0
je 0x42b2e0
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x44]
cmp eax, ecx
jbe 0x42b0bb
sub eax, ecx
mov ecx, dword [edi + 0x30]
cmp eax, ecx
mov dword [esp + 0x14], eax
jbe 0x42b09c
sub eax, ecx
mov ecx, dword [edi + 0x34]
add ecx, dword [edi + 0x28]
mov dword [esp + 0x14], eax
sub ecx, eax
jmp 0x42b0a8
mov ecx, dword [edi + 0x34]
sub ecx, eax
add ecx, dword [edi + 0x30]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
mov dword [esp + 0x34], ecx
jbe 0x42b0d0
mov eax, ecx
jmp 0x42b0cc
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x42b0de
mov eax, ecx
mov dword [esp + 0x14], eax
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x24]
mov cl, byte [ecx]
add dword [esp + 0x24], 1
mov byte [eax], cl
add eax, 1
sub dword [esp + 0x14], 1
jne 0x42b0f1
cmp dword [edi + 0x40], 0
mov dword [esp + 0x28], eax
jne 0x42b286
mov dword [edi], 0x12
jmp 0x42b286
cmp dword [esp + 0x1c], 0
je 0x42b2e0
mov eax, dword [esp + 0x28]
mov cl, byte [edi + 0x40]
mov byte [eax], cl
add eax, 1
sub dword [esp + 0x1c], 1
mov dword [esp + 0x28], eax
mov dword [edi], 0x12
jmp 0x42b286
cmp dword [edi + 8], 0
je 0x42b229
cmp esi, 0x20
jae 0x42b188
jmp 0x42b160
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x42b160
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
add dword [ecx + 0x14], eax
add dword [edi + 0x1c], eax
test eax, eax
mov dword [esp + 0x2c], eax
je 0x42b1e1
cmp dword [edi + 0x10], 0
je 0x42b1bd
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x28]
push eax
sub ecx, eax
push edx
call fcn.0042f3c0
add esp, 8
jmp 0x42b1d3
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
sub eax, ecx
mov ecx, dword [edi + 0x18]
call fcn.0042f140
add esp, 4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [edi + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, ebx
jne 0x42b20f
and eax, 0xff00
mov ecx, ebx
shl ecx, 0x10
add eax, ecx
xor ecx, ecx
mov ch, byte [esp + 0x1a]
shl eax, 8
add eax, ecx
mov ecx, ebx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [edi + 0x18]
je 0x42b221
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x42b280
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 0x19
cmp dword [edi + 8], 0
je 0x42b2c8
cmp dword [edi + 0x10], 0
je 0x42b2c8
cmp esi, 0x20
jae 0x42b270
test edx, edx
je 0x42b2e0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x42b248
cmp ebx, dword [edi + 0x1c]
je 0x42b2c4
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1b
mov eax, dword [edi]
cmp eax, 0x1c
jbe switch.0x00429ef0
mov eax, 0xfffffffe
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x2c
ret
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x10], eax
mov dword [ecx], ebp
mov dword [ecx + 4], edx
mov dword [edi + 0x3c], esi
pop esi
pop ebp
mov dword [edi + 0x38], ebx
pop ebx
mov eax, 2
pop edi
add esp, 0x2c
ret
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x1a
mov dword [esp + 0x30], 1
jmp 0x42b2e0
mov dword [esp + 0x30], 0xfffffffd
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax], ebp
mov dword [eax + 4], edx
cmp dword [edi + 0x28], 0
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
jne 0x42b311
cmp dword [edi], 0x18
jge 0x42b339
mov edx, dword [esp + 0x2c]
cmp edx, dword [eax + 0x10]
je 0x42b339
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
push ecx
call fcn.00429d80
add esp, 4
test eax, eax
je 0x42b339
mov dword [edi], 0x1c
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffc
pop edi
add esp, 0x2c
ret
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
sub ebp, dword [esi + 4]
mov ebx, dword [esp + 0x2c]
sub ebx, dword [esi + 0x10]
add dword [esi + 8], ebp
add dword [esi + 0x14], ebx
add dword [edi + 0x1c], ebx
cmp dword [edi + 8], 0
je 0x42b391
test ebx, ebx
je 0x42b391
cmp dword [edi + 0x10], 0
je 0x42b37a
mov ecx, dword [esi + 0xc]
sub ecx, ebx
mov eax, dword [edi + 0x18]
jne 0x42b372
xor eax, eax
jmp 0x42b38b
push ebx
call fcn.0042f3e0
jmp 0x42b388
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + 0x18]
push ebx
sub eax, ebx
call fcn.0042f140
add esp, 4
mov dword [edi + 0x18], eax
mov dword [esi + 0x30], eax
mov edx, dword [edi + 4]
neg edx
sbb edx, edx
and edx, 0x40
xor eax, eax
cmp dword [edi], 0xb
setne al
sub eax, 1
and eax, 0x80
add edx, eax
add edx, dword [edi + 0x3c]
test ebp, ebp
mov dword [esi + 0x2c], edx
jne 0x42b3d2
test ebx, ebx
jne 0x42b3d2
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x42b296
pop esi
lea eax, [ebp - 5]
pop ebp
pop ebx
pop edi
add esp, 0x2c
ret
mov eax, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x2c
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x2c
ret