Function at 0x140014798
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 r12
push r14
lea rbp, [rax - 0x478]
sub rsp, 0x560
mov rax, qword [0x14015da88]
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.14001f1d4
mov ebx, eax
test eax, eax
jns 0x14001480d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014806
mov rdx, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rdx + 8]
call qword [case.0x1400bdf0e.0]
mov eax, ebx
jmp 0x140014e74
mov qword [rsp + 0x70], rsi
lea r14, str.FwAutoresolve.txt
mov r9, r14
mov r8, rdi
lea rdx, [0x14011f890]
lea rcx, [rsp + 0x70]
call fcn.1400b4ccc
mov ebx, eax
test eax, eax
jns 0x1400148bc
lea r12, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140014874
test byte [rcx + 0x1c], 1
je 0x140014874
mov edx, 0x2d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9, rdi
lea r8, [0x140125698]
mov rcx, qword [rcx + 0x10]
call fcn.1400131d8
mov r9d, ebx
mov r8, r14
mov rdx, rdi
lea rcx, [0x1401200e0]
call fcn.1400ae8a0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140014898
call fcn.1400e9470
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014806
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
jmp 0x140014800
xor r8d, r8d
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
call fcn.1400ae924
mov edi, eax
test eax, eax
setns r14b
test eax, eax
jns 0x14001496f
lea r12, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x14001490d
test byte [rcx + 0x1c], 1
je 0x14001490d
mov edx, 0x2e
mov r9d, eax
lea r8, [0x140125698]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
test rbx, rbx
je 0x14001491a
mov rcx, rbx
call fcn.1400e9470
test r14b, r14b
je 0x140014947
mov rbx, qword [0x140160650]
mov qword [0x140160650], rsi
test rbx, rbx
je 0x140014947
mov rcx, rbx
call fcn.1400adcb8
mov edx, 0x48
mov rcx, rbx
call fcn.1400e9768
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014968
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
mov eax, edi
jmp 0x140014e74
lea rdx, str.powershell.exe_Get_NetFirewallDynamicKeywordAddress__AllAutoResolve__PolicyStore_ActiveStore
lea rcx, [rbp + 0x20]
call fcn.140020db8
lea r12, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x1400149bb
test byte [rcx + 0x1c], 4
je 0x1400149bb
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r9, qword [rbp + 0x20]
mov edx, 0x2f
lea r8, [0x140125698]
mov rcx, qword [rcx + 0x10]
call fcn.140005570
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
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 0x140014a12
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140014a51
test byte [rcx + 0x1c], 1
je 0x140014a51
lea edx, [rdi + 0x31]
jmp 0x140014a41
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x140014ade
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140014a51
test byte [rcx + 0x1c], 1
je 0x140014a51
lea edx, [rax + 0x31]
lea r8, [0x140125698]
mov rcx, qword [rcx + 0x10]
call fcn.1400056e0
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x140014a61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
cmp rcx, rdi
je 0x140014a71
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x20]
call fcn.140020e64
test rbx, rbx
je 0x140014a87
mov rcx, rbx
call fcn.1400e9470
test r14b, r14b
je 0x140014ab4
mov rbx, qword [0x140160650]
test rbx, rbx
mov qword [0x140160650], rsi
je 0x140014ab4
mov rcx, rbx
call fcn.1400adcb8
mov edx, 0x48
mov rcx, rbx
call fcn.1400e9768
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014c31
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
jmp 0x140014c31
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.1400eb6e0
mov dword [rbp - 0x50], edi
or rdi, 0xffffffffffffffff
mov qword [rbp], rdi
mov qword [rbp + 0x10], rdi
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 0x140014c3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140014bad
test byte [rcx + 0x1c], 1
je 0x140014bad
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
lea edx, [rdi + 0x33]
mov dword [rsp + 0x20], r8d
lea r9, str.powershell.exe
lea r8, [0x140125698]
mov rcx, qword [rcx + 0x10]
call fcn.1400055d0
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x140014bbd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
cmp rcx, rdi
je 0x140014bcd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x20]
call fcn.140020e64
test rbx, rbx
je 0x140014be3
mov rcx, rbx
call fcn.1400e9470
test r14b, r14b
je 0x140014c10
mov rbx, qword [0x140160650]
mov qword [0x140160650], rsi
test rbx, rbx
je 0x140014c10
mov rcx, rbx
call fcn.1400adcb8
mov edx, 0x48
mov rcx, rbx
call fcn.1400e9768
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014c31
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
mov eax, 0x80004005
jmp 0x140014e74
mov rdi, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x60]
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140014d33
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140014c87
test byte [rcx + 0x1c], 1
je 0x140014c87
mov edx, 0x33
mov r9d, eax
lea r8, [0x140125698]
mov rcx, qword [rcx + 0x10]
call fcn.140008180
test rsi, rsi
je 0x140014c95
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140014ca3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x140014cb4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140014cc5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x20]
call fcn.140020e64
test rbx, rbx
je 0x140014cdb
mov rcx, rbx
call fcn.1400e9470
test r14b, r14b
je 0x140014d09
mov rbx, qword [0x140160650]
and qword [0x140160650], 0
test rbx, rbx
je 0x140014d09
mov rcx, rbx
call fcn.1400adcb8
mov edx, 0x48
mov rcx, rbx
call fcn.1400e9768
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014d2a
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
mov eax, dword [rsp + 0x50]
jmp 0x140014e74
mov qword [rsp + 0x70], 0x400
jmp 0x140014dae
mov edx, 0x400
mov r8d, edx
cmp rcx, rdx
cmovb r8, rcx
mov qword [rsp + 0x78], r8
test eax, eax
js 0x140014ed4
inc r8
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.1400eb6e0
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x140014d7f
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.1400b439c
mov dword [rsp + 0x50], eax
test eax, eax
js 0x140014ea0
lea rdx, [rbp + 0x40]
lea rcx, [0x140120330]
call fcn.1400aea10
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400b427c
mov rcx, qword [rsp + 0x70]
test rcx, rcx
mov dword [rsp + 0x50], eax
jne 0x140014d3e
test rsi, rsi
je 0x140014ddd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140014deb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x140014dfc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140014e0d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x20]
call fcn.140020e64
test rbx, rbx
je 0x140014e23
mov rcx, rbx
call fcn.1400e9470
test r14b, r14b
je 0x140014e51
mov rbx, qword [0x140160650]
and qword [0x140160650], 0
test rbx, rbx
je 0x140014e51
mov rcx, rbx
call fcn.1400adcb8
mov edx, 0x48
mov rcx, rbx
call fcn.1400e9768
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014e72
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
xor eax, eax
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1400e9450
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140014c87
test byte [rcx + 0x1c], 1
je 0x140014c87
mov edx, 0x35
lea r8, [0x140125698]
mov rcx, qword [rcx + 0x10]
call fcn.1400056e0
jmp 0x140014c87
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140014c87
test byte [rcx + 0x1c], 1
je 0x140014c87
mov edx, 0x34
mov r9d, eax
lea r8, [0x140125698]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
jmp 0x140014c87