Function at 0x128282c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1770
push 0
call dword [fcn.0134901c]
push eax
call dword [fcn.01349018]
mov esi, dword [0x1349014]
push 0x134931c
push eax
mov dword [ebp - 4], eax
call esi
push 0x134930c
push dword [ebp - 4]
call esi
push 0x13492fc
push dword [ebp - 4]
call esi
push 0x13492f0
push dword [ebp - 4]
call esi
push 0x13492e8
push dword [ebp - 4]
call esi
push 0x13492d8
push dword [ebp - 4]
call esi
push 0x13492cc
push dword [ebp - 4]
call esi
push 0x13492c4
push dword [ebp - 4]
call esi
mov edi, 0x13492bc
push edi
push dword [ebp - 4]
call esi
push 0x13492a8
push dword [ebp - 4]
call esi
mov ebx, 0x13492a0
push ebx
push dword [ebp - 4]
call esi
push edi
push dword [ebp - 4]
call esi
push 0x1349288
push dword [ebp - 4]
call esi
push 0x134927c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349270
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x134925c
push dword [ebp - 4]
call esi
push 0x1349254
push dword [ebp - 4]
call esi
push 0x1349248
push dword [ebp - 4]
call esi
push edi
push dword [ebp - 4]
call esi
push 0x1349234
push dword [ebp - 4]
call esi
push 0x134927c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349224
push dword [ebp - 4]
call esi
push 0x1349270
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x1349218
push dword [ebp - 4]
call esi
push 0x1349254
push dword [ebp - 4]
call esi
push edi
push dword [ebp - 4]
call esi
push 0x134920c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349224
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x1349200
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov edi, dword [0x1349010]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push 0x134931c
push dword [ebp - 4]
call esi
push 0x134930c
push dword [ebp - 4]
call esi
push 0x13492fc
push dword [ebp - 4]
call esi
push 0x13492f0
push dword [ebp - 4]
call esi
push 0x13492e8
push dword [ebp - 4]
call esi
push 0x13492d8
push dword [ebp - 4]
call esi
push 0x13492cc
push dword [ebp - 4]
call esi
push 0x13492c4
push dword [ebp - 4]
call esi
push 0x13492bc
push dword [ebp - 4]
call esi
push 0x13492a8
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x13492bc
push dword [ebp - 4]
call esi
push 0x1349288
push dword [ebp - 4]
call esi
push 0x134927c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349270
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x134925c
push dword [ebp - 4]
call esi
push 0x1349254
push dword [ebp - 4]
call esi
push 0x1349248
push dword [ebp - 4]
call esi
push 0x13492bc
push dword [ebp - 4]
call esi
push 0x1349234
push dword [ebp - 4]
call esi
push 0x134927c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349224
push dword [ebp - 4]
call esi
push 0x1349270
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x1349218
push dword [ebp - 4]
call esi
push 0x1349254
push dword [ebp - 4]
call esi
push 0x13492bc
push dword [ebp - 4]
call esi
push 0x134920c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349224
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x1349200
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push 0x134931c
push dword [ebp - 4]
call esi
push 0x134930c
push dword [ebp - 4]
call esi
push 0x13492fc
push dword [ebp - 4]
call esi
push 0x13492f0
push dword [ebp - 4]
call esi
push 0x13492e8
push dword [ebp - 4]
call esi
push 0x13492d8
push dword [ebp - 4]
call esi
push 0x13492cc
push dword [ebp - 4]
call esi
push 0x13492c4
push dword [ebp - 4]
call esi
push 0x13492bc
push dword [ebp - 4]
call esi
push 0x13492a8
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x13492bc
push dword [ebp - 4]
call esi
push 0x1349288
push dword [ebp - 4]
call esi
push 0x134927c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349270
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x134925c
push dword [ebp - 4]
call esi
push 0x1349254
push dword [ebp - 4]
call esi
push 0x1349248
push dword [ebp - 4]
call esi
push 0x13492bc
push dword [ebp - 4]
call esi
push 0x1349234
push dword [ebp - 4]
call esi
push 0x134927c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349224
push dword [ebp - 4]
call esi
push 0x1349270
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x1349218
push dword [ebp - 4]
call esi
push 0x1349254
push dword [ebp - 4]
call esi
push 0x13492bc
push dword [ebp - 4]
call esi
push 0x134920c
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x1349224
push dword [ebp - 4]
call esi
push 0x1349268
push dword [ebp - 4]
call esi
push 0x1349200
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
mov esi, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
push 0x40
call dword [0x134900c]
push dword [ebp - 4]
mov ebx, eax
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
mov byte [ebx + esi], 0
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
and dword [ebp + 0x10], 0
test esi, esi
je 0x1282d16
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp + 8], eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp + 0xc]
call fcn.012a61a0
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0x10]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov cl, byte [edx + eax]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add eax, ebx
xor cl, byte [edx + eax]
mov byte [eax], cl
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], esi
jb 0x1282cc1
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push 4
lea eax, [ebp - 4]
push 0
push eax
call fcn.012a4850
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc