Function at 0x100c0d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031a0f3
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
mov eax, dword fs:[0x2c]
mov edx, dword [0x104c14e0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10611a2c]
cmp eax, dword [edx + 4]
jg 0x100c0de3
mov eax, dword [0x106118c8]
add eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
ret
push 0x10611a2c
call fcn.102bba07
add esp, 4
cmp dword [0x10611a2c], 0xffffffff
jne 0x100c0dc0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
push 0x23
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x48], 1
call fcn.1001a120
mov esi, 0x103f63f0
jmp 0x100c0e31
mov al, byte [esi]
lea ecx, [ebp - 0x40]
xor al, 0xa5
mov byte [ebp - 0x44], al
push dword [ebp - 0x44]
call fcn.1001a280
add esi, 2
cmp esi, 0x103f6432
jne 0x100c0e31
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmovae eax, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], eax
test esi, esi
je 0x100c0f20
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100c0f20
sub edx, dword [ebp - 0x44]
cmp edx, 0xffffffff
je 0x100c0f20
jmp 0x100c0e90
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
setae cl
cmovae eax, edi
add eax, edx
test cl, cl
lea edx, [ebp - 0x40]
mov ecx, esi
je 0x100c0ebb
sub eax, edi
mov edi, 1
sub ecx, eax
cmp ecx, edi
cmovb edi, ecx
mov ecx, dword [ebp - 0x48]
jmp 0x100c0ece
sub eax, edx
mov edi, 1
sub ecx, eax
cmp ecx, edi
cmovb edi, ecx
lea ecx, [ebp - 0x40]
jmp 0x100c0ece
lea edx, [ecx + eax]
sub esi, edi
mov ecx, esi
sub ecx, eax
lea eax, [edx + edi]
inc ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x40]
lea eax, [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x48], edi
cmovae eax, edi
mov dword [ebp - 0x44], eax
test esi, esi
je 0x100c0f20
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100c0f20
sub edx, dword [ebp - 0x44]
cmp edx, 0xffffffff
jne 0x100c0e90
jmp 0x100c0f20
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, edi
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
push 0xd
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x48], 3
call fcn.1001a120
mov esi, 0x103f6434
jmp 0x100c0f62
mov al, byte [esi]
lea ecx, [ebp - 0x28]
xor al, 0xa5
movzx eax, al
push eax
call fcn.1001a280
add esi, 2
cmp esi, 0x103f644a
jne 0x100c0f62
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmovae esi, dword [ebp - 0x28]
test edi, edi
je 0x100c1029
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100c1029
sub ecx, esi
cmp ecx, 0xffffffff
je 0x100c1029
jmp 0x100c0fb2
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
mov edx, 1
cmovae esi, dword [ebp - 0x28]
add esi, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
sub edi, edx
add ecx, esi
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
test edi, edi
je 0x100c1029
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100c1029
sub ecx, esi
cmp ecx, 0xffffffff
jne 0x100c0fb2
jmp 0x100c1029
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10171b70
mov ecx, dword [ebp - 0x14]
mov dword [0x106118c8], eax
cmp ecx, 0x10
jb 0x100c1078
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c106c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c10b2
jmp 0x100c106c
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x100c1078
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x100c10c4
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c10b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c10b8
jmp 0x100c10b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x100c10c4
push 0x10611a2c
call fcn.102bb9b6
add esp, 4
jmp 0x100c0dc0