Function at 0x1401a3360
Capabilities:
Check os version
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 [0x1403eaa10]
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.14029a500
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr ax, 8
xor esi, esi
cmp ecx, 5
jne 0x1401a33e4
test al, al
lea ecx, [rsi + 1]
je 0x1401a33e6
mov ecx, esi
mov eax, esi
test cl, cl
setne al
add eax, 0x12f
movzx edx, ax
xor ecx, ecx
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1401a35cc
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 0x1401a35ca
xor r12d, r12d
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 0x1401a35c1
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 0x1401a35b8
cmp dword [rsp + 0x78], r14d
jne 0x1401a35b8
mov qword [rsp + 0x48], r12
lea edx, [r12 + 0x35]
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
lea edx, [r12 + 0x35]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.1400ecf50
mov rbx, rax
cmp dword [rsp + 0x48], r12d
jle 0x1401a350a
mov rcx, qword [rsp + 0x40]
call fcn.140298600
test rbx, rbx
je 0x1401a35b8
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, [0x14033ae08]
mov rcx, rbx
call fcn.1400d5970
mov edx, dword [rsp + 0x68]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1400c7710
lea rdx, [0x14033ae20]
lea rcx, [rsp + 0x50]
call fcn.1401e6fd0
mov edx, dword [rsp + 0x68]
dec edx
mov r8, rax
lea rcx, [rsp + 0x60]
call fcn.1400df510
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.1401a1ab0
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 0x1401a35b8
lea rbx, [rcx - 8]
lea r9, [fcn.140005d80]
mov r8d, dword [rbx]
mov edx, 0x10
call fcn.140298fa4
mov rcx, rbx
call fcn.1402983dc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
xor esi, esi
lea rcx, [r13 + 0xd8]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jle 0x1401a38d3
call fcn.1401a3af0
mov qword [rsp + 0x58], 0
mov edx, 0x27
lea rcx, [rsp + 0x50]
call fcn.1401e9030
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 0x27
lea r8, str.HKLMSYSTEMCurrentControlSetServices_
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
mov edx, 0x27
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
lea rdx, str.hitmanpro37duringboot
lea rcx, [rsp + 0x50]
call fcn.1401e7680
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x50]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x50]
call fcn.1401ea290
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.1400ecf50
mov r12, rax
test rax, rax
je 0x1401a38c2
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], esi
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
mov r14, rsi
mov qword [rsp + 0x70], rsi
test rdi, rdi
je 0x1401a36fe
mov ecx, 4
call fcn.14029806c
mov r14, rax
test rax, rax
je 0x1401a36ef
mov dword [rax], esi
mov qword [rsp + 0x70], rax
jmp 0x1401a36f7
mov r14, rsi
mov qword [rsp + 0x70], rsi
mov dword [r14], 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test al, al
je 0x1401a3749
nop word [rax + rax]
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.1401a2060
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1401187d0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test al, al
jne 0x1401a3710
mov qword [rsp + 0x48], 0
mov edx, 0x15
lea rcx, [rsp + 0x40]
call fcn.1401e9030
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0x15
lea r8, str.hitmanpro37duringboot
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
mov edx, 0x15
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
mov ecx, 0x20
call fcn.14029806c
mov rsi, rax
xor r13d, r13d
test rax, rax
je 0x1401a37b7
lea rax, [0x140323de0]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], r13
jmp 0x1401a37ba
mov rsi, r13
mov edx, dword [rsp + 0x4c]
lea rcx, [rsi + 0x10]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x4c]
lea rcx, [rsi + 0x10]
call fcn.1401ea290
cmp dword [rbp - 0x78], 0
jne 0x1401a3802
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov qword [rbp - 0x70], rsi
jmp 0x1401a3814
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 0x1401a382c
mov rcx, qword [rsp + 0x40]
call fcn.140298600
lea r8, [rbp - 0x80]
mov rcx, r12
call fcn.1401a1c20
test al, al
lea rcx, str.Success_r_n
jne 0x1401a384a
lea rcx, str.Failed__r_n
call fcn.1401a2060
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax]
nop
test r14, r14
je 0x1401a3886
mov eax, dword [r14]
test eax, eax
jle 0x1401a386f
dec eax
mov dword [r14], eax
cmp dword [r14], 0
jne 0x1401a3886
mov rcx, rdi
call fcn.1402012c0
mov rcx, r14
call fcn.1402012c0
nop
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x80], rax
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1401a38c2
nop word [rax + rax]
mov rdi, qword [rbx]
cmp dword [rbx + 0x18], 0
jle 0x1401a38b2
mov rcx, qword [rbx + 0x10]
call fcn.140298600
mov rcx, rbx
call fcn.1402012c0
mov rbx, rdi
test rdi, rdi
jne 0x1401a38a0
cmp dword [rsp + 0x58], 0
jle 0x1401a38d3
mov rcx, qword [rsp + 0x50]
call fcn.140298600
movzx eax, r15b
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140297ff0
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