Function at 0x100fbca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x103b9004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xdc], 0x1039a384
mov dword [ebp - 0xd8], 1
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x100fbd38
mov eax, dword [ecx + 0x1c]
add ecx, 0xc
test eax, eax
je 0x100fbd38
lea edx, [ebp - 0xdc]
mov dword [ebp - 0xc0], 0
push edx
push ecx
push eax
lea eax, [ebp - 0xc0]
push eax
movzx eax, byte [ecx + 0xb]
push eax
call fcn.10089090
test eax, eax
je 0x100fbd38
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100fbd38
lea eax, [ebp - 0xbc]
push eax
call fcn.10089600
mov ebx, dword [ebp + 0x10]
lea edx, [ebp - 0x74]
mov eax, 1
mov esi, 0x102072a9
sub eax, edx
xor ecx, ecx
mov dword [ebp - 0xc4], eax
sub esi, ebx
mov eax, 2
sub eax, edx
mov dword [ebp - 0xd4], eax
mov eax, 3
sub eax, edx
mov dword [ebp - 0xc8], eax
nop
cmp ecx, ebx
jae 0x100fbd79
mov al, byte [edi + ecx]
jmp 0x100fbd7d
mov al, byte [esi + ecx - 1]
lea edx, [ebp - 0x74]
add edx, ecx
mov byte [edx], al
mov eax, dword [ebp - 0xc4]
add eax, edx
cmp eax, ebx
lea eax, [edi + 1]
jb 0x100fbd95
mov eax, esi
mov al, byte [ecx + eax]
mov byte [edx + 1], al
mov eax, dword [ebp - 0xd4]
add eax, edx
cmp eax, ebx
jae 0x100fbdad
mov al, byte [ecx + edi + 2]
jmp 0x100fbdb1
mov al, byte [esi + ecx + 1]
mov byte [edx + 2], al
mov eax, dword [ebp - 0xc8]
add eax, edx
cmp eax, ebx
jae 0x100fbdc6
mov al, byte [ecx + edi + 3]
jmp 0x100fbdca
mov al, byte [esi + ecx + 2]
add ecx, 4
mov byte [edx + 3], al
cmp ecx, 0x20
jb 0x100fbd70
lea eax, [ebp - 0x14]
mov esi, 0x20
push eax
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.100e5760
mov eax, dword [ebp - 0xcc]
lea ebx, [esi - 0x10]
add esp, 4
cmp dword [eax + 8], 3
jl 0x100fbe1a
lea esi, [ebx + 0x22]
nop dword [eax]
lea eax, [ebp - 0x14]
mov edx, ebx
push eax
mov ecx, eax
call fcn.100e5760
add esp, 4
sub esi, 1
jne 0x100fbe00
mov esi, 0x20
lea edi, [ebp - 0x34]
mov ecx, 4
mov eax, edi
mov dword [ebp - 0xc4], edi
and eax, 3
sub ecx, eax
cmp ecx, 0x20
cmova ecx, esi
sub esi, ecx
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je 0x100fbe5c
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebp - 0x34]
add edi, edx
mov dword [ebp - 0xc4], edi
mov edx, esi
shr edx, 2
test edx, edx
je 0x100fbe74
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc4]
lea edi, [edi + edx*4]
and esi, 3
je 0x100fbe8b
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [ebp + 0x14], ebx
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x34]
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x100fbed9
mov eax, edx
mov esi, ecx
or eax, esi
test al, 3
jne 0x100fbec8
mov eax, ebx
shr eax, 2
test eax, eax
je 0x100fbebe
mov edi, edx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x14]
lea ecx, [ecx + eax*4]
lea edx, [edx + eax*4]
and ebx, 3
je 0x100fbed9
push ebx
push ecx
push edx
jmp 0x100fbed1
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x100fbef6
mov esi, dword [eax + 4]
lea edx, [eax + 0xc]
cmp esi, 0x20
mov ecx, 0x20
cmovg esi, ecx
jmp 0x100fbefd
xor esi, esi
mov edx, 0x10202374
mov dword [ebp - 0xc4], esi
lea ecx, [ebp - 0xb8]
test esi, esi
je 0x100fbf56
mov eax, edx
mov edi, ecx
or eax, edi
test al, 3
jne 0x100fbf45
mov eax, esi
shr eax, 2
test eax, eax
je 0x100fbf39
mov ecx, eax
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc4]
lea ecx, [ebp - 0xb8]
shl eax, 2
add edx, eax
add ecx, eax
mov eax, esi
and eax, 3
je 0x100fbf56
push eax
push edx
push ecx
jmp 0x100fbf4e
push esi
push edx
lea eax, [ebp - 0xb8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xcc]
mov edi, dword [ebp + 0x14]
cmp dword [eax + 8], 2
jne 0x100fbf7f
lea eax, [ebp - 0x34]
mov edx, esi
push edi
push eax
lea ecx, [ebp - 0xb8]
call fcn.100e4d10
add esp, 8
jmp 0x100fc043
mov ebx, 0x13
mov edx, dword [eax + 0x40]
xor eax, eax
test edx, edx
jle 0x100fc01f
cmp edx, 0x40
jb 0x100fc005
mov ecx, edx
and ecx, 0x8000003f
jns 0x100fbfa5
dec ecx
or ecx, 0xffffffc0
inc ecx
mov esi, edx
sub esi, ecx
movsx ecx, bl
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x34]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x54], xmm0
movups xmm0, xmmword [ebp + eax - 0x24]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x44], xmm0
movups xmm0, xmmword [ebp + eax - 0x14]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x34], xmm0
movups xmm0, xmmword [ebp + eax - 4]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x24], xmm0
add eax, 0x40
cmp eax, esi
jl 0x100fbfc0
mov esi, dword [ebp - 0xc4]
cmp eax, edx
jge 0x100fc01f
nop dword [eax]
mov cl, byte [ebp + eax - 0x34]
xor cl, bl
mov byte [ebp + eax - 0x54], cl
inc eax
cmp eax, edx
jl 0x100fc010
lea eax, [ebp - 0x54]
mov edx, esi
push edi
push eax
lea ecx, [ebp - 0xb8]
call fcn.100e4d10
mov eax, dword [ebp - 0xcc]
add esp, 8
sub ebx, 1
jns 0x100fbf84
mov esi, 0x20
nop dword [eax + eax]
mov al, byte [esi + 0x102072a7]
cmp al, byte [ebp + esi - 0xb9]
jne 0x100fc064
sub esi, 1
jne 0x100fc050
test esi, esi
jle 0x100fc080
lea ecx, [esi + 0xd]
test ecx, ecx
je 0x100fc080
lea eax, [ecx - 1]
cmp eax, 0x7ffffffe
jbe 0x100fc0c2
mov byte [0], 0
mov ebx, dword [ebp - 0xd0]
mov dword [ebx], 0
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x100fc0ad
dec dword [ecx]
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx], 1
jge 0x100fc0ad
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret 0x10
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x100fc080
mov ebx, dword [ebp - 0xd0]
lea ecx, [eax + 0xc]
mov dword [eax + 8], esi
lea edx, [ebp - 0xb8]
mov dword [eax + 4], esi
mov dword [eax], 1
mov byte [eax + esi + 0xc], 0
push esi
mov dword [ebx], eax
call fcn.100a43b0
add esp, 4
jmp 0x100fc08c