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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, ecx
call fcn.00f66a42
test eax, eax
jne 0xf6756f
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0xc], eax
je 0xf67568
cmp dword [edi + 4], eax
je 0xf66dc3
cmp dword [edi], eax
je 0xf67568
mov ebx, dword [esi + 4]
cmp ebx, 0x29a
jne 0xf66dd7
cmp edx, 4
jne 0xf67568
cmp dword [edi + 0x10], eax
je 0xf66e3b
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], edx
mov dword [ebp - 0xc], 9
cmp dword [esi + 0x14], eax
je 0xf66e05
mov ecx, edi
call fcn.00f6694c
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0xf67560
mov edx, dword [esi + 4]
jmp 0xf66e2a
mov edx, ebx
cmp dword [edi + 4], eax
jne 0xf66e28
xor eax, eax
cmp ecx, 4
cmovg eax, dword [ebp - 0xc]
add ecx, ecx
sub ecx, eax
mov eax, dword [ebp - 4]
add eax, eax
cmp eax, ecx
jg 0xf66e28
cmp dword [ebp - 4], 4
jne 0xf66e3b
xor ebx, ebx
cmp edx, 0x29a
jne 0xf66e49
cmp dword [edi + 4], ebx
je 0xf66ef7
mov dword [edi + 0x18], 0xb1abc0
push 0xfffffffffffffffb
jmp 0xf67571
cmp edx, 0x2a
jne 0xf66ef7
mov ecx, dword [esi + 0x30]
shl ecx, 0xc
sub ecx, 0x7800
cmp dword [esi + 0x88], 2
mov ebx, ecx
jge 0xf66e96
mov eax, dword [esi + 0x84]
cmp eax, 2
jl 0xf66e96
cmp eax, 6
jge 0xf66e80
push 0x40
pop eax
push 0x60
jmp 0xf66e9a
jne 0xf66e8c
mov eax, pe_nt_image_headers32
lea edx, [eax + 0x20]
jmp 0xf66e9b
mov eax, 0xc0
lea edx, [eax + 0x20]
jmp 0xf66e9b
xor eax, eax
push 0x20
pop edx
or ecx, eax
cmp dword [esi + 0x6c], 0
je 0xf66ea7
mov ecx, ebx
or ecx, edx
mov eax, ecx
xor edx, edx
push 0x1f
pop ebx
div ebx
sub ecx, edx
lea edx, [ebx + ecx]
mov ecx, esi
call fcn.00f66993
xor ebx, ebx
cmp dword [esi + 0x6c], ebx
je 0xf66ed9
movzx edx, word [edi + 0x32]
mov ecx, esi
call fcn.00f66993
movzx edx, word [edi + 0x30]
mov ecx, esi
call fcn.00f66993
mov dword [edi + 0x30], 1
mov ecx, edi
mov dword [esi + 4], 0x71
call fcn.00f6694c
cmp dword [esi + 0x14], ebx
jne 0xf67560
mov eax, dword [esi + 4]
cmp eax, 0x39
jne 0xf66fcc
mov dword [edi + 0x30], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov byte [ecx + eax], 0x1f
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0x8b
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], 8
inc dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x14]
test edx, edx
jne 0xf6704a
mov eax, dword [esi + 8]
push 9
mov byte [ebx + eax], dl
xor ebx, ebx
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], bl
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], bl
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], bl
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], bl
inc dword [esi + 0x14]
mov eax, dword [esi + 0x84]
mov edx, dword [esi + 0x14]
pop ecx
cmp eax, ecx
jne 0xf66f8a
mov cl, 2
jmp 0xf66f9c
cmp dword [esi + 0x88], 2
jge 0xf66f9a
mov cl, bl
cmp eax, 2
jge 0xf66f9c
mov cl, 4
mov eax, dword [esi + 8]
mov byte [edx + eax], cl
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0xa
mov ecx, edi
inc dword [esi + 0x14]
mov dword [esi + 4], 0x71
call fcn.00f6694c
cmp dword [esi + 0x14], ebx
jne 0xf67560
mov eax, dword [esi + 4]
cmp eax, 0x45
jne 0xf67204
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], ebx
je 0xf671fb
movzx eax, word [eax + 0x14]
sub eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x14]
mov ecx, ebx
mov dword [ebp - 8], eax
add eax, ebx
mov edx, dword [esi + 0xc]
cmp eax, edx
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x10]
jbe 0xf671af
add eax, dword [esi + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0xc], edx
push eax
call fcn.00efdd90
mov eax, dword [esi + 0x1c]
add esp, 0xc
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], ecx
cmp dword [eax + 0x2c], 0
je 0xf67185
cmp ecx, ebx
jbe 0xf67185
mov edx, dword [esi + 8]
sub ecx, ebx
add edx, ebx
jne 0xf67178
xor eax, eax
jmp 0xf67182
cmp dword [edx + 0x24], 0
push 9
sete cl
dec cl
and cl, 0x10
cmp dword [edx + 0x2c], 0
sete al
dec al
and al, 2
add cl, al
cmp dword [edx + 0x1c], 0
sete al
dec al
and al, 8
add cl, al
cmp dword [edx + 0x10], 0
sete al
dec al
and al, 4
add cl, al
cmp dword [edx], 0
setne al
add cl, al
mov eax, dword [esi + 8]
mov byte [ebx + eax], cl
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
mov al, byte [eax + 4]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
mov al, byte [eax + 5]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 6]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 7]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov eax, dword [esi + 0x84]
mov edx, dword [esi + 0x14]
pop ecx
cmp eax, ecx
jne 0xf670ea
mov cl, 2
jmp 0xf670fe
cmp dword [esi + 0x88], 2
jge 0xf670fc
cmp eax, 2
jl 0xf670fc
xor cl, cl
jmp 0xf670fe
mov cl, 4
mov eax, dword [esi + 8]
mov byte [edx + eax], cl
inc dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 0xc]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x1c]
inc dword [esi + 0x14]
mov ebx, dword [esi + 0x14]
cmp dword [eax + 0x10], 0
je 0xf67149
mov al, byte [eax + 0x14]
mov ecx, dword [esi + 8]
mov byte [ebx + ecx], al
inc dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 0x15]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov ebx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0xf67167
mov edx, dword [esi + 8]
test edx, edx
jne 0xf6715a
xor eax, eax
jmp 0xf67164
mov ecx, dword [edi + 0x30]
push ebx
call fcn.00f654f7
pop ecx
mov dword [edi + 0x30], eax
xor ebx, ebx
mov dword [esi + 4], 0x45
mov dword [esi + 0x20], ebx
jmp 0xf66fd5
push ecx
mov ecx, dword [edi + 0x30]
call fcn.00f654f7
pop ecx
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
mov ecx, edi
add dword [esi + 0x20], eax
call fcn.00f6694c
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0xf67560
mov eax, dword [ebp - 8]
xor ebx, ebx
sub eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
add eax, ecx
jmp 0xf66ff2
mov edx, dword [esi + 0x20]
add eax, edx
push dword [ebp - 8]
push eax
mov eax, dword [esi + 8]
add eax, ecx
push eax
call fcn.00efdd90
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi + 0x14], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
cmp dword [eax + 0x2c], 0
je 0xf671f6
cmp ecx, ebx
jbe 0xf671f6
mov edx, dword [esi + 8]
sub ecx, ebx
add edx, ebx
jne 0xf671e9
xor eax, eax
jmp 0xf671f3
push ecx
mov ecx, dword [edi + 0x30]
call fcn.00f654f7
pop ecx
mov dword [edi + 0x30], eax
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x49
jmp 0xf6720d
cmp eax, 0x49
jne 0xf672c2
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1c], ebx
je 0xf672b9
mov ecx, dword [esi + 0x14]
mov ebx, ecx
mov dword [ebp - 8], ecx
cmp ebx, dword [esi + 0xc]
jne 0xf67262
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0xf6724d
cmp ebx, ecx
jbe 0xf6724d
mov edx, dword [esi + 8]
sub ebx, ecx
add edx, ecx
jne 0xf67240
xor eax, eax
jmp 0xf6724a
mov ecx, dword [edi + 0x30]
push ebx
call fcn.00f654f7
pop ecx
mov dword [edi + 0x30], eax
mov ecx, edi
call fcn.00f6694c
mov ebx, dword [esi + 0x14]
test ebx, ebx
jne 0xf67560
and dword [ebp - 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x1c]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov byte [ebx + eax], dl
mov ebx, dword [esi + 0x14]
inc ebx
mov dword [esi + 0x14], ebx
test dl, dl
je 0xf6728a
mov ecx, dword [ebp - 8]
jmp 0xf67221
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0xf672b4
mov eax, dword [ebp - 8]
cmp ebx, eax
jbe 0xf672b4
mov edx, dword [esi + 8]
sub ebx, eax
add edx, eax
jne 0xf672a7
xor eax, eax
jmp 0xf672b1
mov ecx, dword [edi + 0x30]
push ebx
call fcn.00f654f7
pop ecx
mov dword [edi + 0x30], eax
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x5b
jmp 0xf672cb
cmp eax, 0x5b
jne 0xf6737d
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x24], ebx
je 0xf67374
mov ecx, dword [esi + 0x14]
mov ebx, ecx
mov dword [ebp - 8], ecx
cmp ebx, dword [esi + 0xc]
jne 0xf67320
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0xf6730b
cmp ebx, ecx
jbe 0xf6730b
mov edx, dword [esi + 8]
sub ebx, ecx
add edx, ecx
jne 0xf672fe
xor eax, eax
jmp 0xf67308
mov ecx, dword [edi + 0x30]
push ebx
call fcn.00f654f7
pop ecx
mov dword [edi + 0x30], eax
mov ecx, edi
call fcn.00f6694c
mov ebx, dword [esi + 0x14]
test ebx, ebx
jne 0xf67560
and dword [ebp - 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x24]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov byte [ebx + eax], dl
mov ebx, dword [esi + 0x14]
inc ebx
mov dword [esi + 0x14], ebx
test dl, dl
je 0xf67348
mov ecx, dword [ebp - 8]
jmp 0xf672df
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0xf67372
mov eax, dword [ebp - 8]
cmp ebx, eax
jbe 0xf67372
mov edx, dword [esi + 8]
sub ebx, eax
add edx, eax
jne 0xf67365
xor eax, eax
jmp 0xf6736f
mov ecx, dword [edi + 0x30]
push ebx
call fcn.00f654f7
pop ecx
mov dword [edi + 0x30], eax
xor ebx, ebx
mov dword [esi + 4], 0x67
jmp 0xf67382
cmp eax, 0x67
jne 0xf673dc
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], ebx
je 0xf673c5
mov edx, dword [esi + 0x14]
lea eax, [edx + 2]
cmp eax, dword [esi + 0xc]
jbe 0xf673a7
mov ecx, edi
call fcn.00f6694c
mov edx, dword [esi + 0x14]
test edx, edx
jne 0xf67560
mov ecx, dword [esi + 8]
mov al, byte [edi + 0x30]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [edi + 0x31]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov dword [edi + 0x30], ebx
mov ecx, edi
mov dword [esi + 4], 0x71
call fcn.00f6694c
cmp dword [esi + 0x14], ebx
jne 0xf67560
cmp dword [edi + 4], ebx
jne 0xf67400
cmp dword [esi + 0x74], ebx
mov ebx, dword [ebp - 4]
jne 0xf67403
test ebx, ebx
je 0xf67564
cmp dword [esi + 4], 0x29a
je 0xf67490
jmp 0xf67403
mov ebx, dword [ebp - 4]
mov ecx, dword [esi + 0x84]
test ecx, ecx
jne 0xf67416
push ebx
push esi
call fcn.00f66217
jmp 0xf67447
mov eax, dword [esi + 0x88]
cmp eax, 2
jne 0xf6742c
mov edx, ebx
mov ecx, esi
call fcn.00f657a5
jmp 0xf67449
cmp eax, 3
jne 0xf6743c
mov edx, ebx
mov ecx, esi
call fcn.00f658eb
jmp 0xf67449
imul eax, ecx, 0xc
push ebx
push esi
call dword [eax + 0xb0cd98]
pop ecx
pop ecx
cmp eax, 2
je 0xf67453
cmp eax, 3
jne 0xf6745a
mov dword [esi + 4], 0x29a
test eax, eax
je 0xf6755a
cmp eax, 2
je 0xf6755a
cmp eax, 1
jne 0xf67490
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00f6b145
pop ecx
pop ecx
mov ecx, edi
call fcn.00f6694c
cmp dword [edi + 0x10], 0
je 0xf67560
cmp ebx, 4
jne 0xf67564
cmp dword [esi + 0x18], 0
jg 0xf674a7
xor eax, eax
inc eax
jmp 0xf67572
cmp dword [esi + 0x18], 2
jne 0xf67527
mov ecx, dword [esi + 0x14]
mov al, byte [edi + 0x30]
mov edx, dword [esi + 8]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov al, byte [edi + 0x31]
mov ecx, dword [esi + 8]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov al, byte [edi + 0x32]
mov ecx, dword [esi + 8]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov al, byte [edi + 0x33]
mov ecx, dword [esi + 8]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov al, byte [edi + 8]
mov ecx, dword [esi + 8]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [edi + 9]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [edi + 0xa]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [edi + 0xb]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
jmp 0xf6753d
movzx edx, word [edi + 0x32]
mov ecx, esi
call fcn.00f66993
movzx edx, word [edi + 0x30]
mov ecx, esi
call fcn.00f66993
mov ecx, edi
call fcn.00f6694c
mov eax, dword [esi + 0x18]
test eax, eax
jle 0xf67550
neg eax
mov dword [esi + 0x18], eax
xor eax, eax
cmp dword [esi + 0x14], eax
sete al
jmp 0xf67572
cmp dword [edi + 0x10], 0
jne 0xf67564
or dword [esi + 0x28], 0xffffffff
xor eax, eax
jmp 0xf67572
mov dword [edi + 0x18], 0xb1ab90
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret