Function at 0x27052b16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
pop edi
push edi
mov esi, ecx
lea eax, [ebp - 0x44]
push 0
lea ebx, [esi + 4]
push eax
mov dword [ebp - 0x68], ebx
call sub.msvcrt.dll_memset
push 0x110
push 0
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0x18
sub eax, 0x80
push 4
pop ebx
je 0x27052b7b
sub eax, edi
je 0x27052b70
sub eax, edi
je 0x27052b70
push 0xffffffffffffffdc
pop eax
jmp 0x270530c2
mov dword [esi], ebx
mov dword [ebp - 0x64], 1
jmp 0x27052b85
and dword [ebp - 0x64], 0
mov dword [esi], 3
mov eax, dword [ebp + 0xc]
shr eax, 3
test eax, eax
jbe 0x27052b9f
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp + 0xc], 0xc0
jne 0x27052bba
xor eax, eax
mov cl, byte [ebp + eax - 0x34]
not cl
mov byte [ebp + eax - 0x2c], cl
inc eax
cmp eax, 8
jb 0x27052baa
xor eax, eax
lea ecx, [eax + 0x27098889]
movzx edx, byte [ecx - 1]
movzx esi, byte [ecx]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 1]
movzx ecx, byte [ecx + 2]
shl edx, 8
or edx, esi
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x2709888c]
mov dword [ebp + eax - 0xdc], edx
movzx edx, byte [eax + 0x2709888d]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 0x2709888e]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 0x2709888f]
shl ecx, 8
or ecx, edx
mov dword [ebp + eax - 0xd8], ecx
add eax, 8
cmp eax, 0x30
jb 0x27052bbc
push edi
lea eax, [ebp - 0xac]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor ecx, ecx
lea eax, [ebp + ecx - 0x43]
movzx edx, byte [eax - 1]
movzx esi, byte [eax]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 1]
movzx eax, byte [eax + 2]
shl edx, 8
or edx, esi
shl edx, 8
or edx, eax
mov dword [ebp + ecx - 0xac], edx
add ecx, ebx
cmp ecx, 0x20
jb 0x27052c35
xor eax, eax
mov ecx, dword [ebp + eax*4 - 0x9c]
xor ecx, dword [ebp + eax*4 - 0xac]
inc eax
mov dword [ebp + eax*4 - 0x90], ecx
cmp eax, ebx
jb 0x27052c67
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xdc]
lea edx, [ebp - 0x8c]
call fcn.27052a25
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xd4]
lea edx, [ebp - 0x84]
call fcn.27052a25
pop ecx
pop ecx
xor ecx, ecx
mov edx, dword [ebp + ecx*4 - 0xac]
lea eax, [ebp + ecx*4 - 0x8c]
xor dword [eax], edx
inc ecx
cmp ecx, ebx
jb 0x27052cb5
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xcc]
lea edx, [ebp - 0x8c]
call fcn.27052a25
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc4]
lea edx, [ebp - 0x84]
call fcn.27052a25
cmp dword [ebp + 0xc], 0x80
pop ecx
pop ecx
jbe 0x27052d44
xor eax, eax
mov ecx, dword [ebp + eax*4 - 0x8c]
xor ecx, dword [ebp + eax*4 - 0x9c]
inc eax
mov dword [ebp + eax*4 - 0x80], ecx
cmp eax, ebx
jb 0x27052d07
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xbc]
lea edx, [ebp - 0x7c]
call fcn.27052a25
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xb4]
lea edx, [ebp - 0x74]
call fcn.27052a25
pop ecx
pop ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xa0]
shl ecx, 4
mov dword [ebp - 0x48], eax
lea eax, [ecx + 0x27098cb8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x60], ecx
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x5c]
cmp byte [edx], 0
je 0x27052de5
mov edx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
and edx, 0x1f
push 0x20
pop esi
sub esi, edx
mov ecx, esi
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax - 4], edi
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x50]
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax], edi
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
shr edi, cl
mov ecx, edx
shl esi, cl
mov ecx, dword [ebp - 0x60]
xor edi, esi
mov dword [eax + 8], edi
add dword [ebp - 0x58], 0xf
inc dword [ebp - 0x5c]
add eax, 0x10
cmp dword [ebp - 0x58], 0x3c
jbe 0x27052d84
mov esi, dword [ebp - 0x64]
xor eax, eax
imul esi, esi, 0x50
mov dword [ebp - 0x6c], esi
mov dl, byte [esi + eax + 0x27098cd8]
cmp dl, 0xff
je 0x27052e19
mov edi, dword [ebp + eax*4 - 0x54]
mov ebx, dword [ebp - 0x68]
movsx edx, dl
mov dword [ebx + edx*4], edi
inc eax
cmp eax, 0x14
jb 0x27052e00
cmp dword [ebp + 0xc], 0x80
jbe 0x27052ef8
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
lea eax, [ecx + 0x27098cbc]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0xf
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x5c]
cmp byte [edx], 0
je 0x27052ec7
mov edx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
and edx, 0x1f
push 0x20
pop esi
sub esi, edx
mov ecx, esi
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax - 4], edi
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x50]
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax], edi
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
shr edi, cl
mov ecx, edx
shl esi, cl
mov ecx, dword [ebp - 0x60]
xor edi, esi
mov esi, dword [ebp - 0x6c]
mov dword [eax + 8], edi
add dword [ebp - 0x58], 0xf
inc dword [ebp - 0x5c]
add eax, 0x10
cmp dword [ebp - 0x58], 0x3c
jbe 0x27052e63
xor eax, eax
mov dl, byte [esi + eax + 0x27098cec]
cmp dl, 0xff
je 0x27052ef2
mov edi, dword [ebp + eax*4 - 0x54]
mov ebx, dword [ebp - 0x68]
movsx edx, dl
mov dword [ebx + edx*4], edi
inc eax
cmp eax, 0x14
jb 0x27052ed9
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x48], eax
lea eax, [ecx + 0x27098cc0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0xf
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x5c]
cmp byte [edx], 0
je 0x27052f90
mov edx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
and edx, 0x1f
push 0x20
pop esi
sub esi, edx
mov ecx, esi
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax - 4], edi
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x50]
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax], edi
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
shr edi, cl
mov ecx, edx
shl esi, cl
mov ecx, dword [ebp - 0x60]
xor edi, esi
mov esi, dword [ebp - 0x6c]
mov dword [eax + 8], edi
add dword [ebp - 0x58], 0xf
inc dword [ebp - 0x5c]
add eax, 0x10
cmp dword [ebp - 0x58], 0x3c
jbe 0x27052f2c
xor eax, eax
mov dl, byte [esi + eax + 0x27098d00]
cmp dl, 0xff
je 0x27052fbb
mov edi, dword [ebp + eax*4 - 0x54]
mov ebx, dword [ebp - 0x68]
movsx edx, dl
mov dword [ebx + edx*4], edi
inc eax
cmp eax, 0x14
jb 0x27052fa2
cmp dword [ebp + 0xc], 0x80
jbe 0x2705308c
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x70]
lea ecx, [ecx + 0x27098cc4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x60], ecx
lea eax, [ebp - 0x40]
cmp byte [ecx], 0
je 0x27053057
mov edx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
and edx, 0x1f
push 0x20
pop esi
sub esi, edx
mov ecx, esi
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax - 4], edi
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x50]
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax], edi
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
shr edi, cl
mov ecx, edx
shl ebx, cl
mov ecx, esi
xor edi, ebx
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
shr edi, cl
mov ecx, edx
shl esi, cl
xor edi, esi
mov esi, dword [ebp - 0x6c]
mov dword [eax + 8], edi
mov ecx, dword [ebp - 0x60]
add dword [ebp - 0x58], 0xf
inc ecx
add eax, 0x10
cmp dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x60], ecx
jbe 0x27052ff9
xor eax, eax
mov cl, byte [esi + eax + 0x27098d14]
cmp cl, 0xff
je 0x27053086
mov edx, dword [ebp + eax*4 - 0x54]
mov edi, dword [ebp - 0x68]
movsx ecx, cl
mov dword [edi + ecx*4], edx
inc eax
cmp eax, 0x14
jb 0x2705306d
mov edx, dword [ebp - 0x64]
xor eax, eax
imul edx, edx, 0x14
lea edx, [edx + 0x27098d78]
mov cl, byte [edx + eax]
cmp cl, 0xff
je 0x270530ba
mov edi, dword [ebp - 0x64]
imul edi, edi, 0xc
movsx esi, cl
mov ecx, dword [ebp - 0x68]
mov esi, dword [ecx + esi*4]
add edi, eax
mov dword [ecx + edi*4 + 0x80], esi
inc eax
cmp eax, 0x14
jb 0x2705309a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret