Function at 0x1400038e0
Capabilities:
Create process on windows
Create service
Delete file
Enumerate services
Persist via windows service
Start service
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x140053080]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r13, rdx
mov rsi, rcx
xor ebx, ebx
mov r8d, 0x104
lea rdx, [rbp + 0x250]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rbx
lea rax, [rbp + 0x250]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140003953
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x90]
call fcn.140007a40
nop
lea rbx, [rbp + 0x90]
mov r14, qword [rbp + 0x90]
mov r15, qword [rbp + 0xa8]
cmp r15, 7
cmova rbx, r14
mov rdi, qword [rbp + 0xa0]
test rdi, rdi
je 0x140003a62
mov r12d, 0x100
mov r8d, r12d
xor edx, edx
lea rcx, [rbp + 0x150]
call fcn.14002ce10
lea rcx, [0x14004c09c]
lea rdx, [0x14004c0a0]
movzx eax, word [rcx]
cmp ax, r12w
jae 0x140003a15
movzx eax, al
mov byte [rbp + rax + 0x150], 1
add rcx, 2
cmp rcx, rdx
jne 0x1400039c3
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
movzx eax, word [r8]
cmp ax, r12w
jae 0x140003a0a
cmp byte [rbp + rax + 0x150], 0
jne 0x140003a5a
cmp r8, rbx
je 0x140003a62
sub r8, 2
jmp 0x1400039f6
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
nop dword [rax + rax]
mov ecx, 2
lea rax, [0x14004c09c]
movzx edx, word [r8]
cmp word [rax], dx
je 0x140003a5a
add rax, 2
sub rcx, 1
jne 0x140003a40
cmp r8, rbx
je 0x140003a62
sub r8, 2
jmp 0x140003a30
sub r8, rbx
sar r8, 1
jmp 0x140003a69
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp + 0x90]
cmp r15, 7
cmova rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140007a40
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x140003add
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ad8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004860
call fcn.14000cb5c
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbp + 0xa0], xmm0
movq r15, xmm0
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, r15
cmp rax, 1
jb 0x14000482a
lea r12, [rbp + 0x90]
movq rcx, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 7
cmova r12, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea r14, [r15 + 1]
mov ebx, 7
lea rdi, [rbp - 0x58]
cmp r14, rbx
jbe 0x140003bdf
mov rbx, r14
or rbx, 7
cmp rbx, rdx
jbe 0x140003ba7
mov rbx, rdx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003bd3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000483c
mov rcx, rax
call fcn.14000c810
test rax, rax
je 0x140004830
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140003bdb
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000483c
add rcx, rcx
jne 0x140003b72
xor edi, edi
jmp 0x140003bdb
call fcn.14000c810
mov rdi, rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call fcn.14002c770
mov word [rbx + rdi], 0x5c
xor r12d, r12d
mov word [rdi + r14*2], r12w
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140003c14
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x58]
call fcn.140009560
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r8d, 4
lea rdx, str..sys
lea rcx, [rbp - 0x38]
call fcn.140009560
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x140003cd3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004836
call fcn.14000cb5c
movdqa xmm0, xmmword [0x14004cc00]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140003d2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004842
call fcn.14000cb5c
movdqa xmm0, xmmword [0x14004cc00]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rcx, qword [rbp + 0x50]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140003d96
lea rdx, str.____Failed_to_create_driver_file
lea rcx, [0x140054460]
call fcn.140007440
mov rcx, rax
call fcn.140007700
xor bl, bl
jmp 0x14000426a
mov r8d, dword [r13 + 8]
sub r8d, dword [r13]
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xd0]
mov rdx, qword [r13]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.___Driver_file_created:
lea rcx, [0x140054460]
call fcn.140007440
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
call fcn.140009620
mov rcx, rax
call fcn.140007700
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140003e48
lea rdx, str.____Failed_to_open_Service_Control_Manager
lea rcx, [0x140054460]
call fcn.140007440
mov rcx, rax
call fcn.140007700
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor bl, bl
jmp 0x14000426a
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rax, qword [rbp + 0x50]
cmp qword [rsi + 0x18], 7
jbe 0x140003e65
mov r8, qword [rsi]
mov rdx, r8
jmp 0x140003e6b
mov rdx, rsi
mov r8, rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0xf01ff
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov r15, rax
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x140003f06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [0x140054460]
cmp eax, 0x431
jne 0x140003f4b
lea rdx, str.____Service_already_exists._Trying_to_open_it.
call fcn.140007440
mov rcx, rax
call fcn.140007700
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140003ef0
mov rdx, qword [rsi]
mov r8d, 0xf01ff
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r15, rax
mov qword [rbp - 0x80], rax
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140004804
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [0x140054460]
cmp eax, 0x420
jne 0x140003f79
lea rdx, str.____Service_is_already_running
call fcn.140007440
mov rcx, rax
call fcn.140007700
jmp 0x140004256
lea rdx, str.____Failed_to_create_service._Error:
call fcn.140007440
mov rcx, rax
mov edx, ebx
call fcn.140005310
mov rcx, rax
call fcn.140007700
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
jmp 0x14000426a
cmp ebx, 0xb7
jne 0x1400043b0
lea rdx, str.____Error_183:_Searching_for_existing_service_using_the_same_driver_file...
call fcn.140007440
mov rcx, rax
call fcn.140007700
mov dword [rbp + 0x28], r12d
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov r9d, 3
mov r8d, 0xb
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
xorps xmm0, xmm0
mov eax, dword [rbp + 0x28]
mov ebx, eax
movdqu xmmword [rbp + 0x70], xmm0
mov r13, r12
mov qword [rbp + 0x80], r12
test eax, eax
je 0x140004063
cmp rax, 0x1000
jb 0x14000402b
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x140004848
call fcn.14000c810
test rax, rax
je 0x14000484e
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x140004036
mov rcx, rbx
call fcn.14000c810
mov r12, rax
mov rdi, r12
mov qword [rsp + 0x78], r12
mov qword [rbp + 0x70], r12
lea r13, [r12 + rbx]
mov qword [rbp + 0x80], r13
mov r8, rbx
xor edx, edx
mov rcx, r12
call fcn.14002ce10
mov qword [rbp + 0x78], r13
mov eax, dword [rbp + 0x28]
jmp 0x14000406c
mov rdi, qword [rbp + 0x70]
mov qword [rsp + 0x78], rdi
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
xor edx, edx
mov r9d, 3
mov r8d, 0xb
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x14000421b
mov r15d, ebx
cmp dword [rbp + 0x48], ebx
jbe 0x140004217
nop
mov eax, r15d
imul rdx, rax, 0x38
mov r8d, 1
mov rdx, qword [rdx + r12]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
je 0x140004200
mov dword [rbp + 0x2c], ebx
lea r9, [rbp + 0x2c]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
xorps xmm0, xmm0
mov r8d, dword [rbp + 0x2c]
mov edi, r8d
movdqu xmmword [rbp + 0x30], xmm0
mov rsi, rbx
mov qword [rbp + 0x40], rbx
test r8d, r8d
je 0x140004174
cmp r8, 0x1000
jb 0x140004148
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x140004854
call fcn.14000c810
test rax, rax
je 0x14000485a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004153
mov rcx, rdi
call fcn.14000c810
mov rbx, rax
mov qword [rbp + 0x30], rbx
lea rsi, [rbx + rdi]
mov qword [rbp + 0x40], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14002ce10
mov qword [rbp + 0x38], rsi
mov r8d, dword [rbp + 0x2c]
lea r9, [rbp + 0x2c]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x1400041bc
lea r8, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova r8, qword [rbp + 0x50]
mov rax, qword [rbx + 0x10]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400041b4
add rax, 2
test ecx, ecx
jne 0x1400041a0
test edx, edx
je 0x14000432e
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
test rbx, rbx
je 0x1400041fe
sub rsi, rbx
cmp rsi, 0x1000
jb 0x1400041f3
add rsi, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x14000485a
mov rbx, rax
mov rdx, rsi
mov rcx, rbx
call fcn.14000cb5c
xor ebx, ebx
inc r15d
mov r14, qword [rsp + 0x70]
cmp r15d, dword [rbp + 0x48]
jb 0x1400040c0
mov rdi, qword [rsp + 0x78]
mov r15, qword [rbp - 0x80]
test rdi, rdi
je 0x140004253
sub r13, rdi
mov rax, rdi
cmp r13, 0x1000
jb 0x140004248
add r13, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000484e
mov rdx, r13
mov rcx, rdi
call fcn.14000cb5c
xor r12d, r12d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, 1
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x1400042aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004860
call fcn.14000cb5c
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r12w
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x140004301
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004824
call fcn.14000cb5c
movzx eax, bl
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.14000c7f0
mov rbx, qword [rsp + 0x5c0]
add rsp, 0x570
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, r15d
imul rdi, rax, 0x38
lea rdx, str.___Found_existing_service_using_the_same_driver_file:
lea rcx, [0x140054460]
call fcn.140007440
mov rcx, rax
mov rdx, qword [rdi + r12]
call fcn.140007440
mov rcx, rax
call fcn.140007700
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r15, r14
test rbx, rbx
je 0x1400043a1
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140004396
add rsi, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x14000485a
mov rbx, rax
mov rdx, rsi
mov rcx, rbx
call fcn.14000cb5c
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
jmp 0x14000421b
lea rdx, str.____Failed_to_start_service._Error:
call fcn.140007440
mov rcx, rax
mov edx, ebx
call fcn.140005310
mov rcx, rax
call fcn.140007700
mov r8, rsi
lea rdx, str.sc.exe_create
lea rcx, [rbp + 8]
call fcn.140007790
nop
mov r8d, 9
lea rdx, str._binPath
mov rcx, rax
call fcn.140009560
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140009560
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r8d, 0xc
lea rdx, str._typekernel
lea rcx, [rbp - 0x18]
call fcn.140009560
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x1400044fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004866
call fcn.14000cb5c
movdqa xmm0, xmmword [0x14004cc00]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140004555
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004548
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000486c
call fcn.14000cb5c
movdqa xmm0, xmmword [0x14004cc00]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x1400045a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000459a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004872
call fcn.14000cb5c
movdqa xmm0, xmmword [0x14004cc00]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
mov r8, rsi
lea rdx, str.sc.exe_start
lea rcx, [rbp + 0xb0]
call fcn.140007790
nop
mov dword [rbp + 0xe0], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
movups xmmword [rbp + 0x118], xmm0
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140004688
lea rdx, str.____Failed_to_execute_command:
lea rcx, [0x140054460]
call fcn.140007440
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
mov rcx, rax
call fcn.140009620
mov rcx, rax
call fcn.140007700
jmp 0x14000469c
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova rdx, qword [rbp + 0xb0]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140004731
lea rdx, str.____Failed_to_execute_command:
lea rcx, [0x140054460]
call fcn.140007440
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
mov rcx, rax
call fcn.140009620
mov rcx, rax
call fcn.140007700
jmp 0x140004745
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x14000479e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004878
call fcn.14000cb5c
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r12w
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x140004268
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000487e
call fcn.14000cb5c
jmp 0x140004268
lea rdx, str.___Driver_service_started_successfully
lea rcx, [0x140054460]
call fcn.140007440
mov rcx, rax
call fcn.140007700
jmp 0x140004256
call fcn.140014eb8
nop
call fcn.1400021a0
int3
call fcn.140014eb8
nop
call fcn.140014eb8
nop
call fcn.140002100
nop
call fcn.140014eb8
int3
call fcn.140002100
int3
call fcn.140014eb8
nop
call fcn.140002100
int3
call fcn.140014eb8
nop
call fcn.140014eb8
nop
call fcn.140014eb8
nop
call fcn.140014eb8
nop
call fcn.140014eb8
int3
call fcn.140014eb8
nop
call fcn.140014eb8
int3