Function at 0x4332b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
mov eax, dword [edi]
add eax, 0x48
push eax
call fcn.004204a6
mov esi, eax
mov eax, dword [ebp + 0x24]
test eax, eax
pop ecx
je 0x433309
mov ebx, dword [eax]
cmp ebx, 0x20
jge 0x433302
push ebx
push dword [eax + 4]
push esi
call fcn.00480a30
push 0x20
pop eax
sub eax, ebx
add ebx, esi
push eax
push 0x502700
push ebx
call fcn.00480a30
add esp, 0x18
jmp 0x433319
push 0x20
push dword [eax + 4]
jmp 0x433310
push 0x20
push 0x502700
push esi
call fcn.00480a30
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push 0x20
lea eax, [esi + 0x20]
push dword [ecx + 4]
push eax
call fcn.00480a30
mov eax, dword [ebp + 0x1c]
mov ecx, eax
mov byte [esi + 0x40], al
sar ecx, 8
mov byte [esi + 0x41], cl
mov ecx, eax
sar ecx, 0x10
sar eax, 0x18
mov byte [esi + 0x42], cl
mov byte [esi + 0x43], al
push dword [edi]
lea eax, [esi + 0x44]
push dword [edi + 4]
push eax
call fcn.00480a30
mov eax, dword [edi]
add esp, 0x18
add eax, 0x44
cmp dword [ebp + 0x2c], 0
jne 0x433378
or byte [eax + esi], 0xff
or byte [eax + esi + 1], 0xff
inc eax
inc eax
or byte [eax + esi], 0xff
or byte [eax + esi + 1], 0xff
inc eax
inc eax
push dword [ebp + 0x28]
push eax
push esi
call fcn.00434e4e
add esp, 0xc
cmp dword [ebp + 0xc], 3
jne 0x4333a2
push 0x32
pop ebx
push dword [ebp + 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0x28]
call fcn.00434e4e
add esp, 0xc
dec ebx
jne 0x43338e
cmp dword [ebp + 0xc], 2
jne 0x433416
lea eax, [ebp - 0x134]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x28]
call fcn.0043394c
and byte [ebp + 0x23], 0
and byte [ebp - 1], 0
add esp, 0xc
xor edi, edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
mov al, byte [eax + edi]
mov byte [ebp + 0x28], al
lea eax, [ebp + 0x23]
push dword [ebp + 0x28]
push eax
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004339b8
add esp, 0x10
mov byte [ebp + edi - 0x34], al
inc edi
cmp edi, 0x20
jl 0x4333c7
push 0x20
lea eax, [ebp - 0x34]
push 0x502700
push eax
call fcn.00480330
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
inc edi
jmp 0x4334f5
cmp dword [ebp + 0xc], 3
jne 0x4334f3
mov eax, dword [ebp + 0x18]
push 0x20
push dword [eax + 4]
lea eax, [ebp - 0x34]
push eax
call fcn.00480a30
add esp, 0xc
mov dword [ebp + 0x18], 0x13
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
jle 0x433462
mov eax, dword [ebp + 0x28]
lea edx, [ebp - 0x14]
sub eax, edx
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0xc]
lea eax, [ebp + ecx - 0x14]
mov dl, byte [edx + eax]
xor dl, byte [ebp + 0x18]
inc ecx
cmp ecx, dword [ebp + 0x10]
mov byte [eax], dl
jl 0x43344d
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x14]
push dword [ebp + 0x10]
push eax
call fcn.0043394c
and byte [ebp + 0x23], 0
and byte [ebp - 1], 0
add esp, 0xc
and dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
lea ebx, [ebp + eax - 0x34]
mov al, byte [ebp + eax - 0x34]
push eax
lea eax, [ebp + 0x23]
push eax
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004339b8
add esp, 0x10
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0x20
mov byte [ebx], al
jl 0x433484
dec dword [ebp + 0x18]
jns 0x43343b
push 0x20
push 0x502700
push esi
call fcn.00480a30
push dword [edi]
lea eax, [esi + 0x20]
push dword [edi + 4]
push eax
call fcn.00480a30
mov eax, dword [edi]
push esi
add eax, 0x20
push eax
push esi
call fcn.00434e4e
push 0x10
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.00480330
add esp, 0x30
jmp 0x43340a
xor edi, edi
push esi
call fcn.004205cc
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret