Function at 0x1800f4cd0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x180493728]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1800f4d37
xor al, al
jmp 0x1800f5000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xffffffff
jne 0x1800f4d61
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1800f5000
mov eax, dword [rsp + 0x50]
mov ecx, eax
call fcn.180192990
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1800f4db2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call fcn.1801929d0
xor al, al
jmp 0x1800f5000
mov dword [rsp + 0x70], 0x7d0
lea r9, [rsp + 0x70]
movabs r8, 0x2b9fff192bd4c83e
movabs rdx, 0xbb62c62c9808ea37
lea rcx, [rsp + 0xa8]
call fcn.1800e8790
nop
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
call fcn.1800f5490
lea rax, [0x18049ac90]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1800f72e0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x78]
call fcn.1800f7310
mov qword [rsp + 0x98], rax
jmp 0x1800f4e30
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x68], rax
je 0x1800f4fd4
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.1800f4a50
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1800f4fbd
lea rcx, [rsp + 0xa8]
call fcn.1800f2150
cmp dword [rax], 0x7d0
jge 0x1800f4faf
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1800f4fad
mov rcx, qword [rsp + 0x58]
call fcn.1800f0210
add rax, 0x10
mov rcx, rax
call fcn.1800f7cd0
test rax, rax
je 0x1800f4f01
mov rcx, qword [rsp + 0x58]
call fcn.1800f0210
add rax, 0x10
mov rcx, rax
call fcn.1800f7cd0
mov rcx, rax
call fcn.180291aa0
mov edx, 0xdddd
mov rcx, rax
call fcn.1800f7d10
mov qword [rsp + 0x80], rax
jmp 0x1800f4f0d
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call fcn.1800f60e0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1800f4fad
mov dword [rsp + 0x74], 0x7d0
lea rcx, [rsp + 0xa8]
call fcn.1800f0210
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x74]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1800f4fb8
xor eax, eax
test eax, eax
jne 0x1800f4fb8
int3
jmp 0x1800f4e22
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call fcn.1800f5490
jmp 0x1800f4e22
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call fcn.1801929d0
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0xa8]
call fcn.1800eeb40
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.180258fa0
add rsp, 0xe8
ret