Function at 0x14001d6f9
Capabilities:
Write file on windows

Disassembly:
jmp 0x140026320
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x418
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x438]
lea rcx, [0x140083341]
call fcn.14001df69
mov dword [rbp + 4], 0xc0000001
mov dword [rbp + 0x24], 0x100002
mov dword [rbp + 0x44], 5
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x108], 0
mov rax, qword [rbp + 0x3d8]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x168], 0
cmp qword [rbp + 0x3f8], 0
je 0x1400263c2
mov rax, qword [rbp + 0x3f8]
mov dword [rax], 0xc0000001
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1d8]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
movzx eax, al
test eax, eax
jne 0x140026401
cmp qword [rbp + 0x3f8], 0
je 0x1400263fa
mov rax, qword [rbp + 0x3f8]
mov dword [rax], 0xc00000ef
xor eax, eax
jmp 0x140026769
cmp dword [rbp + 0x3f0], 0
je 0x14002641a
mov eax, dword [rbp + 0x24]
or eax, 1
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x44], 3
mov dword [rbp + 0x188], 0x30
mov qword [rbp + 0x190], 0
mov dword [rbp + 0x1a0], 0x40
lea rax, [rbp + 0x1d8]
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1b0], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x208]
lea r8, [rbp + 0x188]
mov edx, dword [rbp + 0x24]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400264c2
jmp 0x14002670b
cmp dword [rbp + 0x3f0], 0
je 0x1400264ed
mov dword [rbp + 0x148], 0xffffffff
mov dword [rbp + 0x14c], 0xffffffff
lea rax, [rbp + 0x148]
mov qword [rbp + 0x168], rax
mov eax, 0x80000000
cmp qword [rbp + 0x3e0], rax
jae 0x14002657f
mov eax, dword [rbp + 0x3e0]
mov dword [rbp + 0x64], eax
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x208]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14002655f
jmp 0x14002670b
mov rax, qword [rbp + 0x210]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
jmp 0x14002670b
mov dword [rbp + 0x64], 0x7fffffff
mov eax, dword [rbp + 0x64]
mov qword [rbp + 0x3a8], rax
xor edx, edx
mov rax, qword [rbp + 0x3e0]
mov rcx, qword [rbp + 0x3a8]
div rcx
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xe8], 0
jmp 0x1400265c8
mov rax, qword [rbp + 0xe8]
inc rax
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xc8]
cmp qword [rbp + 0xe8], rax
jae 0x14002666a
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x208]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140026633
jmp 0x14002670b
mov eax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x210]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
jmp 0x1400265b7
mov eax, dword [rbp + 0x64]
mov qword [rbp + 0x3a8], rax
xor edx, edx
mov rax, qword [rbp + 0x3e0]
mov rcx, qword [rbp + 0x3a8]
div rcx
mov rax, rdx
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
je 0x14002670b
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x208]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400266f0
jmp 0x14002670b
mov rax, qword [rbp + 0x210]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
cmp qword [rbp + 0xa8], 0
je 0x14002673f
cmp dword [rbp + 0x3e8], 0
je 0x140026732
lea rdx, [rbp + 0x208]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtFlushBuffersFile]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp qword [rbp + 0x3f8], 0
je 0x140026762
mov rax, qword [rbp + 0x3f8]
mov ecx, dword [rbp + 4]
mov dword [rax], ecx
mov rax, qword [rbp + 0x108]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x14005ae38]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x3b8]
pop rdi
pop rbp
ret