Function at 0x102367b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10583760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, 1
push esi
push edi
mov dword [ebp - 0x28], ebx
mov esi, dword [ebx + 0x2c]
mov eax, esi
mov edi, dword [ebx + 0x28]
imul eax, edi
mov dword [ebp - 0x20], edi
cdq
push edx
push eax
call fcn.10229ce0
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1023699a
lea ecx, [esi - 1]
mov dword [ebp - 0x1c], ecx
cmp ecx, 1
jle 0x10236920
lea edx, [edi*8]
add eax, edi
lea esi, [edx + 8]
mov dword [ebp - 0x30], eax
lea ecx, [edi - 1]
mov dword [ebp - 0x3c], esi
mov edi, esi
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x1c]
dec esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], esi
nop dword [eax]
nop dword [eax + eax]
mov esi, 1
cmp ecx, esi
jle 0x10236901
lea eax, [edx - 8]
mov dword [ebp - 0x38], eax
mov edx, dword [ebx + 0x5858]
xorps xmm0, xmm0
add edx, edi
mov ecx, edx
sub ecx, dword [ebp - 0x24]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [edx]
shr ebx, 5
mov eax, dword [ecx - 8]
and ebx, 3
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [edx - 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [edx + 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + edx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + edx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + edx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
xor eax, eax
cmp dword [ebp + eax*4 - 0x14], 5
jge 0x102368e0
inc eax
cmp eax, 4
jl 0x102368d1
jmp 0x102368e2
mov ebx, eax
mov eax, dword [ebp - 0x30]
add edi, 8
mov ecx, dword [ebp - 0x20]
dec ecx
mov byte [eax + esi], bl
inc esi
mov ebx, dword [ebp - 0x28]
cmp esi, ecx
jl 0x10236843
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
add edi, edx
add eax, esi
mov dword [ebp - 0x2c], edi
sub dword [ebp - 0x18], 1
mov dword [ebp - 0x30], eax
jne 0x10236830
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
jmp 0x10236922
mov esi, edi
cmp ecx, 1
jle 0x10236992
lea edi, [eax + esi]
lea eax, [esi*8]
add eax, 8
lea ebx, [esi - 1]
dec ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
nop
mov edx, 1
cmp ebx, edx
jle 0x1023697c
mov esi, eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x28]
lea esi, [esi + 8]
mov ecx, dword [eax + 0x5858]
movzx eax, byte [edi + edx]
inc edx
shl eax, 5
xor eax, dword [ecx + esi - 8]
and eax, 0x60
xor dword [ecx + esi - 8], eax
cmp edx, ebx
jl 0x10236950
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
lea edx, [esi*8]
add edi, esi
add eax, edx
sub ecx, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
jne 0x10236940
mov ecx, dword [ebp - 0x34]
call fcn.10229d10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f6477
mov esp, ebp
pop ebp
ret