Function at 0x107900e
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.0x1079084
mov ebx, dword [edi + 0x1c]
cmp ebx, eax
je case.default.0x1079084
cmp dword [edi + 0xc], eax
je case.default.0x1079084
cmp dword [edi], eax
jne 0x1079047
cmp dword [edi + 4], eax
jne case.default.0x1079084
cmp dword [ebx], 0xb
jne 0x1079052
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 0x1079f59
jmp dword [eax*4 + 0x107a080]
cmp dword [ebx + 8], 0
jne 0x10790c1
mov dword [ebx], 0xc
jmp 0x1079f59
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x107909c
mov eax, dword [ebx + 8]
test al, 2
je 0x1079109
cmp edx, 0x8b1f
jne 0x1079109
xor esi, esi
push esi
push esi
push esi
call fcn.01081575
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.01081575
mov dword [ebx + 0x14], eax
mov dword [ebp - 0xc], esi
mov dword [ebx], 1
jmp 0x1079a90
and dword [ebx + 0x10], 0
test al, 1
je 0x107918f
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 0x107918c
mov eax, dword [ebp - 0xc]
and al, 0xf
cmp al, 8
je 0x1079140
mov dword [edi + 0x18], 0x100f144
jmp 0x10799eb
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 0x1079164
mov dword [edi + 0x18], 0x100f130
jmp 0x10799eb
xor esi, esi
push esi
push esi
push esi
call fcn.01081d41
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 0x1079a90
mov edx, dword [ebp - 0xc]
mov dword [edi + 0x18], 0x100f118
jmp 0x1079f53
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x107919b
cmp dl, 8
mov dword [ebx + 0x10], edx
je 0x10791d9
mov dword [edi + 0x18], 0x100f144
jmp 0x1079f53
test dh, 0xe0
je 0x10791ea
mov dword [edi + 0x18], 0x100f0fc
jmp 0x1079f53
test dh, 2
je 0x1079209
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.01081575
mov dword [ebx + 0x14], eax
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebx], 2
mov edx, esi
jmp case.0x1079084.2
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079218
test byte [ebx + 0x11], 2
je 0x107926c
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.01081575
mov dword [ebx + 0x14], eax
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebx], 3
mov edx, esi
jmp case.0x1079084.3
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x107927b
test byte [ebx + 0x11], 2
je 0x10792bf
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.01081575
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 0x1079328
jmp 0x10792f6
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x10792d7
test byte [ebx + 0x11], 2
mov dword [ebx + 0x38], edx
je 0x107931e
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.01081575
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 0x1079379
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jbe 0x1079345
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x107936f
test byte [ebx + 0x11], 2
je 0x1079366
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebx + 0x14]
call fcn.01081575
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 0x1079fac
mov dword [ebx], 6
test byte [ebx + 0x11], 8
je 0x10793dc
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x10793af
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1079393
test byte [ebx + 0x11], 0x20
je 0x10793c9
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebx + 0x14]
call fcn.01081575
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 0x1079fac
mov dword [ebx], 7
test byte [ebx + 0x11], 0x10
je 0x107943f
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079412
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x10793f6
test byte [ebx + 0x11], 0x20
je 0x107942c
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebx + 0x14]
call fcn.01081575
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 0x1079fac
mov dword [ebx], 8
test byte [ebx + 0x11], 2
je 0x1079497
jmp 0x1079472
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x107944d
mov eax, dword [ebx + 0x14]
and eax, 0xffff
cmp edx, eax
je 0x107948f
mov dword [edi + 0x18], 0x100f0e8
jmp 0x1079f53
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
xor eax, eax
push eax
push eax
push eax
call fcn.01081575
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
jmp 0x1079a93
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x10794b2
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 0x1079f6e
xor eax, eax
push eax
push eax
push eax
call fcn.01081d41
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 0x1079fac
cmp dword [ebx + 4], 0
je 0x1079575
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 0x1079f59
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079556
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 0x10795d3
dec eax
je 0x10795af
dec eax
je 0x10795a7
dec eax
jne 0x10795d9
mov dword [edi + 0x18], 0x100f0d4
mov dword [ebx], 0x1b
jmp 0x10795d9
mov dword [ebx], 0xf
jmp 0x10795d9
mov dword [ebx + 0x44], 0x100e6f8
mov dword [ebx + 0x4c], 9
mov dword [ebx + 0x48], 0x100eef8
mov dword [ebx + 0x50], 5
mov dword [ebx], 0x12
jmp 0x10795d9
mov dword [ebx], 0xd
shr edx, 2
dec esi
dec esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jmp 0x1079f59
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
jmp 0x1079613
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x10795f4
mov ecx, edx
mov eax, edx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x107963c
mov dword [edi + 0x18], 0x100f0b4
jmp 0x1079f53
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 0x1079bae
cmp ecx, dword [ebp - 4]
jbe 0x1079668
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jbe 0x1079673
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x1079fac
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 0x1079f59
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x10796ac
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 0x107971e
cmp dword [ebx + 0x5c], 0x1e
ja 0x107971e
and dword [ebx + 0x60], 0
mov dword [ebx], 0x10
jmp case.0x1079084.16
mov dword [edi + 0x18], 0x100f090
jmp 0x1079f53
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x107972a
mov ecx, dword [ebx + 0x60]
movzx ecx, word [ecx*2 + 0x100ef78]
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 0x1079749
jmp 0x1079792
mov eax, dword [ebx + 0x60]
movzx eax, word [eax*2 + 0x100ef78]
and word [ebx + eax*2 + 0x68], 0
inc dword [ebx + 0x60]
cmp dword [ebx + 0x60], 0x13
jb 0x107977e
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.01081986
test eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
je 0x10797db
mov dword [edi + 0x18], 0x100f074
jmp 0x1079f53
and dword [ebx + 0x60], 0
mov dword [ebx], 0x11
jmp case.0x1079084.17
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x10797ea
cmp word [ebp - 0xe], 0x10
movzx ecx, ah
mov dword [ebp - 0x14], ecx
jb 0x1079865
je 0x10798a9
cmp word [ebp - 0xe], 0x11
jne 0x107993b
jmp 0x1079901
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079843
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.0x1079084.17
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079887
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 0x10799a2
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 0x107995d
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x10798df
shr edx, cl
push 0xfffffffffffffffd
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
jmp 0x1079951
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079919
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 0x10799a2
mov eax, dword [ebp - 0x10]
test eax, eax
je case.0x1079084.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 0x107997d
mov eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x58]
cmp dword [ebx + 0x60], eax
jb 0x1079809
jmp 0x10799af
mov dword [edi + 0x18], 0x100f058
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.01081986
test eax, eax
mov dword [ebp - 0x28], eax
je 0x10799f3
mov dword [edi + 0x18], 0x100f03c
mov edx, dword [ebp - 0xc]
jmp 0x1079f53
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.01081986
test eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
je 0x1079a35
mov dword [edi + 0x18], 0x100f024
jmp 0x1079f53
mov dword [ebx], 0x12
cmp dword [ebp - 4], 6
jb 0x1079a9b
cmp dword [ebp - 0x18], 0x102
jb 0x1079a9b
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.010815ce
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 0x1079f59
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 0x1079ae0
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079ab0
test al, al
je 0x1079b84
test al, 0xf0
jne 0x1079b84
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 0x1079b71
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079b2e
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 0x1079baa
mov dword [ebx], 0x17
jmp 0x1079f59
test al, 0x20
je 0x1079bb9
mov dword [ebx], 0xb
jmp 0x1079f59
test al, 0x40
je 0x1079bc9
mov dword [edi + 0x18], 0x100f008
jmp 0x1079f53
and eax, 0xf
mov dword [ebx + 0x40], eax
mov dword [ebx], 0x13
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x1079c16
cmp esi, eax
jae 0x1079c04
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079be0
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 0x1079c61
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079c31
test al, 0xf0
jne 0x1079cfd
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 0x1079cea
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079ca7
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 0x1079d1d
mov dword [edi + 0x18], 0x100eff0
jmp 0x1079f53
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 0x1079d77
cmp esi, eax
jae 0x1079d5f
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079d3b
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 0x1079d91
mov dword [edi + 0x18], 0x100efd0
jmp 0x1079f53
mov dword [ebx], 0x16
cmp dword [ebp - 0x18], 0
je 0x1079fac
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x3c]
cmp eax, ecx
jbe 0x1079de4
sub eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x28]
cmp dword [ebp - 0x10], eax
jbe 0x1079dc9
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
add eax, dword [ebx + 0x20]
sub eax, dword [ebp - 0x10]
jmp 0x1079dd2
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 0x1079df7
jmp 0x1079df2
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 0x1079e02
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 0x1079e0d
cmp dword [ebx + 0x38], 0
jne 0x1079f59
jmp 0x1079e46
cmp dword [ebp - 0x18], 0
je 0x1079fac
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 0x1079f59
cmp dword [ebx + 8], 0
je 0x1079f05
jmp 0x1079e82
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079e5d
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 0x1079ec2
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 0x1079eb4
call fcn.01081575
jmp 0x1079eb9
call fcn.01081d41
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 0x1079eed
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 0x1079efb
mov dword [edi + 0x18], 0x100efb8
jmp 0x1079f53
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 0x1079f96
cmp dword [ebx + 0x10], 0
je 0x1079f96
jmp 0x1079f42
cmp dword [ebp - 4], 0
je 0x1079fac
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 0x1079f1d
cmp edx, dword [ebx + 0x18]
je 0x1079f8f
mov dword [edi + 0x18], 0x100efa0
mov dword [ebx], 0x1b
mov eax, dword [ebx]
cmp eax, 0x1c
jbe switch.0x01079084
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 0x1079f66
xor esi, esi
mov dword [ebp - 0xc], esi
mov edx, esi
mov dword [ebx], 0x1a
mov dword [ebp - 0x28], 1
jmp 0x1079fac
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 0x1079fdc
cmp dword [ebx], 0x18
jge 0x1079ff6
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 0x10]
je 0x1079ff6
mov eax, dword [ebp - 0x24]
push edi
call fcn.01078f1c
test eax, eax
je 0x1079ff6
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x1079f66
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 0x107a03d
test esi, esi
je 0x107a03d
mov eax, dword [edi + 0xc]
push esi
sub eax, esi
cmp dword [ebx + 0x10], 0
push eax
push dword [ebx + 0x14]
je 0x107a02f
call fcn.01081575
jmp 0x107a034
call fcn.01081d41
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebx], 0xb
jne 0x107a049
mov ecx, 0x80
jmp 0x107a04b
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 0x107a065
test esi, esi
je 0x107a06b
cmp dword [ebp + 0xc], 4
jne 0x107a078
cmp dword [ebp - 0x28], 0
jne 0x107a078
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x1079f67