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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
cmp edi, eax
je case.default.0x1078fe4
mov ebx, dword [edi + 0x1c]
cmp ebx, eax
je case.default.0x1078fe4
cmp dword [edi + 0xc], eax
je case.default.0x1078fe4
cmp dword [edi], eax
jne 0x1078fa7
cmp dword [edi + 4], eax
jne case.default.0x1078fe4
cmp dword [ebx], 0xb
jne 0x1078fb2
mov dword [ebx], 0xc
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
jmp 0x1079eb9
jmp dword [eax*4 + 0x1079fe0]
cmp dword [ebx + 8], 0
jne 0x1079021
mov dword [ebx], 0xc
jmp 0x1079eb9
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
cmp esi, 0x10
jb 0x1078ffc
mov eax, dword [ebx + 8]
test al, 2
je 0x1079069
cmp edx, 0x8b1f
jne 0x1079069
xor esi, esi
push esi
push esi
push esi
call fcn.010814d5
mov dword [ebx + 0x14], eax
push 2
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x1c], 0x1f
mov byte [ebp - 0x1b], 0x8b
push dword [ebx + 0x14]
call fcn.010814d5
mov dword [ebx + 0x14], eax
mov dword [ebp - 0xc], esi
mov dword [ebx], 1
jmp 0x10799f0
and dword [ebx + 0x10], 0
test al, 1
je 0x10790ef
mov eax, edx
and eax, 0xff
shr edx, 8
shl eax, 8
add eax, edx
push 0x1f
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x10790ec
mov eax, dword [ebp - 0xc]
and al, 0xf
cmp al, 8
je 0x10790a0
mov dword [edi + 0x18], 0x100f15c
jmp 0x107994b
shr dword [ebp - 0xc], 4
mov eax, dword [ebp - 0xc]
and eax, 0xf
sub esi, 4
add eax, 8
cmp eax, dword [ebx + 0x1c]
mov dword [ebp - 0x14], esi
jbe 0x10790c4
mov dword [edi + 0x18], 0x100f148
jmp 0x107994b
xor esi, esi
push esi
push esi
push esi
call fcn.01081ca1
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
shr eax, 8
not eax
and eax, 2
or eax, 9
mov dword [ebx], eax
mov dword [ebp - 0xc], esi
jmp 0x10799f0
mov edx, dword [ebp - 0xc]
mov dword [edi + 0x18], 0x100f130
jmp 0x1079eb3
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
cmp esi, 0x10
jb 0x10790fb
cmp dl, 8
mov dword [ebx + 0x10], edx
je 0x1079139
mov dword [edi + 0x18], 0x100f15c
jmp 0x1079eb3
test dh, 0xe0
je 0x107914a
mov dword [edi + 0x18], 0x100f114
jmp 0x1079eb3
test dh, 2
je 0x1079169
mov byte [ebp - 0x1c], dl
push 2
lea eax, [ebp - 0x1c]
shr edx, 8
push eax
mov byte [ebp - 0x1b], dl
push dword [ebx + 0x14]
call fcn.010814d5
mov dword [ebx + 0x14], eax
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebx], 2
mov edx, esi
jmp case.0x1078fe4.2
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
cmp esi, 0x20
jb 0x1079178
test byte [ebx + 0x11], 2
je 0x10791cc
mov eax, edx
shr eax, 8
mov byte [ebp - 0x1b], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x1c], dl
push 4
lea eax, [ebp - 0x1c]
shr edx, 0x18
push eax
mov byte [ebp - 0x19], dl
push dword [ebx + 0x14]
call fcn.010814d5
mov dword [ebx + 0x14], eax
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebx], 3
mov edx, esi
jmp case.0x1078fe4.3
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
cmp esi, 0x10
jb 0x10791db
test byte [ebx + 0x11], 2
je 0x107921f
mov byte [ebp - 0x1c], dl
push 2
lea eax, [ebp - 0x1c]
shr edx, 8
push eax
mov byte [ebp - 0x1b], dl
push dword [ebx + 0x14]
call fcn.010814d5
mov dword [ebx + 0x14], eax
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebx], 4
mov edx, esi
test byte [ebx + 0x11], 4
je 0x1079288
jmp 0x1079256
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
cmp esi, 0x10
jb 0x1079237
test byte [ebx + 0x11], 2
mov dword [ebx + 0x38], edx
je 0x107927e
mov byte [ebp - 0x1c], dl
push 2
lea eax, [ebp - 0x1c]
shr edx, 8
push eax
mov byte [ebp - 0x1b], dl
push dword [ebx + 0x14]
call fcn.010814d5
mov dword [ebx + 0x14], eax
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov edx, esi
mov dword [ebx], 5
test byte [ebx + 0x11], 4
je 0x10792d9
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jbe 0x10792a5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10792cf
test byte [ebx + 0x11], 2
je 0x10792c6
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebx + 0x14]
call fcn.010814d5
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
sub dword [ebx + 0x38], eax
cmp dword [ebx + 0x38], 0
jne 0x1079f0c
mov dword [ebx], 6
test byte [ebx + 0x11], 8
je 0x107933c
cmp dword [ebp - 4], 0
je 0x1079f0c
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
movzx eax, byte [ecx + eax]
inc dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x107930f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x10792f3
test byte [ebx + 0x11], 0x20
je 0x1079329
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebx + 0x14]
call fcn.010814d5
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
cmp dword [ebp - 0x2c], 0
jne 0x1079f0c
mov dword [ebx], 7
test byte [ebx + 0x11], 0x10
je 0x107939f
cmp dword [ebp - 4], 0
je 0x1079f0c
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
movzx eax, byte [ecx + eax]
inc dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x1079372
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1079356
test byte [ebx + 0x11], 0x20
je 0x107938c
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebx + 0x14]
call fcn.010814d5
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
cmp dword [ebp - 0x2c], 0
jne 0x1079f0c
mov dword [ebx], 8
test byte [ebx + 0x11], 2
je 0x10793f7
jmp 0x10793d2
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
cmp esi, 0x10
jb 0x10793ad
mov eax, dword [ebx + 0x14]
and eax, 0xffff
cmp edx, eax
je 0x10793ef
mov dword [edi + 0x18], 0x100f100
jmp 0x1079eb3
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
xor eax, eax
push eax
push eax
push eax
call fcn.010814d5
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
jmp 0x10799f3
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
add esi, 8
cmp esi, 0x20
jb 0x1079412
mov eax, edx
and eax, 0xff00
mov ecx, edx
shl ecx, 0x10
add eax, ecx
xor ecx, ecx
mov ch, byte [ebp - 0xa]
shl eax, 8
shr edx, 0x18
add eax, ecx
add eax, edx
xor esi, esi
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], eax
mov dword [ebp - 0xc], esi
mov dword [ebx], 0xa
mov edx, esi
cmp dword [ebx + 0xc], 0
je 0x1079ece
xor eax, eax
push eax
push eax
push eax
call fcn.01081ca1
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x1079f0c
cmp dword [ebx + 4], 0
je 0x10794d5
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebx], 0x18
mov dword [ebp - 0xc], edx
jmp 0x1079eb9
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
cmp esi, 3
jb 0x10794b6
mov eax, edx
and eax, 1
shr edx, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
dec esi
sub eax, 0
je 0x1079533
dec eax
je 0x107950f
dec eax
je 0x1079507
dec eax
jne 0x1079539
mov dword [edi + 0x18], 0x100f0ec
mov dword [ebx], 0x1b
jmp 0x1079539
mov dword [ebx], 0xf
jmp 0x1079539
mov dword [ebx + 0x44], 0x100e710
mov dword [ebx + 0x4c], 9
mov dword [ebx + 0x48], 0x100ef10
mov dword [ebx + 0x50], 5
mov dword [ebx], 0x12
jmp 0x1079539
mov dword [ebx], 0xd
shr edx, 2
dec esi
dec esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jmp 0x1079eb9
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
jmp 0x1079573
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
cmp esi, 0x20
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jb 0x1079554
mov ecx, edx
mov eax, edx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x107959c
mov dword [edi + 0x18], 0x100f0cc
jmp 0x1079eb3
xor esi, esi
mov dword [ebx + 0x38], eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebx], 0xe
mov edx, esi
mov ecx, dword [ebx + 0x38]
test ecx, ecx
mov dword [ebp - 0x10], ecx
je 0x1079b0e
cmp ecx, dword [ebp - 4]
jbe 0x10795c8
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jbe 0x10795d3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x1079f0c
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x20]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x18], eax
add dword [ebp - 0x20], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
sub dword [ebx + 0x38], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
jmp 0x1079eb9
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
cmp esi, 0xe
jb 0x107960c
mov eax, edx
and eax, 0x1f
add eax, 0x101
mov dword [ebx + 0x58], eax
shr edx, 5
mov eax, edx
and eax, 0x1f
inc eax
shr edx, 5
mov dword [ebx + 0x5c], eax
mov eax, edx
and eax, 0xf
add eax, 4
shr edx, 4
sub esi, 0xe
cmp dword [ebx + 0x58], 0x11e
mov dword [ebx + 0x54], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
ja 0x107967e
cmp dword [ebx + 0x5c], 0x1e
ja 0x107967e
and dword [ebx + 0x60], 0
mov dword [ebx], 0x10
jmp case.0x1078fe4.16
mov dword [edi + 0x18], 0x100f0a8
jmp 0x1079eb3
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
cmp esi, 3
jb 0x107968a
mov ecx, dword [ebx + 0x60]
movzx ecx, word [ecx*2 + 0x100ef90]
xor eax, eax
mov al, dl
shr edx, 3
mov dword [ebp - 0xc], edx
and eax, 7
mov word [ebx + ecx*2 + 0x68], ax
inc dword [ebx + 0x60]
sub esi, 3
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x60]
cmp eax, dword [ebx + 0x54]
jb 0x10796a9
jmp 0x10796f2
mov eax, dword [ebx + 0x60]
movzx eax, word [eax*2 + 0x100ef90]
and word [ebx + eax*2 + 0x68], 0
inc dword [ebx + 0x60]
cmp dword [ebx + 0x60], 0x13
jb 0x10796de
lea eax, [ebx + 0x528]
lea ecx, [ebx + 0x64]
mov dword [ecx], eax
mov dword [ebx + 0x44], eax
lea edx, [ebx + 0x2e8]
push edx
lea eax, [ebx + 0x4c]
push eax
push ecx
mov dword [eax], 7
push 0x13
lea eax, [ebx + 0x68]
push eax
push 0
call fcn.010818e6
test eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
je 0x107973b
mov dword [edi + 0x18], 0x100f08c
jmp 0x1079eb3
and dword [ebx + 0x60], 0
mov dword [ebx], 0x11
jmp case.0x1078fe4.17
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov ecx, dword [ebx + 0x4c]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x44]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
movzx ecx, ah
cmp ecx, esi
mov dword [ebp - 0x10], eax
ja 0x107974a
cmp word [ebp - 0xe], 0x10
movzx ecx, ah
mov dword [ebp - 0x14], ecx
jb 0x10797c5
je 0x1079809
cmp word [ebp - 0xe], 0x11
jne 0x107989b
jmp 0x1079861
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x14]
add edx, eax
inc dword [ebp - 8]
add esi, 8
cmp esi, ecx
jb 0x10797a3
mov eax, dword [ebx + 0x60]
shr edx, cl
sub esi, ecx
mov cx, word [ebp - 0xe]
mov word [ebx + eax*2 + 0x68], cx
inc dword [ebx + 0x60]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jmp case.0x1078fe4.17
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x14]
add edx, eax
inc dword [ebp - 8]
add esi, 8
lea eax, [ecx + 2]
cmp esi, eax
jb 0x10797e7
mov eax, dword [ebx + 0x60]
shr edx, cl
sub esi, ecx
test eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], edx
je 0x1079902
movzx eax, word [ebx + eax*2 + 0x66]
mov dword [ebp - 0x2c], eax
mov eax, edx
and eax, 3
add eax, 3
shr edx, 2
dec esi
mov dword [ebp - 0x10], eax
dec esi
jmp 0x10798bd
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x14]
add edx, eax
inc dword [ebp - 8]
add esi, 8
lea eax, [ecx + 3]
cmp esi, eax
jb 0x107983f
shr edx, cl
push 0xfffffffffffffffd
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
jmp 0x10798b1
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x14]
add edx, eax
inc dword [ebp - 8]
add esi, 8
lea eax, [ecx + 7]
cmp esi, eax
jb 0x1079879
shr edx, cl
push 0xfffffffffffffff9
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], eax
pop eax
sub eax, ecx
add esi, eax
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x5c]
add eax, dword [ebp - 0x10]
add ecx, dword [ebx + 0x58]
mov dword [ebp - 0xc], edx
cmp eax, ecx
mov dword [ebp - 0x14], esi
ja 0x1079902
mov eax, dword [ebp - 0x10]
test eax, eax
je case.0x1078fe4.17
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x60]
mov cx, word [ebp - 0x2c]
mov word [ebx + eax*2 + 0x68], cx
inc dword [ebx + 0x60]
dec dword [ebp - 0x10]
jne 0x10798dd
mov eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x58]
cmp dword [ebx + 0x60], eax
jb 0x1079769
jmp 0x107990f
mov dword [edi + 0x18], 0x100f070
mov dword [ebx], 0x1b
lea eax, [ebx + 0x528]
lea ecx, [ebx + 0x64]
mov dword [ecx], eax
mov dword [ebx + 0x44], eax
lea edx, [ebx + 0x2e8]
push edx
lea eax, [ebx + 0x4c]
push eax
push ecx
push dword [ebx + 0x58]
mov dword [eax], 9
lea eax, [ebx + 0x68]
push eax
push 1
call fcn.010818e6
test eax, eax
mov dword [ebp - 0x28], eax
je 0x1079953
mov dword [edi + 0x18], 0x100f054
mov edx, dword [ebp - 0xc]
jmp 0x1079eb3
lea ecx, [ebx + 0x64]
mov eax, dword [ecx]
mov dword [ebx + 0x48], eax
lea edx, [ebx + 0x2e8]
push edx
lea eax, [ebx + 0x50]
push eax
push ecx
push dword [ebx + 0x5c]
mov dword [eax], 6
mov eax, dword [ebx + 0x58]
lea eax, [ebx + eax*2 + 0x68]
push eax
push 2
call fcn.010818e6
test eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
je 0x1079995
mov dword [edi + 0x18], 0x100f03c
jmp 0x1079eb3
mov dword [ebx], 0x12
cmp dword [ebp - 4], 6
jb 0x10799fb
cmp dword [ebp - 0x18], 0x102
jb 0x10799fb
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
push edi
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], esi
call fcn.0108152e
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esi
mov edx, dword [ebp - 0xc]
jmp 0x1079eb9
mov ecx, dword [ebx + 0x4c]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
mov ecx, eax
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + ecx*4]
jmp 0x1079a40
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebx + 0x4c]
add esi, 8
add edx, eax
inc dword [ebp - 8]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x44]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
movzx ecx, ah
cmp ecx, esi
mov dword [ebp - 0x10], eax
ja 0x1079a10
test al, al
je 0x1079ae4
test al, 0xf0
jne 0x1079ae4
movzx ecx, ah
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov cl, al
mov dword [ebp - 0x2c], eax
xor eax, eax
inc eax
add ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x14]
dec eax
and eax, edx
shr eax, cl
movzx ecx, word [ebp - 0xe]
add eax, ecx
mov ecx, eax
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x2b]
mov dword [ebp - 0x14], ecx
jmp 0x1079ad1
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
xor ecx, ecx
mov cl, byte [ebp - 0x2c]
add esi, 8
add edx, eax
inc dword [ebp - 8]
xor eax, eax
inc eax
add ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x14]
dec eax
and eax, edx
shr eax, cl
movzx ecx, word [ebp - 0x2a]
add eax, ecx
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
movzx eax, ah
add eax, ecx
cmp eax, esi
ja 0x1079a8e
mov eax, dword [ebp - 0x10]
shr edx, cl
sub esi, ecx
movzx ecx, ah
shr edx, cl
movzx ecx, ah
sub esi, ecx
test al, al
movzx ecx, word [ebp - 0xe]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
mov dword [ebx + 0x38], ecx
jne 0x1079b0a
mov dword [ebx], 0x17
jmp 0x1079eb9
test al, 0x20
je 0x1079b19
mov dword [ebx], 0xb
jmp 0x1079eb9
test al, 0x40
je 0x1079b29
mov dword [edi + 0x18], 0x100f020
jmp 0x1079eb3
and eax, 0xf
mov dword [ebx + 0x40], eax
mov dword [ebx], 0x13
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x1079b76
cmp esi, eax
jae 0x1079b64
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
inc dword [ebp - 8]
cmp esi, dword [ebx + 0x40]
jb 0x1079b40
mov ecx, dword [ebx + 0x40]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
add dword [ebx + 0x38], eax
shr edx, cl
sub esi, ecx
mov dword [ebx], 0x14
mov ecx, dword [ebx + 0x50]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
mov ecx, eax
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + ecx*4]
jmp 0x1079bc1
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebx + 0x50]
add esi, 8
add edx, eax
inc dword [ebp - 8]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x48]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
movzx ecx, ah
cmp ecx, esi
mov dword [ebp - 0x10], eax
ja 0x1079b91
test al, 0xf0
jne 0x1079c5d
movzx ecx, ah
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov cl, al
mov dword [ebp - 0x2c], eax
xor eax, eax
inc eax
add ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x14]
dec eax
and eax, edx
shr eax, cl
movzx ecx, word [ebp - 0xe]
add eax, ecx
mov ecx, eax
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x2b]
mov dword [ebp - 0x14], ecx
jmp 0x1079c4a
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
xor ecx, ecx
mov cl, byte [ebp - 0x2c]
add esi, 8
add edx, eax
inc dword [ebp - 8]
xor eax, eax
inc eax
add ecx, dword [ebp - 0x14]
shl eax, cl
mov ecx, dword [ebp - 0x14]
dec eax
and eax, edx
shr eax, cl
movzx ecx, word [ebp - 0x2a]
add eax, ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
movzx eax, ah
add eax, ecx
cmp eax, esi
ja 0x1079c07
mov eax, dword [ebp - 0x10]
shr edx, cl
sub esi, ecx
movzx ecx, ah
shr edx, cl
movzx ecx, ah
sub esi, ecx
test al, 0x40
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
je 0x1079c7d
mov dword [edi + 0x18], 0x100f008
jmp 0x1079eb3
movzx ecx, word [ebp - 0xe]
and eax, 0xf
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], eax
mov dword [ebx], 0x15
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x1079cd7
cmp esi, eax
jae 0x1079cbf
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
inc dword [ebp - 8]
cmp esi, dword [ebx + 0x40]
jb 0x1079c9b
mov ecx, dword [ebx + 0x40]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
add dword [ebx + 0x3c], eax
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x24]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
cmp dword [ebx + 0x3c], eax
jbe 0x1079cf1
mov dword [edi + 0x18], 0x100efe8
jmp 0x1079eb3
mov dword [ebx], 0x16
cmp dword [ebp - 0x18], 0
je 0x1079f0c
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x3c]
cmp eax, ecx
jbe 0x1079d44
sub eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x28]
cmp dword [ebp - 0x10], eax
jbe 0x1079d29
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
add eax, dword [ebx + 0x20]
sub eax, dword [ebp - 0x10]
jmp 0x1079d32
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebp - 0x10]
add eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x38]
cmp ecx, eax
mov dword [ebp - 0x34], eax
jbe 0x1079d57
jmp 0x1079d52
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], eax
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jbe 0x1079d62
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x18], ecx
sub eax, ecx
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
inc dword [ebp - 0x20]
mov al, byte [eax]
inc dword [ebp - 0x2c]
dec dword [ebp - 0x10]
mov byte [ecx], al
jne 0x1079d6d
cmp dword [ebx + 0x38], 0
jne 0x1079eb9
jmp 0x1079da6
cmp dword [ebp - 0x18], 0
je 0x1079f0c
mov ecx, dword [ebp - 0x20]
mov al, byte [ebx + 0x38]
inc dword [ebp - 0x20]
dec dword [ebp - 0x18]
mov byte [ecx], al
mov dword [ebx], 0x12
jmp 0x1079eb9
cmp dword [ebx + 8], 0
je 0x1079e65
jmp 0x1079de2
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
cmp esi, 0x20
jb 0x1079dbd
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
add dword [edi + 0x14], eax
add dword [ebx + 0x18], eax
test eax, eax
mov dword [ebp - 0x24], eax
je 0x1079e22
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x24]
sub eax, dword [ebp - 0x24]
cmp dword [ebx + 0x10], 0
push eax
push dword [ebx + 0x14]
je 0x1079e14
call fcn.010814d5
jmp 0x1079e19
call fcn.01081ca1
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], eax
cmp dword [ebx + 0x10], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, edx
jne 0x1079e4d
and eax, 0xff00
mov ecx, edx
shl ecx, 0x10
add eax, ecx
xor ecx, ecx
mov ch, byte [ebp - 0xa]
shl eax, 8
add eax, ecx
mov ecx, edx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [ebx + 0x14]
je 0x1079e5b
mov dword [edi + 0x18], 0x100efd0
jmp 0x1079eb3
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov edx, esi
mov dword [ebx], 0x19
cmp dword [ebx + 8], 0
je 0x1079ef6
cmp dword [ebx + 0x10], 0
je 0x1079ef6
jmp 0x1079ea2
cmp dword [ebp - 4], 0
je 0x1079f0c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
cmp esi, 0x20
jb 0x1079e7d
cmp edx, dword [ebx + 0x18]
je 0x1079eef
mov dword [edi + 0x18], 0x100efb8
mov dword [ebx], 0x1b
mov eax, dword [ebx]
cmp eax, 0x1c
jbe switch.0x01078fe4
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], esi
push 2
jmp 0x1079ec6
xor esi, esi
mov dword [ebp - 0xc], esi
mov edx, esi
mov dword [ebx], 0x1a
mov dword [ebp - 0x28], 1
jmp 0x1079f0c
mov dword [ebp - 0x28], 0xfffffffd
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
cmp dword [ebx + 0x20], 0
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], esi
jne 0x1079f3c
cmp dword [ebx], 0x18
jge 0x1079f56
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 0x10]
je 0x1079f56
mov eax, dword [ebp - 0x24]
push edi
call fcn.01078e7c
test eax, eax
je 0x1079f56
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x1079ec6
mov eax, dword [ebp - 0x30]
sub eax, dword [edi + 4]
mov esi, dword [ebp - 0x24]
sub esi, dword [edi + 0x10]
add dword [edi + 8], eax
add dword [edi + 0x14], esi
add dword [ebx + 0x18], esi
cmp dword [ebx + 8], 0
mov dword [ebp - 0x30], eax
je 0x1079f9d
test esi, esi
je 0x1079f9d
mov eax, dword [edi + 0xc]
push esi
sub eax, esi
cmp dword [ebx + 0x10], 0
push eax
push dword [ebx + 0x14]
je 0x1079f8f
call fcn.010814d5
jmp 0x1079f94
call fcn.01081ca1
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebx], 0xb
jne 0x1079fa9
mov ecx, 0x80
jmp 0x1079fab
xor ecx, ecx
mov edx, dword [ebx + 4]
neg edx
sbb edx, edx
and edx, 0x40
add edx, dword [ebx + 0x34]
add edx, ecx
test eax, eax
mov dword [edi + 0x2c], edx
jne 0x1079fc5
test esi, esi
je 0x1079fcb
cmp dword [ebp + 0xc], 4
jne 0x1079fd8
cmp dword [ebp - 0x28], 0
jne 0x1079fd8
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x1079ec7