Function at 0x140054738
Capabilities:
Create pipe
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r13
push r15
lea rbp, [rax - 0x478]
sub rsp, 0x560
mov rax, qword [0x140168900]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x68]
call fcn.1400510a0
mov ebx, eax
test eax, eax
jns 0x1400547a2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005479b
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call fcn.1400fece0
mov eax, ebx
jmp 0x140054db5
mov qword [rsp + 0x70], rsi
lea r13, str.FwAutoresolve.txt
mov r9, r13
mov r8, rdi
lea rdx, [0x140123d80]
lea rcx, [rsp + 0x70]
call fcn.1400f23a4
mov ebx, eax
test eax, eax
jns 0x140054843
lea r15, [0x140162280]
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x140054805
test byte [rcx + 0x1c], 1
je 0x140054805
mov edx, 0x2d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9, rdi
lea r8, [0x140123930]
mov rcx, qword [rcx + 0x10]
call fcn.14006041c
mov r9d, ebx
mov r8, r13
mov rdx, rdi
lea rcx, [0x1401245d0]
call fcn.1400ec5f0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140054829
call fcn.140030c60
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005479b
mov rax, qword [rcx]
mov rax, qword [rax + 8]
jmp 0x140054796
xor r8d, r8d
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
call fcn.1400ec718
mov edi, eax
test eax, eax
js 0x140054d5f
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r8d, 0x5c
lea rdx, str.powershell.exe_Get_NetFirewallDynamicKeywordAddress__AllAutoResolve__PolicyStore_ActiveStore
lea rcx, [rbp + 0x20]
call fcn.140044a80
lea r15, [0x140162280]
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x1400548be
test byte [rcx + 0x1c], 4
je 0x1400548be
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r9, qword [rbp + 0x20]
mov edx, 0x2f
lea r8, [0x140123930]
mov rcx, qword [rcx + 0x10]
call fcn.140044708
or r13, 0xffffffffffffffff
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rbp - 0x80], 0x18
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x78], rsi
mov r9d, 0x100000
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140054930
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x140054a2c
test byte [rcx + 0x1c], 1
je 0x140054a2c
lea edx, [rax + 0x30]
lea r8, [0x140123930]
mov rcx, qword [rcx + 0x10]
call fcn.140044430
jmp 0x140054a2c
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x140054965
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x140054a2c
test byte [rcx + 0x1c], 1
je 0x140054a2c
lea edx, [rax + 0x31]
jmp 0x14005491b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
lea edi, [rax + 0x68]
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140032ec0
mov dword [rbp - 0x50], edi
mov qword [rbp], r13
mov qword [rbp + 0x10], r13
mov rax, qword [rsp + 0x60]
mov qword [rbp + 8], rax
bts dword [rbp - 0x14], 8
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140054aaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400549fa
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x140054a2c
test byte [rcx + 0x1c], 1
je 0x140054a2c
mov edx, 0x32
mov dword [rsp + 0x20], eax
lea r9, str.powershell.exe
lea r8, [0x140123930]
mov rcx, qword [rcx + 0x10]
call fcn.140044764
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x140054a3c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x140054a4c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x20]
call fcn.140045650
test rbx, rbx
je 0x140054a62
mov rcx, rbx
call fcn.140030c60
mov rbx, qword [0x14016b530]
mov qword [0x14016b530], rsi
test rbx, rbx
je 0x140054a8a
mov rcx, rbx
call fcn.1400ebb64
mov edx, 0x48
mov rcx, rbx
call fcn.140030c60
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140054aa0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
mov eax, 0x80004005
jmp 0x140054db5
mov rdi, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x60]
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r13d, eax
test eax, eax
jns 0x140054b90
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x140054af5
test byte [rcx + 0x1c], 1
je 0x140054af5
mov edx, 0x33
mov r9d, eax
lea r8, [0x140123930]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
test rsi, rsi
je 0x140054b03
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140054b11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x140054b22
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140054b33
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x20]
call fcn.140045650
test rbx, rbx
je 0x140054b49
mov rcx, rbx
call fcn.140030c60
mov rbx, qword [0x14016b530]
and qword [0x14016b530], 0
test rbx, rbx
je 0x140054b72
mov rcx, rbx
call fcn.1400ebb64
mov edx, 0x48
mov rcx, rbx
call fcn.140030c60
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140054b88
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
mov eax, r13d
jmp 0x140054db5
mov qword [rsp + 0x70], 0x400
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400f1870
mov r13d, eax
mov byte [rsp + 0x50], 1
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140054c53
mov byte [rsp + 0x50], 1
mov eax, 0x400
mov r8d, eax
cmp rcx, rax
cmovb r8, rcx
mov qword [rsp + 0x78], r8
test r13d, r13d
js 0x140054d28
inc r8
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140032ec0
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x140054c05
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rsp + 0x60], 0xffffffffffffffff
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call fcn.1400f1d64
mov r13d, eax
test eax, eax
js 0x140054cf4
lea rdx, [rbp + 0x40]
lea rcx, [0x140124820]
call fcn.1400ec6e0
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400f1870
mov r13d, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x140054bc3
test rsi, rsi
je 0x140054c61
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140054c6f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x140054c80
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140054c91
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x20]
call fcn.140045650
test rbx, rbx
je 0x140054ca7
mov rcx, rbx
call fcn.140030c60
cmp byte [rsp + 0x50], 0
je 0x140054cd7
mov rbx, qword [0x14016b530]
and qword [0x14016b530], 0
test rbx, rbx
je 0x140054cd7
mov rcx, rbx
call fcn.1400ebb64
mov edx, 0x48
mov rcx, rbx
call fcn.140030c60
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140054ced
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
xor eax, eax
jmp 0x140054db5
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x140054af5
test byte [rcx + 0x1c], 1
je 0x140054af5
mov edx, 0x35
lea r8, [0x140123930]
mov rcx, qword [rcx + 0x10]
call fcn.140044430
jmp 0x140054af5
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x140054af5
test byte [rcx + 0x1c], 1
je 0x140054af5
mov edx, 0x34
mov r9d, r13d
lea r8, [0x140123930]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
jmp 0x140054af5
lea r15, [0x140162280]
mov rcx, qword [0x140162280]
cmp rcx, r15
je 0x140054d90
test byte [rcx + 0x1c], 1
je 0x140054d90
mov edx, 0x2e
mov r9d, edi
lea r8, [0x140123930]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
test rbx, rbx
je 0x140054d9d
mov rcx, rbx
call fcn.140030c60
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140054db3
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
mov eax, edi
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.140030c40
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret