Function at 0x140002d20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14000d008]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, r8
movzx r12d, dl
mov r15d, ecx
mov qword [rbp - 0x30], rbx
mov edx, 0x208
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
movups xmm1, xmmword [str..pipe_]
mov edx, dword [0x140008ba0]
movups xmm2, xmmword [str.pipe_srvsvc]
movsd xmm0, qword [0x140008bd8]
movsd qword [rbp - 0x18], xmm0
movzx ecx, word [0x140008be0]
mov word [rbp - 0x10], cx
movd eax, xmm1
mov word [rdi], ax
pextrw eax, xmm1, 1
mov word [rdi + 2], ax
pextrw eax, xmm1, 2
mov word [rdi + 4], ax
pextrw eax, xmm1, 3
mov word [rdi + 6], ax
pextrw eax, xmm1, 4
mov word [rdi + 8], ax
pextrw eax, xmm1, 5
mov word [rdi + 0xa], ax
pextrw eax, xmm1, 6
mov word [rdi + 0xc], ax
pextrw eax, xmm1, 7
mov word [rdi + 0xe], ax
mov word [rdi + 0x10], dx
mov r9d, 9
xor r13d, r13d
mov r8d, r13d
cmp qword [rbx + 0x10], r8
jbe 0x140002e20
mov ecx, r13d
lea rdx, [rdi + 0x12]
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140002e02
mov rax, qword [rbx]
movzx eax, word [rcx + rax]
mov word [rdx], ax
inc r9d
add rdx, 2
inc r8d
add rcx, 2
movsxd rax, r8d
cmp rax, qword [rbx + 0x10]
jb 0x140002df5
movsxd rcx, r9d
movd eax, xmm2
mov word [rdi + rcx*2], ax
pextrw eax, xmm2, 1
mov word [rdi + rcx*2 + 2], ax
pextrw eax, xmm2, 2
mov word [rdi + rcx*2 + 4], ax
pextrw eax, xmm2, 3
mov word [rdi + rcx*2 + 6], ax
pextrw eax, xmm2, 4
mov word [rdi + rcx*2 + 8], ax
pextrw eax, xmm2, 5
mov word [rdi + rcx*2 + 0xa], ax
pextrw eax, xmm2, 6
mov word [rdi + rcx*2 + 0xc], ax
pextrw eax, xmm2, 7
mov word [rdi + rcx*2 + 0xe], ax
movzx eax, word [rbp - 0x18]
mov word [rdi + rcx*2 + 0x10], ax
movzx eax, word [rbp - 0x16]
mov word [rdi + rcx*2 + 0x12], ax
movzx eax, word [rbp - 0x14]
mov word [rdi + rcx*2 + 0x14], ax
movzx eax, word [rbp - 0x12]
mov word [rdi + rcx*2 + 0x16], ax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x140003f50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, str.__pi_pe_se_rv_er_cre_a_thr_launch_a_srvr_pi_pe_listen_on_nmd_pi_pe
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004ae0
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140004cb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp - 0x40], r13
mov dword [rbp - 0x28], 0x63006e
mov dword [rbp - 0x24], 0x6c0061
mov dword [rbp - 0x20], 0x700072
mov dword [rbp - 0x1c], 0x63
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x28]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
mov edi, eax
test eax, eax
je 0x140002f63
lea rdx, str.___err_occurred_during_binding
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004ae0
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140004cb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140002fb3
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
mov edi, eax
test eax, eax
je 0x14000304f
lea rdx, str.___err_occurred_during_binding
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004ae0
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140004cb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x40]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea rdx, str.___err_occur_in_rp_cb_in_d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004ae0
mov rcx, rax
lea rdx, [0x140004cb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140003012
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000300d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003048
mov rcx, r8
call fcn.1400064b8
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400060f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov edi, eax
test eax, eax
je 0x14000308d
lea rdx, str.___err_occurred_during_binding
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004ae0
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140004cb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.__r_p_c_bi_nd_ing_with_lo_ca_lh_os_t_done
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004ae0
mov rcx, rax
lea rdx, [0x140004cb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
mov r14, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400030d7
mov r14, qword [rbx]
mov rsi, qword [rbx + 0x10]
movabs rdi, 0x7ffffffffffffffe
cmp rsi, rdi
ja 0x140003231
mov qword [rbp - 0x10], 7
cmp rsi, 8
jae 0x14000310d
mov qword [rbp - 0x18], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x28], xmm0
jmp 0x1400031bb
mov rax, rsi
or rax, 7
cmp rax, rdi
jbe 0x140003129
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000315b
mov rdi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140003237
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000318d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003237
mov rcx, rax
call fcn.1400063ac
mov rcx, rax
test rax, rax
je 0x140003186
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000319c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140003199
call fcn.1400063ac
jmp 0x14000319c
mov rax, r13
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rdi
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbp - 0x38]
lea r8, [rbp - 0x28]
movzx edx, r12b
mov ecx, r15d
call fcn.140003780
mov edi, r13d
test eax, eax
sete dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140003213
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000320e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000322a
mov rcx, r8
call fcn.1400064b8
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov eax, edi
jmp 0x140003024
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011a0
int3
call fcn.140001100
int3