Function at 0x12a268a8
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 0x12a26f14
cmp dword [ebp + 0xc], esi
je 0x12a26f14
cmp dword [ebp + 0x10], esi
je 0x12a26f14
cmp dword [ebp + 0x14], esi
je 0x12a26f14
push esi
push 0x104
mov dword [ebp - 0x20], esi
call fcn.12a25ebc
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 4], ebx
jne 0x12a26908
mov dword [ebp - 0x20], 0x80000002
jmp 0x12a26bf1
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, 0x12a39468
mov ecx, 0x34
mov eax, edi
cld
or ecx, ecx
je 0x12a26939
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], edx
mov eax, dword [0x12a39468]
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 0x12a2695a
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 0x12a2697c
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x12a39468]
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 0x12a269a3
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 0x12a269c8
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 [0x12a39468]
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 0x12a26a48
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 0x12a26a4a
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 0x12a26a87
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 [0x12a3946c]
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 0x12a26afb
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 0x12a26afd
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 0x12a26b3a
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 [0x12a39470]
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 0x12a26bae
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 0x12a26bb0
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 0x12a26bee
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 0x12a26f1b
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.12a25ebc
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x12a26c33
mov dword [ebp - 0x18], 0x80000002
jmp 0x12a26f1b
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 0x12a26c5c
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 0x12a26c5c
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 0x12a26c77
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26c7c
lea eax, [ebp - 0x90]
cmp eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
je 0x12a26caa
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 0x12a26caa
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.12a25ebc
test eax, eax
mov dword [ebp - 4], eax
je 0x12a26d14
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 0x12a26ce3
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.12a2e356
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26cff
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.12a25edc
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.12a25ebc
test eax, eax
mov dword [ebp - 4], eax
je 0x12a26d78
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 0x12a26d47
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.12a2e356
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26d63
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.12a25edc
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.12a25ebc
test eax, eax
mov dword [ebp - 4], eax
je 0x12a26dd8
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 0x12a26dab
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.12a2e356
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26dc3
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.12a25edc
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.12a25ebc
test eax, eax
mov dword [ebp - 4], eax
je 0x12a26e3c
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 0x12a26e0b
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.12a2e356
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26e27
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.12a25edc
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.12a2b429
test eax, eax
jne 0x12a26e63
mov dword [ebp - 0x18], 0x800480d5
jmp 0x12a26f1b
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.12a2d1c4
test eax, eax
je 0x12a26e57
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.12a2b657
test eax, eax
je 0x12a26e57
push dword [ebp + 8]
push 0x28
call fcn.12a25ebc
test eax, eax
mov dword [ebp - 0x20], eax
je 0x12a26e57
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.12a2e489
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 0x12a26edc
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x20]
cmp dword [ebp + 0x14], edx
je 0x12a26efd
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 0x12a26efd
rep movsb byte es:[edi], byte [esi]
push 0x28
pop ecx
mov eax, edx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26f02
push dword [ebp + 8]
push edx
call fcn.12a25edc
jmp 0x12a26f1b
mov dword [ebp - 0x18], 0x80070057
mov edx, dword [ebp - 0x28]
test edx, edx
pop edi
pop esi
pop ebx
je 0x12a26f5a
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 0x12a26f30
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26f3d
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26f4a
push dword [ebp - 0x40]
push edx
call fcn.12a25edc
cmp dword [ebp + 8], 0
je 0x12a26f80
cmp dword [ebp - 0x24], 0
je 0x12a26f75
mov eax, dword [ebp - 0x24]
mov ecx, 0xb4
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26f6e
push dword [ebp - 0x40]
push dword [ebp - 0x24]
call fcn.12a25edc
mov eax, dword [ebp - 0x18]
leave
ret