Function at 0x1800f5b20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [0x180493728]
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 0x1800f5b87
xor al, al
jmp 0x1800f5df8
mov dword [rsp + 0x78], 0x7d0
lea r9, [rsp + 0x78]
movabs r8, 0x2b9fff192bd4c83e
movabs rdx, 0xbb62c62c9808ea37
lea rcx, [rsp + 0xb8]
call fcn.1800e8790
nop
lea rcx, [rsp + 0xb8]
call fcn.1800f0210
add rax, 0x10
mov qword [rsp + 0x50], rax
lea rax, [0x18049ac90]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1800f72e0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x80]
call fcn.1800f7310
mov qword [rsp + 0x90], rax
jmp 0x1800f5c12
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x68], rax
je 0x1800f5c4c
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.1800f0210
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x10]
mov qword [rsp + 0x50], rax
jmp 0x1800f5c04
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 0x1800f5ca5
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 0x1800f5ca5
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0xb8]
call fcn.1800eeb40
movzx eax, byte [rsp + 0x41]
jmp 0x1800f5df8
mov rcx, qword [rsp + 0x50]
call fcn.180192990
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.1800f60e0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
lea rax, [0x18049ac90]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.1800f72e0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x88]
call fcn.1800f7310
mov qword [rsp + 0xa0], rax
jmp 0x1800f5d3e
mov rax, qword [rsp + 0x70]
add rax, 0x28
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x70], rax
je 0x1800f5d90
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x48], rax
jbe 0x1800f5d6c
int3
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.1800f60e0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x1800f5d30
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.1801929d0
cmp dword [rsp + 0x7c], 0
je 0x1800f5dd8
mov byte [rsp + 0x40], 1
jmp 0x1800f5ddd
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x42], al
lea rcx, [rsp + 0xb8]
call fcn.1800eeb40
movzx eax, byte [rsp + 0x42]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.180258fa0
add rsp, 0xf8
ret