Function at 0x1800da210
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [0x1803dc740]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x1800da277
xor al, al
jmp 0x1800da4e8
mov dword [rsp + 0x78], 0x7d0
lea r9, [rsp + 0x78]
movabs r8, 0x2b9fff192bd4c83e
movabs rdx, 0xbb62c62c9808ea37
lea rcx, [rsp + 0xb8]
call fcn.1800d0b20
nop
lea rcx, [rsp + 0xb8]
call fcn.1800d62f0
add rax, 0x10
mov qword [rsp + 0x50], rax
lea rax, [0x1803e3c00]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.18003eed0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x80]
call fcn.180080b40
mov qword [rsp + 0x90], rax
jmp 0x1800da302
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x68], rax
je 0x1800da33c
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.1800d62f0
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x10]
mov qword [rsp + 0x50], rax
jmp 0x1800da2f4
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1800da395
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1800da395
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0xb8]
call fcn.1800d5570
movzx eax, byte [rsp + 0x41]
jmp 0x1800da4e8
mov rcx, qword [rsp + 0x50]
call fcn.18015adf0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x60]
call fcn.1800da7d0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
lea rax, [0x1803e3c00]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.18003eed0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x88]
call fcn.180080b40
mov qword [rsp + 0xa0], rax
jmp 0x1800da42e
mov rax, qword [rsp + 0x70]
add rax, 0x28
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x70], rax
je 0x1800da480
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x48], rax
jbe 0x1800da45c
int3
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.1800da7d0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x1800da420
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x7c], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call fcn.18015ae30
cmp dword [rsp + 0x7c], 0
je 0x1800da4c8
mov byte [rsp + 0x40], 1
jmp 0x1800da4cd
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x42], al
lea rcx, [rsp + 0xb8]
call fcn.1800d5570
movzx eax, byte [rsp + 0x42]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.18021fab0
add rsp, 0xf8
ret