Function at 0x432f80
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 0x43306a
cmp esi, ecx
je 0x432fc0
cmp dword [ebp + 0xc], ecx
je 0x432fc0
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 0x432fa1
cmp dword [ebp + 0xc], 0x10
jb 0x43302d
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.00432a05
add esp, 0xc
cmp esi, 0x10
jae 0x43301a
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 0x433004
sub dword [ebp + 0xc], 0x10
add dword [ebp + 0x18], 0x10
add dword [ebp - 4], 0x10
xor esi, esi
dec dword [ebp - 8]
jne 0x432fe6
cmp dword [ebp + 0xc], 0
je 0x433145
push dword [ebp + 0x10]
push edi
push edi
call fcn.00432a05
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 0x433051
jmp 0x433145
cmp esi, ecx
je 0x43308f
cmp dword [ebp + 0xc], ecx
je 0x43308f
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 0x43306e
cmp dword [ebp + 0xc], 0x10
jb 0x433106
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.00432a05
add esp, 0xc
cmp esi, 0x10
jae 0x4330f1
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 0x4330d0
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 0x4330cd
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 0x4330a5
cmp dword [ebp + 0xc], 0
je 0x433145
push dword [ebp + 0x10]
push edi
push edi
call fcn.00432a05
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 0x43312a
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebx
leave
ret