Function at 0x10011cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c18e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10026008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], edx
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 0
push 0x1001d9f3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.100017e0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x18]
mov ecx, eax
shr ecx, 1
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x1c]
lea ebx, [eax + 1]
shr ebx, 1
cmp ebx, ecx
ja 0x10011d86
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + ebx], 0
jmp 0x10011dc9
mov edx, dword [ebp - 0x18]
sub ebx, ecx
mov eax, edx
sub eax, ecx
cmp ebx, eax
ja 0x10011db7
cmp edx, 0x10
lea esi, [ebp - 0x2c]
push ebx
cmovae esi, dword [ebp - 0x2c]
lea eax, [ebx + ecx]
add esi, ecx
mov dword [ebp - 0x1c], eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x10011dc9
push ecx
push ebx
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x34]
push ebx
call fcn.10006320
xor edx, edx
xor ebx, ebx
cmp dword [ebp - 0x1c], edx
jbe 0x10011e6e
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
cmovae ecx, esi
setae byte [ebp - 0x11]
test byte [ecx + edx], 0x40
je 0x10011dff
cmp byte [ebp - 0x11], 0
cmovne eax, esi
mov cl, byte [eax + edx]
add cl, 9
jmp 0x10011e09
cmp byte [ebp - 0x11], 0
cmovne eax, esi
mov cl, byte [eax + edx]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
shl cl, 4
mov byte [eax + ebx], cl
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov esi, dword [ebp + 8]
cmovae ecx, esi
setae byte [ebp - 0x11]
test byte [ecx + edx + 1], 0x40
je 0x10011e45
cmp byte [ebp - 0x11], 0
cmovne eax, esi
mov cl, byte [eax + edx + 1]
add cl, 9
jmp 0x10011e50
cmp byte [ebp - 0x11], 0
cmovne eax, esi
mov cl, byte [eax + edx + 1]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
and cl, 0xf
add edx, 2
or byte [eax + ebx], cl
inc ebx
cmp ebx, dword [ebp - 0x1c]
jb 0x10011dd6
mov esi, dword [ebp - 0x30]
push esi
call fcn.1001a003
mov edx, dword [ebp - 0x2c]
add esp, 4
xor ecx, ecx
mov ebx, eax
test esi, esi
je 0x10011ea8
cmp dword [ebp - 0x18], 0x10
setae byte [ebp - 0x11]
nop dword [eax]
cmp byte [ebp - 0x11], 0
lea eax, [ebp - 0x2c]
cmovne eax, edx
mov al, byte [eax + ecx]
xor al, byte [ebp - 0x38]
mov byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jl 0x10011e90
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
xor esi, esi
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x30], esi
jbe 0x10011f07
xor eax, eax
nop word [eax + eax]
mov cl, byte [esi + ebx]
mov byte [ebp - 0x11], cl
cmp eax, dword [edi + 8]
je 0x10011ef2
mov byte [eax], cl
inc dword [edi + 4]
jmp 0x10011efe
lea ecx, [ebp - 0x11]
push ecx
push eax
mov ecx, edi
call fcn.10015720
mov eax, dword [edi + 4]
inc esi
cmp esi, dword [ebp - 0x30]
jl 0x10011ee0
push ebx
call fcn.10019ffe
mov eax, dword [ebp - 0x18]
add esp, 4
cmp eax, 0x10
jb 0x10011f42
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011f38
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011f68
push edx
push ecx
call fcn.10019c6a
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10011f78
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10011f6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011f6e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10019c6a
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019709
mov esp, ebp
pop ebp
ret