Function at 0x12a2614f
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 0x12a2682b
cmp dword [ebp + 0xc], esi
je 0x12a2682b
cmp dword [ebp + 0x10], esi
je 0x12a2682b
cmp dword [ebp + 0x14], esi
je 0x12a2682b
push esi
push 0x104
mov dword [ebp - 0x40], esi
call fcn.12a25ebc
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 8], ebx
jne 0x12a261af
mov dword [ebp - 0x40], 0x80000002
jmp 0x12a26495
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, 0x12a39468
mov ecx, 0x34
mov eax, edi
cld
or ecx, ecx
je 0x12a261e0
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], edx
mov eax, dword [0x12a39468]
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 0x12a26201
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 0x12a26223
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x12a39468]
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 0x12a2624a
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 0x12a2626f
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 [0x12a39468]
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 0x12a262ef
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 0x12a262f1
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 0x12a2632e
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 [0x12a3946c]
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 0x12a263a2
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 0x12a263a4
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 0x12a263e1
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 [0x12a39470]
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 0x12a26452
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 0x12a26454
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 0x12a26492
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 0x12a26832
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, 0x12a38a28
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x12a2650c
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 0x12a2650e
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 0x12a26552
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.12a25ebc
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x12a26586
mov dword [ebp - 0x1c], 0x80000002
jmp 0x12a26832
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 0x12a265c2
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 0x12a265c2
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.12a25ebc
test eax, eax
mov dword [ebp - 4], eax
je 0x12a26626
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 0x12a265f9
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.12a2e356
mov eax, dword [ebp - 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26610
push ebx
push dword [ebp - 4]
call fcn.12a25edc
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.12a25ebc
test eax, eax
mov dword [ebp - 4], eax
je 0x12a26685
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 0x12a26657
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.12a2e356
mov eax, dword [ebp - 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26672
push ebx
push dword [ebp - 4]
call fcn.12a25edc
mov esi, dword [ebp - 0x24]
push ebx
push 0
push 0
push esi
push dword [ebp - 0x20]
call fcn.12a2b429
test eax, eax
jne 0x12a266a3
mov dword [ebp - 0x1c], 0x800480d5
jmp 0x12a26832
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x10]
je 0x12a266c7
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 0x12a266c4
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.12a25f02
test eax, eax
je 0x12a26697
push ebx
push 0
push 5
push dword [ebp - 0x48]
lea eax, [ebp - 0x3c]
push eax
call fcn.12a2e929
push ebx
push esi
push dword [ebp - 8]
push 5
push dword [ebp - 0x48]
push 0x3c
push 4
push 0x12a38aa4
call fcn.12a2d906
test eax, eax
je 0x12a26697
push ebx
push 0
push 0
push esi
push dword [ebp - 0x20]
call fcn.12a2b429
test eax, eax
je 0x12a26697
push ebx
push esi
push dword [ebp + 8]
push 5
push dword [ebp - 0x48]
push 0
push 4
push dword [ebp - 0x20]
call fcn.12a2d906
test eax, eax
je 0x12a26697
push ebx
push 0
push esi
push 1
push dword [ebp - 0x40]
push edi
push dword [ebp + 8]
call fcn.12a2b657
test eax, eax
je 0x12a26697
mov eax, dword [esi]
push ebx
push dword [eax + 0x30]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.12a2e489
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 0x12a2677f
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.12a2e489
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 0x12a267b9
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.12a2e489
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 0x12a267ef
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.12a2e489
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 0x12a26829
rep movsb byte es:[edi], byte [esi]
jmp 0x12a26832
mov dword [ebp - 0x1c], 0x80070057
mov edx, dword [ebp - 0x24]
test edx, edx
pop edi
pop esi
pop ebx
je 0x12a26871
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 0x12a26847
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26854
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26861
push dword [ebp - 0x44]
push edx
call fcn.12a25edc
push 0x14
pop ecx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a26877
cmp dword [ebp - 0x48], 0
je 0x12a26893
mov eax, dword [ebp - 0x48]
mov ecx, 0xdc
mov byte [eax], 0
inc eax
dec ecx
jne 0x12a2688c
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.12a25edc
mov eax, dword [ebp - 0x1c]
leave
ret