Function at 0x1091b77
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x24], esi
je 0x1092253
cmp dword [ebp + 0xc], esi
je 0x1092253
cmp dword [ebp + 0x10], esi
je 0x1092253
cmp dword [ebp + 0x14], esi
je 0x1092253
push esi
push 0x104
mov dword [ebp - 0x40], esi
call fcn.010918e4
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 8], ebx
jne 0x1091bd7
mov dword [ebp - 0x40], 0x80000002
jmp 0x1091ebd
lea edx, [ebx + 0x34]
lea eax, [edx + 0x58]
mov dword [ebp - 0xc], eax
add eax, 0x3c
mov dword [ebp - 0x24], eax
add eax, 0x14
mov dword [ebp - 0x14], eax
add eax, 0x14
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 8]
mov esi, 0x10b6750
mov ecx, 0x34
mov eax, edi
cld
or ecx, ecx
je 0x1091c08
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], edx
mov eax, dword [0x10b6750]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, 0x58
mov eax, edi
cld
or ecx, ecx
je 0x1091c29
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
add eax, 0x30
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x1091c4b
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x10b6750]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, 0x3c
mov eax, edi
cld
or ecx, ecx
je 0x1091c72
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
add eax, 0x20
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x1091c97
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
and dword [ebp - 0xc0], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10b6750]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0xbc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x110], 0x123174bb
mov dword [ebp - 0x10c], 0x86521ff8
mov dword [ebp - 0x108], 0x98d2438b
mov dword [ebp - 0x104], 0x7966ce12
mov dword [ebp - 0x100], 0xc5d92014
mov dword [ebp - 8], 0x14
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1091d17
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0x110]
xor dword [ebp + ecx*4 - 0xc0], eax
inc ecx
cmp ecx, esi
jb 0x1091d19
push 0x14
pop edx
lea eax, [ebp - 0xc0]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1091d56
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
and dword [ebp - 0xac], 0
mov dword [ebx + 4], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10b6754]
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0xa8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xd4], 0x123174bb
mov dword [ebp - 0xd0], 0x86521ff8
mov dword [ebp - 0xcc], 0x98d2438b
mov dword [ebp - 0xc8], 0x7966ce12
mov dword [ebp - 0xc4], 0xc5d92014
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1091dca
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0xd4]
xor dword [ebp + ecx*4 - 0xac], eax
inc ecx
cmp ecx, esi
jb 0x1091dcc
push 0x14
pop edx
lea eax, [ebp - 0xac]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1091e09
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x84], 0
mov dword [ebx + 8], eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x10b6758]
mov dword [ebp - 8], eax
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0xfc], 0x123174bb
mov dword [ebp - 0xf8], 0x86521ff8
mov dword [ebp - 0xf4], 0x98d2438b
mov dword [ebp - 0xf0], 0x7966ce12
mov dword [ebp - 0xec], 0xc5d92014
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x1091e7a
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0xfc]
xor dword [ebp + ecx*4 - 0x84], eax
inc ecx
cmp ecx, esi
jb 0x1091e7c
lea eax, [ebp - 0x84]
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x1091eba
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x40]
test eax, eax
mov dword [ebp - 0x1c], eax
jl 0x109225a
and dword [ebp - 0x98], 0
xor eax, eax
lea edi, [ebp - 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0xe8], 0x123174bb
mov dword [ebp - 0xe4], 0x86521ff8
mov dword [ebp - 0xe0], 0x98d2438b
mov dword [ebp - 0xdc], 0x7966ce12
mov dword [ebp - 0xd8], 0xc5d92014
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x44], eax
mov edi, dword [ebp - 0x44]
mov esi, 0x10b5d10
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x1091f34
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0xe8]
xor dword [ebp + ecx*4 - 0x98], eax
inc ecx
cmp ecx, esi
jb 0x1091f36
lea eax, [ebp - 0x98]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x1091f7a
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 8]
and dword [ebx], 0
push ebx
lea eax, [ebx + 0xc]
push 0xdc
mov dword [ebx + 4], 0x157c
mov dword [ebx + 8], eax
mov dword [ebp - 0x44], ebx
call fcn.010918e4
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x1091fae
mov dword [ebp - 0x1c], 0x80000002
jmp 0x109225a
add eax, 0x14
mov dword [ebp - 8], eax
add eax, 0x28
mov dword [ebp - 0x40], eax
add eax, 0x28
mov dword [ebp + 8], eax
add eax, 0x50
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x70]
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
je 0x1091fea
mov dword [ebp - 0x14], 0x28
mov edi, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x1091fea
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push ebx
push 0x14
pop edi
push edi
mov dword [ebp - 0x18], eax
call fcn.010918e4
test eax, eax
mov dword [ebp - 4], eax
je 0x109204e
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x1092021
rep movsb byte es:[edi], byte [esi]
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push 5
push dword [ebp - 4]
call fcn.01099d48
mov eax, dword [ebp - 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x1092038
push ebx
push dword [ebp - 4]
call fcn.01091904
mov esi, dword [ebp - 0x24]
push 0x14
pop edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
push ebx
lea eax, [ebp - 0x5c]
push edi
mov dword [ebp - 0x28], eax
call fcn.010918e4
test eax, eax
mov dword [ebp - 4], eax
je 0x10920ad
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x109207f
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x20]
push ebx
push dword [ebp - 0x14]
add eax, 0x14
push eax
push 5
push dword [ebp - 4]
call fcn.01099d48
mov eax, dword [ebp - 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x109209a
push ebx
push dword [ebp - 4]
call fcn.01091904
mov esi, dword [ebp - 0x24]
push ebx
push 0
push 0
push esi
push dword [ebp - 0x20]
call fcn.01096e1b
test eax, eax
jne 0x10920cb
mov dword [ebp - 0x1c], 0x800480d5
jmp 0x109225a
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x10]
je 0x10920ef
mov dword [ebp - 0x18], 0x10
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10920ec
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
push ebx
push esi
add edi, 0x28
push edi
push edx
call fcn.0109192a
test eax, eax
je 0x10920bf
push ebx
push 0
push 5
push dword [ebp - 0x48]
lea eax, [ebp - 0x3c]
push eax
call fcn.0109a31b
push ebx
push esi
push dword [ebp - 8]
push 5
push dword [ebp - 0x48]
push 0x3c
push 4
push 0x10b5d8c
call fcn.010992f8
test eax, eax
je 0x10920bf
push ebx
push 0
push 0
push esi
push dword [ebp - 0x20]
call fcn.01096e1b
test eax, eax
je 0x10920bf
push ebx
push esi
push dword [ebp + 8]
push 5
push dword [ebp - 0x48]
push 0
push 4
push dword [ebp - 0x20]
call fcn.010992f8
test eax, eax
je 0x10920bf
push ebx
push 0
push esi
push 1
push dword [ebp - 0x40]
push edi
push dword [ebp + 8]
call fcn.01097049
test eax, eax
je 0x10920bf
mov eax, dword [esi]
push ebx
push dword [eax + 0x30]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.01099e7b
mov dword [ebp - 0x18], 0x14
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10921a7
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push ebx
push dword [eax + 0x30]
mov eax, dword [ebp - 8]
push dword [ebp + 8]
add eax, 0x14
push eax
call fcn.01099e7b
mov eax, dword [ebp + 0x14]
add eax, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x14
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10921e1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push ebx
push dword [eax + 0x30]
push dword [ebp + 8]
push dword [ebp - 0x40]
call fcn.01099e7b
mov eax, dword [ebp + 0x14]
add eax, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x14
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x1092217
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push ebx
push dword [eax + 0x30]
mov eax, dword [ebp - 0x40]
push dword [ebp + 8]
add eax, 0x14
push eax
call fcn.01099e7b
mov eax, dword [ebp + 0x14]
add eax, 0x3c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x14
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x1092251
rep movsb byte es:[edi], byte [esi]
jmp 0x109225a
mov dword [ebp - 0x1c], 0x80070057
mov edx, dword [ebp - 0x24]
test edx, edx
pop edi
pop esi
pop ebx
je 0x1092299
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x109226f
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x109227c
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x1092289
push dword [ebp - 0x44]
push edx
call fcn.01091904
push 0x14
pop ecx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x109229f
cmp dword [ebp - 0x48], 0
je 0x10922bb
mov eax, dword [ebp - 0x48]
mov ecx, 0xdc
mov byte [eax], 0
inc eax
dec ecx
jne 0x10922b4
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.01091904
mov eax, dword [ebp - 0x1c]
leave
ret