Function at 0x10007f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a0ae
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10027008]
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 - 0x30], edx
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 0xc]
sub ebx, dword [ebp + 8]
push ebx
call fcn.10018d53
add esp, 4
mov edx, eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
test ebx, ebx
jle 0x10007f81
nop
mov eax, dword [ebp + 8]
mov al, byte [eax + ecx]
xor al, byte [ebp - 0x30]
mov byte [ecx + edx], al
inc ecx
cmp ecx, ebx
jl 0x10007f70
push 0
push 0x1001d9f3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10001d80
mov byte [ebp - 4], 2
add ebx, ebx
mov ecx, dword [ebp - 0x18]
cmp ebx, ecx
ja 0x10007fc6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ebx], 0
jmp 0x10008009
mov edx, dword [ebp - 0x14]
sub ebx, ecx
mov eax, edx
sub eax, ecx
cmp ebx, eax
ja 0x10007ff7
cmp edx, 0x10
lea esi, [ebp - 0x28]
push ebx
cmovae esi, dword [ebp - 0x28]
lea eax, [ecx + ebx]
add esi, ecx
mov dword [ebp - 0x18], eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x10008009
push ecx
push ebx
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push ebx
call fcn.10006440
mov ebx, dword [ebp - 0x2c]
xor esi, esi
movzx edx, byte [ebx]
cmp dword [ebp - 0x18], esi
jbe 0x10008074
mov ecx, edx
cmp edx, 0x9f
jbe 0x1000802b
shr ecx, 4
sub ecx, 9
or ecx, 0x40
jmp 0x10008034
or ecx, 0x300
shr ecx, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
and edx, 0xf
mov byte [eax + esi], cl
cmp edx, 9
jbe 0x10008052
add edx, 0xfffffff7
or edx, 0x40
jmp 0x10008055
or edx, 0x30
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi + 1], dl
add esi, 2
mov eax, esi
shr eax, 1
movzx edx, byte [eax + ebx]
cmp esi, dword [ebp - 0x18]
jb 0x10008016
push 0
push 0x1001d9f3
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10001d80
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov dword [ebp - 0x34], 1
cmp eax, 1
jb 0x100080ca
lea eax, [ecx + 1]
mov edx, edi
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x100080bb
mov edx, dword [edi]
mov al, byte [0x1001e204]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x100080e1
push 1
push 0x1001e204
mov byte [ebp - 0x2c], 0
mov ecx, edi
push dword [ebp - 0x2c]
push 1
call fcn.100065a0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10005880
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x10008119
lea eax, [ecx + 1]
mov edx, edi
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x1000810a
mov edx, dword [edi]
mov al, byte [0x1001e204]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x10008130
push 1
push 0x1001e204
mov byte [ebp - 0x2c], 0
mov ecx, edi
push dword [ebp - 0x2c]
push 1
call fcn.100065a0
push ebx
call fcn.10018d4e
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x10008169
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000815f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000818f
push ecx
push edx
call fcn.100189ba
add esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000819f
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10008195
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008195
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100189ba
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.10018459
mov esp, ebp
pop ebp
ret