Function at 0x36626fbe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x3663a11c]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
jmp 0x36626fee
mov esi, dword [eax + 0x4c]
cmp esi, 8
jae 0x36626ff3
mov edx, dword [ebp + 0xc]
mov dl, byte [edx]
mov byte [esi + eax + 0x44], dl
inc dword [eax + 0x4c]
inc dword [ebp + 0xc]
dec dword [ecx]
cmp dword [ecx], 0
jne 0x36626fd5
cmp dword [eax + 0x4c], 8
jb 0x366273f3
mov ecx, dword [ecx]
shr ecx, 3
push ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
mov esi, dword [eax + 0x44]
xor esi, dword [eax + 0x5c]
push edi
mov edi, dword [eax + 0x48]
xor edi, dword [eax + 0x60]
xor ecx, edi
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx ebx, byte [ebp + 0xa]
xor edx, dword [ebx*4 + 0x36606e88]
movzx ebx, ch
xor edx, dword [ebx*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 4]
xor esi, edx
xor ecx, esi
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx ebx, byte [ebp + 0xa]
xor edx, dword [ebx*4 + 0x36606e88]
movzx ebx, ch
xor edx, dword [ebx*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 8]
xor edi, edx
xor ecx, edi
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx ebx, byte [ebp + 0xa]
xor edx, dword [ebx*4 + 0x36606e88]
movzx ebx, ch
xor edx, dword [ebx*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0xc]
xor esi, edx
xor ecx, esi
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx ebx, byte [ebp + 0xa]
xor edx, dword [ebx*4 + 0x36606e88]
movzx ebx, ch
xor edx, dword [ebx*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0x10]
xor edi, edx
xor ecx, edi
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx ebx, byte [ebp + 0xa]
xor edx, dword [ebx*4 + 0x36606e88]
movzx ebx, ch
xor edx, dword [ebx*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0x14]
xor esi, edx
xor ecx, esi
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
movzx ebx, byte [ebp + 0xa]
mov edx, dword [edx*4 + 0x36607288]
xor edx, dword [ebx*4 + 0x36606e88]
movzx ebx, ch
xor edx, dword [ebx*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
xor edi, edx
mov ecx, dword [eax + 0x18]
xor ecx, edi
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx ebx, byte [ebp + 0xa]
xor edx, dword [ebx*4 + 0x36606e88]
movzx ebx, ch
xor edx, dword [ebx*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0x1c]
xor esi, edx
xor ecx, esi
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx ebx, byte [ebp + 0xa]
xor edx, dword [ebx*4 + 0x36606e88]
movzx ebx, ch
xor edx, dword [ebx*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov dword [ebp - 8], esi
xor edx, edi
mov edi, dword [ebp + 0x10]
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x10]
mov dword [edi], edx
add edi, 8
test esi, esi
mov dword [ebp - 0xc], edx
je 0x366273be
mov edx, dword [ebp + 0xc]
mov ecx, edx
lea ebx, [ebp - 0xc]
lea edx, [edx + esi*8]
sub ecx, ebx
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], edx
jmp 0x366271e6
mov ecx, dword [ebp - 0x10]
xor edx, edx
lea esi, [ebp + edx - 0xc]
mov bl, byte [ecx + esi]
xor byte [esi], bl
inc edx
cmp edx, 8
jb 0x366271e8
add ecx, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
xor ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx esi, byte [ebp + 0xa]
xor edx, dword [esi*4 + 0x36606e88]
movzx esi, ch
xor edx, dword [esi*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 4]
xor ebx, edx
xor ecx, ebx
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx esi, byte [ebp + 0xa]
xor edx, dword [esi*4 + 0x36606e88]
movzx esi, ch
xor edx, dword [esi*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 8]
xor dword [ebp - 8], edx
xor ecx, dword [ebp - 8]
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx esi, byte [ebp + 0xa]
xor edx, dword [esi*4 + 0x36606e88]
movzx esi, ch
xor edx, dword [esi*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0xc]
xor ebx, edx
xor ecx, ebx
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx esi, byte [ebp + 0xa]
xor edx, dword [esi*4 + 0x36606e88]
movzx esi, ch
xor edx, dword [esi*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0x10]
xor dword [ebp - 8], edx
xor ecx, dword [ebp - 8]
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx esi, byte [ebp + 0xa]
xor edx, dword [esi*4 + 0x36606e88]
movzx esi, ch
xor edx, dword [esi*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0x14]
xor ebx, edx
xor ecx, ebx
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
movzx esi, byte [ebp + 0xa]
mov edx, dword [edx*4 + 0x36607288]
xor edx, dword [esi*4 + 0x36606e88]
movzx esi, ch
xor edx, dword [esi*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0x18]
xor dword [ebp - 8], edx
xor ecx, dword [ebp - 8]
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
movzx esi, byte [ebp + 0xa]
mov edx, dword [edx*4 + 0x36607288]
xor edx, dword [esi*4 + 0x36606e88]
movzx esi, ch
xor edx, dword [esi*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
mov ecx, dword [eax + 0x1c]
xor ebx, edx
xor ecx, ebx
mov dword [ebp + 8], ecx
movzx edx, byte [ebp + 0xb]
mov edx, dword [edx*4 + 0x36607288]
movzx esi, byte [ebp + 0xa]
xor edx, dword [esi*4 + 0x36606e88]
movzx esi, ch
xor edx, dword [esi*4 + 0x36606a88]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x36606688]
xor edx, dword [ebp - 8]
mov dword [ebp - 8], ebx
mov dword [edi], edx
mov dword [edi + 4], ebx
add edi, 8
dec dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
jne 0x366271e3
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov esi, dword [ebp + 0xc]
and ecx, 7
mov dword [eax + 0x4c], ecx
mov ebx, ecx
shr ecx, 2
lea edi, [eax + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x60], ecx
push 8
pop ecx
sub ecx, dword [eax + 0x4c]
mov dword [eax + 0x5c], edx
mov eax, dword [ebp + 0x14]
add dword [eax], ecx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
call fcn.3662acac
leave
ret 0x10