Function at 0x1010c830
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x208
call fcn.1018f810
mov eax, dword [0x1028dc74]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
mov ebx, dword [esp + 0x22c]
push ebp
mov ebp, dword [esp + 0x21c]
push esi
mov esi, dword [esp + 0x218]
push edi
mov edi, dword [esp + 0x230]
push edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 1
call fcn.100d2020
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
js 0x1010cbb3
lea eax, [esp + 0x104]
push eax
call fcn.1011dce0
add esp, 4
test esi, esi
jne 0x1010c8a5
xor ecx, ecx
jmp 0x1010c8bf
mov ecx, dword [esp + 0x220]
cmp ecx, 0xffffffff
jne 0x1010c8bf
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c8b6
sub ecx, edx
push 0
push edi
push ecx
lea eax, [esp + 0x110]
push esi
push eax
call fcn.1011ddf0
add esp, 0x14
test eax, eax
je 0x1010cba3
mov ecx, dword [esp + 0x234]
test ecx, ecx
je 0x1010cb70
mov esi, dword [esp + 0x18]
mov edx, 1
cmp ecx, esi
mov byte [esp + 0x13], dl
mov edi, ecx
mov eax, edx
cmovg edi, esi
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x12], al
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], edi
push eax
call fcn.1011dc70
add esp, 8
test eax, eax
je 0x1010cba3
push dword [esp + 0x228]
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.1011e000
add esp, 0xc
test eax, eax
je 0x1010cb87
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.1011e000
add esp, 0xc
test eax, eax
je 0x1010cb87
push 0
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.1011dd40
add esp, 0xc
test eax, eax
je 0x1010cb87
lea eax, [esp + 0x34]
push eax
call fcn.1011dc40
push edi
lea eax, [esp + 0x1dc]
push eax
push ebx
call fcn.101a6860
mov ebp, 1
add esp, 0x10
mov dword [esp + 0x14], ebp
cmp dword [esp + 0x22c], ebp
jle 0x1010cb45
nop word [eax + eax]
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1011dc70
add esp, 8
test eax, eax
je 0x1010cba3
push esi
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.1011e000
add esp, 0xc
test eax, eax
je 0x1010cb87
push 0
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.1011dd40
add esp, 0xc
test eax, eax
je 0x1010cb87
lea eax, [esp + 0x34]
push eax
call fcn.1011dc40
add esp, 4
xor ecx, ecx
test edi, edi
jle 0x1010cb2f
cmp edi, 0x40
jb 0x1010cb0d
lea edx, [ebx - 1]
lea eax, [esp + edi + 0x1d3]
add edx, edi
cmp ebx, eax
ja 0x1010ca69
lea eax, [esp + 0x1d4]
cmp edx, eax
jae 0x1010cb0d
mov eax, edi
and eax, 0x8000003f
jns 0x1010ca77
dec eax
or eax, 0xffffffc0
inc eax
mov edx, edi
lea esi, [esp + 0x1d4]
lea edi, [esp + 0x1f4]
sub edx, eax
sub edi, ebx
lea ebp, [esp + 0x1e4]
mov dword [esp + 0x24], edi
sub esi, ebx
sub ebp, ebx
lea edi, [esp + 0x204]
sub edi, ebx
mov eax, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], edi
nop dword [eax]
movups xmm0, xmmword [eax]
mov edi, dword [esp + 0x28]
add ecx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edi + eax - 0x40]
mov edi, dword [esp + 0x2c]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x1010cab0
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
cmp ecx, edi
jge 0x1010cb2f
lea esi, [esp + 0x1d4]
mov edx, edi
sub esi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x1010cb21
mov esi, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, dword [esp + 0x22c]
jl 0x1010c9d0
mov ecx, dword [esp + 0x234]
add ebx, edi
mov edx, dword [esp + 0x1c]
sub ecx, edi
mov ebp, dword [esp + 0x30]
inc edx
mov dword [esp + 0x234], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
test ecx, ecx
jne 0x1010c8f4
lea eax, [esp + 0x104]
push eax
call fcn.1011dc40
add esp, 4
mov eax, 1
jmp 0x1010cbb5
lea eax, [esp + 0x104]
push eax
call fcn.1011dc40
lea eax, [esp + 0x38]
push eax
call fcn.1011dc40
add esp, 8
jmp 0x1010cbb3
lea eax, [esp + 0x104]
push eax
call fcn.1011dc40
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1018ea37
add esp, 0x208
ret