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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1004823c
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1004823c
push ebx
mov dword [eax + 0x18], 0
push esi
mov dword [ecx], 0xb
mov dword [ecx + 4], 0
mov dword [ecx + 0x2c], 0
push edi
mov edi, dword [eax]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
test edi, edi
je 0x100474b0
mov esi, dword [eax + 4]
jmp 0x100474b2
xor esi, esi
mov eax, dword [ecx + 0x34]
xor edx, edx
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
sub eax, 0xb
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
cmp eax, 0x10
ja case.0x100474e7.12
nop word [eax + eax]
movzx eax, byte [eax + 0x10048264]
jmp dword [eax*4 + 0x10048248]
cmp dword [ecx + 4], 0
je 0x10047511
mov ecx, ebx
and ecx, 7
shr edx, cl
sub ebx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
mov dword [ecx], 0x1a
jmp 0x10048189
cmp ebx, 3
jae 0x10047551
test esi, esi
jne 0x10047535
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add edx, eax
mov dword [ebp - 4], edi
add ebx, 8
mov dword [ebp - 8], edx
dec esi
cmp ebx, 3
jb case.default.0x10047560
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ecx + 4], eax
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x10048278]
shr edx, 2
sub ebx, 3
mov dword [ecx], 0xd
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
jmp 0x10048189
shr edx, 2
sub ebx, 3
mov dword [ecx + 0x4c], 0x100d6428
mov dword [ecx + 0x54], 9
mov dword [ecx + 0x50], 0x100d3ba8
mov dword [ecx + 0x58], 5
mov dword [ecx], 0x12
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
jmp 0x10048189
shr edx, 2
sub ebx, 3
mov dword [ecx], 0xf
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
jmp 0x10048189
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [ecx], 0x1b
shr edx, 2
sub ebx, 3
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
jmp 0x10048189
mov ecx, ebx
and ecx, 7
sub ebx, ecx
shr edx, cl
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
cmp ebx, 0x20
jae 0x1004763b
nop dword [eax]
test esi, esi
jne 0x1004761f
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
add ebx, 8
add edx, eax
mov dword [ebp - 0x10], ebx
inc edi
mov dword [ebp - 8], edx
dec esi
mov dword [ebp - 4], edi
cmp ebx, 0x20
jb 0x10047600
mov ecx, dword [ebp - 0xc]
mov eax, edx
not eax
movzx edi, dx
shr eax, 0x10
cmp edi, eax
je 0x10047661
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [ecx], 0x1b
jmp 0x10048189
xor edx, edx
mov dword [ecx + 0x40], edi
xor ebx, ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
cmp edi, edx
je 0x10047701
mov eax, dword [ebp - 0x14]
nop dword [eax]
mov edi, dword [ecx + 0x40]
test esi, esi
jne 0x100476a2
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100476cc
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x34]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ecx]
push edx
call dword [eax + 4]
test eax, eax
jne 0x100481ce
mov eax, dword [ebp - 0x14]
cmp edi, esi
cmova edi, esi
cmp edi, eax
cmova edi, eax
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp - 4]
push eax
call fcn.1008bac0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ebp - 0x14]
sub esi, edi
add dword [ebp - 4], edi
sub eax, edi
add dword [ebp - 0x20], edi
sub dword [ecx + 0x40], edi
mov dword [ebp - 0x14], eax
jne 0x10047680
mov edx, dword [ebp - 8]
mov dword [ecx], 0xb
jmp 0x10048189
cmp ebx, 0xe
jae 0x1004774c
test esi, esi
jne 0x10047730
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add edx, eax
mov dword [ebp - 4], edi
add ebx, 8
mov dword [ebp - 8], edx
dec esi
cmp ebx, 0xe
jb 0x10047711
mov ecx, dword [ebp - 0xc]
mov eax, edx
sub ebx, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [ebp - 0x10], ebx
mov dword [ecx + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ecx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 8], edx
cmp dword [ecx + 0x60], 0x11e
mov dword [ecx + 0x5c], eax
ja 0x10047c84
cmp dword [ecx + 0x64], 0x1e
ja 0x10047c84
mov dword [ecx + 0x68], 0
test eax, eax
jbe 0x10047819
cmp ebx, 3
jae 0x100477e8
mov edi, dword [ebp - 4]
nop dword [eax]
test esi, esi
jne 0x100477cf
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add edx, eax
mov dword [ebp - 4], edi
add ebx, 8
mov dword [ebp - 8], edx
dec esi
cmp ebx, 3
jb 0x100477b0
mov edi, dword [ebp - 0xc]
mov ecx, edx
and ecx, 7
shr edx, 3
sub ebx, 3
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x68]
movzx eax, word [eax*2 + 0x100d3b7c]
mov word [edi + eax*2 + 0x70], cx
mov ecx, edi
inc dword [ecx + 0x68]
mov eax, dword [ecx + 0x68]
cmp eax, dword [ecx + 0x5c]
jb 0x100477a1
cmp dword [ecx + 0x68], 0x13
jae 0x1004783b
nop
mov eax, dword [ecx + 0x68]
xor edx, edx
movzx eax, word [eax*2 + 0x100d3b7c]
mov word [ecx + eax*2 + 0x70], dx
inc dword [ecx + 0x68]
cmp dword [ecx + 0x68], 0x13
jb 0x10047820
lea edx, [ecx + 0x530]
mov dword [ecx + 0x54], 7
lea eax, [ecx + 0x6c]
mov dword [ecx + 0x4c], edx
mov dword [eax], edx
lea edi, [ecx + 0x54]
lea edx, [ecx + 0x2f0]
mov dword [ebp - 0x28], edi
push edx
push edi
push eax
lea edx, [ecx + 0x70]
xor ecx, ecx
push 0x13
call fcn.10049600
mov ecx, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
je 0x1004788a
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [ecx], 0x1b
jmp 0x10048186
mov eax, dword [ecx + 0x64]
mov dword [ecx + 0x68], 0
add eax, dword [ecx + 0x60]
je 0x10047b60
nop dword [eax]
mov ecx, dword [edi]
mov edx, 1
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
cmp ecx, ebx
jbe 0x10047929
nop dword [eax + eax]
test esi, esi
jne 0x100478ec
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add dword [ebp - 8], eax
mov edx, 1
mov eax, dword [ebp - 0x28]
add ebx, 8
mov dword [ebp - 4], edi
dec esi
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc]
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
cmp ecx, ebx
ja 0x100478d0
mov edx, dword [ebp - 8]
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x100479a9
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], ecx
cmp ebx, ecx
jae 0x10047980
test esi, esi
jne 0x10047964
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add edx, eax
mov dword [ebp - 4], edi
add ebx, 8
mov dword [ebp - 8], edx
dec esi
cmp ebx, dword [ebp - 0x10]
jb 0x10047945
mov eax, dword [ebp - 0x18]
movzx ecx, ah
mov ax, word [ebp - 0x22]
sub ebx, ecx
shr edx, cl
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ecx, dword [edx + 0x68]
mov word [edx + ecx*2 + 0x70], ax
mov ecx, edx
inc dword [ecx + 0x68]
mov edi, dword [ecx + 0x68]
jmp 0x10047b36
mov cx, word [ebp - 0x22]
cmp cx, 0x10
jne 0x10047a30
movzx ecx, ah
mov dword [ebp - 0x24], ecx
lea eax, [ecx + 2]
cmp ebx, eax
jae 0x100479fd
test esi, esi
jne 0x100479df
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x24]
add edx, eax
add ebx, 8
mov dword [ebp - 8], edx
dec esi
mov dword [ebp - 4], edi
lea eax, [ecx + 2]
cmp ebx, eax
jb 0x100479c0
shr edx, cl
sub ebx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x10047b48
movzx eax, word [ecx + eax*2 + 0x6e]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [ebp - 0x18], eax
sub ebx, 2
jmp 0x10047afd
cmp cx, 0x11
movzx ecx, ah
jne 0x10047a94
lea eax, [ecx + 3]
mov dword [ebp - 0x24], ecx
cmp ebx, eax
jae 0x10047a80
test esi, esi
jne 0x10047a62
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x24]
add edx, eax
add ebx, 8
mov dword [ebp - 8], edx
dec esi
mov dword [ebp - 4], edi
lea eax, [ecx + 3]
cmp ebx, eax
jb 0x10047a43
shr edx, cl
mov eax, 0xfffffffd
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
jmp 0x10047aef
lea eax, [ecx + 7]
mov dword [ebp - 0x24], ecx
cmp ebx, eax
jae 0x10047add
nop
test esi, esi
jne 0x10047abf
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x24]
add edx, eax
add ebx, 8
mov dword [ebp - 8], edx
dec esi
mov dword [ebp - 4], edi
lea eax, [ecx + 7]
cmp ebx, eax
jb 0x10047aa0
shr edx, cl
mov eax, 0xfffffff9
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
sub eax, ecx
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
add ebx, eax
mov ecx, dword [ecx + 0x68]
add ecx, edi
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp ecx, eax
mov ecx, edi
ja 0x10047b48
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x68]
mov word [ecx + eax*2 + 0x70], bx
inc dword [ecx + 0x68]
mov edi, dword [ecx + 0x68]
sub edx, 1
jne 0x10047b20
mov ebx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
add eax, dword [ecx + 0x60]
cmp edi, eax
jae 0x10047b5d
mov edi, dword [ebp - 0x28]
jmp 0x100478a0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [ecx], 0x1b
jmp 0x10048189
lea edi, [ecx + 0x54]
cmp dword [ecx], 0x1b
je 0x10048186
lea eax, [ecx + 0x530]
mov dword [edi], 9
mov dword [ecx + 0x6c], eax
lea edx, [ecx + 0x70]
mov dword [ecx + 0x4c], eax
lea eax, [ecx + 0x2f0]
push eax
push edi
lea edi, [ecx + 0x6c]
push edi
push dword [ecx + 0x60]
mov ecx, 1
call fcn.10049600
mov ecx, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
je 0x10047bb6
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov dword [ecx], 0x1b
jmp 0x10048186
mov eax, dword [edi]
lea edx, [ecx + 0x2f0]
mov dword [ecx + 0x50], eax
lea eax, [ecx + 0x58]
push edx
push eax
mov dword [eax], 6
mov eax, dword [ecx + 0x60]
push edi
push dword [ecx + 0x64]
add ecx, 0x70
lea edx, [ecx + eax*2]
mov ecx, 2
call fcn.10049600
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov edx, dword [ebp - 8]
test eax, eax
je 0x10047c05
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [ecx], 0x1b
jmp 0x10048189
mov dword [ecx], 0x12
mov edi, dword [ebp - 4]
mov dword [ebp - 0x18], edi
cmp esi, 6
jb 0x10047c99
cmp dword [ebp - 0x14], 0x102
jb 0x10047c99
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [ecx + 0x38], edx
mov edx, dword [ecx + 0x28]
mov dword [ecx + 0x3c], ebx
cmp dword [ecx + 0x2c], edx
jae 0x10047c52
mov eax, edx
sub eax, dword [ebp - 0x14]
mov dword [ecx + 0x2c], eax
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.10049b10
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], edi
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
jmp 0x1004818c
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [ecx], 0x1b
jmp 0x10048189
mov ecx, dword [ecx + 0x54]
mov edx, 1
mov eax, dword [ebp - 0xc]
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x10047d17
nop dword [eax]
test esi, esi
jne 0x10047cdc
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add dword [ebp - 8], eax
mov edx, 1
mov eax, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 4], edi
dec esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax + 0x54]
mov eax, dword [eax + 0x4c]
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x10047cc0
test al, al
je 0x10047def
test al, 0xf0
jne 0x10047def
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [ebp - 0x28], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [ebp - 0x24], edx
and ebx, dword [ebp - 8]
shr ebx, cl
add ebx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + ebx*4]
mov ecx, eax
mov ebx, dword [ebp - 0x10]
shr ecx, 8
movzx edi, cl
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
add edi, ecx
cmp edi, ebx
jbe 0x10047de3
test esi, esi
jne 0x10047d91
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
jmp 0x10047d94
mov edi, dword [ebp - 0x18]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add dword [ebp - 8], eax
add ebx, 8
movzx eax, word [ebp - 0x22]
dec esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov edi, 1
mov dword [ebp - 0x10], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [ebp - 8]
shr edi, cl
add edi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
mov ebx, dword [ebp - 0x10]
cmp ecx, ebx
ja 0x10047d70
movzx ecx, dh
mov edx, dword [ebp - 8]
shr edx, cl
sub ebx, ecx
jmp 0x10047df2
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub ebx, ecx
mov ecx, eax
mov dword [ebp - 8], edx
shr ecx, 0x10
mov dword [ebp - 0x10], ebx
mov dword [edi + 0x40], ecx
test al, al
jne 0x10047e5c
cmp dword [ebp - 0x14], 0
jne 0x10047e3f
mov edx, dword [edi + 0x28]
mov ecx, dword [edi + 0x34]
mov dword [edi + 0x2c], edx
mov edi, dword [ebp + 0x10]
push edx
mov dword [ebp - 0x20], ecx
push ecx
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x14], edx
call dword [eax + 4]
test eax, eax
jne 0x100481ce
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x20]
mov al, byte [ecx + 0x40]
mov byte [edi], al
inc edi
dec dword [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov dword [ecx], 0x12
jmp 0x10048189
test al, 0x20
je 0x10047e6d
mov ecx, edi
mov dword [ecx], 0xb
jmp 0x10048189
test al, 0x40
je 0x10047e88
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov dword [eax + 0x18], str.invalid_literal_length_code
mov dword [ecx], 0x1b
jmp 0x10048189
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], eax
je 0x10047ef5
cmp ebx, eax
jae 0x10047edb
mov eax, dword [ebp - 4]
nop word [eax + eax]
test esi, esi
jne 0x10047ebf
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov ecx, ebx
shl eax, cl
add ebx, 8
add edx, eax
dec esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp ebx, dword [edi + 0x48]
jb 0x10047ea0
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x40], eax
sub ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
mov ecx, dword [edi + 0x58]
mov edx, 1
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
shl edx, cl
dec edx
mov eax, dword [eax + 0x50]
and edx, edi
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x10047f75
nop word [eax + eax]
test esi, esi
jne 0x10047f39
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edx, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
dec esi
mov dword [ebp - 0x10], ebx
movzx eax, byte [edx]
inc edx
shl eax, cl
add edi, eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
mov edx, 1
mov dword [ebp - 8], edi
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x50]
shl edx, cl
dec edx
and edx, edi
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x10047f20
test al, 0xf0
jne 0x1004803d
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [ebp - 0x28], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [ebp - 0x24], edx
and ebx, dword [ebp - 8]
shr ebx, cl
add ebx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + ebx*4]
mov ecx, eax
mov ebx, dword [ebp - 0x10]
shr ecx, 8
movzx edi, cl
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
add edi, ecx
cmp edi, ebx
jbe 0x10048031
test esi, esi
jne 0x10047fe2
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
dec esi
mov dword [ebp - 0x10], ebx
movzx ebx, dh
movzx eax, byte [edi]
inc edi
shl eax, cl
add dword [ebp - 8], eax
movzx eax, word [ebp - 0x22]
mov dword [ebp - 4], edi
mov edi, 1
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [ebp - 8]
shr edi, cl
add edi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
mov ebx, dword [ebp - 0x10]
cmp ecx, ebx
ja 0x10047fc6
movzx ecx, dh
mov edx, dword [ebp - 8]
shr edx, cl
sub ebx, ecx
jmp 0x10048040
mov edx, dword [ebp - 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
test al, 0x40
je 0x1004806e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_distance_code
mov dword [ecx], 0x1b
jmp 0x10048189
mov edi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
je 0x100480e5
cmp ebx, eax
jae 0x100480cb
mov eax, dword [ebp - 4]
nop dword [eax + eax]
test esi, esi
jne 0x100480af
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x100481b6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov ecx, ebx
shl eax, cl
add ebx, 8
add edx, eax
dec esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp ebx, dword [edi + 0x48]
jb 0x10048090
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x44], eax
sub ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
mov ecx, dword [edi + 0x28]
cmp dword [edi + 0x2c], ecx
sbb eax, eax
and eax, dword [ebp - 0x14]
sub ecx, eax
cmp dword [edi + 0x44], ecx
mov ecx, edi
jbe 0x10048110
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
mov dword [ecx], 0x1b
jmp 0x10048189
cmp dword [ebp - 0x14], 0
jne 0x1004813c
mov edx, dword [ecx + 0x28]
mov edi, dword [ecx + 0x34]
mov dword [ecx + 0x2c], edx
mov ecx, dword [ebp + 0x10]
push edx
push edi
mov dword [ebp - 0x20], edi
mov eax, dword [ecx]
mov dword [ebp - 0x14], edx
call dword [eax + 4]
test eax, eax
jne 0x100481ce
mov ecx, dword [ebp - 0xc]
jmp 0x1004813f
mov edi, dword [ebp - 0x20]
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x44]
sub eax, edx
cmp eax, dword [ebp - 0x14]
jae 0x10048155
mov edx, dword [ebp - 0x14]
add edi, eax
sub edx, eax
jmp 0x1004815a
sub edi, edx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x40]
cmova edx, dword [ecx + 0x40]
sub dword [ecx + 0x40], edx
sub dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x20]
sub edi, ecx
nop dword [eax]
mov al, byte [edi + ecx]
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10048170
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x40], edx
jne 0x10048110
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, dword [ecx]
sub eax, 0xb
mov dword [ebp - 0x18], edi
cmp eax, 0x10
jbe 0x100474e0
mov edi, 0xfffffffe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov edi, 0xfffffffb
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov edi, 0xfffffffb
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 0x28]
mov edi, 1
mov eax, dword [ebp - 0x14]
cmp eax, edx
jae 0x100481a2
mov ebx, dword [ebp + 0x10]
sub edx, eax
push edx
push dword [ecx + 0x34]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
test eax, eax
mov eax, dword [ebp - 4]
je 0x100481a5
mov ecx, dword [ebp - 0x1c]
mov edi, 0xfffffffb
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov edi, 0xfffffffd
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret