Function at 0x1000df30
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100f6d60
mov eax, 0x14
call fcn.100011c0
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
je 0x100f6ea9
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
test esi, esi
je 0x100f6dad
mov ecx, dword [esp + 0x38]
test edi, edi
je 0x100f6dad
movzx eax, byte [ebp]
dec edi
xor byte [esi + ecx], al
inc ebp
movzx eax, byte [esi + ecx]
inc esi
mov byte [ebx], al
inc ebx
and esi, 0xf
jne 0x100f6d93
mov edx, dword [esp + 0x44]
cmp edi, 0x10
jb 0x100f6e54
mov ecx, dword [esp + 0x38]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x1c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x18]
jmp 0x100f6df4
mov ecx, dword [esp + 0x38]
push dword [esp + 0x34]
push ecx
push ecx
mov ecx, edx
call dword [section..00cfg]
mov eax, dword [esp + 0x50]
call eax
add esp, 0xc
cmp esi, 0x10
jae 0x100f6e36
mov ecx, dword [esp + 0x38]
mov edx, 0xf
sub edx, esi
add ecx, esi
shr edx, 2
inc edx
mov eax, dword [ecx + ebp]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
mov eax, dword [ecx - 4]
mov dword [ebx + ecx - 4], eax
sub edx, 1
jne 0x100f6e21
mov edx, dword [esp + 0x44]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x1c], 1
jne 0x100f6df0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test edi, edi
je 0x100f6fff
push dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, edx
push eax
push eax
call dword [section..00cfg]
mov eax, dword [esp + 0x50]
call eax
mov eax, dword [esp + 0x44]
add esp, 0xc
sub ebp, eax
sub ebx, eax
lea ecx, [esi + eax]
add esi, edi
movzx eax, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
movzx eax, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x100f6e84
mov eax, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edi
test esi, esi
je 0x100f6ef6
mov edx, dword [esp + 0x38]
nop dword [eax]
test ebx, ebx
je 0x100f6ef6
mov al, byte [esi + edx]
dec ebx
mov cl, byte [edi]
inc edi
xor al, cl
mov dword [esp + 0x10], edi
mov byte [ebp], al
inc ebp
mov byte [esi + edx], cl
inc esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
and esi, 0xf
jne 0x100f6ed0
mov edx, dword [esp + 0x44]
cmp ebx, 0x10
jb 0x100f6fae
mov ecx, dword [esp + 0x38]
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x1c], eax
mov eax, ebx
shr eax, 4
mov dword [esp + 0x20], eax
jmp 0x100f6f24
mov ecx, dword [esp + 0x38]
push dword [esp + 0x34]
push ecx
push ecx
mov ecx, edx
call dword [section..00cfg]
mov eax, dword [esp + 0x50]
call eax
add esp, 0xc
cmp esi, 0x10
jae 0x100f6f83
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
sub ebx, ebp
mov ebp, 0xf
add edi, esi
sub ebp, esi
mov esi, dword [esp + 0x1c]
shr ebp, 2
inc ebp
nop dword [eax + eax]
mov eax, dword [edi]
lea ecx, [esi + edi]
mov edx, dword [ecx + ebx]
lea edi, [edi + 4]
xor eax, edx
mov dword [ecx], eax
mov dword [edi - 4], edx
sub ebp, 1
jne 0x100f6f60
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
add dword [esp + 0x1c], 0x10
sub ebx, 0x10
mov edx, dword [esp + 0x44]
add ebp, 0x10
add edi, 0x10
mov dword [esp + 0x14], ebx
xor esi, esi
mov dword [esp + 0x18], ebp
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], edi
jne 0x100f6f20
test ebx, ebx
je 0x100f6fff
push dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, edx
push eax
push eax
call dword [section..00cfg]
mov eax, dword [esp + 0x50]
call eax
mov ecx, dword [esp + 0x44]
sub edi, ebp
add esp, 0xc
sub ebp, ecx
lea eax, [esi + ecx]
add esi, ebx
mov dword [esp + 0x1c], esi
mov esi, eax
mov dword [esp + 0x20], eax
mov al, byte [esi]
lea ecx, [esi + ebp]
mov dl, byte [ecx + edi]
lea esi, [esi + 1]
xor al, dl
mov byte [ecx], al
mov byte [esi - 1], dl
sub ebx, 1
jne 0x100f6fe4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret