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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
push edi
test esi, esi
je case.default.0x41d8c5
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je case.default.0x41d8c5
xor eax, eax
cmp dword [esi + 0xc], eax
je case.default.0x41d8c5
cmp dword [esi], eax
jne 0x41d87d
cmp dword [esi + 4], eax
jne case.default.0x41d8c5
cmp dword [ebx], 0xb
jne 0x41d888
mov dword [ebx], 0xc
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi]
mov dword [ebp - 0xc], ecx
mov ecx, dword [esi + 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], esi
cmp eax, 0x1e
ja case.default.0x41d8c5
mov esi, dword [ebp - 0x18]
jmp dword [eax*4 + 0x41ec91]
cmp dword [ebx + 8], 0
jne 0x41d8dd
mov dword [ebx], 0xc
jmp 0x41e712
push 0x10
pop eax
cmp edi, eax
jae 0x41d914
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x41d8e7
test byte [ebx + 8], 2
je 0x41d954
cmp edx, 0x8b1f
jne 0x41d954
push 0x1f
pop eax
xor edi, edi
mov byte [ebp - 0x1c], al
push 2
lea edx, [ebp - 0x1c]
mov dword [ebx + 0x18], edi
xor ecx, ecx
mov byte [ebp - 0x1b], 0x8b
call fcn.0041cfe0
mov edx, edi
mov dword [ebx + 0x18], eax
pop ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 1
jmp 0x41e70f
and dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41d963
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x41da05
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 - 8]
jne 0x41da05
mov eax, edx
and al, 0xf
cmp al, 8
je 0x41d9a2
mov dword [esi + 0x18], str.unknown_compression_method
mov dword [ebx], 0x1d
jmp 0x41e70f
shr edx, 4
sub edi, 4
mov ecx, edx
mov dword [ebp - 8], edx
and ecx, 0xf
mov dword [ebp - 0x10], edi
add ecx, 8
cmp dword [ebx + 0x24], 0
jne 0x41d9f7
mov dword [ebx + 0x24], ecx
xor eax, eax
xor edi, edi
inc eax
xor edx, edx
shl eax, cl
xor ecx, ecx
push edi
mov dword [ebx + 0x14], eax
call fcn.0041cda5
mov edx, dword [ebp - 8]
shr edx, 8
not edx
mov dword [ebx + 0x18], eax
and edx, 2
mov dword [esi + 0x30], eax
or edx, 9
mov dword [ebx], edx
mov edx, edi
pop ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
jmp 0x41e70f
cmp ecx, dword [ebx + 0x24]
jbe 0x41d9bf
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x41d997
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x41d997
push 0x10
pop eax
cmp edi, eax
jae 0x41da45
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x41da18
mov dword [ebx + 0x10], edx
cmp dl, 8
je 0x41da5f
mov dword [esi + 0x18], str.unknown_compression_method
mov dword [ebx], 0x1d
jmp 0x41e712
test edx, 0xe000
je 0x41da70
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x41da54
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41da81
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x10], 0x200
je 0x41daa4
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x1c], dl
shr edx, 8
mov byte [ebp - 0x1b], dl
lea edx, [ebp - 0x1c]
push 2
call fcn.0041cfe0
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, eax
mov dword [ebx], 2
mov dword [ebp - 8], edx
mov edi, eax
cmp edi, 0x20
jae 0x41dae8
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, 0x20
jb 0x41dabe
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41daf2
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x41db25
mov ecx, dword [ebx + 0x18]
mov eax, edx
shr eax, 8
mov byte [ebp - 0x1b], al
mov eax, edx
mov byte [ebp - 0x1c], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x19], dl
lea edx, [ebp - 0x1c]
push 4
mov byte [ebp - 0x1a], al
call fcn.0041cfe0
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, eax
mov dword [ebx], 3
mov dword [ebp - 8], edx
mov edi, eax
push 0x10
pop eax
cmp edi, eax
jae 0x41db6b
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, 0x10
jb 0x41db41
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41db83
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebx + 0x20]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x41dba6
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x1c], dl
shr edx, 8
mov byte [ebp - 0x1b], dl
lea edx, [ebp - 0x1c]
push 2
call fcn.0041cfe0
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, eax
mov dword [ebx], 4
mov edi, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
test dword [ebx + 0x10], 0x400
je 0x41dc34
push 0x10
pop eax
cmp edi, eax
jae 0x41dbf8
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, 0x10
jb 0x41dbce
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x41dc05
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x41dc28
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x1c], dl
shr edx, 8
mov byte [ebp - 0x1b], dl
lea edx, [ebp - 0x1c]
push 2
call fcn.0041cfe0
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
jmp 0x41dc3f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41dc3f
and dword [eax + 0x10], 0
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x41dcdb
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
cmp ecx, edx
cmova ecx, edx
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x41dcce
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x41dca3
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41dca3
mov eax, dword [edx + 0x14]
sub eax, dword [ebx + 0x40]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x34], eax
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x34]
jbe 0x41dc8e
sub edx, eax
jmp 0x41dc90
mov edx, ecx
add eax, dword [ebp - 0x3c]
push edx
push dword [ebp - 0xc]
push eax
call fcn.004b8ff0
mov ecx, dword [ebp - 0x30]
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x41dcc2
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41dcbf
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.0041cfe0
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x30]
sub dword [ebp - 4], eax
add dword [ebp - 0xc], eax
sub dword [ebx + 0x40], eax
xor edx, edx
cmp dword [ebx + 0x40], edx
jne 0x41eb97
jmp 0x41dcdd
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x40], edx
mov dword [ebx], 6
jmp 0x41dced
xor edx, edx
test dword [ebx + 0x10], 0x800
je 0x41dd85
test ecx, ecx
je 0x41eb97
mov esi, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp - 0xc]
movzx eax, byte [ecx + edi]
inc ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x41dd3a
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x41dd3a
mov edx, dword [ebx + 0x40]
cmp edx, dword [eax + 0x20]
jae 0x41dd3a
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x34]
mov byte [eax + edx], cl
inc dword [ebx + 0x40]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x41dd45
cmp ecx, esi
jb 0x41dd0a
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
je 0x41dd70
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41dd6d
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.0041cfe0
mov edx, dword [ebp - 0x34]
pop ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], ecx
sub eax, ecx
mov dword [ebp - 4], eax
test edx, edx
jne 0x41eb9a
jmp 0x41dd8f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41dd8f
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 4]
xor edx, edx
mov dword [ebx + 0x40], edx
mov dword [ebx], 7
jmp 0x41dda1
xor edx, edx
test dword [ebx + 0x10], 0x1000
je 0x41de39
test ecx, ecx
je 0x41eb97
mov esi, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp - 0xc]
movzx eax, byte [ecx + edi]
inc ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x41ddee
mov edx, dword [eax + 0x24]
test edx, edx
je 0x41ddee
mov edx, dword [ebx + 0x40]
cmp edx, dword [eax + 0x28]
jae 0x41ddee
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x34]
mov byte [eax + edx], cl
inc dword [ebx + 0x40]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x41ddf9
cmp ecx, esi
jb 0x41ddbe
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
je 0x41de24
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41de21
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.0041cfe0
mov edx, dword [ebp - 0x34]
pop ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], ecx
sub eax, ecx
mov dword [ebp - 4], eax
test edx, edx
jne 0x41eb9a
jmp 0x41de43
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41de43
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x41deaf
push 0x10
pop eax
cmp edi, eax
jae 0x41de8f
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x41de62
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x41dea3
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x41d997
xor eax, eax
mov edx, eax
mov edi, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41decc
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 + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
jmp 0x41e70f
cmp edi, 0x20
jae 0x41df11
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, 0x20
jb 0x41dee7
mov ecx, edx
mov edi, 0xff00
and ecx, edi
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, edi
shl ecx, 8
add eax, ecx
shr edx, 0x18
mov ecx, dword [ebp - 4]
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 0xa
mov dword [ebp - 8], edx
mov edi, eax
jmp 0x41df4e
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x41eb60
push eax
xor edx, edx
xor ecx, ecx
call fcn.0041cda5
mov edx, dword [ebp - 8]
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebx + 4], 0
je 0x41df94
mov ecx, edi
mov dword [ebx], 0x1a
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
jmp 0x41e70f
cmp edi, 3
jae 0x41dfc6
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, 3
jb 0x41df9c
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x41e023
sub eax, 1
je 0x41dfff
sub eax, 1
je 0x41dff8
sub eax, 1
jne 0x41e029
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x41e029
push 0x10
pop eax
mov dword [ebx], eax
jmp 0x41e029
mov dword [ebx + 0x4c], 0x4f6528
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x4f6d28
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jmp 0x41e029
mov dword [ebx], 0xd
shr edx, 2
sub edi, 3
jmp 0x41d9ec
mov ecx, edi
and ecx, 7
shr edx, cl
sub edi, ecx
jmp 0x41e060
mov eax, dword [ebp - 4]
test eax, eax
je 0x41eb9a
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add edi, 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edx
cmp edi, 0x20
jb 0x41e03f
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x41e085
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x41d997
xor eax, eax
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 4]
mov edx, eax
mov edi, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0xe
mov dword [ebx], 0xf
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x41e0ec
cmp esi, ecx
cmova esi, ecx
cmp esi, dword [ebp - 0x14]
cmova esi, dword [ebp - 0x14]
test esi, esi
je 0x41eb97
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x20]
call fcn.004b8ff0
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebp - 0xc], esi
sub ecx, esi
sub dword [ebp - 0x14], esi
add dword [ebp - 0x20], esi
sub dword [ebx + 0x40], esi
mov edx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov esi, dword [ebp - 0x18]
jmp 0x41e712
mov dword [ebx], 0xb
jmp 0x41e0e4
cmp edi, 0xe
jae 0x41e126
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, 0xe
jb 0x41e0fc
mov eax, edx
sub edi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 8], edx
cmp dword [ebx + 0x60], 0x11e
mov dword [ebx + 0x5c], eax
ja 0x41e173
cmp dword [ebx + 0x64], 0x1e
ja 0x41e173
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
jmp case.0x41d8c5.17
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x41da54
cmp edi, 3
jae 0x41e1b1
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, 3
jb 0x41e187
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 8], edx
movzx eax, word [eax*2 + 0x4f6da8]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub edi, 3
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x41e17f
jmp 0x41e1f7
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x4f6da8]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x41e1e2
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [ebx + 0x70]
xor ecx, ecx
call fcn.0041ed0d
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41e248
mov dword [esi + 0x18], str.invalid_code_lengths_set
mov dword [ebx], 0x1d
mov edx, dword [ebp - 8]
jmp 0x41e70f
and dword [ebx + 0x68], 0
mov dword [ebx], 0x12
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x68]
add eax, dword [ebx + 0x60]
mov dword [ebp - 0x34], ecx
cmp ecx, eax
jae 0x41e495
mov ecx, dword [ebx + 0x54]
xor edx, edx
mov eax, dword [ebx + 0x4c]
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, edi
jbe 0x41e2cb
mov esi, dword [ebp - 4]
test esi, esi
je 0x41eb97
mov edx, dword [ebp - 0xc]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
movzx eax, byte [edx]
shl eax, cl
add dword [ebp - 8], eax
inc edx
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0xc], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, edi
ja 0x41e28a
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edx
cmp cx, dx
jae 0x41e327
mov ecx, eax
shr ecx, 8
movzx esi, cl
jmp 0x41e304
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41eb97
dec ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add dword [ebp - 8], edx
inc dword [ebp - 0xc]
add edi, 8
cmp edi, esi
jb 0x41e2e2
mov edx, dword [ebp - 0x34]
movzx ecx, ah
mov ax, word [ebp - 0x2e]
sub edi, ecx
shr dword [ebp - 8], cl
mov word [ebx + edx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov dword [ebp - 0x10], edi
jmp 0x41e45d
cmp word [ebp - 0x2e], dx
mov edx, dword [ebp - 8]
jne 0x41e392
movzx esi, ah
lea eax, [esi + 2]
cmp edi, eax
jae 0x41e360
mov eax, dword [ebp - 4]
test eax, eax
je 0x41eb9a
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
mov dword [ebp - 8], edx
add edi, 8
jmp 0x41e333
mov eax, dword [ebp - 0x34]
mov ecx, esi
shr edx, cl
sub edi, esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
test eax, eax
je 0x41e476
movzx eax, word [ebx + eax*2 + 0x6e]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
mov dword [ebp - 0x30], eax
sub edi, 2
jmp 0x41e431
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
movzx ecx, ah
jne 0x41e3e4
lea esi, [ecx + 3]
mov dword [ebp - 0x3c], ecx
cmp edi, esi
jae 0x41e3d3
mov eax, dword [ebp - 4]
test eax, eax
je 0x41eb9a
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
add edi, 8
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp edi, esi
jb 0x41e3a8
mov ecx, dword [ebp - 0x3c]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x41e428
lea esi, [ecx + 7]
mov dword [ebp - 0x3c], ecx
cmp edi, esi
jae 0x41e419
mov eax, dword [ebp - 4]
test eax, eax
je 0x41eb9a
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
add edi, 8
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp edi, esi
jb 0x41e3ee
mov ecx, dword [ebp - 0x3c]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [ebp - 0x30], 0
pop eax
sub eax, ecx
add edi, eax
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebp - 0x34]
add ecx, dword [ebx + 0x60]
add eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
cmp eax, ecx
ja 0x41e485
test esi, esi
je 0x41e45d
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub esi, 1
jne 0x41e44d
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x68]
add eax, dword [ebx + 0x60]
mov dword [ebp - 0x34], ecx
cmp ecx, eax
jb 0x41e266
mov esi, dword [ebp - 0x18]
jmp 0x41e495
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x41d997
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1d
cmp dword [ebx], 0x1d
je 0x41e240
xor eax, eax
cmp word [ebx + 0x270], ax
jne 0x41e4b5
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x41e23a
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [edx], 9
push eax
push edx
push ecx
push dword [ebx + 0x60]
xor ecx, ecx
lea edx, [ebx + 0x70]
inc ecx
call fcn.0041ed0d
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41e4f9
mov dword [esi + 0x18], str.invalid_literal_lengths_set
jmp 0x41e23a
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x58]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x2f0]
push eax
mov eax, dword [ebx + 0x60]
push edx
push ecx
push dword [ebx + 0x64]
add eax, 0x38
mov dword [edx], 6
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.0041ed0d
mov edx, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41e543
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x41da54
mov dword [ebx], 0x13
mov dword [ebx], 0x14
cmp ecx, 6
jb 0x41e5ba
mov eax, dword [ebp - 0x14]
cmp eax, 0x102
jb 0x41e5ba
mov ebx, dword [ebp - 0x20]
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov ecx, esi
mov dword [esi], eax
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x3c], edi
call fcn.0041d268
cmp dword [ebx], 0xb
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
jne 0x41e712
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x41e712
mov ecx, dword [ebx + 0x54]
xor eax, eax
and dword [ebx + 0x1bc4], 0
inc eax
mov esi, dword [ebx + 0x4c]
shl eax, cl
dec eax
mov dword [ebp - 0x3c], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x41e629
mov esi, dword [ebp - 4]
test esi, esi
je 0x41eb97
mov eax, dword [ebp - 0xc]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 8], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 8]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x41e5e4
test al, al
je 0x41e6e2
test al, 0xf0
jne 0x41e6e2
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x34], edx
and edi, dword [ebp - 8]
shr edi, cl
mov ecx, dword [ebp - 0x3c]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x10]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x2c]
add esi, ecx
cmp esi, edi
jbe 0x41e6d2
mov esi, dword [ebp - 4]
test esi, esi
je 0x41eb97
dec esi
mov ecx, edi
mov dword [ebp - 4], esi
add edi, 8
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
movzx edi, dh
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 8], eax
inc esi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0xc], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 8]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x10]
cmp ecx, edi
ja 0x41e67a
movzx ecx, dh
mov edx, dword [ebp - 8]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x41e727
mov dword [ebx], 0x19
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
cmp eax, 0x1e
jbe switch.0x0041d8c5
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 0x20
je 0x41e73a
or dword [ebx + 0x1bc4], 0xffffffff
mov dword [ebx], 0xb
jmp 0x41e70c
mov ecx, dword [ebp - 4]
test al, 0x40
je 0x41e750
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x41da54
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x15
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x41e7b3
cmp edi, esi
jae 0x41e796
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, esi
jb 0x41e76d
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x10], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
add dword [ebx + 0x1bc4], esi
mov dword [ebp - 8], edx
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
xor eax, eax
mov esi, dword [ebx + 0x50]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x3c], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x41e82a
mov esi, dword [ebp - 4]
test esi, esi
je 0x41eb97
mov eax, dword [ebp - 0xc]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebx + 0x50]
mov dword [ebp - 8], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 8]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x41e7e5
test al, 0xf0
jne 0x41e8db
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x34], edx
and edi, dword [ebp - 8]
shr edi, cl
mov ecx, dword [ebp - 0x3c]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x10]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x2c]
add esi, ecx
cmp esi, edi
jbe 0x41e8cb
mov esi, dword [ebp - 4]
test esi, esi
je 0x41eb97
dec esi
mov ecx, edi
mov dword [ebp - 4], esi
add edi, 8
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
movzx edi, dh
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 8], eax
inc esi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0xc], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 8]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x10]
cmp ecx, edi
ja 0x41e873
movzx ecx, dh
mov edx, dword [ebp - 8]
sub edi, ecx
shr edx, cl
add dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
test al, 0x40
je 0x41e906
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x41d997
mov ecx, eax
mov dword [ebx], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x41e974
cmp edi, esi
jae 0x41e957
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edi, esi
jb 0x41e92e
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x10], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc4], esi
mov dword [ebp - 8], edx
mov esi, dword [ebp - 0x18]
mov dword [ebx], 0x18
cmp dword [ebp - 0x14], 0
je 0x41eb97
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x44]
cmp ecx, eax
jbe 0x41e9d0
sub ecx, eax
cmp ecx, dword [ebx + 0x2c]
jbe 0x41e9b0
cmp dword [ebx + 0x1bc0], 0
je 0x41e9b0
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x41d997
mov esi, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x30]
jbe 0x41e9c2
sub ecx, dword [ebx + 0x30]
add esi, dword [ebx + 0x28]
sub esi, ecx
jmp 0x41e9c7
sub esi, ecx
add esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x40]
cmp ecx, eax
jbe 0x41e9da
jmp 0x41e9d8
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 0x40]
sub esi, ecx
mov ecx, eax
cmp ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmova ecx, dword [ebp - 0x14]
sub dword [ebp - 0x14], ecx
sub eax, ecx
mov dword [ebx + 0x40], eax
sub esi, edx
mov al, byte [esi + edx]
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x41e9ee
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 8]
cmp dword [ebx + 0x40], ecx
jne 0x41e70c
mov dword [ebx], 0x14
jmp 0x41e70c
cmp dword [ebp - 0x14], 0
je 0x41eb97
mov esi, dword [ebp - 0x20]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x20]
dec dword [ebp - 0x14]
mov byte [esi], al
mov dword [ebx], 0x14
jmp 0x41e0e4
cmp dword [ebx + 8], 0
je 0x41eb0a
cmp edi, 0x20
jae 0x41ea75
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jb 0x41ea48
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
sub ecx, eax
add dword [esi + 0x14], ecx
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x41eabc
cmp dword [ebx + 0x10], 0
je 0x41eaa1
mov eax, dword [ebp - 0x20]
sub eax, ecx
je 0x41eab3
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.0041cfe0
jmp 0x41eaaf
mov edx, dword [ebp - 0x20]
push ecx
sub edx, ecx
mov ecx, dword [ebx + 0x18]
call fcn.0041cda5
mov edx, dword [ebp - 8]
pop ecx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x14]
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
shl ecx, 8
and eax, 0xff00
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]
mov ecx, dword [ebp - 4]
je 0x41eb00
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x41da54
mov edx, eax
mov edi, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0x1b
xor eax, eax
cmp dword [ebx + 8], eax
je 0x41eb86
cmp dword [ebx + 0x10], eax
je 0x41eb86
cmp edi, 0x20
jae 0x41eb4f
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x41eb97
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jb 0x41eb24
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x41eb81
mov dword [esi + 0x18], str.incorrect_length_check
jmp 0x41d997
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edi
push 2
jmp 0x41e71f
mov dword [ebp - 8], eax
mov edi, eax
mov dword [ebx], 0x1c
xor eax, eax
inc eax
jmp 0x41eb94
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi], ecx
mov dword [ebx + 0x3c], edi
xor edi, edi
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebx + 0x28], edi
jne 0x41ebce
cmp dword [ebx], 0x1a
jge 0x41ebeb
cmp eax, dword [esi + 0x10]
je 0x41ebeb
mov edx, eax
mov ecx, esi
call fcn.0041d76c
test eax, eax
je 0x41ebe8
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x41e71f
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x38]
sub edx, dword [esi + 4]
sub eax, dword [esi + 0x10]
add dword [esi + 8], edx
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x24], eax
cmp dword [ebx + 8], edi
je 0x41ec3c
test eax, eax
je 0x41ec3c
mov edx, dword [esi + 0xc]
cmp dword [ebx + 0x10], edi
je 0x41ec27
sub edx, eax
jne 0x41ec1c
mov eax, edi
jmp 0x41ec33
mov ecx, dword [ebx + 0x18]
push eax
call fcn.0041cfe0
jmp 0x41ec32
mov ecx, dword [ebx + 0x18]
sub edx, eax
push eax
call fcn.0041cda5
pop ecx
mov edx, dword [ebp - 0x38]
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
cmp dword [ebx], 0x13
je 0x41ec46
cmp dword [ebx], 0xe
jne 0x41ec4b
mov edi, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [ebp - 0x3c], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, dword [ebp - 0x3c]
add ecx, edi
add eax, ecx
add eax, dword [ebx + 0x3c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x28]
test edx, edx
jne 0x41e720
cmp dword [ebp - 0x24], edx
jne 0x41e720
push 0xfffffffffffffffb
test eax, eax
pop ecx
cmove eax, ecx
jmp 0x41e720