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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
test edi, edi
je case.0x4120af.29
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je case.0x4120af.29
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], eax
test eax, eax
je case.0x4120af.29
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x412051
cmp dword [edi + 4], eax
jne case.0x4120af.29
lea ecx, [edi + 0xc]
mov eax, dword [ebx]
push 0xc
pop edx
cmp eax, 0xb
jne 0x412062
mov dword [ebx], edx
mov eax, edx
mov dword [ebp - 0x3c], 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 edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], edi
xor edi, edi
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x4c], ecx
cmp eax, 0x1d
ja case.0x4120af.29
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x40], 0x1f
mov dword [ebp - 0x44], 0x11
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x38], esi
jmp dword [eax*4 + 0x413404]
xor eax, eax
cmp dword [ebx + 8], eax
jne 0x4120c8
mov dword [ebx], 0xc
jmp 0x413320
cmp esi, 0x10
jae 0x4120ff
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0x30]
jb 0x4120d0
xor eax, eax
test byte [ebx + 8], 2
je 0x412140
cmp edx, 0x8b1f
jne 0x412140
mov byte [ebp - 0x20], dl
xor ecx, ecx
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
push 2
mov dword [ebx + 0x18], eax
call fcn.00411bf6
mov dword [ebx + 0x18], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 1
mov esi, eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0x10], esi
jmp 0x41331d
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41214e
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x4121d8
movzx eax, dl
mov ecx, edx
shl eax, 8
xor edx, edx
shr ecx, 8
add eax, ecx
div dword [ebp - 0x40]
test edx, edx
mov edx, dword [ebp - 0x14]
jne 0x4121d8
mov eax, edx
and al, 0xf
cmp al, 8
je 0x412185
mov dword [edi + 0x18], str.unknown_compression_method
jmp 0x413317
shr edx, 4
sub esi, 4
mov ecx, edx
mov dword [ebp - 0x14], edx
and ecx, 0xf
mov dword [ebp - 0x10], esi
add ecx, 8
cmp ecx, dword [ebx + 0x24]
jbe 0x4121aa
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x413317
xor esi, esi
shr edx, 8
inc esi
not edx
mov eax, esi
mov dword [ebx + 0x18], esi
and edx, 2
shl eax, cl
or edx, 9
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [edi + 0x30], esi
mov dword [ebx], edx
mov esi, eax
mov edx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0x41331d
mov dword [edi + 0x18], str.incorrect_header_check
jmp 0x413317
cmp esi, dword [ebp - 0x30]
jae 0x412219
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0x30]
jb 0x4121ec
mov dword [ebx + 0x10], edx
cmp dl, 8
je 0x412233
mov dword [edi + 0x18], str.unknown_compression_method
mov dword [ebx], 0x1b
jmp 0x413320
test edx, 0xe000
je 0x412244
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x412228
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x412255
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x10], 0x200
je 0x412278
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x20], dl
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
push 2
call fcn.00411bf6
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 2
mov edx, eax
mov ecx, eax
mov dword [ebp - 0x14], edx
jmp 0x4122a0
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], edx
cmp ecx, 0x20
jae 0x4122cb
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
test esi, esi
je 0x412583
movzx eax, byte [eax]
dec esi
shl eax, cl
add ecx, 8
add edx, eax
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp ecx, 0x20
jb 0x4122a6
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4122d5
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x412308
mov ecx, dword [ebx + 0x18]
mov eax, edx
shr eax, 8
mov byte [ebp - 0x1f], al
mov eax, edx
mov byte [ebp - 0x20], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x1d], dl
lea edx, [ebp - 0x20]
push 4
mov byte [ebp - 0x1e], al
call fcn.00411bf6
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov ecx, eax
mov dword [ebp - 0x14], edx
jmp 0x412332
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], ecx
mov ecx, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], edx
cmp eax, dword [ebp - 0x30]
jae 0x41235d
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
test esi, esi
je 0x412583
movzx eax, byte [eax]
dec esi
shl eax, cl
add ecx, 8
add edx, eax
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp ecx, 0x10
jb 0x412338
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x412375
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x412395
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.00411bf6
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 8]
xor eax, eax
mov edx, eax
mov dword [ebx], 4
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
test dword [ebx + 0x10], 0x400
je 0x412424
cmp esi, dword [ebp - 0x30]
jae 0x4123e8
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0x30]
jb 0x4123bb
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x4123f5
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x412418
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x20], dl
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
push 2
call fcn.00411bf6
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
jmp 0x41242f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41242f
and dword [eax + 0x10], 0
mov ecx, dword [ebp - 8]
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x4124d8
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 8]
cmp eax, edx
cmovbe ecx, eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x4124d0
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x41249d
mov edi, dword [edx + 0x10]
test edi, edi
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x1c]
je 0x41249d
mov edi, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
sub edi, eax
mov eax, edi
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x1c]
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x2c]
jbe 0x412488
sub edx, eax
jmp 0x41248a
mov edx, ecx
add eax, dword [ebp - 0x48]
push edx
push dword [ebp - 0xc]
push eax
call fcn.0041d440
mov ecx, dword [ebp - 0x38]
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x4124bc
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4124b9
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.00411bf6
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x40]
sub dword [ebp - 8], ecx
add dword [ebp - 0xc], ecx
sub eax, ecx
mov edx, dword [ebp - 8]
mov dword [ebx + 0x40], eax
test eax, eax
jne 0x413384
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ebx + 0x40], edx
mov dword [ebx], 6
jmp 0x4124ea
xor edx, edx
test dword [ebx + 0x10], 0x800
je 0x4125e0
test ecx, ecx
je 0x412580
mov esi, dword [ebp - 0xc]
mov eax, edx
mov edx, dword [ebp - 8]
mov cl, byte [eax + esi]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x412538
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 0x38], edi
test edi, edi
je 0x412538
mov edi, dword [ebx + 0x40]
cmp edi, dword [ecx + 0x20]
jae 0x412538
mov dl, byte [ebp - 1]
mov ecx, edi
mov edi, dword [ebp - 0x38]
mov byte [ecx + edi], dl
inc dword [ebx + 0x40]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x412542
cmp eax, edx
jb 0x412507
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
je 0x41256f
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x41256c
mov edx, ecx
mov ecx, dword [ebx + 0x18]
push eax
call fcn.00411bf6
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 0xc], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 8], ecx
je 0x4125ea
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov dword [ebx + 0x3c], ecx
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], edi
xor edi, edi
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], edx
cmp dword [ebx + 0x28], edi
jne 0x4125c2
cmp dword [ebx], 0x18
jge 0x413392
cmp eax, dword [ebp - 0x18]
je 0x413392
mov edx, eax
mov ecx, esi
call fcn.00411f31
test eax, eax
je 0x41338f
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x41332d
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4125ea
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [ebx], 7
mov dword [ebx + 0x40], edx
jmp 0x4125f9
xor edx, edx
test dword [ebx + 0x10], 0x1000
je 0x412695
test ecx, ecx
je 0x412580
mov esi, dword [ebp - 0xc]
mov eax, edx
mov edx, dword [ebp - 8]
mov cl, byte [eax + esi]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x412647
mov edi, dword [ecx + 0x24]
mov dword [ebp - 0x38], edi
test edi, edi
je 0x412647
mov edi, dword [ebx + 0x40]
cmp edi, dword [ecx + 0x28]
jae 0x412647
mov dl, byte [ebp - 1]
mov ecx, edi
mov edi, dword [ebp - 0x38]
mov byte [ecx + edi], dl
inc dword [ebx + 0x40]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x412651
cmp eax, edx
jb 0x412616
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
je 0x41267e
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x41267b
mov edx, ecx
mov ecx, dword [ebx + 0x18]
push eax
call fcn.00411bf6
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 0xc], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 8], ecx
jne 0x412580
jmp 0x41269f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41269f
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x412706
cmp esi, dword [ebp - 0x30]
jae 0x4126e6
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0x30]
jb 0x4126b9
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x4126fa
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x413317
xor eax, eax
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x412723
mov eax, dword [ebx + 0x10]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
xor eax, eax
mov dword [ebx], 0xb
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
jmp 0x41331d
cmp esi, 0x20
jae 0x41276b
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jb 0x41273e
bswap edx
xor eax, eax
mov dword [ebx + 0x18], edx
mov dword [edi + 0x30], edx
mov esi, eax
mov edx, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebx], 0xa
jmp 0x412789
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x413333
mov dword [ebx + 0x18], 1
mov dword [edi + 0x30], 1
mov dword [ebx], 0xb
jmp 0x4127aa
xor eax, eax
cmp dword [ebx + 4], eax
je 0x4127c9
mov ecx, esi
mov dword [ebx], 0x18
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0x41331d
cmp esi, 3
jae 0x4127fe
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, 3
jb 0x4127d1
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x41285c
sub eax, 1
je 0x412838
sub eax, 1
je 0x412830
sub eax, 1
jne 0x412862
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
jmp 0x412862
mov dword [ebx], 0xf
jmp 0x412862
mov dword [ebx + 0x4c], 0x464000
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x464828
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x412862
mov dword [ebx], 0xd
shr edx, 2
sub esi, 3
jmp 0x4121cd
mov ecx, esi
and ecx, 7
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jae 0x4128b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0x412884
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x4128cb
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x413317
xor eax, eax
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 8]
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0xe
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x41292e
cmp eax, ecx
mov edi, ecx
cmovbe edi, eax
cmp edi, dword [ebp - 0x18]
cmova edi, dword [ebp - 0x18]
test edi, edi
je 0x412580
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call fcn.0041d440
mov ecx, dword [ebp - 8]
add esp, 0xc
add dword [ebp - 0xc], edi
sub ecx, edi
sub dword [ebp - 0x18], edi
add dword [ebp - 0x24], edi
sub dword [ebx + 0x40], edi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov edi, dword [ebp - 0x1c]
jmp 0x413320
mov dword [ebx], 0xb
jmp 0x413320
cmp esi, 0xe
jae 0x41296e
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, 0xe
jb 0x412941
mov ecx, edx
sub esi, 0xe
and ecx, dword [ebp - 0x40]
shr edx, 5
add ecx, 0x101
mov eax, edx
mov dword [ebx + 0x60], ecx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x48], eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x14], edx
mov dword [ebx + 0x5c], eax
cmp ecx, 0x11e
ja 0x4129be
cmp dword [ebp - 0x48], 0x1e
ja 0x4129be
mov eax, dword [ebp - 0x30]
and dword [ebx + 0x68], 0
mov dword [ebx], eax
jmp 0x412a23
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x413317
cmp esi, 3
jae 0x4129ff
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, 3
jb 0x4129d2
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x14], edx
movzx eax, word [eax*2 + 0x464800]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub esi, 3
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x4129ca
jmp 0x412a46
movzx eax, word [eax*2 + 0x464800]
xor ecx, ecx
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
inc eax
mov dword [ebx + 0x68], eax
cmp eax, 0x13
jb 0x412a30
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 edx, [ebx + 0x70]
xor ecx, ecx
call fcn.00414daa
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x34], eax
test eax, eax
je 0x412a90
mov dword [edi + 0x18], str.invalid_code_lengths_set
jmp 0x413317
mov eax, dword [ebp - 0x44]
and dword [ebx + 0x68], 0
mov dword [ebx], eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
add eax, ecx
cmp dword [ebx + 0x68], eax
jae 0x412cf3
mov edi, dword [ebx + 0x4c]
jmp 0x412ad6
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x2c], eax
cmp ecx, esi
ja 0x412aaf
mov edi, dword [ebp - 0x30]
mov ecx, eax
shr ecx, 0x10
cmp cx, di
jae 0x412b5e
shr eax, 8
movzx edi, al
cmp esi, edi
jae 0x412b39
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0x412b0d
movzx ecx, byte [ebp - 0x2b]
mov ax, word [ebp - 0x2a]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov edi, dword [ebx + 0x68]
jmp 0x412cbc
cmp word [ebp - 0x2a], di
jne 0x412bd8
mov al, byte [ebp - 0x2b]
movzx edi, al
add edi, 2
cmp esi, edi
jae 0x412ba3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0x412b74
mov al, byte [ebp - 0x2b]
mov cl, al
movzx eax, al
sub esi, eax
shr edx, cl
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
test eax, eax
je 0x412cd1
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 0x412c89
mov eax, dword [ebp - 0x44]
cmp word [ebp - 0x2a], ax
mov al, byte [ebp - 0x2b]
movzx edi, al
jne 0x412c33
add edi, 3
cmp esi, edi
jae 0x412c20
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0x412bf1
mov al, byte [ebp - 0x2b]
mov cl, al
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x412c7d
add edi, 7
cmp esi, edi
jae 0x412c6c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0x412c3d
mov al, byte [ebp - 0x2b]
mov cl, al
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
movzx eax, al
pop ecx
sub ecx, eax
add esi, ecx
and dword [ebp - 0x2c], 0
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
add ecx, dword [ebx + 0x60]
mov dword [ebp - 0x38], eax
add eax, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
cmp eax, ecx
ja 0x412ce0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
lea eax, [eax + 1]
mov dword [ebx + 0x68], eax
sub edi, 1
jne 0x412ca7
mov edi, eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
add eax, ecx
cmp edi, eax
jb 0x412aaa
mov edi, dword [ebp - 0x1c]
jmp 0x412cf3
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
jmp 0x413317
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x60]
mov dword [ebx], 0x1b
mov dword [edi + 0x18], str.invalid_bit_length_repeat
cmp dword [ebx], 0x1b
je 0x41331d
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea edi, [ebx + 0x2f0]
lea eax, [ebx + 0x54]
push edi
push eax
push edx
push ecx
xor ecx, ecx
mov dword [eax], 9
lea edx, [ebx + 0x70]
inc ecx
call fcn.00414daa
mov edi, dword [ebp - 0x1c]
add esp, 0x10
mov dword [ebp - 0x34], eax
test eax, eax
je 0x412d44
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x18], str.invalid_literal_lengths_set
jmp 0x413317
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f0]
push edx
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push ecx
push dword [ebx + 0x64]
add eax, 0x38
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.00414daa
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x412d8e
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x412228
mov dword [ebx], 0x12
cmp ecx, 6
jb 0x412df6
mov eax, dword [ebp - 0x18]
cmp eax, 0x102
jb 0x412df6
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x24]
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx], edi
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x3c], esi
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, edi
mov dword [edi], eax
call fcn.004151bc
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, dword [ecx]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], esi
jmp 0x413320
mov ecx, dword [ebx + 0x54]
xor eax, eax
mov edi, dword [ebx + 0x4c]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x38], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x412e5a
mov dword [ebp - 0x38], edi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edx, eax
inc dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword [ebp - 0x14], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x412e19
test al, al
je 0x412efa
test al, 0xf0
jne 0x412efa
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 - 0x14]
shr esi, cl
mov ecx, dword [ebp - 0x38]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x412ede
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
mov edi, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 0xc], edi
movzx edi, byte [ebp - 0x2b]
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x412e96
movzx ecx, byte [ebp - 0x2b]
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov ecx, eax
mov dword [ebp - 0x14], edx
shr ecx, 0x10
mov dword [ebp - 0x10], esi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x412f26
mov dword [ebx], 0x17
mov edi, dword [ebp - 0x1c]
jmp 0x41331d
test al, 0x20
je 0x412f32
mov dword [ebx], 0xb
jmp 0x412f1e
mov ecx, dword [ebp - 8]
test al, 0x40
je 0x412f48
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_literal_length_code
jmp 0x412228
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x13
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x412fa8
cmp esi, edi
jae 0x412f91
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, edi
jb 0x412f65
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
sub esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0x14
mov ecx, dword [ebx + 0x58]
xor eax, eax
mov edi, dword [ebx + 0x50]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x38], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x413012
mov dword [ebp - 0x38], edi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
inc dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword [ebp - 0x14], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x412fd1
test al, 0xf0
jne 0x4130aa
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 - 0x14]
shr esi, cl
mov ecx, dword [ebp - 0x38]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x41308e
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412580
mov edi, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 0xc], edi
movzx edi, byte [ebp - 0x2b]
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x413046
movzx ecx, byte [ebp - 0x2b]
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
test al, 0x40
je 0x4130cf
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x413317
mov ecx, eax
mov dword [ebx], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x41313a
cmp esi, edi
jae 0x413123
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, edi
jb 0x4130f7
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
sub esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebx + 0x44], eax
jbe 0x413159
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x413317
mov dword [ebx], 0x16
jmp 0x413164
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41337c
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x41319e
sub eax, ecx
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jbe 0x413186
sub eax, ecx
mov ecx, dword [ebx + 0x28]
mov edi, dword [ebx + 0x40]
sub ecx, eax
add ecx, dword [ebx + 0x34]
cmp eax, edi
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edi
cmovbe edi, eax
mov eax, dword [ebp - 0x38]
jmp 0x4131aa
mov edx, dword [ebp - 0x24]
mov ecx, edx
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov edi, eax
cmp edi, dword [ebp - 0x18]
cmova edi, dword [ebp - 0x18]
sub dword [ebp - 0x18], edi
sub eax, edi
mov dword [ebx + 0x40], eax
sub ecx, edx
mov al, byte [ecx + edx]
mov byte [edx], al
inc edx
sub edi, 1
jne 0x4131bb
cmp dword [ebx + 0x40], 0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x14]
jne 0x413320
mov dword [ebx], 0x12
jmp 0x413320
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41337c
mov edi, dword [ebp - 0x24]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x24]
dec dword [ebp - 0x18]
mov byte [edi], al
mov dword [ebx], 0x12
jmp 0x412926
xor eax, eax
cmp dword [ebx + 8], eax
je 0x4132ba
cmp esi, 0x20
jae 0x41324d
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jb 0x41321e
xor eax, eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x18]
add dword [edi + 0x14], ecx
add dword [ebx + 0x1c], ecx
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x41328d
mov edx, dword [ebp - 0x24]
sub edx, ecx
mov ecx, dword [ebx + 0x18]
cmp dword [ebx + 0x10], eax
je 0x41327b
test edx, edx
je 0x413284
push dword [ebp - 0x28]
call fcn.00411bf6
jmp 0x413283
push dword [ebp - 0x28]
call fcn.00414b6c
pop ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [ebx + 0x10], ecx
mov dword [ebp - 0x28], eax
mov eax, edx
bswap eax
cmovne eax, edx
cmp eax, dword [ebx + 0x18]
je 0x4132ad
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x413317
mov edx, ecx
mov esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0x19
xor eax, eax
cmp dword [ebx + 8], eax
je 0x413358
cmp dword [ebx + 0x10], eax
je 0x413358
cmp esi, 0x20
jae 0x41330b
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x412580
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jb 0x4132dc
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x413351
mov dword [edi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1b
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, 0x1d
jbe 0x4120a9
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
push 2
jmp 0x41332d
mov dword [ebp - 0x14], eax
mov ecx, eax
jmp 0x41335b
mov ecx, dword [ebp - 0x10]
mov dword [ebx], 0x1a
jmp 0x413366
mov ecx, dword [ebp - 0x10]
xor edi, edi
inc edi
mov dword [ebp - 0x34], edi
jmp 0x412583
push 0xfffffffffffffffd
pop edi
mov dword [ebp - 0x34], edi
jmp 0x412580
mov ecx, dword [ebp - 0x10]
jmp 0x412586
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
jmp 0x412589
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
sub eax, dword [esi + 0x10]
sub ecx, dword [esi + 4]
add dword [esi + 8], ecx
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
cmp dword [ebx + 8], edi
je 0x4133d5
test eax, eax
je 0x4133d5
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + 0x18]
sub edx, eax
cmp dword [ebx + 0x10], edi
je 0x4133c6
test edx, edx
je 0x4133cf
push eax
call fcn.00411bf6
jmp 0x4133cc
push eax
call fcn.00414b6c
mov edi, eax
pop ecx
mov dword [ebx + 0x18], edi
mov dword [esi + 0x30], edi
mov edx, dword [ebx + 4]
mov eax, 0x80
neg edx
push 0xfffffffffffffffb
sbb edx, edx
xor ecx, ecx
and edx, 0x40
cmp dword [ebx], 0xb
cmove ecx, eax
mov eax, dword [ebp - 0x34]
add edx, ecx
add edx, dword [ebx + 0x3c]
test eax, eax
pop ecx
mov dword [esi + 0x2c], edx
cmove eax, ecx
jmp 0x41332e