Function at 0x10015828
Capabilities:
Encode data using xor

Disassembly:
push 0x48
mov eax, 0x10023419
call fcn.100215d1
mov ebx, ecx
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x29], 0
jmp 0x10015a6d
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10015a6a
mov ecx, eax
call fcn.100065ba
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10015974
lea eax, [ebp - 0x33]
mov word [ebp - 0x34], 0x63
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x33], 0
call fcn.10004090
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.100065da
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100158a2
cmp dword [eax + 0x40], 0
je 0x100158a2
push dword [ebp - 0x38]
xor edx, edx
push eax
jmp 0x100158aa
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
push 0
lea ecx, [ebp - 0x54]
call fcn.10006655
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10006dde
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10003f3c
movzx ecx, byte [ebp - 0x29]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x1001595f
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.10006e84
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4]
mov dword [eax + 0x60], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + edx*4]
mov dword [eax + 0x64], ecx
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
mov dword [eax + 0x68], 1
mov eax, ecx
mov ecx, dword [ebp - 0x30]
test eax, eax
je 0x1001592c
movsx eax, word [eax + 0x4e]
mov dword [ebp - 0x3c], eax
movsx eax, word [ecx + 0x5e]
mov ecx, dword [ebp - 0x3c]
add ecx, eax
jmp 0x10015930
movsx ecx, word [ecx + 0x5e]
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x1001595f
lea edx, [ebp - 0x28]
call fcn.100090a0
mov eax, dword [ebx + 8]
mov dl, 1
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
call fcn.10009004
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10003f3c
jmp 0x10015a67
movzx ecx, byte [ebp - 0x29]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x30], ecx
cmp dword [eax + ecx*4], 0
je 0x10015a67
movaps xmm0, xmmword [0x1002a4d0]
xor edx, edx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x359485f
mov dword [ebp - 0x14], 0x595549
mov cl, byte [ebp - 0x28]
xor byte [ebp + edx - 0x27], cl
inc edx
cmp edx, 0x16
jb 0x100159a3
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.10004090
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 2
mov eax, dword [ebx + 8]
mov ecx, dword [eax + ecx*4]
add ecx, 4
call fcn.10006e84
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.10003f3c
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x10015a67
movaps xmm0, xmmword [str.a4__b]
xor edx, edx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x4f150413
mov dword [ebp - 0x14], 0x151905
mov cl, byte [ebp - 0x28]
xor byte [ebp + edx - 0x27], cl
inc edx
cmp edx, 0x16
jb 0x10015a11
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.10004090
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 8]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
call fcn.100090a0
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.10003f3c
mov eax, dword [ebx + 8]
xor dl, dl
mov ecx, dword [ebp - 0x30]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
call fcn.10009004
inc byte [ebp - 0x29]
add esi, 4
cmp esi, edi
jne 0x10015849
mov ecx, dword [ebx]
call fcn.10009073
test al, al
jne 0x10015ab5
mov eax, dword [0x10031088]
test eax, eax
je 0x10015aac
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x10015aac
mov ecx, dword [ecx]
call fcn.10008f65
mov ecx, dword [ebx]
add edx, 0xffffff4c
push edx
lea edx, [eax + 0x208]
call fcn.10008fda
pop ecx
mov ecx, dword [ebx]
mov dl, 1
call fcn.10009004
lea ecx, [ebp + 8]
call fcn.1000fa61
call fcn.1002157b
ret 0xc