Function at 0x140010c80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [str.NvcServiceHost._]
lea rax, str.Service_host:
mov rdi, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 8]
lea rdx, [rbp - 0x28]
mov r9d, 4
mov dword [rbp - 0x18], 0x707063
mov r8d, 0x1f9
movdqu xmmword [rbp - 0x28], xmm0
call fcn.140016af0
lea rax, [rdi + 0x608]
cmp qword [rax + 0x18], 8
jb 0x140010ce8
mov rax, qword [rax]
cmp word [rax], 0
mov qword [rsp + 0x78], rbx
jne 0x140010d40
movdqa xmm0, xmmword [str.NvcServiceHost._]
lea rbx, str.Service_host:_service_registration_failed
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 0x28]
mov r9d, 1
mov qword [rsp + 0x20], rbx
mov r8d, 0x1ff
mov dword [rbp - 0x18], 0x707063
movdqu xmmword [rbp - 0x28], xmm0
call fcn.140016af0
mov rdx, rbx
mov ecx, 0x14
call fcn.140007fe0
xor al, al
jmp 0x140010f5f
xor ebx, ebx
mov qword [rsp + 0x80], rsi
mov rcx, rdi
mov dword [rdi + 0x5e4], 4
mov dword [rdi + 0x5f8], ebx
mov dword [rdi + 0x5e8], 5
lea edx, [rbx + 3]
call fcn.140010b80
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [0x1400d5670]
test al, al
je 0x140010e34
mov qword [rsp + 0x28], rbx
lea r8, [0x140011190]
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movdqa xmm0, xmmword [str.NvcServiceHost._]
mov qword [rdi + 0x630], rax
mov dword [rbp - 0x18], 0x707063
movdqu xmmword [rbp - 0x28], xmm0
test rax, rax
jne 0x140010e0f
mov rbx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rsi, str.Service_host:_failed_to_create_ServiceConfigThread._Error__u
mov r9d, 1
mov qword [rsp + 0x20], rsi
mov r8d, 0x214
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140016af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
mov ecx, 0x11
mov r8d, eax
call fcn.140007fe0
jmp 0x140010e34
mov rcx, qword [rdi + 8]
lea rax, str.Service_host:_Created_ServiceConfigThread
mov r9d, 3
mov qword [rsp + 0x20], rax
mov r8d, 0x218
lea rdx, [rbp - 0x28]
call fcn.140016af0
cmp qword [rdi + 0x148], 0
je 0x140010e4e
call fcn.140012760
mov rcx, qword [rdi + 0x148]
mov qword [rcx + 0x18], rax
mov rcx, rdi
call fcn.140008250
movzx esi, al
test al, al
je 0x140010f53
cmp qword [rdi + 0x148], 0
je 0x140010e8f
mov rbx, qword [rdi + 0x148]
call fcn.140012760
sub eax, dword [rbx + 0x18]
lea rcx, [rbp - 0x30]
add rbx, 8
mov dword [rbp - 0x30], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
mov rcx, rdi
call fcn.140007ac0
mov rcx, rdi
call fcn.1400066e0
mov edx, 3
mov dword [rdi + 0x5e4], 3
mov rcx, rdi
mov dword [rdi + 0x5f8], 0x7530
movzx esi, al
mov dword [rdi + 0x5e8], 5
call fcn.140010b80
test sil, sil
je 0x140010f16
mov rax, qword [rdi + 0x148]
test rax, rax
je 0x140010f16
call fcn.140012760
mov rcx, qword [rdi + 0x148]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x148]
test rax, rax
je 0x140010f16
call fcn.140012760
mov rcx, qword [rdi + 0x148]
xor edx, edx
mov qword [rcx + 0x20], rax
mov rcx, rdi
call fcn.140008460
jmp 0x140010f25
xor edx, edx
mov rcx, rdi
call fcn.140008460
test sil, sil
je 0x140010f53
cmp qword [rdi + 0x148], 0
je 0x140010f53
mov rbx, qword [rdi + 0x148]
call fcn.140012760
sub eax, dword [rbx + 0x18]
lea rcx, [rbp - 0x30]
add rbx, 0xc
mov dword [rbp - 0x30], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
movzx eax, sil
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140069d50
mov rdi, qword [rsp + 0x88]
add rsp, 0x60
pop rbp
ret