Function at 0x10068f50
Capabilities:
Encode data using xor

Disassembly:
mov cx, 1
sub esp, 0xb0
mov edx, 0xffffffff
push ebx
push esi
push edi
push ebp
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0x48], edx
movsx ebx, cx
cmp ebx, 9
jbe 0x10068f63
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x48], 0x1fffffff
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0x20], edx
movsx ebx, cx
cmp ebx, 9
jbe 0x10068f80
xor dx, dx
mov si, 4
mov di, 0x20
mov eax, dword [esp + 0xc4]
movsx ecx, si
test si, si
mov ebx, dword [eax + ecx*4]
jg 0x10068fb2
mov di, 0x1e
test di, di
jle 0x10068fee
test bl, 1
je 0x10068fe5
movsx eax, dx
movsx ecx, word [eax*2 + 0x100f54f0]
mov ebp, dword [eax*4 + 0x100f4ff8]
or dword [esp + ecx*4 + 0x20], ebp
movsx ecx, word [eax*2 + 0x100f562c]
mov eax, dword [eax*4 + 0x100f5270]
or dword [esp + ecx*4 + 0x20], eax
shr ebx, 1
inc dx
dec di
jne 0x10068fb7
dec si
jns 0x10068f98
xor edx, edx
xor ecx, ecx
movsx eax, dx
inc dx
mov dword [esp + eax*4 + 0x98], ecx
movsx ebx, dx
cmp ebx, 9
jbe 0x10068ff6
xor dx, dx
xor ecx, ecx
movsx eax, dx
inc dx
mov dword [esp + eax*4 + 0x70], ecx
movsx ebx, dx
cmp ebx, 9
jbe 0x1006900f
mov dword [esp + 0x94], 1
mov word [esp + 0x14], 9
xor eax, eax
mov word [esp + 0x12], ax
mov word [esp + 0x16], ax
xor di, di
mov eax, dword [esp + 0x44]
and eax, 0xff
xor ecx, ecx
movzx dx, byte [eax + 0x100f5770]
add word [esp + 0x12], dx
mov al, 0x20
sub al, dl
mov byte [esp + 0x1c], al
movsx eax, di
movsx esi, cx
inc di
lea ebx, [esp + eax*4 + 0x20]
mov cl, byte [esp + 0x1c]
mov eax, dword [ebx]
shl esi, cl
mov ebp, eax
mov cl, dl
shr ebp, cl
mov cx, ax
or esi, ebp
movsx eax, di
mov dword [ebx], esi
cmp eax, 9
jbe 0x10069061
cmp dx, 8
jne 0x10069097
test byte [esp + 0x44], 1
je 0x1006903e
xor cx, cx
xor edx, edx
movsx eax, cx
cmp dword [esp + eax*4 + 0x20], edx
jne 0x100690af
inc cx
movsx eax, cx
cmp eax, 9
jb 0x1006909c
movsx eax, cx
cmp eax, 9
jb 0x100690c2
cmp dword [esp + 0x44], 1
je 0x1006944a
movsx eax, word [esp + 0x16]
cmp dword [esp + eax*4 + 0x20], 0
jne 0x100690eb
xor ecx, ecx
movsx eax, word [esp + 0x16]
cmp dword [esp + eax*4 + 0x48], ecx
jne 0x100690eb
inc word [esp + 0x16]
movsx eax, word [esp + 0x16]
cmp dword [esp + eax*4 + 0x20], ecx
je 0x100690d0
movsx eax, word [esp + 0x16]
shl eax, 2
mov ecx, dword [esp + eax + 0x48]
cmp dword [esp + eax + 0x20], ecx
jb 0x100692bf
mov ax, word [esp + 0x16]
movsx ecx, ax
mov word [esp + 0x18], ax
mov dword [esp + 0x1c], ecx
cmp ecx, 9
ja 0x10069136
movsx eax, word [esp + 0x18]
inc word [esp + 0x18]
shl eax, 2
movsx edx, word [esp + 0x18]
mov ecx, dword [esp + eax + 0x48]
xor dword [esp + eax + 0x20], ecx
cmp edx, 9
jbe 0x10069117
mov ax, word [esp + 0x14]
movsx ecx, ax
mov word [esp + 0x18], ax
cmp ecx, 9
ja 0x1006916a
movsx eax, word [esp + 0x18]
inc word [esp + 0x18]
shl eax, 2
movsx edx, word [esp + 0x18]
mov ecx, dword [esp + eax + 0x98]
xor dword [esp + eax + 0x70], ecx
cmp edx, 9
jbe 0x10069148
mov si, 9
mov eax, dword [esp + 0x44]
mov word [esp + 0x18], 0
and eax, 0xff
movzx dx, byte [eax + 0x100f5770]
add word [esp + 0x12], dx
cmp word [esp + 0x14], si
jg 0x100691c3
mov bl, 0x20
sub bl, dl
movsx eax, si
lea edi, [esp + eax*4 + 0x98]
dec si
mov cl, dl
mov eax, dword [edi]
mov ebp, eax
shl ebp, cl
movsx ecx, word [esp + 0x18]
or ebp, ecx
mov cl, bl
shr eax, cl
mov word [esp + 0x18], ax
mov dword [edi], ebp
cmp word [esp + 0x14], si
jle 0x10069196
cmp word [esp + 0x18], 0
je 0x100691df
movsx eax, word [esp + 0x18]
movsx ecx, si
mov word [esp + 0x14], si
mov dword [esp + ecx*4 + 0x98], eax
xor cx, cx
cmp dword [esp + 0x1c], 9
mov si, word [esp + 0x16]
ja 0x1006921d
mov bl, 0x20
sub bl, dl
movsx eax, si
inc si
lea edi, [esp + eax*4 + 0x20]
movsx eax, cx
mov ebp, dword [edi]
mov cl, bl
shl eax, cl
mov cl, dl
mov dword [esp + 0x18], ebp
shr ebp, cl
mov cx, word [esp + 0x18]
or eax, ebp
mov dword [edi], eax
movsx eax, si
cmp eax, 9
jbe 0x100691f2
cmp dx, 8
jne 0x1006922e
test byte [esp + 0x44], 1
je 0x1006916a
mov ax, word [esp + 0x16]
cmp dword [esp + 0x1c], 9
mov word [esp + 0x18], ax
jae 0x1006925b
xor ecx, ecx
movsx eax, word [esp + 0x18]
cmp dword [esp + eax*4 + 0x20], ecx
jne 0x1006925b
inc word [esp + 0x18]
movsx eax, word [esp + 0x18]
cmp eax, 9
jb 0x10069241
movsx eax, word [esp + 0x18]
cmp eax, 9
jb 0x100690c2
cmp dword [esp + 0x44], 1
jne 0x100690c2
cmp word [esp + 0x18], 0
jg 0x1006944a
movsx eax, word [esp + 0x16]
cmp dword [esp + eax*4 + 0x48], 0
jne 0x100692a9
xor ecx, ecx
movsx eax, word [esp + 0x16]
cmp dword [esp + eax*4 + 0x20], ecx
jne 0x100692a9
inc word [esp + 0x16]
movsx eax, word [esp + 0x16]
cmp dword [esp + eax*4 + 0x48], ecx
je 0x1006928e
movsx eax, word [esp + 0x16]
shl eax, 2
mov ecx, dword [esp + eax + 0x48]
cmp dword [esp + eax + 0x20], ecx
ja 0x10069101
mov ax, word [esp + 0x16]
movsx ecx, ax
mov word [esp + 0x18], ax
mov dword [esp + 0x1c], ecx
cmp ecx, 9
ja 0x100692f4
movsx eax, word [esp + 0x18]
inc word [esp + 0x18]
shl eax, 2
movsx edx, word [esp + 0x18]
mov ecx, dword [esp + eax + 0x20]
xor dword [esp + eax + 0x48], ecx
cmp edx, 9
jbe 0x100692d5
mov ax, word [esp + 0x14]
movsx ecx, ax
mov word [esp + 0x18], ax
cmp ecx, 9
ja 0x10069328
movsx eax, word [esp + 0x18]
inc word [esp + 0x18]
shl eax, 2
movsx edx, word [esp + 0x18]
mov ecx, dword [esp + eax + 0x70]
xor dword [esp + eax + 0x98], ecx
cmp edx, 9
jbe 0x10069306
mov si, 9
mov eax, dword [esp + 0x6c]
mov word [esp + 0x18], 0
and eax, 0xff
movzx dx, byte [eax + 0x100f5770]
add word [esp + 0x12], dx
cmp word [esp + 0x14], si
jg 0x1006937e
mov bl, 0x20
sub bl, dl
movsx eax, si
lea edi, [esp + eax*4 + 0x70]
dec si
mov cl, dl
mov eax, dword [edi]
mov ebp, eax
shl ebp, cl
movsx ecx, word [esp + 0x18]
or ebp, ecx
mov cl, bl
shr eax, cl
mov word [esp + 0x18], ax
mov dword [edi], ebp
cmp word [esp + 0x14], si
jle 0x10069354
cmp word [esp + 0x18], 0
je 0x10069397
movsx eax, word [esp + 0x18]
movsx ecx, si
mov word [esp + 0x14], si
mov dword [esp + ecx*4 + 0x70], eax
xor cx, cx
cmp dword [esp + 0x1c], 9
mov si, word [esp + 0x16]
ja 0x100693d5
mov bl, 0x20
sub bl, dl
movsx eax, si
inc si
lea edi, [esp + eax*4 + 0x48]
movsx eax, cx
mov ebp, dword [edi]
mov cl, bl
shl eax, cl
mov cl, dl
mov dword [esp + 0x18], ebp
shr ebp, cl
mov cx, word [esp + 0x18]
or eax, ebp
mov dword [edi], eax
movsx eax, si
cmp eax, 9
jbe 0x100693aa
cmp dx, 8
jne 0x100693e6
test byte [esp + 0x6c], 1
je 0x10069328
mov ax, word [esp + 0x16]
cmp dword [esp + 0x1c], 9
mov word [esp + 0x18], ax
jae 0x10069413
xor ecx, ecx
movsx eax, word [esp + 0x18]
cmp dword [esp + eax*4 + 0x48], ecx
jne 0x10069413
inc word [esp + 0x18]
movsx eax, word [esp + 0x18]
cmp eax, 9
jb 0x100693f9
movsx eax, word [esp + 0x18]
cmp eax, 9
jb 0x10069280
cmp dword [esp + 0x6c], 1
jne 0x10069280
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x98]
mov dword [esp + eax + 0x70], ecx
movsx eax, dx
cmp eax, 9
jbe 0x1006942f
lea eax, [esp + 0x70]
mov esi, 0x13d
push eax
mov ax, word [esp + 0x16]
cwd
idiv si
movsx eax, dx
sub esi, eax
lea eax, [esp + 0x74]
push esi
push eax
call fcn.10068e00
add esp, 0xc
test byte [esp + 0x94], 1
je 0x1006948d
mov edx, dword [esp + 0xc8]
push edx
call fcn.1006c6d0
add esp, 4
jmp 0x100694ab
xor cx, cx
movsx eax, cx
inc cx
mov edx, dword [esp + 0xc8]
mov dword [edx + eax*4], 0
movsx eax, cx
cmp eax, 5
jb 0x10069490
xor di, di
mov bx, 4
xor esi, esi
mov eax, 1
test bx, bx
mov ecx, 0xffffffff
jg 0x100694c8
mov ecx, 0x3fffffff
movsx edx, di
movsx ebp, word [edx*2 + 0x100f54f0]
mov ebp, dword [esp + ebp*4 + 0x70]
test dword [edx*4 + 0x100f4ff8], ebp
je 0x100694e2
xor esi, eax
inc di
add eax, eax
test eax, ecx
jne 0x100694c8
mov edx, dword [esp + 0xc8]
movsx eax, bx
xor dword [edx + eax*4], esi
dec bx
jns 0x100694b2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xb0
ret