Function at 0x1401b4800
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r13, rcx
xor r15b, r15b
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._bootdelete.exe
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.1402bbbd8
mov edx, 0x12f
xor ecx, ecx
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
xor r12d, r12d
test rax, rax
je 0x1401b4a43
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rsi, rsi
je 0x1401b4a43
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f01ff
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1401b4a3a
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x78]
mov r8d, r14d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401b4a31
cmp dword [rsp + 0x78], r14d
jne 0x1401b4a31
mov qword [rsp + 0x48], r12
lea edx, [r12 + 0x35]
lea rcx, [rsp + 0x40]
call fcn.1401ff260
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r9d, [r12 + 0x35]
lea r8, str.HKLMSYSTEMCurrentControlSetControlSession_Manager
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
lea edx, [r12 + 0x35]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.1400ec370
mov rbx, rax
cmp dword [rsp + 0x48], r12d
jle 0x1401b4983
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
test rbx, rbx
je 0x1401b4a31
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x70], r12
lea r8, [rsp + 0x60]
lea rdx, [0x140361808]
mov rcx, rbx
call fcn.1400d8da0
mov edx, dword [rsp + 0x68]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1400c7e30
lea rdx, [0x1403617f0]
lea rcx, [rsp + 0x50]
call fcn.1401fd200
mov edx, dword [rsp + 0x68]
dec edx
mov r8, rax
lea rcx, [rsp + 0x60]
call fcn.1400e2960
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.1401b2f40
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov r15b, 1
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401b4a31
lea rbx, [rcx - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
call fcn.1402ba5c4
mov rcx, rbx
call fcn.1402b99fc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [r13 + 0xd8]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jle 0x1401b4d3a
call fcn.1401b4f50
mov qword [rsp + 0x58], r12
mov edx, 0x27
lea rcx, [rsp + 0x50]
call fcn.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 0x27
lea r8, str.HKLMSYSTEMCurrentControlSetServices_
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, 0x27
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea rdx, str.hitmanpro37duringboot
lea rcx, [rsp + 0x50]
call fcn.1401fd8b0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x50]
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x50]
call fcn.140200570
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.1400ec370
mov r12, rax
test rax, rax
je 0x1401b4d29
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rcx, [r13 + 0xd0]
mov rax, qword [rcx]
call qword [rax]
mov rdi, rax
lea rax, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
xor r13d, r13d
mov r14d, r13d
mov qword [rsp + 0x70], r13
test rdi, rdi
je 0x1401b4b78
lea ecx, [r13 + 4]
call fcn.1402b968c
mov r14, rax
test rax, rax
je 0x1401b4b69
mov dword [rax], r13d
mov qword [rsp + 0x70], rax
jmp 0x1401b4b71
mov r14, r13
mov qword [rsp + 0x70], r13
mov dword [r14], 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test al, al
je 0x1401b4bbd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rdx, qword [rax]
lea rcx, str.Disable_driver:__s_r_n
call fcn.1401b34f0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140118cc0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test al, al
jne 0x1401b4b84
mov qword [rsp + 0x48], r13
mov edx, 0x15
lea rcx, [rsp + 0x40]
call fcn.1401ff260
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0x15
lea r8, str.hitmanpro37duringboot
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, 0x15
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
mov ecx, 0x20
call fcn.1402b968c
mov rsi, rax
test rax, rax
je 0x1401b4c24
lea rax, [0x140348ca0]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], r13
jmp 0x1401b4c27
mov rsi, r13
mov edx, dword [rsp + 0x4c]
lea rcx, [rsi + 0x10]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x4c]
mov eax, dword [rsi + 0x18]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsi + 0x10]
call fcn.1402bd21c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsi + 0x10]
call fcn.140200570
cmp dword [rbp - 0x78], 0
jne 0x1401b4c6f
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov qword [rbp - 0x70], rsi
jmp 0x1401b4c81
mov rax, qword [rbp - 0x68]
mov qword [rax], rsi
mov qword [rsi], r13
mov rax, qword [rbp - 0x68]
mov qword [rsi + 8], rax
mov qword [rbp - 0x68], rsi
inc dword [rbp - 0x78]
cmp dword [rsp + 0x48], 0
jle 0x1401b4c99
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
lea r8, [rbp - 0x80]
mov rcx, r12
call fcn.1401b30b0
test al, al
lea rcx, str.Success_r_n
jne 0x1401b4cb7
lea rcx, str.Failed__r_n
call fcn.1401b34f0
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax]
nop
test r14, r14
je 0x1401b4cf3
mov eax, dword [r14]
test eax, eax
jle 0x1401b4cdc
dec eax
mov dword [r14], eax
cmp dword [r14], 0
jne 0x1401b4cf3
mov rcx, rdi
call fcn.1402177e0
mov rcx, r14
call fcn.1402177e0
nop
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x80], rax
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1401b4d29
mov rdi, qword [rbx]
cmp dword [rbx + 0x18], 0
jle 0x1401b4d19
mov rcx, qword [rbx + 0x10]
call fcn.1402b9c20
mov rcx, rbx
call fcn.1402177e0
mov rbx, rdi
test rdi, rdi
jne 0x1401b4d07
cmp dword [rsp + 0x58], 0
jle 0x1401b4d3a
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
movzx eax, r15b
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret