Function at 0x10034950
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x45]
mov byte [esp + 0x44], 0
mov edx, dword [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x40]
lea esi, [edx + 0x20]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, ecx
lea edi, [esp + 0x24]
shr ecx, 2
mov dword [esp + 0x20], esi
mov ebp, dword [edx + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x10], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x7c]
cmp ecx, eax
mov ecx, dword [esp + 0x78]
jne 0x10034a4a
cmp ecx, eax
jbe 0x10034b0d
mov ebx, dword [esp + 0x6c]
jmp 0x100349cc
mov edx, dword [esp + 0x68]
xor ecx, ecx
test ebp, ebp
jbe 0x100349ee
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x24]
sub esi, eax
lea eax, [esp + ecx + 0x24]
mov bl, byte [esi + eax]
xor byte [eax], bl
inc ecx
cmp ecx, ebp
jb 0x100349dc
mov ebx, dword [esp + 0x6c]
push 0
lea ecx, [esp + 0x28]
push ebp
lea eax, [esp + 0x20]
push ecx
push eax
push ebx
push edx
call fcn.10034700
add esp, 0x18
test eax, eax
jne 0x10034b31
mov ecx, ebp
mov esi, ebx
mov edx, ecx
lea edi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
add eax, ebp
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
add edi, ebp
add ebx, ebp
cmp eax, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x10], eax
jb 0x100349c8
jmp 0x10034b0d
cmp ecx, eax
jbe 0x10034b0d
mov ecx, dword [esp + 0x6c]
mov eax, ebp
mov ebx, dword [esp + 0x74]
neg eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x14], eax
jmp 0x10034a72
mov edx, dword [esp + 0x68]
mov ecx, ebp
mov esi, ebx
mov eax, ecx
lea edi, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x70]
push ebp
push ebx
push eax
push ecx
push edx
call fcn.10034700
add esp, 0x18
test eax, eax
jne 0x10034b31
test ebp, ebp
jbe 0x10034ac5
mov eax, dword [esp + 0x6c]
mov esi, ebp
mov edx, dword [esp + 0x14]
mov cl, byte [edx + eax]
mov dl, byte [eax]
xor dl, cl
mov byte [eax], dl
inc eax
dec esi
jne 0x10034ab4
mov ecx, ebp
lea esi, [esp + 0x44]
mov edx, ecx
lea edi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, edx
and ecx, 3
add ebx, ebp
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
add esi, eax
mov eax, dword [esp + 0x10]
add edi, ebp
add eax, ebp
mov dword [esp + 0x6c], edi
cmp eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
jb 0x10034a6e
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x70]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret