Function at 0x180023a20
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x180065018]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15b, r9b
mov r14, r8
mov rdi, rdx
mov rsi, rcx
add rcx, 0x48
call fcn.18000fa0c
lea rdx, [rsi + 0x48]
mov rcx, rdi
call fcn.18000e844
and qword [rbp + 0x20], 0
and qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp + 0x20]
call fcn.180003c20
nop
lea rax, str.Invoking_function___.
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x17
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rax, qword [rbp + 0x20]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x48], rax
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x50], 0xd
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x60], xmm1
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.18002a13c
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x18005879c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, 0x1000
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180023b63
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rdi
jb 0x180023b5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180023b5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001480
mov byte [rsp + 0x30], 0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x50]
call qword [sym.imp.TE.Common.dll_public:_void___cdecl_WEX::TestExecution::EtwEvents::OperationInvokeScope::constructor_char_const____ptr64____ptr64]
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x70]
call fcn.180027b1c
nop
mov byte [rbp + 0x18], 0
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rax, qword [rbp + 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.180036878
nop
cmp qword [rax + 0x18], 8
jb 0x180023bd1
mov rax, qword [rax]
and qword [rbp + 0x10], 0
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x18]
mov r8b, r15b
mov rdx, rax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rsi + 0x38]
call qword [0x18004a5c0]
mov ebx, eax
test eax, eax
js 0x180023c8d
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rbp - 0x10]
call fcn.18000380c
cmp byte [rbp + 0x18], 0
je 0x180023c1f
mov byte [r14], 1
lea rcx, [rbp + 0x70]
call fcn.180027bd0
nop
lea rcx, [rbp + 0x50]
call qword [sym.imp.TE.Common.dll_public:_void___cdecl_WEX::TestExecution::EtwEvents::OperationInvokeScope::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180023c6e
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, rdi
jb 0x180023c69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180023c69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001480
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.180039210
add rsp, 0x1b8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lfence
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x40]
call fcn.180003fa0
nop
mov r9, qword [rbp + 0x10]
lea r8, str.Failed_to_invoke_a_PowerShell_test_function.___s_
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.180005ebc
mov rdx, rax
mov r9d, 0x25
lea r8, str.D:_a_work1_s_srcTAEFLoadersTePowerShellInterop.cpp
mov ecx, ebx
call fcn.180004d70
int3