Function at 0x10015616
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x10072fb6
call fcn.1003bd50
mov esi, ecx
mov al, byte [esi + 0x20]
mov dword [ebp - 0x58], 0xe10
push 0x3c
pop ecx
push 0x69
pop ebx
test al, al
je 0x100157ef
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x10015647
dec eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x24]
test edi, edi
js 0x100157e1
mov eax, edi
mov dword [ebp - 0x18], 0xf
cdq
idiv dword [ebp - 0x58]
push 0x3c
mov eax, edx
cdq
idiv ecx
mov ecx, eax
mov eax, edi
cdq
pop edi
idiv edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
push 0xa
pop edi
mov dword [ebp - 4], eax
push edx
push ecx
cmp ecx, edi
jae 0x100156e8
cmp edx, edi
mov edx, eax
jae 0x100156b4
mov cl, 0x4e
mov dword [ebp - 0x38], 0x2a6b7e4e
mov dword [ebp - 0x34], 0x2a6b7e74
mov byte [ebp - 0x30], al
xor cl, byte [ebp + edx - 0x37]
mov byte [ebp + edx - 0x37], cl
inc edx
cmp edx, 7
jae 0x100156ae
mov cl, byte [ebp - 0x38]
jmp 0x1001569b
mov byte [ebp - 0x30], 0
jmp 0x10015732
mov cl, 0xd
mov word [ebp - 0x38], 0x3d0d
mov byte [ebp - 0x36], 0x28
mov byte [ebp - 0x35], bl
mov word [ebp - 0x34], 0x2837
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], al
xor cl, byte [ebp + edx - 0x37]
mov byte [ebp + edx - 0x37], cl
inc edx
cmp edx, 6
jae 0x100156e2
mov cl, byte [ebp - 0x38]
jmp 0x100156cf
mov byte [ebp - 0x31], 0
jmp 0x10015732
mov ecx, eax
cmp edx, edi
jae 0x1001570d
mov dl, 0x3f
mov dword [ebp - 0x38], 0x55b1a3f
mov dword [ebp - 0x34], 0x5b1a0f
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 6
jae 0x100156e2
mov dl, byte [ebp - 0x38]
jmp 0x100156fe
mov dl, 0x52
mov dword [ebp - 0x38], 0x68367752
mov word [ebp - 0x34], 0x3677
mov byte [ebp - 0x32], al
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 5
jae 0x1001572e
mov dl, byte [ebp - 0x38]
jmp 0x1001571f
mov byte [ebp - 0x32], 0
sub esp, 0x18
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0x54]
push eax
call fcn.10003c37
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.10005f8b
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10004022
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
movaps xmm0, xmmword [0x10089ea0]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x26085e20
mov byte [ebp - 0x40], 0
mov al, byte [ebp + ecx - 0x53]
xor al, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x13
jb 0x10015785
sub esp, 0x18
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0x70]
push eax
call fcn.10003c37
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [esi + 8]
call fcn.1000dbc1
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.10004022
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.10004022
push 0x3c
pop ecx
cmp dword [esi + 0x24], 0
jg 0x100157ef
and dword [esi + 0x24], 0
mov byte [esi + 0x20], 0
mov al, byte [esi + 0x21]
test al, al
je 0x100159b0
movzx eax, word [esi + 0x28]
test ax, ax
jle 0x10015808
dec eax
mov word [esi + 0x28], ax
movzx edi, word [esi + 0x28]
mov eax, edi
test ax, ax
js 0x1001599f
cwde
cdq
idiv dword [ebp - 0x58]
push 0x3c
mov eax, edx
mov dword [ebp - 0x18], 0xf
cdq
idiv ecx
movzx ecx, ax
mov eax, edi
cwde
cdq
pop edi
idiv edi
movzx eax, dx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x2c], dl
push 0xa
pop edi
mov dword [ebp - 4], 2
push eax
push ecx
cmp cx, di
jae 0x100158ab
cmp ax, di
jae 0x10015880
xor ebx, ebx
mov dword [ebp - 0x38], 0x71302515
mov dl, 0x15
mov dword [ebp - 0x34], 0x7130252f
mov byte [ebp - 0x30], bl
mov ecx, ebx
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 7
jae 0x1001587b
mov dl, byte [ebp - 0x38]
jmp 0x1001586c
mov byte [ebp - 0x30], bl
jmp 0x100158f7
mov byte [ebp - 0x38], bl
mov ecx, edx
mov dword [ebp - 0x37], 0x530d4c59
mov word [ebp - 0x33], 0xd4c
mov byte [ebp - 0x31], dl
xor byte [ebp + ecx - 0x37], bl
inc ecx
cmp ecx, 6
jae 0x100158a4
mov bl, byte [ebp - 0x38]
jmp 0x10015895
xor ebx, ebx
mov byte [ebp - 0x31], bl
jmp 0x100158f7
xor ebx, ebx
mov ecx, ebx
cmp ax, di
jae 0x100158d3
mov dl, 0x60
mov dword [ebp - 0x38], 0x5a044560
mov dword [ebp - 0x34], 0x44550
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 6
jae 0x100158a6
mov dl, byte [ebp - 0x38]
jmp 0x100158c4
mov dl, 0x61
mov dword [ebp - 0x38], 0x5b054461
mov word [ebp - 0x34], 0x544
mov byte [ebp - 0x32], bl
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 5
jae 0x100158f4
mov dl, byte [ebp - 0x38]
jmp 0x100158e5
mov byte [ebp - 0x32], bl
sub esp, 0x18
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0x70]
push eax
call fcn.10003c37
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.10005f8b
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.10004022
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
movaps xmm0, xmmword [0x100894a0]
mov ecx, ebx
cmovae eax, dword [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x40166813
mov word [ebp - 0x40], 0x6e
mov al, byte [ebp + ecx - 0x53]
xor al, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x14
jb 0x1001594b
sub esp, 0x18
mov byte [ebp - 0x3f], bl
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0x70]
push eax
call fcn.10003c37
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.1000dbc1
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.10004022
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10004022
jmp 0x100159a1
xor ebx, ebx
cmp word [esi + 0x28], bx
jg 0x100159b0
xor eax, eax
mov byte [esi + 0x21], bl
mov word [esi + 0x28], ax
call fcn.1003bcfa
ret