Function at 0x1400236e0
Capabilities:
Create process on windows
Modify service
Start service

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x340
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rbp, rdx
mov r13, rcx
mov qword [rsp + 0x68], rdx
xor dil, dil
xor ebx, ebx
cmp dword [rcx + 4], 1
jne 0x140023869
call fcn.140012570
test eax, eax
je 0x14002376d
mov rcx, qword [rbp]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov esi, eax
test eax, eax
jns 0x14002375d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400239a8
test esi, esi
jne 0x1400239a8
mov dil, 1
jmp 0x140023935
mov word [rsp + 0x120], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x122]
call fcn.140024c30
mov r8d, 0x104
lea rdx, [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.140024c30
mov dword [rsp + 0xa0], 0x70
mov dword [rsp + 0xa4], 0x440
mov qword [rsp + 0xa8], rbx
lea rax, str.runas
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0xb8], rax
lea rax, str._InstallDriver
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rbx
mov dword [rsp + 0xd0], ebx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
or edx, 0xffffffff
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x60], bl
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x18]
movzx ebx, byte [rsp + 0x60]
mov rcx, qword [rbp]
test rcx, rcx
je 0x140023862
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov al, bl
jmp 0x140023b2b
call fcn.140012570
test eax, eax
je 0x140023a31
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r12, rax
test rax, rax
je 0x1400239a8
mov r8d, 0x12
lea rdx, str.KuaiZipDrive
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x1400239a8
cmp dword [r13 + 4], 2
jne 0x14002390a
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
mov r8d, 2
or edx, r9d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
setne dil
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x14002391e
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
setne dil
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test dil, dil
je 0x1400239a8
mov qword [rsp + 0x90], 0xf
mov qword [rsp + 0x88], rbx
mov byte [rsp + 0x78], bl
mov r8d, 0x14
lea rdx, str.driver.repairsucceed
lea rcx, [rsp + 0x70]
call fcn.14000e390
nop
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], 1
mov r9b, 1
movzx r8d, r9b
movzx edx, r9b
lea rcx, [rsp + 0x70]
call fcn.14003fec0
nop
cmp qword [rsp + 0x90], 0x10
jb 0x140023a1a
mov rcx, qword [rsp + 0x78]
call fcn.140024b60
jmp 0x140023a1a
mov qword [rsp + 0x90], 0xf
mov qword [rsp + 0x88], rbx
mov byte [rsp + 0x78], bl
mov r8d, 0x13
lea rdx, str.driver.repairfailed
lea rcx, [rsp + 0x70]
call fcn.14000e390
nop
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], 1
mov r9b, 1
movzx r8d, r9b
movzx edx, r9b
lea rcx, [rsp + 0x70]
call fcn.14003fec0
nop
cmp qword [rsp + 0x90], 0x10
jb 0x140023a1a
mov rcx, qword [rsp + 0x78]
call fcn.140024b60
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x140023a29
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov al, dil
jmp 0x140023b2b
mov word [rsp + 0x120], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x122]
call fcn.140024c30
mov r8d, 0x104
lea rdx, [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.140024c30
mov dword [rsp + 0xa0], 0x70
mov dword [rsp + 0xa4], 0x440
mov qword [rsp + 0xa8], rbx
lea rax, str.runas
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0xb8], rax
lea rax, str._RepairDriver
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rbx
mov dword [rsp + 0xd0], ebx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
or edx, 0xffffffff
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x68], 1
sete bl
mov rcx, qword [rbp]
test rcx, rcx
je 0x140023b29
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov al, bl
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.140025960
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret