Function at 0x1000c6a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
push 0x110
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], SysStringLen
mov dword [ebp - 4], edi
call fcn.1000ac58
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x1000c6dc
xor eax, eax
jmp 0x1000c974
mov dword [esi + 0x108], ebx
push ebx
lea ebx, [ebp - 0x64]
call fcn.100114df
mov al, byte [ebp - 0x64]
sub al, 0x61
pop ecx
cmp al, 0x19
ja 0x1000c6fb
add byte [ebp - 0x64], 0xe0
jmp 0x1000c701
mov al, byte [ebp - 0x64]
mov byte [ebp - 0x64], al
mov eax, 0x4a9
call fcn.10012cb7
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], edi
je 0x1000c841
mov eax, dword [0x10039720]
mov eax, dword [eax + 0x110]
push dword [eax]
mov eax, dword [0x1003974c]
push dword [ebp + 0xc]
call dword [eax + 0x64]
test eax, eax
jne 0x1000c841
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [0x1003974c]
mov ebx, SysStringLen
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], ebx
call dword [eax + 0x20]
cmp dword [ebp - 8], edi
je 0x1000c8a9
push edi
push dword [ebp - 0xc]
mov esi, 0x1002c11c
push esi
push dword [ebp - 8]
call fcn.1000b367
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x1000c8e5
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push edi
push eax
mov eax, dword [0x1003974c]
push ebx
call dword [eax + 0x14]
test eax, eax
je 0x1000c801
push 0x8fc
call fcn.10012cce
push edi
push eax
push 0x10022ad0
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.1000b60a
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.1000ba86
push dword [ebp - 8]
call fcn.1000b550
add esp, 0x1c
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push eax
mov eax, dword [0x1003974c]
push ebx
call dword [eax + 0x2c]
test eax, eax
jne 0x1000c7e6
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x1000c7e6
mov dword [eax], 1
lea eax, [ebp - 0x10]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
lea eax, [ebp - 4]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
add esp, 0x10
jmp 0x1000c80c
push dword [ebp - 0x20]
mov eax, dword [0x1003974c]
call dword [eax + 0x1c]
push edi
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0xc]
push esi
push dword [ebp - 8]
call fcn.1000b367
add esp, 0x18
push dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [0x10039740]
call dword [eax + 0x34]
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.1000ab81
mov esi, dword [ebp - 0x18]
pop ecx
pop ecx
jmp 0x1000c8a9
mov eax, dword [0x10039720]
cmp dword [eax + 0x214], 3
jne 0x1000c891
mov dword [ebp - 0x10], edi
mov eax, dword [eax + 0x110]
lea ecx, [ebp - 0x10]
push ecx
push dword [eax]
mov eax, dword [0x1003974c]
mov dword [ebp - 0x14], SysStringLen
call dword [eax + 0x20]
cmp dword [ebp - 0x10], edi
je 0x1000c8a9
push edi
lea eax, [ebp - 0x64]
push eax
mov esi, 0x1002c11c
push esi
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x10]
call fcn.1000b367
mov esi, dword [ebp - 0x18]
add esp, 0x18
jmp 0x1000c8a6
push edi
lea eax, [ebp - 0x64]
push eax
push 0x1002c11c
push dword [ebp - 0xc]
call fcn.1000b367
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
call fcn.1000b9f4
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x1003974c]
push 0x20019
push edi
push dword [ebp - 4]
push ebx
call dword [eax + 0x14]
test eax, eax
je 0x1000c920
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
mov eax, dword [0x1003974c]
push ebx
mov dword [ebp - 0x14], edi
call dword [eax + 0x24]
test eax, eax
je 0x1000c912
lea eax, [ebp - 0x18]
push 0x110
push eax
call fcn.1000ab81
push 0x40
lea eax, [ebp - 0x64]
push edi
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 4]
push 0xffffffffffffffff
push eax
call fcn.1000ab81
add esp, 0x1c
jmp 0x1000c6d5
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x1000c91b
mov dword [eax], edi
push dword [ebp - 0x14]
jmp 0x1000c930
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x1000c92d
mov dword [eax], 1
push dword [ebp - 0x1c]
mov eax, dword [0x1003974c]
call dword [eax + 0x1c]
mov edx, dword [ebp - 4]
push edx
mov dword [esi + 0x10c], ebx
call fcn.1000acd6
pop ecx
xor ecx, ecx
mov dword [esi], eax
cmp eax, edi
jbe 0x1000c965
mov eax, ecx
and eax, 3
mov al, byte [ebp + eax + 0x10]
xor al, byte [ecx + edx]
inc ecx
mov byte [esi + ecx + 3], al
cmp ecx, dword [esi]
jb 0x1000c950
lea eax, [ebp - 4]
push 0xffffffffffffffff
push eax
call fcn.1000ab81
pop ecx
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret