Function at 0x100875f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
je 0x10087625
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
je 0x10087625
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x10087625
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1008762f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x1008762f
mov eax, 0xfffffffe
jmp 0x10089472
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0xb
jne 0x10087649
mov ecx, dword [ebp - 4]
mov dword [ecx], 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x10087649
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1c
ja case.default.0x100876ac
mov ecx, dword [ebp - 0x44]
jmp dword [ecx*4 + 0x10089479]
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x100876ca
mov eax, dword [ebp - 4]
mov dword [eax], 0xc
jmp 0x100892ed
cmp dword [ebp - 0x1c], 0x10
jae 0x10087712
cmp dword [ebp - 0x10], 0
jne 0x100876db
jmp 0x100892f2
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x100876d0
jmp 0x100876ca
xor edx, edx
test edx, edx
jne 0x100876ca
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
and ecx, 2
test ecx, ecx
je 0x10087794
cmp dword [ebp - 0x18], 0x8b1f
jne 0x10087794
push 0
push 0
push 0
call fcn.1008a850
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x40], al
mov ecx, dword [ebp - 0x18]
shr ecx, 8
mov byte [ebp - 0x3f], cl
push 2
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.1008a850
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
xor eax, eax
test eax, eax
jne 0x10087742
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor ecx, ecx
test ecx, ecx
jne 0x10087772
mov edx, dword [ebp - 4]
mov dword [edx], 1
jmp 0x100892ed
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
and edx, 1
test edx, edx
je 0x100877cb
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 0x100877e3
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov eax, dword [ebp - 4]
mov dword [eax], 0x1b
jmp 0x100892ed
mov ecx, dword [ebp - 0x18]
and ecx, 0xf
cmp ecx, 8
je 0x10087806
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.unknown_compression_method
mov eax, dword [ebp - 4]
mov dword [eax], 0x1b
jmp 0x100892ed
mov ecx, dword [ebp - 0x18]
shr ecx, 4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 4
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10087806
mov ecx, dword [ebp - 0x18]
and ecx, 0xf
add ecx, 8
mov edx, dword [ebp - 4]
cmp ecx, dword [edx + 0x1c]
jbe 0x10087847
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x1b
jmp 0x100892ed
push 0
push 0
push 0
call fcn.1008a5d0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
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 - 4]
mov dword [ecx], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor edx, edx
test edx, edx
jne 0x1008787d
jmp 0x100892ed
cmp dword [ebp - 0x1c], 0x10
jae 0x100878de
cmp dword [ebp - 0x10], 0
jne 0x100878a7
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x1008789c
jmp case.0x100876ac.1
xor ecx, ecx
test ecx, ecx
jne case.0x100876ac.1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
and edx, 0xff
cmp edx, 8
je 0x10087916
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x1b
jmp 0x100892ed
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0xe000
test eax, eax
je 0x1008793d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.unknown_header_flags_set
mov edx, dword [ebp - 4]
mov dword [edx], 0x1b
jmp 0x100892ed
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
and ecx, 0x200
test ecx, ecx
je 0x1008797d
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x40], dl
mov eax, dword [ebp - 0x18]
shr eax, 8
mov byte [ebp - 0x3f], al
push 2
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
call fcn.1008a850
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
xor edx, edx
test edx, edx
jne 0x1008794d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
test eax, eax
jne 0x1008797d
mov ecx, dword [ebp - 4]
mov dword [ecx], 2
cmp dword [ebp - 0x1c], 0x20
jae 0x100879e4
cmp dword [ebp - 0x10], 0
jne 0x100879ab
jmp 0x100892f2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x100879a0
jmp case.0x100876ac.2
xor ecx, ecx
test ecx, ecx
jne case.0x100876ac.2
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0x200
test eax, eax
je 0x10087a3b
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0x40], cl
mov edx, dword [ebp - 0x18]
shr edx, 8
mov byte [ebp - 0x3f], dl
mov eax, dword [ebp - 0x18]
shr eax, 0x10
mov byte [ebp - 0x3e], al
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
mov byte [ebp - 0x3d], cl
push 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.1008a850
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
xor eax, eax
test eax, eax
jne 0x100879f9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor ecx, ecx
test ecx, ecx
jne 0x10087a3b
mov edx, dword [ebp - 4]
mov dword [edx], 3
cmp dword [ebp - 0x1c], 0x10
jae 0x10087aa0
cmp dword [ebp - 0x10], 0
jne 0x10087a69
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10087a5e
jmp case.0x100876ac.3
xor ecx, ecx
test ecx, ecx
jne case.0x100876ac.3
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0x200
test eax, eax
je 0x10087ae5
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0x40], cl
mov edx, dword [ebp - 0x18]
shr edx, 8
mov byte [ebp - 0x3f], dl
push 2
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.1008a850
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
xor edx, edx
test edx, edx
jne 0x10087ab5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
test eax, eax
jne 0x10087ae5
mov ecx, dword [ebp - 4]
mov dword [ecx], 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0x400
test eax, eax
je 0x10087bbf
cmp dword [ebp - 0x1c], 0x10
jae 0x10087b5d
cmp dword [ebp - 0x10], 0
jne 0x10087b26
jmp 0x100892f2
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x10087b1b
jmp 0x10087b15
xor edx, edx
test edx, edx
jne 0x10087b15
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0x200
test eax, eax
je 0x10087bab
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0x40], cl
mov edx, dword [ebp - 0x18]
shr edx, 8
mov byte [ebp - 0x3f], dl
push 2
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.1008a850
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
xor edx, edx
test edx, edx
jne 0x10087b7b
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
test eax, eax
jne 0x10087bab
mov ecx, dword [ebp - 4]
mov dword [ecx], 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0x400
test eax, eax
je 0x10087c4f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x10]
jbe 0x10087bee
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x10087c41
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0x200
test eax, eax
je 0x10087c20
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.1008a850
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x38], 0
je 0x10087c4f
jmp 0x100892f2
mov eax, dword [ebp - 4]
mov dword [eax], 6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
and edx, 0x800
test edx, edx
je 0x10087cec
cmp dword [ebp - 0x10], 0
jne 0x10087c77
jmp 0x100892f2
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x38], 0
je 0x10087ca2
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x10]
jb 0x10087c7e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
and edx, 0x2000
test edx, edx
je 0x10087ccf
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
call fcn.1008a850
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x38], 0
je 0x10087cec
jmp 0x100892f2
mov ecx, dword [ebp - 4]
mov dword [ecx], 7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0x1000
test eax, eax
je 0x10087d83
cmp dword [ebp - 0x10], 0
jne 0x10087d0f
jmp 0x100892f2
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x28]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x38], 0
je 0x10087d3a
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x10]
jb 0x10087d16
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0x2000
test eax, eax
je 0x10087d66
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.1008a850
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x38], 0
je 0x10087d83
jmp 0x100892f2
mov edx, dword [ebp - 4]
mov dword [edx], 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
and ecx, 0x200
test ecx, ecx
je 0x10087e2c
cmp dword [ebp - 0x1c], 0x10
jae 0x10087dea
cmp dword [ebp - 0x10], 0
jne 0x10087db1
jmp 0x100892f2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10087da6
jmp 0x10087da0
xor ecx, ecx
test ecx, ecx
jne 0x10087da0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
and eax, 0xffff
cmp dword [ebp - 0x18], eax
je 0x10087e18
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.header_crc_mismatch
mov edx, dword [ebp - 4]
mov dword [edx], 0x1b
jmp 0x100892ed
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
test eax, eax
jne 0x10087e18
push 0
push 0
push 0
call fcn.1008a850
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 4]
mov dword [edx], 0xb
jmp 0x100892ed
cmp dword [ebp - 0x1c], 0x20
jae 0x10087ea2
cmp dword [ebp - 0x10], 0
jne 0x10087e6b
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10087e60
jmp case.0x100876ac.9
xor ecx, ecx
test ecx, ecx
jne case.0x100876ac.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 - 4]
mov dword [ecx + 0x14], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x30], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor edx, edx
test edx, edx
jne 0x10087eee
mov eax, dword [ebp - 4]
mov dword [eax], 0xa
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
jne 0x10087f59
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x34], ecx
xor edx, edx
test edx, edx
jne 0x10087f14
mov eax, 2
jmp 0x10089472
push 0
push 0
push 0
call fcn.1008a5d0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 4]
mov dword [edx], 0xb
cmp dword [ebp + 0xc], 5
jne case.0x100876ac.12
jmp 0x100892f2
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10087fc6
mov ecx, dword [ebp - 0x1c]
and ecx, 7
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
and eax, 7
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x10087f96
mov eax, dword [ebp - 4]
mov dword [eax], 0x18
jmp 0x100892ed
cmp dword [ebp - 0x1c], 3
jae 0x1008800e
cmp dword [ebp - 0x10], 0
jne 0x10087fd7
jmp 0x100892f2
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x10087fcc
jmp 0x10087fc6
xor edx, edx
test edx, edx
jne 0x10087fc6
mov eax, dword [ebp - 0x18]
and eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
shr edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x10088020
mov edx, dword [ebp - 0x18]
and edx, 3
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 3
ja case.default.0x10088049
mov eax, dword [ebp - 0x48]
jmp dword [eax*4 + 0x100894ed]
mov ecx, dword [ebp - 4]
mov dword [ecx], 0xd
jmp case.default.0x10088049
mov edx, dword [ebp - 4]
push edx
call fcn.10089500
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax], 0x12
jmp case.default.0x10088049
mov ecx, dword [ebp - 4]
mov dword [ecx], 0xf
jmp case.default.0x10088049
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_block_type
mov eax, dword [ebp - 4]
mov dword [eax], 0x1b
mov ecx, dword [ebp - 0x18]
shr ecx, 2
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 2
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne case.default.0x10088049
jmp 0x100892ed
mov ecx, dword [ebp - 0x1c]
and ecx, 7
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
and eax, 7
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne case.0x100876ac.13
cmp dword [ebp - 0x1c], 0x20
jae 0x10088117
cmp dword [ebp - 0x10], 0
jne 0x100880e0
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x100880d5
jmp 0x100880cf
xor ecx, ecx
test ecx, ecx
jne 0x100880cf
mov edx, dword [ebp - 0x18]
and edx, 0xffff
mov eax, dword [ebp - 0x18]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x1008814d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
mov edx, dword [ebp - 4]
mov dword [edx], 0x1b
jmp 0x100892ed
mov eax, dword [ebp - 0x18]
and eax, 0xffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor edx, edx
test edx, edx
jne 0x1008815b
mov eax, dword [ebp - 4]
mov dword [eax], 0xe
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x100881fa
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x10]
jbe 0x10088195
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x14]
jbe 0x100881a3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100881ae
jmp 0x100892f2
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
jmp 0x100892ed
mov edx, dword [ebp - 4]
mov dword [edx], 0xb
jmp 0x100892ed
cmp dword [ebp - 0x1c], 0xe
jae 0x10088250
cmp dword [ebp - 0x10], 0
jne 0x10088219
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x1008820e
jmp case.0x100876ac.15
xor ecx, ecx
test ecx, ecx
jne case.0x100876ac.15
mov edx, dword [ebp - 0x18]
and edx, 0x1f
add edx, 0x101
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], edx
mov ecx, dword [ebp - 0x18]
shr ecx, 5
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 5
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088268
mov ecx, dword [ebp - 0x18]
and ecx, 0x1f
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], ecx
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 5
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x1008828f
mov eax, dword [ebp - 0x18]
and eax, 0xf
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0x18]
shr edx, 4
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x100882b6
mov edx, dword [ebp - 4]
cmp dword [edx + 0x58], 0x11e
ja 0x100882e3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x5c], 0x1e
jbe 0x100882fb
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
mov edx, dword [ebp - 4]
mov dword [edx], 0x1b
jmp 0x100892ed
mov eax, dword [ebp - 4]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x10
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x60]
cmp ecx, dword [eax + 0x54]
jae 0x100883ba
cmp dword [ebp - 0x1c], 3
jae 0x1008836a
cmp dword [ebp - 0x10], 0
jne 0x10088331
jmp 0x100892f2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088326
jmp 0x10088320
xor ecx, ecx
test ecx, ecx
jne 0x10088320
mov edx, dword [ebp - 0x18]
and edx, 7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
xor eax, eax
mov ax, word [ecx*2 + 0x100a4370]
mov ecx, dword [ebp - 4]
mov word [ecx + eax*2 + 0x68], dx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x60]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0x18]
shr edx, 3
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
sub eax, 3
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x1008839d
jmp case.0x100876ac.16
mov edx, dword [ebp - 4]
cmp dword [edx + 0x60], 0x13
jae 0x100883ee
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
xor edx, edx
mov dx, word [ecx*2 + 0x100a4370]
mov eax, dword [ebp - 4]
mov word [eax + edx*2 + 0x68], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x60]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x60], edx
jmp 0x100883ba
mov ecx, dword [ebp - 4]
add ecx, 0x528
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x64]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 7
mov ecx, dword [ebp - 4]
add ecx, 0x2e8
push ecx
mov edx, dword [ebp - 4]
add edx, 0x4c
push edx
mov eax, dword [ebp - 4]
add eax, 0x64
push eax
push 0x13
mov ecx, dword [ebp - 4]
add ecx, 0x68
push ecx
push 0
call fcn.10089fb0
add esp, 0x18
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x1008845f
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_code_lengths_set
mov eax, dword [ebp - 4]
mov dword [eax], 0x1b
jmp 0x100892ed
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x11
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x58]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x5c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], ecx
jae 0x10088876
mov ecx, dword [ebp - 4]
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 - 4]
mov edx, dword [ecx + 0x44]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
cmp ecx, dword [ebp - 0x1c]
ja 0x100884bb
jmp 0x100884ff
cmp dword [ebp - 0x10], 0
jne 0x100884c6
jmp 0x100892f2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x100884bb
jmp 0x1008848a
mov ecx, dword [ebp - 0x2e]
and ecx, 0xffff
cmp ecx, 0x10
jge 0x100885b4
mov edx, dword [ebp - 0x2f]
and edx, 0xff
cmp dword [ebp - 0x1c], edx
jae 0x10088561
cmp dword [ebp - 0x10], 0
jne 0x1008852a
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x1008851f
jmp 0x10088511
xor ecx, ecx
test ecx, ecx
jne 0x10088511
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x2f]
and eax, 0xff
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x10088567
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 4]
mov ax, word [ebp - 0x2e]
mov word [edx + ecx*2 + 0x68], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x60]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x60], edx
jmp 0x10088871
mov ecx, dword [ebp - 0x2e]
and ecx, 0xffff
cmp ecx, 0x10
jne 0x100886a3
mov edx, dword [ebp - 0x2f]
and edx, 0xff
add edx, 2
cmp dword [ebp - 0x1c], edx
jae 0x10088619
cmp dword [ebp - 0x10], 0
jne 0x100885e2
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x100885d7
jmp 0x100885c6
xor ecx, ecx
test ecx, ecx
jne 0x100885c6
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x2f]
and eax, 0xff
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x1008861f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x10088667
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov edx, dword [ebp - 4]
mov dword [edx], 0x1b
jmp 0x10088876
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx*2 + 0x66]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x18]
and ecx, 3
add ecx, 3
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x18]
shr edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
sub eax, 2
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x10088686
jmp 0x10088810
mov edx, dword [ebp - 0x2e]
and edx, 0xffff
cmp edx, 0x11
jne 0x10088765
mov eax, dword [ebp - 0x2f]
and eax, 0xff
add eax, 3
cmp dword [ebp - 0x1c], eax
jae 0x10088707
cmp dword [ebp - 0x10], 0
jne 0x100886d0
jmp 0x100892f2
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x100886c5
jmp 0x100886b5
xor edx, edx
test edx, edx
jne 0x100886b5
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov eax, dword [ebp - 0x18]
shr eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov edx, dword [ebp - 0x1c]
sub edx, ecx
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x1008870d
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x18]
and ecx, 7
add ecx, 3
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x18]
shr edx, 3
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
sub eax, 3
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x10088748
jmp 0x10088810
mov edx, dword [ebp - 0x2f]
and edx, 0xff
add edx, 7
cmp dword [ebp - 0x1c], edx
jae 0x100887b8
cmp dword [ebp - 0x10], 0
jne 0x10088781
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088776
jmp 0x10088765
xor ecx, ecx
test ecx, ecx
jne 0x10088765
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x2f]
and eax, 0xff
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x100887be
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
and eax, 0x7f
add eax, 0xb
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
shr ecx, 7
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 7
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x100887f8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x60]
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0x5c]
cmp edx, ecx
jbe 0x1008883e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov edx, dword [ebp - 4]
mov dword [edx], 0x1b
jmp 0x10088876
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x10088871
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 4]
mov dx, word [ebp - 0x38]
mov word [ecx + eax*2 + 0x68], dx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], ecx
jmp 0x1008883e
jmp case.0x100876ac.17
mov eax, dword [ebp - 4]
add eax, 0x528
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x44], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], 9
mov eax, dword [ebp - 4]
add eax, 0x2e8
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 4]
add edx, 0x64
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x68
push edx
push 1
call fcn.10089fb0
add esp, 0x18
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x100888ea
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x1b
jmp 0x100892ed
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x48], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], 6
mov eax, dword [ebp - 4]
add eax, 0x2e8
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x50
push ecx
mov edx, dword [ebp - 4]
add edx, 0x64
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 0x68]
push edx
push 2
call fcn.10089fb0
add esp, 0x18
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x10088957
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x1b
jmp 0x100892ed
mov edx, dword [ebp - 4]
mov dword [edx], 0x12
cmp dword [ebp - 0x10], 6
jb 0x10088a02
cmp dword [ebp - 0x14], 0x102
jb 0x10088a02
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x34], edx
xor eax, eax
test eax, eax
jne 0x10088977
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100897d0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x100889c2
jmp 0x100892ed
mov ecx, dword [ebp - 4]
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 - 4]
mov edx, dword [ecx + 0x44]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
cmp ecx, dword [ebp - 0x1c]
ja 0x10088a33
jmp 0x10088a77
cmp dword [ebp - 0x10], 0
jne 0x10088a3e
jmp 0x100892f2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088a33
jmp 0x10088a02
mov ecx, dword [ebp - 0x30]
and ecx, 0xff
test ecx, ecx
je 0x10088b6f
mov edx, dword [ebp - 0x30]
and edx, 0xff
and edx, 0xf0
test edx, edx
jne 0x10088b6f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x32]
and edx, 0xffff
mov ecx, dword [ebp - 0x33]
and ecx, 0xff
mov eax, dword [ebp - 0x34]
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 - 0x33]
and ecx, 0xff
shr esi, cl
add edx, esi
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x44]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x33]
and edx, 0xff
mov eax, dword [ebp - 0x2f]
and eax, 0xff
add edx, eax
cmp edx, dword [ebp - 0x1c]
ja 0x10088b03
jmp 0x10088b48
cmp dword [ebp - 0x10], 0
jne 0x10088b0e
jmp 0x100892f2
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x10088b03
jmp 0x10088aa5
mov ecx, dword [ebp - 0x33]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x33]
and eax, 0xff
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x10088b48
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov eax, dword [ebp - 0x18]
shr eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov edx, dword [ebp - 0x1c]
sub edx, ecx
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088b6f
mov ecx, dword [ebp - 0x2e]
and ecx, 0xffff
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 0x30]
and eax, 0xff
test eax, eax
jne 0x10088bc0
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x17
jmp 0x100892ed
mov edx, dword [ebp - 0x30]
and edx, 0xff
and edx, 0x20
test edx, edx
je 0x10088bde
mov eax, dword [ebp - 4]
mov dword [eax], 0xb
jmp 0x100892ed
mov ecx, dword [ebp - 0x30]
and ecx, 0xff
and ecx, 0x40
test ecx, ecx
je 0x10088c06
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_literal_length_code
mov eax, dword [ebp - 4]
mov dword [eax], 0x1b
jmp 0x100892ed
mov ecx, dword [ebp - 0x30]
and ecx, 0xff
and ecx, 0xf
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x13
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x40], 0
je 0x10088cc4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x40]
jae 0x10088c7b
cmp dword [ebp - 0x10], 0
jne 0x10088c44
jmp 0x100892f2
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
test ecx, ecx
jne 0x10088c39
jmp 0x10088c2e
xor edx, edx
test edx, edx
jne 0x10088c2e
mov eax, dword [ebp - 4]
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 - 4]
mov edx, dword [ecx + 0x38]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x40]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax + 0x40]
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x10088ca4
mov eax, dword [ebp - 4]
mov dword [eax], 0x14
mov ecx, dword [ebp - 4]
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 - 4]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
cmp ecx, dword [ebp - 0x1c]
ja 0x10088cfe
jmp 0x10088d42
cmp dword [ebp - 0x10], 0
jne 0x10088d09
jmp 0x100892f2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088cfe
jmp case.0x100876ac.20
mov ecx, dword [ebp - 0x30]
and ecx, 0xff
and ecx, 0xf0
test ecx, ecx
jne 0x10088e2a
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x32]
and eax, 0xffff
mov ecx, dword [ebp - 0x33]
and ecx, 0xff
mov edx, dword [ebp - 0x34]
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 - 0x33]
and ecx, 0xff
shr esi, cl
add eax, esi
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x33]
and ecx, 0xff
mov edx, dword [ebp - 0x2f]
and edx, 0xff
add ecx, edx
cmp ecx, dword [ebp - 0x1c]
ja 0x10088dbe
jmp 0x10088e03
cmp dword [ebp - 0x10], 0
jne 0x10088dc9
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088dbe
jmp 0x10088d5f
mov ecx, dword [ebp - 0x33]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x33]
and eax, 0xff
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
xor edx, edx
test edx, edx
jne 0x10088e03
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov eax, dword [ebp - 0x18]
shr eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x2f]
and ecx, 0xff
mov edx, dword [ebp - 0x1c]
sub edx, ecx
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088e2a
mov ecx, dword [ebp - 0x30]
and ecx, 0xff
and ecx, 0x40
test ecx, ecx
je 0x10088e7a
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_distance_code
mov eax, dword [ebp - 4]
mov dword [eax], 0x1b
jmp 0x100892ed
mov ecx, dword [ebp - 0x2e]
and ecx, 0xffff
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0x30]
and eax, 0xff
and eax, 0xf
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 4]
mov dword [edx], 0x15
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x10088f46
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x40]
jae 0x10088efd
cmp dword [ebp - 0x10], 0
jne 0x10088ec6
jmp 0x100892f2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088ebb
jmp 0x10088eb0
xor ecx, ecx
test ecx, ecx
jne 0x10088eb0
mov edx, dword [ebp - 4]
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 - 4]
mov eax, dword [edx + 0x3c]
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 0x40]
shr eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ecx + 0x40]
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10088f26
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
add edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], edx
jbe 0x10088f72
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
mov edx, dword [ebp - 4]
mov dword [edx], 0x1b
jmp 0x100892ed
mov eax, dword [ebp - 4]
mov dword [eax], 0x16
cmp dword [ebp - 0x14], 0
jne 0x10088f86
jmp 0x100892f2
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
cmp eax, dword [ebp - 0x28]
jbe 0x10088ffd
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 0x28]
jbe 0x10088fd3
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
sub eax, dword [edx + 0x28]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
add ecx, edx
mov dword [ebp - 0x2c], ecx
jmp 0x10088fe7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
add edx, eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 0x38]
jbe 0x10088ffb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x28], eax
jmp 0x10089012
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub edx, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x14]
jbe 0x10089020
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x10089038
mov edx, dword [ebp - 4]
cmp dword [edx + 0x38], 0
jne 0x10089075
mov eax, dword [ebp - 4]
mov dword [eax], 0x12
jmp 0x100892ed
cmp dword [ebp - 0x14], 0
jne 0x10089085
jmp 0x100892f2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x38]
mov byte [ecx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov dword [eax], 0x12
jmp 0x100892ed
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10089217
cmp dword [ebp - 0x1c], 0x20
jae 0x10089107
cmp dword [ebp - 0x10], 0
jne 0x100890ce
jmp 0x100892f2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x100890c3
jmp 0x100890bd
xor ecx, ecx
test ecx, ecx
jne 0x100890bd
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], ecx
cmp dword [ebp - 0x24], 0
je 0x10089191
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10089162
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.1008a850
add esp, 0xc
mov dword [ebp - 0x4c], eax
jmp 0x1008917f
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.1008a5d0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
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 - 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
je 0x100891a8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
jmp 0x100891e0
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 - 4]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x14]
je 0x10089203
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_data_check
mov eax, dword [ebp - 4]
mov dword [eax], 0x1b
jmp 0x100892ed
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor ecx, ecx
test ecx, ecx
jne 0x10089203
mov edx, dword [ebp - 4]
mov dword [edx], 0x19
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x100892be
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100892be
cmp dword [ebp - 0x1c], 0x20
jae 0x10089284
cmp dword [ebp - 0x10], 0
jne 0x1008924b
jmp 0x100892f2
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
xor eax, eax
test eax, eax
jne 0x10089240
jmp 0x1008923a
xor ecx, ecx
test ecx, ecx
jne 0x1008923a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x18]
je 0x100892aa
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_length_check
mov edx, dword [ebp - 4]
mov dword [edx], 0x1b
jmp 0x100892ed
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
test eax, eax
jne 0x100892aa
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x1a
mov dword [ebp - 0x3c], 1
jmp 0x100892f2
mov dword [ebp - 0x3c], 0xfffffffd
jmp 0x100892f2
mov eax, 0xfffffffc
jmp 0x10089472
mov eax, 0xfffffffe
jmp 0x10089472
jmp 0x10087697
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x34], ecx
xor edx, edx
test edx, edx
jne 0x100892f2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
jne 0x10089349
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x18
jge 0x10089370
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x10]
je 0x10089370
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10089540
add esp, 8
test eax, eax
je 0x10089370
mov eax, dword [ebp - 4]
mov dword [eax], 0x1c
mov eax, 0xfffffffc
jmp 0x10089472
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
sub edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [eax + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10089421
cmp dword [ebp - 0x24], 0
je 0x10089421
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100893ef
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.1008a850
add esp, 0xc
mov dword [ebp - 0x54], eax
jmp 0x1008940f
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.1008a5d0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 4]
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 - 4]
mov ecx, dword [eax + 4]
neg ecx
sbb ecx, ecx
and ecx, 0x40
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
add eax, ecx
mov ecx, dword [ebp - 4]
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 - 0x20], 0
jne 0x1008945c
cmp dword [ebp - 0x24], 0
je 0x10089462
cmp dword [ebp + 0xc], 4
jne 0x1008946f
cmp dword [ebp - 0x3c], 0
jne 0x1008946f
mov dword [ebp - 0x3c], 0xfffffffb
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret