Function at 0x434507
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
mov edi, eax
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
xor ecx, ecx
cmp dword [ebp + 0x18], ecx
je 0x4345f1
cmp esi, ecx
je 0x434547
cmp dword [ebp + 0xc], ecx
je 0x434547
mov eax, dword [ebp + 8]
mov al, byte [eax]
xor byte [esi + edi], al
mov al, byte [esi + edi]
mov byte [ebx], al
inc ebx
inc dword [ebp + 8]
dec dword [ebp + 0xc]
inc esi
and esi, 0xf
jne 0x434528
cmp dword [ebp + 0xc], 0x10
jb 0x4345b4
mov eax, ebx
sub eax, edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add dword [ebp + 8], eax
push dword [ebp + 0x10]
push edi
push edi
call fcn.00433a1e
add esp, 0xc
cmp esi, 0x10
jae 0x4345a1
push 0xf
pop ecx
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + eax]
xor dword [eax], edx
mov edx, dword [eax]
mov esi, dword [ebp + 0x18]
mov dword [esi + eax], edx
add eax, 4
dec ecx
jne 0x43458b
sub dword [ebp + 0xc], 0x10
add dword [ebp + 0x18], 0x10
add dword [ebp - 4], 0x10
xor esi, esi
dec dword [ebp - 8]
jne 0x43456d
cmp dword [ebp + 0xc], 0
je 0x4346cc
push dword [ebp + 0x10]
push edi
push edi
call fcn.00433a1e
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [esi + edi]
sub edx, edi
sub ebx, edi
add esi, dword [ebp + 0xc]
mov cl, byte [eax + edx]
xor byte [eax], cl
mov cl, byte [eax]
dec dword [ebp + 0xc]
mov byte [eax + ebx], cl
inc eax
cmp dword [ebp + 0xc], 0
jne 0x4345d8
jmp 0x4346cc
cmp esi, ecx
je 0x434616
cmp dword [ebp + 0xc], ecx
je 0x434616
mov dl, byte [esi + edi]
mov eax, dword [ebp + 8]
mov al, byte [eax]
xor dl, al
mov byte [ebx], dl
inc ebx
inc dword [ebp + 8]
dec dword [ebp + 0xc]
mov byte [esi + edi], al
inc esi
and esi, 0xf
jne 0x4345f5
cmp dword [ebp + 0xc], 0x10
jb 0x43468d
mov eax, ebx
sub eax, edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
push edi
push edi
call fcn.00433a1e
add esp, 0xc
cmp esi, 0x10
jae 0x434678
mov edx, dword [ebp + 8]
push 0xf
pop ecx
sub ecx, esi
sub edx, ebx
shr ecx, 2
lea eax, [esi + edi]
mov dword [ebp - 4], edx
inc ecx
jmp 0x434657
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0x18]
add esi, eax
mov edx, dword [esi + edx]
mov esi, dword [eax]
xor esi, edx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x18]
add edx, eax
mov dword [edx], esi
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x434654
push 0x10
pop eax
sub dword [ebp + 0xc], eax
add dword [ebp + 0x18], eax
add dword [ebp + 8], eax
add ebx, eax
xor esi, esi
dec dword [ebp - 8]
jne 0x43462c
cmp dword [ebp + 0xc], 0
je 0x4346cc
push dword [ebp + 0x10]
push edi
push edi
call fcn.00433a1e
mov edx, dword [ebp + 8]
mov dword [ebp + 0x18], ebx
sub dword [ebp + 0x18], edi
add esp, 0xc
lea eax, [esi + edi]
sub edx, ebx
add esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov bl, byte [eax]
dec dword [ebp + 0xc]
lea edi, [eax + ecx]
mov cl, byte [edi + edx]
xor bl, cl
mov byte [edi], bl
mov byte [eax], cl
inc eax
cmp dword [ebp + 0xc], 0
jne 0x4346b1
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebx
leave
ret