Function at 0x18000dd00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x38
mov ecx, 1
lea rdi, [rsp + 0x58]
call fcn.18001e850
mov rbx, rax
call fcn.1800020d0
mov r8, qword [rsp + 0x50]
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
call fcn.18001d534
add rsp, 0x38
pop rdi
pop rbx
ret
mov rax, rsp
mov qword [rax + 0x20], rsi
push rbp
push r12
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdx, qword [str.Window_Drivers_Explorer]
xor r12d, r12d
mov qword [rax + 8], rbx
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
mov qword [rax + 0x18], r14
mov qword [rbp - 8], 7
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x18000dd40
lea rcx, [rbp - 0x20]
call fcn.180009230
mov rsi, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
mov r15, qword [rbp - 8]
lea rbx, [rbp - 0x20]
mov rax, qword [rbp - 0x10]
cmp r15, 8
mov rdx, r12
mov qword [rbp - 0x30], r12
cmovae rcx, rsi
mov qword [rbp - 0x40], rdx
cmovae rbx, rsi
mov r8d, 7
mov qword [rbp - 0x28], r8
lea r14, [rcx + rax*2]
cmp rbx, r14
je 0x18000de03
mov qword [rsp + 0x98], rdi
nop dword [rax]
movzx edi, word [rbx]
movzx ecx, di
call fcn.18001ff5c
test eax, eax
jne 0x18000ddea
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
cmp rcx, rdx
jae 0x18000dddd
lea rax, [rcx + 1]
cmp rdx, 8
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x40]
cmovae rax, qword [rbp - 0x40]
mov word [rax + rcx*2], di
mov word [rax + rcx*2 + 2], r12w
jmp 0x18000ddea
movzx r9d, di
lea rcx, [rbp - 0x40]
call fcn.18000a440
add rbx, 2
cmp rbx, r14
jne 0x18000dda0
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x40]
mov rdi, qword [rsp + 0x98]
cmp r8, 8
lea rcx, [rbp - 0x40]
cmovae rcx, rdx
xor r8d, r8d
lea rdx, [0x18000dca0]
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerExW]
mov rdx, qword [rbp - 0x28]
mov r14, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
mov qword [0x180595948], rax
cmp rdx, 8
jb 0x18000de7d
mov rcx, qword [rbp - 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000de71
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000df4f
call fcn.18000e2f8
mov rax, qword [0x180595948]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r12w
cmp r15, 8
jb 0x18000ded0
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18000dec1
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000df4f
mov rcx, rsi
call fcn.18000e2f8
mov rax, qword [0x180595948]
test rax, rax
je 0x18000df3d
lea rdx, [0x180050e98]
mov dword [0x180050e9c], 4
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x18000d6f0]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x18000df2f
lea rcx, str.Error:_Failed_to_create_thread._n
mov rsi, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r12
pop rbp
jmp 0x18000d6a0
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rsi, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r12
pop rbp
ret
call fcn.18001e6b8
int3