Function at 0x5338d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 0x14]
xor edx, edx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x170]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x174]
mov dword [ebp - 0x10], eax
mov eax, ecx
add eax, dword [esi + 0x38]
adc edx, dword [esi + 0x3c]
cmp edx, 0xf
ja 0x533bd9
jb 0x53390d
cmp eax, 0xffffffe0
ja 0x533bd9
cmp dword [esi + 0x16c], 0
push ebx
mov dword [esi + 0x3c], edx
lea ebx, [esi + 0x40]
mov edx, dword [esi + 0x168]
push edi
mov dword [esi + 0x38], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ebx
je 0x53398c
test ecx, ecx
jne 0x533951
lea eax, [esi + 0x60]
push eax
push ebx
call fcn.005344f0
add esp, 8
mov dword [esi + 0x16c], 0
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebx]
lea edi, [esi + 0x178]
mov edx, 0x10
mov dword [ebp - 8], edx
movups xmmword [edi], xmm0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
jmp 0x533995
lea edi, [esi + 0x178]
mov dword [ebp - 0xc], ebx
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp + 0x10]
bswap eax
mov dword [ebp - 4], eax
mov eax, edx
and eax, 0xf
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], eax
je 0x533a11
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x5339ea
mov al, byte [eax + esi + 0x10]
lea ecx, [esi + 0x178]
xor al, byte [edi]
inc edi
mov byte [ebx], al
inc ebx
mov byte [esi + edx + 0x178], al
inc edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
inc eax
mov ecx, dword [ebp + 0x14]
dec ecx
and eax, 0xf
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x18], eax
jne 0x5339b3
mov ecx, dword [ebp - 8]
jmp 0x5339f5
mov ecx, dword [ebp - 8]
test eax, eax
jne 0x533bca
push edx
push ecx
lea ecx, [esi + 0x60]
lea eax, [esi + 0x40]
push ecx
push eax
call fcn.00534320
mov ecx, dword [ebp + 0x14]
add esp, 0x10
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x533a14
mov edi, dword [ebp + 0xc]
cmp ecx, 0x10
jb 0x533a3e
test edx, edx
je 0x533a3e
push edx
lea eax, [esi + 0x178]
push eax
lea eax, [esi + 0x60]
push eax
push dword [ebp - 0xc]
call fcn.00534320
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov dword [ebp - 8], 0
cmp ecx, 0xc00
jb 0x533adc
mov eax, 0xaaaaaaab
mul ecx
shr edx, 0xb
mov dword [ebp - 0x20], edx
nop word [eax + eax]
mov dword [ebp - 0x1c], 0xc0
push dword [ebp - 0x10]
lea eax, [esi + 0x10]
push eax
push esi
call dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
mov dword [ebp - 4], eax
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [ebp - 0x1c], 1
jne 0x533a67
push 0xc00
lea eax, [ebx - 0xc00]
push eax
lea eax, [esi + 0x60]
push eax
push dword [ebp - 0xc]
call fcn.00534320
mov ecx, dword [ebp + 0x14]
add esp, 0x10
sub ecx, 0xc00
sub dword [ebp - 0x20], 1
mov dword [ebp + 0x14], ecx
jne 0x533a60
mov edx, ecx
and edx, 0xfffffff0
mov dword [ebp - 0x1c], edx
je 0x533b5b
cmp ecx, 0x10
jb 0x533b43
shr ecx, 4
lea eax, [esi + 0x10]
mov dword [ebp - 0x20], ecx
push dword [ebp - 0x10]
push eax
push esi
call dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
sub dword [ebp + 0x14], 0x10
mov dword [ebp - 4], eax
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [ebp - 0x20], 1
lea eax, [esi + 0x10]
jne 0x533af4
mov edx, dword [ebp - 0x1c]
push edx
mov eax, ebx
sub eax, edx
push eax
lea eax, [esi + 0x60]
push eax
push dword [ebp - 0xc]
call fcn.00534320
mov ecx, dword [ebp + 0x14]
add esp, 0x10
test ecx, ecx
je 0x533bc7
push dword [ebp - 0x10]
lea eax, [esi + 0x10]
push eax
push esi
call dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
inc eax
mov edx, dword [ebp - 8]
bswap eax
mov dword [esi + 0xc], eax
lea eax, [ecx + ebx]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 0x14]
sub edi, ebx
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x20]
mov esi, eax
mov al, byte [edi + ebx]
lea esi, [esi + 1]
xor al, byte [esi - 1]
lea ebx, [ebx + 1]
dec ecx
mov byte [ebx - 1], al
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov byte [ecx + edx], al
inc edx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x533b94
mov esi, dword [ebp + 8]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x168], edx
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
pop edi
pop ebx
mov dword [esi + 0x168], edx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret