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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x2c
push esi
test eax, eax
je 0x1000f2f0
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x1000f2f0
cmp dword [eax + 0xc], 0
je 0x1000f2f0
cmp dword [eax], 0
je 0x1000f2e6
cmp dword [esi], 0xb
je 0x1000f2fa
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
push ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 8], edx
mov edx, dword [esi + 0x38]
push edi
mov edi, dword [esi + 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
jmp 0x10001a20
cmp dword [ebp - 4], 6
jb 0x10001a34
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x20]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
push edx
mov dword [eax + 0xc], ebx
push eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edi
call fcn.10004bd0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov edi, dword [esi + 0x3c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x38]
add esp, 8
cmp dword [esi], 0xb
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
je 0x1000fb9d
mov edx, dword [ebp - 0xc]
jmp 0x10001a20
mov eax, dword [esi]
cmp eax, 0x14
jne 0x10001c34
cmp dword [ebp - 0x14], 0x102
jae 0x100019b7
mov ecx, dword [esi + 0x54]
mov eax, 1
shl eax, cl
mov dword [esi + 0x1bc4], 0
dec eax
and eax, edx
mov ecx, eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], eax
cmp ecx, edi
jbe 0x10001aa3
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x54]
add edi, 8
add edx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x4c]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], eax
cmp ecx, edi
ja 0x10001a62
test al, al
je 0x10001aaf
test al, 0xf0
je 0x1000241b
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [esi + 0x1bc4], ecx
shr edx, cl
sub edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], edx
mov dword [esi + 0x40], ecx
test al, al
je 0x10001d78
test al, 0x20
jne 0x10002142
test al, 0x40
jne 0x1000fbac
movzx ecx, al
and ecx, 0xf
mov dword [esi + 0x48], ecx
mov dword [esi], 0x15
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10001b1c
cmp edi, eax
jb 0x10001d30
mov ecx, dword [esi + 0x48]
mov eax, 1
shl eax, cl
sub edi, ecx
dec eax
and eax, edx
add dword [esi + 0x40], eax
shr edx, cl
add dword [esi + 0x1bc4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x1bc8], ecx
mov dword [esi], 0x16
mov ecx, dword [esi + 0x58]
mov eax, 1
shl eax, cl
dec eax
and eax, edx
mov ecx, eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], eax
cmp ecx, edi
ja 0x10001ce0
test al, 0xf0
je 0x1000247a
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [esi + 0x1bc4], ecx
shr edx, cl
sub edi, ecx
mov dword [ebp - 0xc], edx
test al, 0x40
jne 0x1000fc1e
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov dword [esi], 0x17
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10001be1
cmp edi, eax
jae 0x10001bc4
lea ebx, [ebx]
cmp dword [ebp - 4], 0
je 0x10002279
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
cmp edi, dword [esi + 0x48]
jb 0x10001ba0
mov ecx, dword [esi + 0x48]
mov eax, 1
shl eax, cl
sub edi, ecx
dec eax
and eax, edx
add dword [esi + 0x44], eax
shr edx, cl
add dword [esi + 0x1bc4], ecx
mov dword [ebp - 0xc], edx
mov dword [esi], 0x18
cmp dword [ebp - 0x14], 0
je 0x10002279
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x44]
cmp eax, ecx
ja 0x1000237a
mov ecx, ebx
sub ecx, eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
ja 0x1000fc65
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [esi + 0x40], ecx
mov ecx, dword [ebp - 0x28]
sub ecx, ebx
mov dword [ebp - 0x28], ecx
jmp 0x10001cc3
cmp eax, 0x1e
ja case.default.0x10001c3d
jmp dword [eax*4 + 0x100026b0]
cmp dword [ebp + 0xc], 5
je 0x10002279
cmp dword [ebp + 0xc], 6
je 0x10002279
cmp dword [esi + 4], 0
jne 0x1000267e
cmp edi, 3
jae 0x10001c94
jmp 0x10001c70
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
cmp edi, 3
jb 0x10001c70
mov ecx, edx
shr edx, 1
mov eax, edx
and ecx, 1
and eax, 3
mov dword [esi + 4], ecx
cmp eax, 2
jne 0x10002356
mov dword [esi], 0x10
shr edx, 2
mov dword [ebp - 0xc], edx
sub edi, 3
jmp 0x10001a20
mov ecx, dword [ebp - 0x28]
mov cl, byte [ecx + ebx]
mov byte [ebx], cl
inc ebx
dec eax
jne 0x10001cc0
cmp dword [esi + 0x40], eax
jne 0x10001a20
mov dword [esi], 0x14
jmp 0x10001a20
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x58]
add edi, 8
add edx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x50]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], eax
cmp ecx, edi
jbe 0x10001b53
jmp 0x10001ce0
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
cmp edi, dword [esi + 0x48]
jae 0x10001b02
jmp 0x10001d30
cmp dword [ebp - 0x14], 0
je 0x10002279
mov al, byte [esi + 0x40]
mov byte [ebx], al
inc ebx
dec dword [ebp - 0x14]
mov dword [esi], 0x14
jmp 0x10001a20
mov dword [esi], 0x19
jmp 0x10001a20
cmp edi, 0xe
jae 0x10001db4
jmp 0x10001d90
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
cmp edi, 0xe
jb 0x10001d90
mov ecx, edx
and ecx, 0x1f
shr edx, 5
add ecx, 0x101
mov eax, edx
mov dword [esi + 0x60], ecx
shr edx, 5
mov ecx, edx
and eax, 0x1f
and ecx, 0xf
inc eax
add ecx, 4
shr edx, 4
sub edi, 0xe
cmp dword [esi + 0x60], 0x11e
mov dword [esi + 0x64], eax
mov dword [esi + 0x5c], ecx
mov dword [ebp - 0xc], edx
ja 0x1000fa75
cmp eax, 0x1e
ja 0x1000fa75
mov dword [esi + 0x68], 0
mov dword [esi], 0x11
mov ecx, dword [esi + 0x68]
cmp ecx, dword [esi + 0x5c]
jae 0x10001e42
cmp edi, 3
jb 0x10001fd0
mov eax, dword [esi + 0x68]
movzx eax, word [eax*2 + 0x1001d1e8]
mov ecx, edx
and ecx, 7
mov word [esi + eax*2 + 0x70], cx
inc dword [esi + 0x68]
mov ecx, dword [esi + 0x68]
shr edx, 3
sub edi, 3
mov dword [ebp - 0xc], edx
cmp ecx, dword [esi + 0x5c]
jb 0x10001e10
mov eax, 0x13
cmp dword [esi + 0x68], eax
jae 0x10001e6a
lea esp, [esp]
mov edx, dword [esi + 0x68]
movzx ecx, word [edx*2 + 0x1001d1e8]
xor edx, edx
mov word [esi + ecx*2 + 0x70], dx
inc dword [esi + 0x68]
cmp dword [esi + 0x68], eax
jb 0x10001e50
lea eax, [esi + 0x530]
lea ecx, [esi + 0x6c]
mov dword [ecx], eax
mov dword [esi + 0x4c], eax
lea edx, [esi + 0x2f0]
push edx
lea eax, [esi + 0x54]
push eax
push ecx
mov dword [eax], 7
lea eax, [esi + 0x70]
push 0
mov edx, 0x13
call fcn.10001560
mov edx, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x1000fa8a
mov dword [esi + 0x68], eax
mov dword [esi], 0x12
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x60]
cmp dword [esi + 0x68], ecx
jae 0x10001f28
mov edi, edi
mov ecx, dword [esi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x4c]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], eax
cmp ecx, edi
ja 0x10002000
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x1000204a
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp edi, ecx
jb 0x1000fa9f
movzx ecx, ah
mov eax, dword [esi + 0x68]
shr edx, cl
sub edi, ecx
mov cx, word [ebp - 0xe]
mov word [esi + eax*2 + 0x70], cx
inc dword [esi + 0x68]
mov dword [ebp - 0xc], edx
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x60]
cmp dword [esi + 0x68], eax
jb 0x10001ec0
cmp dword [esi], 0x1d
je 0x10001a20
cmp word [esi + 0x270], 0
je 0x1000fad6
lea eax, [esi + 0x530]
lea ecx, [esi + 0x6c]
mov dword [ecx], eax
mov dword [esi + 0x4c], eax
lea edx, [esi + 0x2f0]
push edx
mov edx, dword [esi + 0x60]
lea eax, [esi + 0x54]
push eax
push ecx
mov dword [eax], 9
lea eax, [esi + 0x70]
push 1
call fcn.10001560
add esp, 0x10
test eax, eax
jne 0x1000fb18
mov edx, dword [esi + 0x6c]
lea ecx, [esi + 0x6c]
mov dword [esi + 0x50], edx
lea edx, [esi + 0x2f0]
push edx
mov edx, dword [esi + 0x64]
lea eax, [esi + 0x58]
push eax
mov dword [eax], 6
mov eax, dword [esi + 0x60]
push ecx
lea eax, [esi + eax*2 + 0x70]
push 2
call fcn.10001560
add esp, 0x10
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x1000f305
cmp dword [ebp + 0xc], 6
mov edx, dword [ebp - 0xc]
mov dword [esi], 0x13
je 0x10002279
mov dword [esi], 0x14
jmp case.0x10001c3d.20
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
cmp edi, 3
jae 0x10001e19
jmp 0x10001fd0
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x54]
add edi, 8
add edx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0xc], edx
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], eax
cmp ecx, edi
jbe 0x10001ee6
jmp 0x10002000
mov cx, word [ebp - 0xe]
cmp cx, 0x10
je 0x100023b5
movzx eax, ah
mov dword [ebp - 0x10], eax
cmp cx, 0x11
jne 0x100020c6
add eax, 3
cmp edi, eax
jb 0x10002113
mov ecx, dword [ebp - 0x10]
shr edx, cl
mov ecx, 0xfffffffd
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0
add edi, ecx
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x60]
mov dword [ebp - 0xc], edx
mov edx, dword [esi + 0x68]
add edx, eax
cmp edx, ecx
ja 0x1000fb03
test eax, eax
je 0x100020be
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx]
mov edx, dword [esi + 0x68]
mov word [esi + edx*2 + 0x70], cx
inc dword [esi + 0x68]
dec eax
jne 0x100020b0
mov edx, dword [ebp - 0xc]
jmp 0x10001f1d
add eax, 7
cmp edi, eax
jae 0x100020f9
lea ecx, [ecx]
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 0x10]
add eax, 7
cmp edi, eax
jb 0x100020d0
mov ecx, dword [ebp - 0x10]
shr edx, cl
mov ecx, 0xfffffff9
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
jmp 0x10002084
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 0x10]
add eax, 3
cmp edi, eax
jae 0x1000206f
jmp 0x10002113
mov dword [esi + 0x1bc4], 0xffffffff
mov dword [esi], 0xb
jmp 0x10001a20
mov ecx, edi
and ecx, 7
sub edi, ecx
shr edx, cl
cmp edi, 0x20
jae 0x1000fa00
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x10002279
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x10002170
mov ecx, edx
mov eax, edx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
jne 0x1000fa08
xor edx, edx
xor edi, edi
cmp dword [ebp + 0xc], 6
mov dword [esi + 0x40], eax
mov dword [esi], 0xe
je 0x10002279
mov dword [ebp - 0xc], edx
mov dword [esi], 0xf
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1000214c
jmp 0x1000fa1d
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add dword [ecx + 0x14], eax
add dword [esi + 0x1c], eax
test eax, eax
je 0x10002215
mov edx, dword [esi + 0x18]
mov ecx, ebx
push eax
sub ecx, eax
cmp dword [esi + 0x10], 0
push ecx
push edx
jne 0x1000fb30
call sym.zlibwapi.dll_adler32
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [esi + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, edx
jne 0x10002246
and eax, 0xff00
mov ecx, edx
shl ecx, 0x10
add eax, ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff00
shl eax, 8
add eax, ecx
mov ecx, edx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [esi + 0x18]
jne 0x1000fb3a
xor edx, edx
mov dword [ebp - 0xc], edx
xor edi, edi
mov dword [esi], 0x1b
cmp dword [esi + 8], 0
je 0x1000226c
cmp dword [esi + 0x10], 0
jne 0x1000fb4f
mov dword [esi], 0x1c
mov dword [ebp - 0x24], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 4], ecx
cmp dword [esi + 0x28], 0
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edi
je 0x10002695
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
call fcn.10001480
test eax, eax
jne 0x1000fcb2
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
sub eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
sub ebx, dword [edi + 0x10]
add dword [edi + 8], eax
add dword [edi + 0x14], ebx
add dword [esi + 0x1c], ebx
cmp dword [esi + 8], 0
je 0x100022fb
test ebx, ebx
je 0x100022fb
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x2c], eax
push ebx
jne 0x1000fcc2
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x18]
sub eax, ebx
push eax
push ecx
call sym.zlibwapi.dll_adler32
mov dword [esi + 0x18], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x2c]
cmp dword [esi + 4], 0
jne 0x1000253e
mov dword [ebp + 8], 0
mov ecx, dword [esi]
cmp ecx, 0xb
je 0x1000fcd6
xor edx, edx
cmp ecx, 0x13
je 0x1000fce0
cmp ecx, 0xe
je 0x1000fce0
xor ecx, ecx
add ecx, edx
add ecx, dword [ebp + 8]
add ecx, dword [esi + 0x3c]
mov dword [edi + 0x2c], ecx
test eax, eax
je 0x1000fcea
cmp dword [ebp + 0xc], 4
je 0x1000fcf2
mov eax, dword [ebp - 0x24]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp eax, 3
ja case.default.0x1000235f
jmp dword [eax*4 + 0x1000272c]
shr edx, 2
mov dword [esi], 0xd
mov dword [ebp - 0xc], edx
sub edi, 3
jmp 0x10001a20
sub eax, ecx
mov dword [ebp - 0x10], eax
cmp eax, dword [esi + 0x2c]
ja 0x1000fc33
mov ecx, dword [esi + 0x30]
cmp eax, ecx
jbe 0x1000fc55
sub eax, ecx
mov ecx, dword [esi + 0x34]
add ecx, dword [esi + 0x28]
sub ecx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
jbe 0x10001c0f
mov eax, ecx
jmp 0x10001c0f
movzx ecx, ah
lea eax, [ecx + 2]
cmp edi, eax
jb 0x100023e9
mov eax, dword [esi + 0x68]
shr edx, cl
sub edi, ecx
test eax, eax
je 0x1000faeb
movzx ecx, word [esi + eax*2 + 0x6e]
mov eax, edx
and eax, 3
add eax, 3
shr edx, 2
mov dword [ebp - 0x1c], ecx
sub edi, 2
jmp 0x10002090
mov dword [ebp - 0x10], ecx
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0x10]
add edi, 8
add edx, eax
lea eax, [ecx + 2]
cmp edi, eax
jae 0x100023bf
jmp 0x100023f0
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x28], ecx
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
movzx ecx, al
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
dec eax
and eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x28]
mov dword [ebp - 0x10], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, edi
ja 0x100024e0
movzx ecx, byte [ebp - 0xb]
mov eax, dword [ebp - 0x10]
shr edx, cl
sub edi, ecx
mov dword [esi + 0x1bc4], ecx
jmp 0x10001aaf
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x28], ecx
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
movzx ecx, al
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
dec eax
and eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x28]
mov dword [ebp - 0x10], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, edi
ja 0x1000fbc1
movzx ecx, byte [ebp - 0xb]
mov eax, dword [ebp - 0x10]
shr edx, cl
sub edi, ecx
add dword [esi + 0x1bc4], ecx
jmp 0x10001b5b
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0xc]
dec dword [ebp - 4]
inc dword [ebp - 8]
add edx, eax
movzx eax, ch
mov dword [ebp - 0x1c], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
add edi, 8
dec eax
and eax, edx
shr eax, cl
movzx ecx, word [ebp - 0xa]
add eax, ecx
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x10], eax
shr eax, 8
movzx eax, al
add eax, dword [ebp - 0x1c]
cmp eax, edi
jbe 0x10002464
jmp 0x100024e0
mov dword [ebp + 8], 0x40
jmp 0x1000230c
cmp dword [esi + 8], 0
je 0x10002256
cmp edi, 0x20
jae 0x100021dd
lea ecx, [ecx]
cmp dword [ebp - 4], 0
je 0x10002279
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x10002560
jmp 0x100021dd
mov eax, dword [esi + 8]
test eax, eax
je 0x1000f31a
cmp edi, 0x10
jae 0x100025c7
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x10
jb 0x100025a0
test byte [esi + 8], 2
jne 0x1000f325
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], 0
test eax, eax
jne 0x1000f361
test byte [esi + 8], 1
je 0x1000f3a9
mov ecx, dword [ebp - 0xc]
movzx eax, cl
shl eax, 8
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
jne 0x1000f3a9
mov edx, dword [ebp - 0xc]
and dl, 0xf
cmp dl, 8
jne 0x1000f36d
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x24]
shr ecx, 4
mov dword [ebp - 0xc], ecx
and ecx, 0xf
add ecx, 8
test eax, eax
je 0x1000f382
sub edi, 4
cmp ecx, eax
ja 0x1000f38a
mov edx, 1
push 0
shl edx, cl
push 0
push 0
mov dword [esi + 0x14], edx
call sym.zlibwapi.dll_adler32
test dword [ebp - 0xc], 0x200
mov ecx, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov dword [ecx + 0x30], eax
jne 0x1000f39f
mov eax, 0xb
xor edx, edx
mov dword [esi], eax
mov dword [ebp - 0xc], edx
xor edi, edi
jmp 0x10001a20
mov ecx, edi
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [esi], 0x1a
mov dword [ebp - 0xc], edx
jmp 0x10001a20
cmp dword [esi], 0x1a
jge 0x100022b3
mov edx, dword [ebp - 0x20]
cmp edx, dword [eax + 0x10]
jne 0x100022a0
jmp 0x100022b3
cmp dword [eax + 4], 0
je 0x10001980
mov eax, 0xfffffffe
jmp 0x1000234f
mov dword [esi], 0xc
jmp 0x10001989
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [esi], 0x1d
jmp 0x10001a13
mov dword [esi], 0xc
jmp 0x10001a20
cmp edx, 0x8b1f
jne 0x100025d1
xor edi, edi
push edi
push edi
push edi
call sym.zlibwapi.dll_crc32
push 2
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [esi + 0x18], eax
mov word [ebp - 0x18], 0x8b1f
call sym.zlibwapi.dll_crc32
mov dword [esi + 0x18], eax
mov dword [ebp - 0xc], edi
mov dword [esi], 1
jmp 0x10001a13
mov dword [eax + 0x30], 0xffffffff
jmp 0x100025e3
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [esi], 0x1d
jmp 0x10001a13
mov dword [esi + 0x24], ecx
jmp 0x10002640
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_window_size
mov dword [esi], 0x1d
jmp 0x10001a13
mov eax, 9
jmp 0x10002670
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov dword [esi], 0x1d
jmp 0x10001a13
cmp edi, 0x10
jae 0x1000f3ee
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x10
jb 0x1000f3c7
mov dword [esi + 0x10], edx
cmp dl, 8
je 0x1000f40f
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [esi], 0x1d
jmp 0x10001a20
test edx, 0xe000
je 0x1000f430
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov dword [esi], 0x1d
jmp 0x10001a20
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f443
shr edx, 8
and edx, 1
mov dword [eax], edx
test dword [esi + 0x10], 0x200
je 0x1000f46e
mov eax, dword [ebp - 0xc]
mov edx, dword [esi + 0x18]
push 2
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x18], al
push ecx
shr eax, 8
push edx
mov byte [ebp - 0x17], al
call sym.zlibwapi.dll_crc32
mov dword [esi + 0x18], eax
xor edx, edx
xor edi, edi
mov dword [esi], 2
jmp 0x1000f486
cmp edi, 0x20
jae 0x1000f4ad
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x1000f486
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f4bb
mov dword [eax + 4], edx
test dword [esi + 0x10], 0x200
je 0x1000f4f6
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov edx, eax
mov byte [ebp - 0x18], al
shr eax, 0x18
shr ecx, 8
mov byte [ebp - 0x15], al
push 4
lea eax, [ebp - 0x18]
mov byte [ebp - 0x17], cl
mov ecx, dword [esi + 0x18]
push eax
shr edx, 0x10
push ecx
mov byte [ebp - 0x16], dl
call sym.zlibwapi.dll_crc32
mov dword [esi + 0x18], eax
xor edx, edx
xor edi, edi
mov dword [esi], 3
jmp 0x1000f50e
cmp edi, 0x10
jae 0x1000f535
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x10
jb 0x1000f50e
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f554
mov ecx, edx
and ecx, 0xff
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x20]
shr edx, 8
mov dword [eax + 0xc], edx
test dword [esi + 0x10], 0x200
je 0x1000f57f
mov eax, dword [ebp - 0xc]
mov edx, dword [esi + 0x18]
push 2
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x18], al
push ecx
shr eax, 8
push edx
mov byte [ebp - 0x17], al
call sym.zlibwapi.dll_crc32
mov dword [esi + 0x18], eax
xor edx, edx
mov dword [ebp - 0xc], edx
xor edi, edi
mov dword [esi], 4
test dword [esi + 0x10], 0x400
je 0x1000f611
cmp edi, 0x10
jae 0x1000f5c9
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x10
jb 0x1000f5a2
mov eax, dword [esi + 0x20]
mov dword [esi + 0x40], edx
test eax, eax
je 0x1000f5da
mov dword [eax + 0x14], edx
test dword [esi + 0x10], 0x200
je 0x1000f605
mov eax, dword [ebp - 0xc]
mov edx, dword [esi + 0x18]
push 2
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x18], al
push ecx
shr eax, 8
push edx
mov byte [ebp - 0x17], al
call sym.zlibwapi.dll_crc32
mov dword [esi + 0x18], eax
xor edx, edx
mov dword [ebp - 0xc], edx
xor edi, edi
jmp 0x1000f623
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f623
mov dword [eax + 0x10], 0
mov dword [esi], 5
test dword [esi + 0x10], 0x400
je 0x1000f6e5
mov eax, dword [esi + 0x40]
cmp eax, dword [ebp - 4]
jbe 0x1000f64f
mov ecx, dword [ebp - 4]
mov eax, ecx
mov dword [ebp - 0x10], ecx
jmp 0x1000f652
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000f6db
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000f6ab
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x1000f6ab
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 0x14]
sub ecx, dword [esi + 0x40]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x1c], ecx
add ecx, eax
cmp ecx, edx
jbe 0x1000f691
sub edx, dword [ebp - 0x1c]
mov eax, edx
mov edx, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.10009fe0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add esp, 0xc
test dword [esi + 0x10], 0x200
je 0x1000f6d2
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0x18]
push edx
push eax
push ecx
call sym.zlibwapi.dll_crc32
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
sub dword [esi + 0x40], eax
cmp dword [esi + 0x40], 0
jne 0x10002279
mov dword [esi + 0x40], 0
mov dword [esi], 6
test dword [esi + 0x10], 0x800
je 0x1000f79d
cmp dword [ebp - 4], 0
je 0x10002279
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + ecx]
inc dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f74f
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1000f74f
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x1000f74f
mov edx, dword [ebp - 0x28]
mov al, byte [ebp - 0x1c]
mov byte [edx + ecx], al
inc dword [esi + 0x40]
mov edx, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], 0
je 0x1000f761
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1000f70e
test dword [esi + 0x10], 0x200
je 0x1000f785
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
call sym.zlibwapi.dll_crc32
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
cmp dword [ebp - 0x1c], 0
jne 0x10002279
jmp 0x1000f7af
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f7af
mov dword [eax + 0x1c], 0
mov dword [esi + 0x40], 0
mov dword [esi], 7
test dword [esi + 0x10], 0x1000
je 0x1000f867
cmp dword [ebp - 4], 0
je 0x10002279
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + ecx]
inc dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f819
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1000f819
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x1000f819
mov edx, dword [ebp - 0x28]
mov al, byte [ebp - 0x1c]
mov byte [edx + ecx], al
inc dword [esi + 0x40]
mov edx, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], 0
je 0x1000f82b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1000f7d8
test dword [esi + 0x10], 0x200
je 0x1000f84f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
call sym.zlibwapi.dll_crc32
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
cmp dword [ebp - 0x1c], 0
jne 0x10002279
jmp 0x1000f879
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f879
mov dword [eax + 0x24], 0
mov dword [esi], 8
test dword [esi + 0x10], 0x200
je 0x1000f8e2
cmp edi, 0x10
jae 0x1000f8bc
cmp dword [ebp - 4], 0
je 0x10002279
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x10
jb 0x1000f895
movzx ecx, word [esi + 0x18]
cmp edx, ecx
je 0x1000f8dd
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [esi], 0x1d
jmp 0x10001a20
xor edi, edi
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000f903
mov ecx, dword [esi + 0x10]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov edx, dword [esi + 0x20]
mov dword [edx + 0x30], 1
push 0
push 0
push 0
call sym.zlibwapi.dll_crc32
mov ecx, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [esi], 0xb
jmp 0x10001a13
cmp edi, 0x20
jae 0x1000f94f
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
cmp edi, 0x20
jb 0x1000f92b
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
mov ecx, dword [ebp + 8]
shr edx, 0x18
add eax, edx
xor edx, edx
mov dword [esi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [ebp - 0xc], edx
xor edi, edi
mov dword [esi], 0xa
cmp dword [esi + 0xc], 0
je 0x1000fc6c
push 0
push 0
push 0
call sym.zlibwapi.dll_adler32
mov edx, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 0xc]
mov dword [esi], 0xb
jmp case.0x10001c3d.11
cmp dword [ebp + 0xc], 6
mov dword [esi + 0x4c], 0x1001c968
mov dword [esi + 0x54], 9
mov dword [esi + 0x50], 0x1001d168
mov dword [esi + 0x58], 5
mov dword [esi], 0x13
jne case.default.0x1000235f
shr edx, 2
sub edi, 3
jmp 0x10002279
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [esi], 0x1d
jmp case.default.0x1000235f
mov dword [ebp - 0xc], edx
jmp 0x10002197
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [esi], 0x1d
jmp 0x10001a20
cmp eax, dword [ebp - 4]
jbe 0x1000fa33
mov ecx, dword [ebp - 4]
mov eax, ecx
mov dword [ebp - 0x10], ecx
jmp 0x1000fa36
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jbe 0x1000fa46
mov eax, ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10002279
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push ecx
push edx
push ebx
call fcn.10009fe0
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x14], eax
add esp, 0xc
add ebx, eax
sub dword [esi + 0x40], eax
jmp 0x10001a13
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [esi], 0x1d
jmp 0x10001a20
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [esi], 0x1d
jmp 0x10001a20
cmp dword [ebp - 4], 0
je 0x10002279
mov edx, dword [ebp - 8]
movzx ecx, byte [edx]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov edx, ecx
mov ecx, edi
shl edx, cl
movzx ecx, ah
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x28]
add edi, 8
mov dword [ebp - 0xc], edx
cmp edi, ecx
jb 0x1000fa9f
jmp 0x10001f04
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
mov dword [esi], 0x1d
jmp 0x10001a20
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [ebp - 0xc], edx
mov dword [esi], 0x1d
jmp 0x10001a20
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [esi], 0x1d
jmp 0x10001a13
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
mov dword [ebp - 0x24], eax
mov dword [esi], 0x1d
jmp 0x10001a13
call sym.zlibwapi.dll_crc32
jmp 0x10002209
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
mov dword [esi], 0x1d
jmp 0x10001a20
cmp edi, 0x20
jae 0x1000fb7f
cmp dword [ebp - 4], 0
je 0x10002279
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx]
dec dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x1000fb58
cmp edx, dword [esi + 0x1c]
je 0x1000fc93
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [esi], 0x1d
jmp 0x10001a20
mov dword [esi + 0x1bc4], 0xffffffff
jmp 0x10001a13
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov dword [esi], 0x1d
jmp 0x10001a20
cmp dword [ebp - 4], 0
je 0x10002279
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0xc]
dec dword [ebp - 4]
inc dword [ebp - 8]
add edx, eax
movzx eax, ch
mov dword [ebp - 0x1c], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
add edi, 8
dec eax
and eax, edx
shr eax, cl
movzx ecx, word [ebp - 0xa]
add eax, ecx
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x10], eax
shr eax, 8
movzx eax, al
add eax, dword [ebp - 0x1c]
cmp eax, edi
ja 0x1000fbc1
jmp 0x100024c7
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_code
mov dword [esi], 0x1d
jmp 0x10001a20
cmp dword [esi + 0x1bc0], 0
je 0x10002388
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
mov dword [esi], 0x1d
jmp 0x10001a20
mov ecx, dword [esi + 0x34]
sub ecx, eax
add ecx, dword [esi + 0x30]
mov eax, dword [ebp - 0x10]
jmp 0x1000239d
mov eax, ecx
jmp 0x10001c1a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 4], ecx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edi
mov eax, 2
jmp 0x1000234d
xor edx, edx
xor edi, edi
jmp 0x1000226c
mov dword [ebp - 0x24], 0xfffffffd
jmp 0x10002279
mov eax, 0xfffffffe
jmp 0x1000234d
mov dword [esi], 0x1e
mov eax, 0xfffffffc
jmp 0x1000234d
mov ecx, dword [edi + 0xc]
mov edx, dword [esi + 0x18]
sub ecx, ebx
push ecx
push edx
call sym.zlibwapi.dll_crc32
jmp 0x100022f2
mov edx, 0x80
jmp 0x10002319
mov ecx, 0x100
jmp 0x1000232d
test ebx, ebx
jne 0x10002340
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1000234d
mov eax, 0xfffffffb
jmp 0x1000234d