Function at 0x4ef3ef
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
cmp dword [ebp + 8], 0
je 0x4ef41f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
je 0x4ef41f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x4ef41f
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x4ef429
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x4ef429
mov eax, 0xfffffffe
jmp 0x4f126c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xb
jne 0x4ef443
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4ef443
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1c
ja case.default.0x4ef4a6
mov ecx, dword [ebp - 0x44]
jmp dword [ecx*4 + 0x4f1271]
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 8], 0
jne 0x4ef4c4
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xc
jmp 0x4f10e7
cmp dword [ebp - 0x14], 0x10
jae 0x4ef50c
cmp dword [ebp - 0x2c], 0
jne 0x4ef4d5
jmp 0x4f10ec
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4ef4ca
jmp 0x4ef4c4
xor edx, edx
test edx, edx
jne 0x4ef4c4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
and ecx, 2
test ecx, ecx
je 0x4ef58e
cmp dword [ebp - 0x18], 0x8b1f
jne 0x4ef58e
push 0
push 0
push 0
call fcn.004f522a
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], eax
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x10], al
mov ecx, dword [ebp - 0x18]
shr ecx, 8
mov byte [ebp - 0xf], cl
push 2
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004f522a
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], eax
xor eax, eax
test eax, eax
jne 0x4ef53c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor ecx, ecx
test ecx, ecx
jne 0x4ef56c
mov edx, dword [ebp - 0x1c]
mov dword [edx], 1
jmp 0x4f10e7
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
and edx, 1
test edx, edx
je 0x4ef5c5
mov eax, dword [ebp - 0x18]
and eax, 0xff
shl eax, 8
mov ecx, dword [ebp - 0x18]
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
je 0x4ef5dd
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x1b
jmp 0x4f10e7
mov ecx, dword [ebp - 0x18]
and ecx, 0xf
cmp ecx, 8
je 0x4ef600
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x5a9f68
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x1b
jmp 0x4f10e7
mov ecx, dword [ebp - 0x18]
shr ecx, 4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
sub edx, 4
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4ef600
mov ecx, dword [ebp - 0x18]
and ecx, 0xf
add ecx, 8
mov edx, dword [ebp - 0x1c]
cmp ecx, dword [edx + 0x1c]
jbe 0x4ef641
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x1b
jmp 0x4f10e7
push 0
push 0
push 0
call fcn.004f1ba0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x18]
and eax, 0x200
neg eax
sbb eax, eax
and al, 0xfe
add eax, 0xb
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor edx, edx
test edx, edx
jne 0x4ef677
jmp 0x4f10e7
cmp dword [ebp - 0x14], 0x10
jae 0x4ef6d8
cmp dword [ebp - 0x2c], 0
jne 0x4ef6a1
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4ef696
jmp case.0x4ef4a6.1
xor ecx, ecx
test ecx, ecx
jne case.0x4ef4a6.1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
and edx, 0xff
cmp edx, 8
je 0x4ef710
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x1b
jmp 0x4f10e7
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0xe000
test eax, eax
je 0x4ef737
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.unknown_header_flags_set
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x1b
jmp 0x4f10e7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
and ecx, 0x200
test ecx, ecx
je 0x4ef777
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x10], dl
mov eax, dword [ebp - 0x18]
shr eax, 8
mov byte [ebp - 0xf], al
push 2
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
push eax
call fcn.004f522a
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
xor edx, edx
test edx, edx
jne 0x4ef747
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
test eax, eax
jne 0x4ef777
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 2
cmp dword [ebp - 0x14], 0x20
jae 0x4ef7de
cmp dword [ebp - 0x2c], 0
jne 0x4ef7a5
jmp 0x4f10ec
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4ef79a
jmp case.0x4ef4a6.2
xor ecx, ecx
test ecx, ecx
jne case.0x4ef4a6.2
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x200
test eax, eax
je 0x4ef835
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0x10], cl
mov edx, dword [ebp - 0x18]
shr edx, 8
mov byte [ebp - 0xf], dl
mov eax, dword [ebp - 0x18]
shr eax, 0x10
mov byte [ebp - 0xe], al
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
mov byte [ebp - 0xd], cl
push 4
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004f522a
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], eax
xor eax, eax
test eax, eax
jne 0x4ef7f3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor ecx, ecx
test ecx, ecx
jne 0x4ef835
mov edx, dword [ebp - 0x1c]
mov dword [edx], 3
cmp dword [ebp - 0x14], 0x10
jae 0x4ef89a
cmp dword [ebp - 0x2c], 0
jne 0x4ef863
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4ef858
jmp case.0x4ef4a6.3
xor ecx, ecx
test ecx, ecx
jne case.0x4ef4a6.3
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x200
test eax, eax
je 0x4ef8df
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0x10], cl
mov edx, dword [ebp - 0x18]
shr edx, 8
mov byte [ebp - 0xf], dl
push 2
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.004f522a
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
xor edx, edx
test edx, edx
jne 0x4ef8af
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
test eax, eax
jne 0x4ef8df
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x400
test eax, eax
je 0x4ef9b9
cmp dword [ebp - 0x14], 0x10
jae 0x4ef957
cmp dword [ebp - 0x2c], 0
jne 0x4ef920
jmp 0x4f10ec
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4ef915
jmp 0x4ef90f
xor edx, edx
test edx, edx
jne 0x4ef90f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x200
test eax, eax
je 0x4ef9a5
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0x10], cl
mov edx, dword [ebp - 0x18]
shr edx, 8
mov byte [ebp - 0xf], dl
push 2
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.004f522a
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
xor edx, edx
test edx, edx
jne 0x4ef975
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
test eax, eax
jne 0x4ef9a5
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 5
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x400
test eax, eax
je 0x4efa49
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x2c]
jbe 0x4ef9e8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x4efa3b
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x200
test eax, eax
je 0x4efa1a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004f522a
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x38]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x38], 0
je 0x4efa49
jmp 0x4f10ec
mov eax, dword [ebp - 0x1c]
mov dword [eax], 6
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
and edx, 0x800
test edx, edx
je 0x4efae6
cmp dword [ebp - 0x2c], 0
jne 0x4efa71
jmp 0x4f10ec
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x34], 0
je 0x4efa9c
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x2c]
jb 0x4efa78
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
and edx, 0x2000
test edx, edx
je 0x4efac9
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
push eax
call fcn.004f522a
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x34], 0
je 0x4efae6
jmp 0x4f10ec
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 7
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x1000
test eax, eax
je 0x4efb7d
cmp dword [ebp - 0x2c], 0
jne 0x4efb09
jmp 0x4f10ec
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x34], 0
je 0x4efb34
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x2c]
jb 0x4efb10
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x2000
test eax, eax
je 0x4efb60
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004f522a
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x34], 0
je 0x4efb7d
jmp 0x4f10ec
mov edx, dword [ebp - 0x1c]
mov dword [edx], 8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
and ecx, 0x200
test ecx, ecx
je 0x4efc26
cmp dword [ebp - 0x14], 0x10
jae 0x4efbe4
cmp dword [ebp - 0x2c], 0
jne 0x4efbab
jmp 0x4f10ec
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4efba0
jmp 0x4efb9a
xor ecx, ecx
test ecx, ecx
jne 0x4efb9a
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
and eax, 0xffff
cmp dword [ebp - 0x18], eax
je 0x4efc12
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.header_crc_mismatch
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x1b
jmp 0x4f10e7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
test eax, eax
jne 0x4efc12
push 0
push 0
push 0
call fcn.004f522a
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0xb
jmp 0x4f10e7
cmp dword [ebp - 0x14], 0x20
jae 0x4efc9c
cmp dword [ebp - 0x2c], 0
jne 0x4efc65
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4efc5a
jmp case.0x4ef4a6.9
xor ecx, ecx
test ecx, ecx
jne case.0x4ef4a6.9
mov edx, dword [ebp - 0x18]
shr edx, 0x18
and edx, 0xff
mov eax, dword [ebp - 0x18]
shr eax, 8
and eax, 0xff00
add edx, eax
mov ecx, dword [ebp - 0x18]
and ecx, 0xff00
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x18]
and eax, 0xff
shl eax, 0x18
add edx, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x30], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor edx, edx
test edx, edx
jne 0x4efce8
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xa
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0xc], 0
jne 0x4efd53
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x34], ecx
xor edx, edx
test edx, edx
jne 0x4efd0e
mov eax, 2
jmp 0x4f126c
push 0
push 0
push 0
call fcn.004f1ba0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0xb
cmp dword [ebp + 0xc], 5
jne case.0x4ef4a6.12
jmp 0x4f10ec
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
je 0x4efdc0
mov ecx, dword [ebp - 0x14]
and ecx, 7
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
and eax, 7
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4efd90
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x18
jmp 0x4f10e7
cmp dword [ebp - 0x14], 3
jae 0x4efe08
cmp dword [ebp - 0x2c], 0
jne 0x4efdd1
jmp 0x4f10ec
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4efdc6
jmp 0x4efdc0
xor edx, edx
test edx, edx
jne 0x4efdc0
mov eax, dword [ebp - 0x18]
and eax, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
shr edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4efe1a
mov edx, dword [ebp - 0x18]
and edx, 3
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 3
ja case.default.0x4efe43
mov eax, dword [ebp - 0x48]
jmp dword [eax*4 + 0x4f12e5]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0xd
jmp case.default.0x4efe43
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004f12f5
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x12
jmp case.default.0x4efe43
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0xf
jmp case.default.0x4efe43
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_block_type
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x1b
mov ecx, dword [ebp - 0x18]
shr ecx, 2
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
sub edx, 2
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne case.default.0x4efe43
jmp 0x4f10e7
mov ecx, dword [ebp - 0x14]
and ecx, 7
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
and eax, 7
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne case.0x4ef4a6.13
cmp dword [ebp - 0x14], 0x20
jae 0x4eff11
cmp dword [ebp - 0x2c], 0
jne 0x4efeda
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4efecf
jmp 0x4efec9
xor ecx, ecx
test ecx, ecx
jne 0x4efec9
mov edx, dword [ebp - 0x18]
and edx, 0xffff
mov eax, dword [ebp - 0x18]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x4eff47
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x1b
jmp 0x4f10e7
mov eax, dword [ebp - 0x18]
and eax, 0xffff
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x38], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor edx, edx
test edx, edx
jne 0x4eff55
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xe
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x4efff4
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x2c]
jbe 0x4eff8f
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x40]
jbe 0x4eff9d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4effa8
jmp 0x4f10ec
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00529690
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x38]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x38], eax
jmp 0x4f10e7
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0xb
jmp 0x4f10e7
cmp dword [ebp - 0x14], 0xe
jae 0x4f004a
cmp dword [ebp - 0x2c], 0
jne 0x4f0013
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0008
jmp case.0x4ef4a6.15
xor ecx, ecx
test ecx, ecx
jne case.0x4ef4a6.15
mov edx, dword [ebp - 0x18]
and edx, 0x1f
add edx, 0x101
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x58], edx
mov ecx, dword [ebp - 0x18]
shr ecx, 5
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
sub edx, 5
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0062
mov ecx, dword [ebp - 0x18]
and ecx, 0x1f
add ecx, 1
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x5c], ecx
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 5
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4f0089
mov eax, dword [ebp - 0x18]
and eax, 0xf
add eax, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0x18]
shr edx, 4
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
sub eax, 4
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4f00b0
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x58], 0x11e
ja 0x4f00dd
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x5c], 0x1e
jbe 0x4f00f5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x1b
jmp 0x4f10e7
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x10
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x60]
cmp ecx, dword [eax + 0x54]
jae 0x4f01b4
cmp dword [ebp - 0x14], 3
jae 0x4f0164
cmp dword [ebp - 0x2c], 0
jne 0x4f012b
jmp 0x4f10ec
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0120
jmp 0x4f011a
xor ecx, ecx
test ecx, ecx
jne 0x4f011a
mov edx, dword [ebp - 0x18]
and edx, 7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x60]
xor eax, eax
mov ax, word [ecx*2 + 0x580220]
mov ecx, dword [ebp - 0x1c]
mov word [ecx + eax*2 + 0x68], dx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x60]
add eax, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0x18]
shr edx, 3
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
sub eax, 3
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4f0197
jmp case.0x4ef4a6.16
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x60], 0x13
jae 0x4f01e8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x60]
xor edx, edx
mov dx, word [ecx*2 + 0x580220]
mov eax, dword [ebp - 0x1c]
mov word [eax + edx*2 + 0x68], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x60]
add edx, 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x60], edx
jmp 0x4f01b4
mov ecx, dword [ebp - 0x1c]
add ecx, 0x528
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x64], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x64]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x4c], 7
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2e8
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x4c
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x64
push eax
push 0x13
mov ecx, dword [ebp - 0x1c]
add ecx, 0x68
push ecx
push 0
call fcn.004f64a0
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4f0259
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_code_lengths_set
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x1b
jmp 0x4f10e7
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x11
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x58]
mov edx, dword [ebp - 0x1c]
add ecx, dword [edx + 0x5c]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x60], ecx
jae 0x4f0670
mov ecx, dword [ebp - 0x1c]
mov edx, 1
mov ecx, dword [ecx + 0x4c]
shl edx, cl
sub edx, 1
mov eax, dword [ebp - 0x18]
and eax, edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x44]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
cmp ecx, dword [ebp - 0x14]
ja 0x4f02b5
jmp 0x4f02f9
cmp dword [ebp - 0x2c], 0
jne 0x4f02c0
jmp 0x4f10ec
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f02b5
jmp 0x4f0284
mov ecx, dword [ebp - 0x36]
and ecx, 0xffff
cmp ecx, 0x10
jge 0x4f03ae
mov edx, dword [ebp - 0x37]
and edx, 0xff
cmp dword [ebp - 0x14], edx
jae 0x4f035b
cmp dword [ebp - 0x2c], 0
jne 0x4f0324
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0319
jmp 0x4f030b
xor ecx, ecx
test ecx, ecx
jne 0x4f030b
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x37]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4f0361
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x1c]
mov ax, word [ebp - 0x36]
mov word [edx + ecx*2 + 0x68], ax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x60]
add edx, 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x60], edx
jmp 0x4f066b
mov ecx, dword [ebp - 0x36]
and ecx, 0xffff
cmp ecx, 0x10
jne 0x4f049d
mov edx, dword [ebp - 0x37]
and edx, 0xff
add edx, 2
cmp dword [ebp - 0x14], edx
jae 0x4f0413
cmp dword [ebp - 0x2c], 0
jne 0x4f03dc
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f03d1
jmp 0x4f03c0
xor ecx, ecx
test ecx, ecx
jne 0x4f03c0
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x37]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4f0419
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x60], 0
jne 0x4f0461
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x5aa058
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x1b
jmp 0x4f0670
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov ax, word [edx + ecx*2 + 0x66]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
and ecx, 3
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
shr edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
sub eax, 2
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4f0480
jmp 0x4f060a
mov edx, dword [ebp - 0x36]
and edx, 0xffff
cmp edx, 0x11
jne 0x4f055f
mov eax, dword [ebp - 0x37]
and eax, 0xff
add eax, 3
cmp dword [ebp - 0x14], eax
jae 0x4f0501
cmp dword [ebp - 0x2c], 0
jne 0x4f04ca
jmp 0x4f10ec
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4f04bf
jmp 0x4f04af
xor edx, edx
test edx, edx
jne 0x4f04af
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov eax, dword [ebp - 0x18]
shr eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
sub edx, ecx
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0507
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x18]
and ecx, 7
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
shr edx, 3
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
sub eax, 3
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4f0542
jmp 0x4f060a
mov edx, dword [ebp - 0x37]
and edx, 0xff
add edx, 7
cmp dword [ebp - 0x14], edx
jae 0x4f05b2
cmp dword [ebp - 0x2c], 0
jne 0x4f057b
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0570
jmp 0x4f055f
xor ecx, ecx
test ecx, ecx
jne 0x4f055f
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x37]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4f05b8
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x18]
and eax, 0x7f
add eax, 0xb
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
shr ecx, 7
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
sub edx, 7
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f05f2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x60]
add edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x58]
mov eax, dword [ebp - 0x1c]
add ecx, dword [eax + 0x5c]
cmp edx, ecx
jbe 0x4f0638
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x1b
jmp 0x4f0670
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
test eax, eax
je 0x4f066b
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x1c]
mov dx, word [ebp - 0x34]
mov word [ecx + eax*2 + 0x68], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x60]
add ecx, 1
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x60], ecx
jmp 0x4f0638
jmp case.0x4ef4a6.17
mov eax, dword [ebp - 0x1c]
add eax, 0x528
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x44], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x4c], 9
mov eax, dword [ebp - 0x1c]
add eax, 0x2e8
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x64
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x68
push edx
push 1
call fcn.004f64a0
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4f06e4
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x1b
jmp 0x4f10e7
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x48], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x50], 6
mov eax, dword [ebp - 0x1c]
add eax, 0x2e8
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x64
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax*2 + 0x68]
push edx
push 2
call fcn.004f64a0
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4f0751
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x1b
jmp 0x4f10e7
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x12
cmp dword [ebp - 0x2c], 6
jb 0x4f07fc
cmp dword [ebp - 0x40], 0x102
jb 0x4f07fc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x34], edx
xor eax, eax
test eax, eax
jne 0x4f0771
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f5cd0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f07bc
jmp 0x4f10e7
mov ecx, dword [ebp - 0x1c]
mov edx, 1
mov ecx, dword [ecx + 0x4c]
shl edx, cl
sub edx, 1
mov eax, dword [ebp - 0x18]
and eax, edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x44]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
cmp ecx, dword [ebp - 0x14]
ja 0x4f082d
jmp 0x4f0871
cmp dword [ebp - 0x2c], 0
jne 0x4f0838
jmp 0x4f10ec
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f082d
jmp 0x4f07fc
mov ecx, dword [ebp - 0x38]
and ecx, 0xff
test ecx, ecx
je 0x4f0969
mov edx, dword [ebp - 0x38]
and edx, 0xff
and edx, 0xf0
test edx, edx
jne 0x4f0969
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 6]
and edx, 0xffff
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov eax, dword [ebp - 8]
and eax, 0xff
add ecx, eax
mov eax, 1
shl eax, cl
sub eax, 1
mov esi, dword [ebp - 0x18]
and esi, eax
mov ecx, dword [ebp - 7]
and ecx, 0xff
shr esi, cl
add edx, esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x44]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 7]
and edx, 0xff
mov eax, dword [ebp - 0x37]
and eax, 0xff
add edx, eax
cmp edx, dword [ebp - 0x14]
ja 0x4f08fd
jmp 0x4f0942
cmp dword [ebp - 0x2c], 0
jne 0x4f0908
jmp 0x4f10ec
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4f08fd
jmp 0x4f089f
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 7]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4f0942
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov eax, dword [ebp - 0x18]
shr eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
sub edx, ecx
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0969
mov ecx, dword [ebp - 0x36]
and ecx, 0xffff
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 0x38]
and eax, 0xff
test eax, eax
jne 0x4f09ba
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x17
jmp 0x4f10e7
mov edx, dword [ebp - 0x38]
and edx, 0xff
and edx, 0x20
test edx, edx
je 0x4f09d8
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xb
jmp 0x4f10e7
mov ecx, dword [ebp - 0x38]
and ecx, 0xff
and ecx, 0x40
test ecx, ecx
je 0x4f0a00
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x5aa0c4
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x1b
jmp 0x4f10e7
mov ecx, dword [ebp - 0x38]
and ecx, 0xff
and ecx, 0xf
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x13
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x40], 0
je 0x4f0abe
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 0x40]
jae 0x4f0a75
cmp dword [ebp - 0x2c], 0
jne 0x4f0a3e
jmp 0x4f10ec
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x14], eax
xor ecx, ecx
test ecx, ecx
jne 0x4f0a33
jmp 0x4f0a28
xor edx, edx
test edx, edx
jne 0x4f0a28
mov eax, dword [ebp - 0x1c]
mov edx, 1
mov ecx, dword [eax + 0x40]
shl edx, cl
sub edx, 1
mov eax, dword [ebp - 0x18]
and eax, edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x38]
add edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x38], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x40]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax + 0x40]
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4f0a9e
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x14
mov ecx, dword [ebp - 0x1c]
mov edx, 1
mov ecx, dword [ecx + 0x50]
shl edx, cl
sub edx, 1
mov eax, dword [ebp - 0x18]
and eax, edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
cmp ecx, dword [ebp - 0x14]
ja 0x4f0af8
jmp 0x4f0b3c
cmp dword [ebp - 0x2c], 0
jne 0x4f0b03
jmp 0x4f10ec
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0af8
jmp case.0x4ef4a6.20
mov ecx, dword [ebp - 0x38]
and ecx, 0xff
and ecx, 0xf0
test ecx, ecx
jne 0x4f0c24
mov edx, dword [ebp - 0x38]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 6]
and eax, 0xffff
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov edx, dword [ebp - 8]
and edx, 0xff
add ecx, edx
mov edx, 1
shl edx, cl
sub edx, 1
mov esi, dword [ebp - 0x18]
and esi, edx
mov ecx, dword [ebp - 7]
and ecx, 0xff
shr esi, cl
add eax, esi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov edx, dword [ebp - 0x37]
and edx, 0xff
add ecx, edx
cmp ecx, dword [ebp - 0x14]
ja 0x4f0bb8
jmp 0x4f0bfd
cmp dword [ebp - 0x2c], 0
jne 0x4f0bc3
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0bb8
jmp 0x4f0b59
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 7]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
xor edx, edx
test edx, edx
jne 0x4f0bfd
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov eax, dword [ebp - 0x18]
shr eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x37]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
sub edx, ecx
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0c24
mov ecx, dword [ebp - 0x38]
and ecx, 0xff
and ecx, 0x40
test ecx, ecx
je 0x4f0c74
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x5aa0e0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x1b
jmp 0x4f10e7
mov ecx, dword [ebp - 0x36]
and ecx, 0xffff
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0x38]
and eax, 0xff
and eax, 0xf
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x15
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x40], 0
je 0x4f0d40
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x40]
jae 0x4f0cf7
cmp dword [ebp - 0x2c], 0
jne 0x4f0cc0
jmp 0x4f10ec
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0cb5
jmp 0x4f0caa
xor ecx, ecx
test ecx, ecx
jne 0x4f0caa
mov edx, dword [ebp - 0x1c]
mov eax, 1
mov ecx, dword [edx + 0x40]
shl eax, cl
sub eax, 1
mov ecx, dword [ebp - 0x18]
and ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x3c]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 0x40]
shr eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
sub edx, dword [ecx + 0x40]
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0d20
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
add edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x3c], edx
jbe 0x4f0d6c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x5aa0f8
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x1b
jmp 0x4f10e7
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x16
cmp dword [ebp - 0x40], 0
jne 0x4f0d80
jmp 0x4f10ec
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x3c]
cmp eax, dword [ebp - 4]
jbe 0x4f0df7
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x3c]
sub edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x28]
jbe 0x4f0dcd
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
sub eax, dword [edx + 0x28]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x20]
sub edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2c]
add ecx, edx
mov dword [ebp - 0x30], ecx
jmp 0x4f0de1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x28]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x2c]
add edx, eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x38]
jbe 0x4f0df5
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x38]
mov dword [ebp - 4], eax
jmp 0x4f0e0c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
sub edx, dword [ecx + 0x3c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x40]
jbe 0x4f0e1a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x38]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4f0e32
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x38], 0
jne 0x4f0e6f
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x12
jmp 0x4f10e7
cmp dword [ebp - 0x40], 0
jne 0x4f0e7f
jmp 0x4f10ec
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 0x38]
mov byte [ecx], al
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x40]
sub edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x12
jmp 0x4f10e7
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 8], 0
je 0x4f1011
cmp dword [ebp - 0x14], 0x20
jae 0x4f0f01
cmp dword [ebp - 0x2c], 0
jne 0x4f0ec8
jmp 0x4f10ec
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f0ebd
jmp 0x4f0eb7
xor ecx, ecx
test ecx, ecx
jne 0x4f0eb7
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x18], ecx
cmp dword [ebp - 0xc], 0
je 0x4f0f8b
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
je 0x4f0f5c
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004f522a
add esp, 0xc
mov dword [ebp - 0x4c], eax
jmp 0x4f0f79
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.004f1ba0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x10], 0
je 0x4f0fa2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
jmp 0x4f0fda
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, 0xff00
add ecx, edx
mov eax, dword [ebp - 0x18]
and eax, 0xff00
shl eax, 8
add ecx, eax
mov edx, dword [ebp - 0x18]
and edx, 0xff
shl edx, 0x18
add ecx, edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x14]
je 0x4f0ffd
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_data_check
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x1b
jmp 0x4f10e7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor ecx, ecx
test ecx, ecx
jne 0x4f0ffd
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x19
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
je 0x4f10b8
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x10], 0
je 0x4f10b8
cmp dword [ebp - 0x14], 0x20
jae 0x4f107e
cmp dword [ebp - 0x2c], 0
jne 0x4f1045
jmp 0x4f10ec
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
xor eax, eax
test eax, eax
jne 0x4f103a
jmp 0x4f1034
xor ecx, ecx
test ecx, ecx
jne 0x4f1034
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x18]
je 0x4f10a4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_length_check
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x1b
jmp 0x4f10e7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
test eax, eax
jne 0x4f10a4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x1a
mov dword [ebp - 0x20], 1
jmp 0x4f10ec
mov dword [ebp - 0x20], 0xfffffffd
jmp 0x4f10ec
mov eax, 0xfffffffc
jmp 0x4f126c
mov eax, 0xfffffffe
jmp 0x4f126c
jmp 0x4ef491
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x34], ecx
xor edx, edx
test edx, edx
jne 0x4f10ec
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x20], 0
jne 0x4f1143
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0x18
jge 0x4f116a
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x10]
je 0x4f116a
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f1322
add esp, 8
test eax, eax
je 0x4f116a
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x1c
mov eax, 0xfffffffc
jmp 0x4f126c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
sub edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 8], 0
je 0x4f121b
cmp dword [ebp - 0xc], 0
je 0x4f121b
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
je 0x4f11e9
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.004f522a
add esp, 0xc
mov dword [ebp - 0x54], eax
jmp 0x4f1209
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004f1ba0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x54]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x54]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
neg ecx
sbb ecx, ecx
and ecx, 0x40
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x34]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
cmp dword [ecx], 0xb
setne dl
dec edx
and edx, 0x80
add eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
cmp dword [ebp - 0x28], 0
jne 0x4f1256
cmp dword [ebp - 0xc], 0
je 0x4f125c
cmp dword [ebp + 0xc], 4
jne 0x4f1269
cmp dword [ebp - 0x20], 0
jne 0x4f1269
mov dword [ebp - 0x20], 0xfffffffb
mov eax, dword [ebp - 0x20]
pop esi
mov esp, ebp
pop ebp
ret