Function at 0x538e81
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x88
mov eax, dword [0x6651c0]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
push ebx
push ebp
push esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x9c]
push 0x40
push eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x58]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x90]
add esp, 0xc
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], 0xa
mov dword [esp + 0x20], eax
push edi
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x74]
add esi, edx
mov eax, esi
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, edx
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
xor eax, ecx
mov ecx, eax
add esi, dword [esp + 0x24]
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x20], ecx
lea eax, [ecx + edi]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x24]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [esp + 0x5c]
add esi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x34], ecx
lea eax, [ecx + edi]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, ebx
mov dword [esp + 0x14], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x10]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [esp + 0x30], eax
xor eax, ecx
mov ecx, eax
mov esi, dword [esp + 0x60]
shl eax, 8
add esi, dword [esp + 0x18]
shr ecx, 0x18
xor ebp, esi
or ecx, eax
mov dword [esp + 0x44], ecx
lea ebx, [ecx + edi]
mov edi, dword [esp + 0x80]
mov eax, ebx
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, ebp
shr ecx, 0x10
shl ebp, 0x10
or ecx, ebp
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x18]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [esp + 0x3c], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
lea ebp, [ecx + edi]
mov eax, ebp
xor eax, edx
mov edx, eax
shl eax, 7
shr edx, 0x19
or edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x14]
mov eax, edx
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
lea esi, [ecx + ebx]
mov eax, esi
xor eax, dword [esp + 0x14]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [edi + edx]
mov dword [esp + 0x54], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x90], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
xor eax, edi
ror eax, 0x19
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], eax
mov eax, ecx
xor eax, dword [esp + 0x20]
mov edx, eax
shr edx, 0x10
shl eax, 0x10
or edx, eax
lea esi, [edx + ebp]
mov eax, esi
xor eax, dword [esp + 0x10]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x58], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x84], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
xor eax, edi
ror eax, 0x19
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], eax
mov eax, ecx
xor eax, dword [esp + 0x34]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x18]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x5c], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x88], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x74], eax
xor eax, edi
ror eax, 0x19
mov dword [esp + 0x18], eax
mov dword [esp + 0x70], eax
mov eax, ecx
xor eax, dword [esp + 0x44]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x40]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x60], eax
xor eax, edx
mov ebx, eax
shl eax, 8
shr ebx, 0x18
or ebx, eax
lea eax, [ebx + esi]
mov dword [esp + 0x78], eax
mov edx, eax
mov ebp, dword [esp + 0x1c]
xor edx, edi
mov ecx, dword [esp + 0x20]
ror edx, 0x19
sub dword [esp + 0x28], 1
jne 0x538f03
mov esi, dword [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x4c]
pop edi
mov dword [esp + 0x88], ebx
mov eax, dword [edx + ecx*4]
add eax, dword [esp + ecx*4 + 0x50]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, 0x10
jl 0x5391f5
mov ecx, dword [esp + 0x90]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059d866
add esp, 0x88
ret