Function at 0x1400250f8
Capabilities:
Encode data using xor
Get disk size
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov qword [rbp + 0x27], 0xfffffffffffffffe
xor ebx, ebx
cmp byte [0x14019ec11], bl
jne 0x140025188
mov r8d, dword [0x1401a3d80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x30c30c31
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 0x13
jne 0x14002517d
mov edx, ebx
mov r9d, 8
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, r8d
mov eax, edx
sar eax, 1
mov edx, ecx
xor edx, eax
dec r9
jne 0x140025150
add r8d, edx
inc ebx
cmp ebx, 0x100
jl 0x140025148
mov dword [0x1401a3d80], r8d
mov al, byte [0x1401a3d87]
jmp 0x14002546b
mov byte [0x14019ec11], bl
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000
lea rcx, [rbp - 0x19]
call fcn.1400020f8
nop
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lea rcx, [rbp - 0x11]
call fcn.1400020f8
nop
mov rax, qword [rbp - 0x19]
mov r8d, dword [rax - 0x10]
mov rax, qword [rbp - 0x11]
sub r8d, dword [rax - 0x10]
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x19]
call fcn.140018a98
nop
or esi, 0xffffffff
jmp 0x140025218
js 0x140025225
cmp word [rax], 0x30
jne 0x140025230
lea r8d, [rcx - 1]
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x7f]
call fcn.140018a98
nop
mov rdx, rax
lea rcx, [rbp + 0x7f]
call fcn.1400021c4
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140025218
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp + 0x7f]
mov ecx, dword [rax - 0x10]
test ecx, ecx
jne 0x1400251d3
jmp 0x140025230
mov ecx, 0x80070057
call fcn.14000187c
int3
mov rcx, qword [0x1401a5840]
test rcx, rcx
je 0x140025242
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SoftwareBrowserExten
lea rcx, [rbp - 1]
call fcn.1400020f8
nop
lea r8, str.sionsProxySettings_
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140018bf8
nop
lea r8, [rbp + 0x7f]
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.14000dac8
nop
lea rcx, [0x1401a5840]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
setne dil
mov rdx, qword [rbp + 0x1f]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400252c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400252e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400252ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
jne 0x140025408
mov dword [rbp + 0x77], ebx
mov dword [rbp + 0x67], ebx
mov dword [rbp + 0x6f], 4
lea rdx, str.UseLoc
lea rcx, [rbp + 0x17]
call fcn.1400020f8
nop
lea r8, str.alSettings
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140018bf8
nop
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x77]
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [0x1401a5840]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
setne dil
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140025388
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400253a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400253f8
mov ecx, dword [0x1401a3d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0xb21642c9
imul r8d
add edx, r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub r8d, edx
cmp r8d, 0xa
jne 0x140025408
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x140025408
cmp dword [rbp + 0x67], ebx
setne dil
mov byte [0x1401a3d87], dil
jmp 0x14002540b
mov dil, bl
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14002542a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140025449
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rbp - 0x19]
lea rdx, [rax - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140025468
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, dil
add rsp, 0x88
pop rdi
pop rsi
pop rbx
pop rbp
ret