Function at 0x1400344d0
Capabilities:
Create thread

Disassembly:
jmp 0x1400344d0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rsp
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov r9d, dword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.14000b750
nop
mov rax, qword [rsp + 0x60]
lea rcx, vtable.nvc::ServiceHost.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x778], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x800], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x808], 0
lea rax, str.Service_host
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0x25
lea rdx, [0x140166ac0]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140001970
mov rax, qword [rsp + 0x60]
add rax, 0x758
mov r8d, 0x1c
xor edx, edx
mov rcx, rax
call fcn.140009320
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x758], 0x10
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x800], rax
mov rax, qword [rsp + 0x60]
add rax, 0x780
mov r8, qword [rsp + 0x68]
mov edx, 0x40
mov rcx, rax
call fcn.1400053c0
mov edx, 0x200
mov rcx, qword [rsp + 0x60]
call fcn.140004110
movzx eax, al
test eax, eax
je 0x140034615
mov ecx, 4
call fcn.140002e20
mov edx, 0x100
mov rcx, qword [rsp + 0x60]
call fcn.140004110
movzx eax, al
test eax, eax
je 0x140034635
mov ecx, 4
call fcn.140002e20
mov rax, qword [rsp + 0x60]
mov qword [0x1401b3e10], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140008960]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400346e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, [0x140166b18]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x42
lea rdx, [0x140166b50]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140001970
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Service_host:_failed_to_create_ServiceThread._Error__u
mov ecx, 0x11
call fcn.140007d00
mov rax, qword [rsp + 0x60]
add rax, 0x780
mov r8d, 0x80
xor edx, edx
mov rcx, rax
call fcn.140009320
jmp 0x1400346ec
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x800], 0
je 0x14003474d
mov edx, 0x2710
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x800]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, str.Service_host:_wait_completed_with__u
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, 0x56
lea rdx, [0x140166c10]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140001970
jmp 0x14003478b
lea rax, [0x140166c68]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x5c
lea rdx, [0x140166c80]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140001970
lea rdx, str.Service_host_failed
mov ecx, 0x12
call fcn.140007d00
mov rcx, qword [rsp + 0x60]
call fcn.14000e080
nop
mov rax, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret