Function at 0x10922d0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x28], esi
je 0x109293c
cmp dword [ebp + 0xc], esi
je 0x109293c
cmp dword [ebp + 0x10], esi
je 0x109293c
cmp dword [ebp + 0x14], esi
je 0x109293c
push esi
push 0x104
mov dword [ebp - 0x20], esi
call fcn.010918e4
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 4], ebx
jne 0x1092330
mov dword [ebp - 0x20], 0x80000002
jmp 0x1092619
lea edx, [ebx + 0x34]
lea eax, [edx + 0x58]
mov dword [ebp - 0x14], eax
add eax, 0x3c
mov dword [ebp - 0xc], eax
add eax, 0x14
mov dword [ebp - 8], eax
add eax, 0x14
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 4]
mov esi, 0x10b6750
mov ecx, 0x34
mov eax, edi
cld
or ecx, ecx
je 0x1092361
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], edx
mov eax, dword [0x10b6750]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 0x58
mov eax, edi
cld
or ecx, ecx
je 0x1092382
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
add eax, 0x30
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x10923a4
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x10b6750]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 0x3c
mov eax, edi
cld
or ecx, ecx
je 0x10923cb
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
add eax, 0x20
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x10923f0
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
and dword [ebp - 0xb8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10b6750]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edi, [ebp - 0xb4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x108], 0x123174bb
mov dword [ebp - 0x104], 0x86521ff8
mov dword [ebp - 0x100], 0x98d2438b
mov dword [ebp - 0xfc], 0x7966ce12
mov dword [ebp - 0xf8], 0xc5d92014
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, edi
cld
or ecx, ecx
je 0x1092470
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 - 0x108]
xor dword [ebp + ecx*4 - 0xb8], eax
inc ecx
cmp ecx, esi
jb 0x1092472
push 0x14
pop edx
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, edi
cld
or ecx, ecx
je 0x10924af
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xc]
and dword [ebp - 0xa4], 0
mov dword [ebx + 4], eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x10b6754]
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xe0], 0x123174bb
mov dword [ebp - 0xdc], 0x86521ff8
mov dword [ebp - 0xd8], 0x98d2438b
mov dword [ebp - 0xd4], 0x7966ce12
mov dword [ebp - 0xd0], 0xc5d92014
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cld
or ecx, ecx
je 0x1092523
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 - 0xe0]
xor dword [ebp + ecx*4 - 0xa4], eax
inc ecx
cmp ecx, esi
jb 0x1092525
push 0x14
pop edx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cld
or ecx, ecx
je 0x1092562
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 8]
and dword [ebp - 0xcc], 0
mov dword [ebx + 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x10b6758]
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0xc8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xf4], 0x123174bb
mov dword [ebp - 0xf0], 0x86521ff8
mov dword [ebp - 0xec], 0x98d2438b
mov dword [ebp - 0xe8], 0x7966ce12
mov dword [ebp - 0xe4], 0xc5d92014
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10925d6
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 - 0xf4]
xor dword [ebp + ecx*4 - 0xcc], eax
inc ecx
cmp ecx, esi
jb 0x10925d8
lea eax, [ebp - 0xcc]
mov dword [ebp - 8], 0x14
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1092616
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x20]
test eax, eax
mov dword [ebp - 0x18], eax
jl 0x1092943
mov eax, dword [ebp + 8]
and dword [eax], 0
push eax
lea ecx, [eax + 0xc]
push 0xb4
mov dword [eax + 4], 0x157c
mov dword [eax + 8], ecx
mov dword [ebp - 0x40], eax
call fcn.010918e4
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x109265b
mov dword [ebp - 0x18], 0x80000002
jmp 0x1092943
add eax, 0x3c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
cmp eax, dword [ebp + 0xc]
push 0x14
mov dword [ebp - 0xc], eax
pop ebx
je 0x1092684
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1092684
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x3c]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x109269f
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10926a4
lea eax, [ebp - 0x90]
cmp eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
je 0x10926d2
mov dword [ebp - 8], 0x50
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10926d2
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
push dword [ebp + 8]
mov eax, dword [eax + 0x30]
push ebx
mov dword [ebp - 0x1c], eax
call fcn.010918e4
test eax, eax
mov dword [ebp - 4], eax
je 0x109273c
lea eax, [ebp - 0x90]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x109270b
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
add eax, 0x14
push eax
push 5
push dword [ebp - 4]
call fcn.01099d48
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x1092727
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.01091904
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x7c]
push ebx
mov dword [ebp - 0xc], eax
call fcn.010918e4
test eax, eax
mov dword [ebp - 4], eax
je 0x10927a0
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x109276f
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
add eax, 0x28
push eax
push 5
push dword [ebp - 4]
call fcn.01099d48
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x109278b
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.01091904
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x68]
push ebx
mov dword [ebp - 0xc], eax
call fcn.010918e4
test eax, eax
mov dword [ebp - 4], eax
je 0x1092800
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10927d3
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 5
push dword [ebp - 4]
call fcn.01099d48
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10927eb
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.01091904
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x54]
push ebx
mov dword [ebp - 0xc], eax
call fcn.010918e4
test eax, eax
mov dword [ebp - 4], eax
je 0x1092864
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1092833
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x1c]
add eax, 0x14
push eax
push 5
push dword [ebp - 4]
call fcn.01099d48
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x109284f
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.01091904
mov esi, dword [ebp - 0x28]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push 0
push 0
add eax, 0x14
push esi
push eax
mov dword [ebp - 8], eax
call fcn.01096e1b
test eax, eax
jne 0x109288b
mov dword [ebp - 0x18], 0x800480d5
jmp 0x1092943
push dword [ebp + 8]
mov edi, dword [ebp - 0x20]
push esi
add edi, 0x28
push edi
push 5
push dword [ebp - 0x24]
push 0
push 4
push dword [ebp - 8]
call fcn.01098bb6
test eax, eax
je 0x109287f
push dword [ebp + 8]
lea eax, [edi + 0x28]
push 0
push esi
push 0xffffffffffffffff
push eax
push edi
push dword [ebp - 0x20]
mov dword [ebp - 8], eax
call fcn.01097049
test eax, eax
je 0x109287f
push dword [ebp + 8]
push 0x28
call fcn.010918e4
test eax, eax
mov dword [ebp - 0x20], eax
je 0x109287f
push dword [ebp + 8]
mov ecx, dword [esi]
push dword [ecx + 0x30]
add eax, 0x14
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.01099e7b
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1092904
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x20]
cmp dword [ebp + 0x14], edx
je 0x1092925
mov dword [ebp - 8], 0x10
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x1092925
rep movsb byte es:[edi], byte [esi]
push 0x28
pop ecx
mov eax, edx
mov byte [eax], 0
inc eax
dec ecx
jne 0x109292a
push dword [ebp + 8]
push edx
call fcn.01091904
jmp 0x1092943
mov dword [ebp - 0x18], 0x80070057
mov edx, dword [ebp - 0x28]
test edx, edx
pop edi
pop esi
pop ebx
je 0x1092982
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 0x1092958
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x1092965
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x1092972
push dword [ebp - 0x40]
push edx
call fcn.01091904
cmp dword [ebp + 8], 0
je 0x10929a8
cmp dword [ebp - 0x24], 0
je 0x109299d
mov eax, dword [ebp - 0x24]
mov ecx, 0xb4
mov byte [eax], 0
inc eax
dec ecx
jne 0x1092996
push dword [ebp - 0x40]
push dword [ebp - 0x24]
call fcn.01091904
mov eax, dword [ebp - 0x18]
leave
ret