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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je case.default.0x1014b22b
mov ebx, dword [edi + 0x1c]
mov dword [ebp - 0x30], ebx
test ebx, ebx
je case.default.0x1014b22b
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
je case.default.0x1014b22b
mov eax, dword [edi]
mov dword [ebp - 8], eax
test eax, eax
jne 0x1014b1d3
cmp dword [edi + 4], eax
jne case.default.0x1014b22b
mov eax, dword [ebx]
push 0xc
pop ecx
cmp eax, 0xb
jne 0x1014b1ec
mov dword [ebx], ecx
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], ecx
cmp eax, 0x1e
ja case.default.0x1014b22b
mov ecx, eax
mov dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x44], 0x11
jmp dword [eax*4 + 0x1014c5fd]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x1014b244
mov dword [ebx], 0xc
jmp 0x1014c4bb
push 0x10
pop ecx
cmp esi, ecx
jae 0x1014b280
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp esi, ecx
jb 0x1014b24e
mov eax, dword [ebx + 8]
test al, 2
je 0x1014b2ca
cmp edx, 0x8b1f
jne 0x1014b2ca
xor esi, esi
push esi
push esi
push esi
call fcn.1014cd2f
mov dword [ebx + 0x18], eax
push 0x1f
pop eax
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x1c]
push 2
push eax
mov byte [ebp - 0x1b], 0x8b
push dword [ebx + 0x18]
call fcn.1014cd2f
mov edx, esi
mov dword [ebx + 0x18], eax
add esp, 0x18
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov dword [ebx], 1
jmp 0x1014c4bb
and dword [ebx + 0x10], 0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1014b2dc
or dword [ecx + 0x30], 0xffffffff
mov eax, dword [ebx + 8]
test al, 1
je 0x1014b379
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0xc]
jne 0x1014b379
mov eax, edx
and al, 0xf
cmp al, 8
je 0x1014b313
mov dword [edi + 0x18], str.unknown_compression_method
jmp 0x1014c4b5
shr edx, 4
sub esi, 4
mov ecx, edx
mov dword [ebp - 0xc], edx
and ecx, 0xf
mov dword [ebp - 0x14], esi
add ecx, 8
cmp dword [ebx + 0x24], 0
jne 0x1014b368
mov dword [ebx + 0x24], ecx
xor esi, esi
xor eax, eax
push esi
inc eax
shl eax, cl
push esi
push esi
mov dword [ebx + 0x14], eax
call fcn.1014ea8f
mov edx, dword [ebp - 0xc]
add esp, 0xc
shr edx, 8
not edx
mov dword [ebx + 0x18], eax
and edx, 2
mov dword [edi + 0x30], eax
or edx, 9
mov dword [ebx], edx
mov edx, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jmp 0x1014c4bb
cmp ecx, dword [ebx + 0x24]
jbe 0x1014b330
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x1014c4b5
mov dword [edi + 0x18], str.incorrect_header_check
jmp 0x1014c4b5
push 0x10
pop eax
cmp esi, eax
jae 0x1014b3be
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp esi, ecx
jb 0x1014b38f
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x1014b307
test edx, 0xe000
je 0x1014b3de
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x1014c4b5
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
mov eax, edx
test esi, esi
je 0x1014b3f6
mov eax, ecx
and eax, 1
mov dword [esi], eax
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x1014b417
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x18]
call fcn.1014cd2f
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 2
mov edx, eax
mov esi, eax
mov dword [ebp - 0xc], edx
cmp esi, 0x20
jae 0x1014b458
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, 0x20
jb 0x1014b42e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1014b462
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x1014b498
mov eax, edx
mov byte [ebp - 0x1c], dl
shr eax, 8
mov byte [ebp - 0x1b], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x1c]
push 4
shr edx, 0x18
push eax
mov byte [ebp - 0x19], dl
push dword [ebx + 0x18]
call fcn.1014cd2f
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov esi, eax
mov dword [ebp - 0xc], edx
push 0x10
pop eax
cmp esi, eax
jae 0x1014b4dd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp esi, ecx
jb 0x1014b4b1
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x1014b4f5
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x1014b518
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x18]
call fcn.1014cd2f
add esp, 0xc
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [ebx], 4
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jmp 0x1014b52e
xor ecx, ecx
test dword [ebx + 0x10], 0x400
je 0x1014b5ac
push 0x10
pop eax
cmp esi, eax
jae 0x1014b56d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp esi, ecx
jb 0x1014b541
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x1014b57a
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x1014b5a0
mov byte [ebp - 0x1c], dl
lea eax, [ebp - 0x1c]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x1b], dl
push dword [ebx + 0x18]
call fcn.1014cd2f
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esi
jmp 0x1014b5b6
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1014b5b6
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
mov eax, dword [ebx + 0x10]
test eax, 0x400
je 0x1014b666
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
cmovbe ecx, edx
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x1014b65b
cmp dword [ebx + 0x20], 0
mov edi, dword [ebp + 8]
je 0x1014b62c
mov edi, dword [ebx + 0x20]
mov edi, dword [edi + 0x10]
test edi, edi
mov dword [ebp - 0x40], edi
mov edi, dword [ebp + 8]
je 0x1014b62c
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x14]
sub eax, edx
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x2c], eax
add eax, ecx
mov edx, dword [edx + 0x18]
cmp eax, edx
mov eax, dword [ebp - 0x2c]
jbe 0x1014b613
sub edx, eax
jmp 0x1014b615
mov edx, ecx
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x40]
push edx
push ecx
push eax
call fcn.100e4bc0
mov eax, dword [ebx + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
test eax, 0x200
je 0x1014b645
push ecx
push dword [ebp - 8]
push dword [ebx + 0x18]
call fcn.1014cd2f
add esp, 0xc
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 8], eax
sub ecx, eax
sub dword [ebx + 0x40], eax
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0x10], ecx
jmp 0x1014b65e
mov ecx, dword [ebp - 0x10]
test edx, edx
jne 0x1014c50c
xor edx, edx
mov dword [ebx], 6
mov dword [ebx + 0x40], edx
jmp 0x1014b675
xor edx, edx
test dword [ebx + 0x10], 0x800
je 0x1014b705
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
mov eax, edx
mov edi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x1014b6c5
cmp dword [ecx + 0x1c], 0
je 0x1014b6c2
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x1014b6c2
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x1014b6cf
cmp eax, edi
jb 0x1014b694
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp + 8]
je 0x1014b6ee
push eax
push edx
push dword [ebx + 0x18]
call fcn.1014cd2f
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0x10], ecx
jne 0x1014c50c
jmp 0x1014b70f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1014b70f
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [ebx], 7
mov dword [ebx + 0x40], edx
jmp 0x1014b71e
xor edx, edx
test dword [ebx + 0x10], 0x1000
je 0x1014b7ae
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
mov eax, edx
mov edi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x1014b76e
cmp dword [ecx + 0x24], 0
je 0x1014b76b
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x1014b76b
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x1014b778
cmp eax, edi
jb 0x1014b73d
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp + 8]
je 0x1014b797
push eax
push edx
push dword [ebx + 0x18]
call fcn.1014cd2f
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0x10], ecx
jne 0x1014c50c
jmp 0x1014b7b8
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1014b7b8
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0xc]
mov dword [ebx], 8
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x1014b827
push 0x10
pop eax
cmp esi, eax
jae 0x1014b804
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp esi, ecx
jb 0x1014b7d5
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x1014b818
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x1014c4b5
mov eax, dword [ebx + 0x10]
xor edx, edx
mov esi, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jmp 0x1014b829
xor edx, edx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1014b843
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
push edx
push edx
push edx
call fcn.1014cd2f
mov dword [ebx + 0x18], eax
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
mov edx, dword [ebp - 0xc]
jmp 0x1014c4bb
cmp esi, 0x20
jae 0x1014b894
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, 0x20
jb 0x1014b86a
mov ecx, edx
mov esi, 0xff00
mov eax, edx
and ecx, esi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, esi
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 0xa
mov dword [ebp - 0xc], edx
mov esi, eax
jmp 0x1014b8ce
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x1014c4d2
push eax
push eax
push eax
call fcn.1014ea8f
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x1014c509
cmp dword [ebp + 0xc], 6
je 0x1014c509
cmp dword [ebx + 4], 0
je 0x1014b925
mov ecx, esi
mov dword [ebx], 0x1a
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jmp 0x1014c4bb
cmp esi, 3
jae 0x1014b957
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, 3
jb 0x1014b92d
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x1014b9c6
sub eax, 1
je 0x1014b990
sub eax, 1
je 0x1014b989
sub eax, 1
jne 0x1014b9cc
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x1014b9cc
push 0x10
pop eax
mov dword [ebx], eax
jmp 0x1014b9cc
cmp dword [ebp + 0xc], 6
mov dword [ebx + 0x4c], 0x10185c30
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x10186430
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jne 0x1014b9cc
shr edx, 2
sub esi, 3
mov dword [ebp - 0xc], edx
jmp 0x1014c509
mov dword [ebx], 0xd
shr edx, 2
sub esi, 3
jmp 0x1014b35d
mov ecx, esi
and ecx, 7
sub esi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
cmp esi, 0x20
jae 0x1014ba1b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, 0x20
jb 0x1014b9ee
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1014ba35
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x1014c4b5
xor eax, eax
mov dword [ebx + 0x40], ecx
cmp dword [ebp + 0xc], 6
mov edx, eax
mov esi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov dword [ebx], 0xe
je 0x1014c509
mov dword [ebx], 0xf
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x1014baa3
mov eax, dword [ebp - 0x10]
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x1014c509
push ecx
push dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.100e4bc0
mov eax, dword [ebp - 0x40]
add esp, 0xc
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x18], eax
add dword [ebp - 0x20], eax
sub dword [ebx + 0x40], eax
jmp 0x1014b85a
mov dword [ebx], 0xb
jmp 0x1014c4bb
cmp esi, 0xe
jae 0x1014bae0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, 0xe
jb 0x1014bab6
mov eax, edx
sub esi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x14], esi
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x60], ecx
mov dword [ebp - 0x40], eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0xc], edx
mov dword [ebx + 0x5c], eax
cmp ecx, 0x11e
ja 0x1014bb32
cmp dword [ebp - 0x40], 0x1e
ja 0x1014bb32
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
jmp case.0x1014b22b.17
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x1014c4b5
cmp esi, 3
jae 0x1014bb70
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, 3
jb 0x1014bb46
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0xc], edx
movzx eax, word [eax*2 + 0x101864b0]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub esi, 3
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x1014bb3e
cmp eax, 0x13
jae 0x1014bbbc
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x101864b0]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x1014bba1
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea eax, [ebx + 0x70]
push eax
push 0
call fcn.1014edac
mov edx, dword [ebp - 0xc]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x1014bc04
mov dword [edi + 0x18], str.invalid_code_lengths_set
jmp 0x1014c4b5
and dword [ebx + 0x68], 0
push 0x12
pop eax
mov dword [ebx], eax
mov ecx, eax
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x1014be4f
mov ecx, dword [ebx + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 0x4c]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov edi, eax
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
shr edi, 0x10
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x38], eax
cmp ecx, esi
jbe 0x1014bc76
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
mov edi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov eax, dword [ebp - 0x40]
inc edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edi
add esi, 8
jmp 0x1014bc2a
mov ecx, dword [ebp - 0x2c]
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
movzx edi, di
cmp di, word [ebp - 0x3c]
jae 0x1014bcde
movzx edi, cl
cmp esi, edi
jae 0x1014bcba
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp esi, edi
jb 0x1014bc91
mov edx, dword [ebp - 0xc]
movzx ecx, ah
mov ax, word [ebp - 0x36]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
jmp 0x1014be1c
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
cmp di, word [ebp - 0x3c]
jne 0x1014bd4d
lea edi, [ecx + 2]
cmp esi, edi
jae 0x1014bd1a
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp esi, edi
jb 0x1014bcf1
mov edx, dword [ebp - 0xc]
movzx ecx, ah
mov eax, dword [ebx + 0x68]
sub esi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
test eax, eax
je 0x1014be31
movzx eax, word [ebx + eax*2 + 0x6e]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [ebp - 0x2c], eax
sub esi, 2
jmp 0x1014bdeb
mov ebx, dword [ebp - 0x14]
movzx edi, bx
mov ebx, dword [ebp - 0x30]
cmp di, word [ebp - 0x44]
jne 0x1014bda0
lea edi, [ecx + 3]
cmp esi, edi
jae 0x1014bd8c
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp esi, edi
jb 0x1014bd63
mov edx, dword [ebp - 0xc]
movzx ecx, ah
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x1014bde2
lea edi, [ecx + 7]
cmp esi, edi
jae 0x1014bdd0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp esi, edi
jb 0x1014bda7
mov edx, dword [ebp - 0xc]
movzx ecx, ah
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add esi, eax
and dword [ebp - 0x2c], 0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x64]
add ecx, edi
add eax, dword [ebx + 0x60]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
cmp ecx, eax
ja 0x1014be40
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], dx
mov ecx, dword [ebx + 0x68]
lea ecx, [ecx + 1]
mov dword [ebx + 0x68], ecx
sub edi, 1
jne 0x1014be03
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp ecx, eax
jb 0x1014bc1e
mov ecx, dword [ebx]
mov edi, dword [ebp + 8]
jmp 0x1014be4f
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
jmp 0x1014c4b5
mov edi, dword [ebp + 8]
push 0x1d
pop ecx
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], ecx
cmp ecx, 0x1d
je 0x1014c4bb
xor eax, eax
cmp word [ebx + 0x270], ax
jne 0x1014be6f
mov dword [edi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x1014c4b5
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x2f0]
push edx
lea eax, [ebx + 0x54]
push eax
push ecx
push dword [ebx + 0x60]
mov dword [eax], 9
lea eax, [ebx + 0x70]
push eax
push 1
call fcn.1014edac
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x1014beb8
mov dword [edi + 0x18], str.invalid_literal_lengths_set
mov edx, dword [ebp - 0xc]
jmp 0x1014c4b5
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f0]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push edx
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push ecx
push dword [ebx + 0x64]
add eax, 0x38
lea eax, [ebx + eax*2]
push eax
push 2
call fcn.1014edac
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x1014befb
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x1014beb0
cmp dword [ebp + 0xc], 6
mov dword [ebx], 0x13
je 0x1014c509
mov edx, dword [ebp - 0xc]
mov dword [ebx], 0x14
mov eax, dword [ebp - 0x10]
cmp eax, 6
jb 0x1014bf82
cmp dword [ebp - 0x18], 0x102
jb 0x1014bf82
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [edi], ecx
mov dword [edi + 4], eax
push edi
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
call fcn.1014f20c
cmp dword [ebx], 0xb
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jne 0x1014c4bb
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x1014c4bb
and dword [ebx + 0x1bc4], 0
xor eax, eax
mov ecx, dword [ebx + 0x54]
lea edi, [eax + 1]
shl edi, cl
jmp 0x1014bfbc
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov ecx, dword [ebx + 0x4c]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1014bf95
test al, al
je 0x1014c077
test al, 0xf0
jne 0x1014c077
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x2c], edx
and esi, dword [ebp - 0xc]
shr esi, cl
mov ecx, dword [ebx + 0x4c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x1014c056
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
mov edi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x14], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0xc], eax
inc edi
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 8], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x1014c00f
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub esi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x1014c0a9
mov dword [ebx], 0x19
mov edi, dword [ebp + 8]
jmp 0x1014c4bb
test al, 0x20
je 0x1014c0bc
or dword [ebx + 0x1bc4], 0xffffffff
mov dword [ebx], 0xb
jmp 0x1014c0a1
test al, 0x40
je 0x1014c0cf
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_literal_length_code
jmp 0x1014c4b5
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x15
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x1014c132
cmp esi, edi
jae 0x1014c115
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, edi
jb 0x1014c0ec
xor eax, eax
mov ecx, edi
inc eax
sub esi, edi
shl eax, cl
dec eax
mov dword [ebp - 0x14], esi
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
add dword [ebx + 0x1bc4], edi
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
xor eax, eax
lea edi, [eax + 1]
shl edi, cl
jmp 0x1014c174
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov ecx, dword [ebx + 0x50]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1014c14d
test al, 0xf0
jne 0x1014c227
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x2c], edx
and esi, dword [ebp - 0xc]
shr esi, cl
mov ecx, dword [ebx + 0x50]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x1014c206
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
mov edi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x14], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0xc], eax
inc edi
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 8], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x1014c1bf
movzx ecx, dh
mov edx, dword [ebp - 0xc]
sub esi, ecx
shr edx, cl
add dword [ebx + 0x1bc4], ecx
mov edi, dword [ebp + 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
test al, 0x40
je 0x1014c252
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x1014c4b5
mov ecx, eax
mov dword [ebx], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x1014c2be
cmp esi, ecx
jae 0x1014c2a3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebx + 0x48]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, ecx
jb 0x1014c277
xor eax, eax
sub esi, ecx
inc eax
mov dword [ebp - 0x14], esi
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebx], 0x18
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1014c509
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x1014c327
sub eax, ecx
cmp eax, dword [ebx + 0x2c]
jbe 0x1014c2f7
cmp dword [ebx + 0x1bc0], 0
je 0x1014c2f7
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x1014c4b5
cmp eax, dword [ebx + 0x30]
jbe 0x1014c309
sub eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x28]
sub ecx, eax
add ecx, dword [ebx + 0x34]
jmp 0x1014c311
mov ecx, dword [ebx + 0x34]
sub ecx, eax
add ecx, dword [ebx + 0x30]
mov edi, dword [ebx + 0x40]
cmp eax, edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x2c], edi
cmovbe edi, eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], edi
jmp 0x1014c332
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x18]
mov ebx, edi
cmp dword [ebp - 0x2c], ebx
cmovbe edi, dword [ebp - 0x2c]
sub ebx, edi
sub eax, edi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx + 0x40], eax
mov ebx, dword [ebp - 0x20]
sub ecx, ebx
mov al, byte [ecx + ebx]
mov byte [ebx], al
inc ebx
sub edi, 1
jne 0x1014c350
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx + 0x40], 0
jne 0x1014c4bb
mov dword [ebx], 0x14
jmp 0x1014c4bb
cmp dword [ebp - 0x18], 0
je 0x1014c509
mov ecx, dword [ebp - 0x20]
mov al, byte [ebx + 0x40]
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
jmp 0x1014c36e
cmp dword [ebx + 8], 0
je 0x1014c458
cmp esi, 0x20
jae 0x1014c3d3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, 0x20
jb 0x1014c3a6
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
sub ecx, eax
add dword [edi + 0x14], ecx
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x1014c410
mov eax, dword [ebp - 0x20]
sub eax, ecx
cmp dword [ebx + 0x10], 0
push ecx
push eax
push dword [ebx + 0x18]
je 0x1014c3fc
call fcn.1014cd2f
jmp 0x1014c401
call fcn.1014ea8f
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, edx
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [ebx + 0x10], eax
cmovne ecx, edx
cmp ecx, dword [ebx + 0x18]
je 0x1014c44e
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x1014c4b5
mov edx, eax
mov esi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov dword [ebx], 0x1b
xor eax, eax
cmp dword [ebx + 8], eax
je 0x1014c4f8
cmp dword [ebx + 0x10], eax
je 0x1014c4f8
cmp esi, 0x20
jae 0x1014c4a9
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014c50c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp esi, 0x20
jb 0x1014c47a
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x1014c4f3
mov dword [edi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1d
mov ecx, dword [ebx]
mov eax, ecx
cmp eax, 0x1e
jbe switch.0x1014b22b
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
push 2
jmp 0x1014c4ca
mov dword [ebp - 0xc], eax
mov esi, eax
mov dword [ebx], 0x1c
xor ecx, ecx
inc ecx
jmp 0x1014c506
push 0xfffffffffffffffd
pop ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 0x3c], esi
mov esi, dword [ebp - 0x24]
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], edx
jne 0x1014c540
cmp dword [ebx], 0x1a
jge 0x1014c55c
cmp esi, dword [edi + 0x10]
je 0x1014c55c
push esi
push edi
call fcn.1014cc4e
pop ecx
pop ecx
test eax, eax
je 0x1014c55a
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x1014c4ca
xor edx, edx
mov eax, dword [ebp - 0x34]
sub eax, dword [edi + 4]
sub esi, dword [edi + 0x10]
add dword [edi + 8], eax
add dword [edi + 0x14], esi
add dword [ebx + 0x1c], esi
mov dword [ebp - 0x34], eax
cmp dword [ebx + 8], edx
je 0x1014c5a0
test esi, esi
je 0x1014c5a0
mov eax, dword [edi + 0xc]
sub eax, esi
push esi
push eax
push dword [ebx + 0x18]
cmp dword [ebx + 0x10], edx
je 0x1014c590
call fcn.1014cd2f
jmp 0x1014c595
call fcn.1014ea8f
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
xor edx, edx
cmp dword [ebx], 0x13
je 0x1014c5aa
cmp dword [ebx], 0xe
jne 0x1014c5af
mov edx, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [ebp + 8], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, dword [ebp + 8]
add ecx, eax
add ecx, dword [ebx + 0x3c]
add ecx, edx
cmp dword [ebp - 0x34], 0
mov dword [edi + 0x2c], ecx
jne 0x1014c5dd
test esi, esi
je 0x1014c5e3
cmp dword [ebp + 0xc], 4
jne 0x1014c5f3
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x1014c4cb
mov eax, dword [ebp - 0x28]
jmp 0x1014c4cb