Function at 0x180003910
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 rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rsi, [rsp + 0x58]
mov ecx, 1
call fcn.18000e33c
mov rbx, rax
call fcn.180001c70
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call fcn.18001277c
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rax, rsp
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdx, qword [str.Backup_Monitor_Registry]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rax + 8], rbx
movups xmmword [rbp - 0x20], xmm0
mov qword [rax + 0x10], rsi
mov r8, 0xffffffffffffffff
movdqu xmmword [rbp - 0x10], xmm1
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180003950
lea rcx, [rbp - 0x20]
call fcn.180002180
mov r14, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
mov r15, qword [rbp - 8]
lea rbx, [rbp - 0x20]
mov rax, qword [rbp - 0x10]
xor r12d, r12d
cmp r15, 8
mov qword [rbp - 0x30], r12
xorps xmm0, xmm0
mov edx, 7
cmovae rcx, r14
mov qword [rbp - 0x28], rdx
cmovae rbx, r14
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x40], r12w
lea rsi, [rcx + rax*2]
cmp rbx, rsi
je 0x180003a17
mov qword [rsp + 0xa0], rdi
movzx edi, word [rbx]
movzx ecx, di
call fcn.18000e618
test eax, eax
jne 0x180003a02
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
cmp rcx, rdx
jae 0x1800039ee
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 0x180003a02
xor r8d, r8d
lea rcx, [rbp - 0x40]
movzx r9d, di
lea edx, [r8 + 1]
call fcn.180001fd0
add rbx, 2
cmp rbx, rsi
jne 0x1800039b1
mov rdx, qword [rbp - 0x28]
mov rdi, qword [rsp + 0xa0]
cmp rdx, 8
lea rcx, [rbp - 0x40]
lea rdx, [0x1800038b0]
cmovae rcx, qword [rbp - 0x40]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerExW]
mov rdx, qword [rbp - 0x28]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov qword [0x1806ddb70], rax
cmp rdx, 8
jb 0x180003a92
mov rcx, qword [rbp - 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003a86
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003b64
call fcn.18000798c
mov rax, qword [0x1806ddb70]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r12w
cmp r15, 8
jb 0x180003ae5
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180003ad6
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003b64
mov rcx, r14
call fcn.18000798c
mov rax, qword [0x1806ddb70]
test rax, rax
je 0x180003b52
lea rdx, [0x18003fc08]
mov dword [0x18003fc0c], 4
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x180003760]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x180003b44
lea rcx, str.Error:_Failed_to_create_thread._n
mov r12, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rbp
jmp 0x180001ce0
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r12, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rbp
ret
call fcn.180013068
int3