Function at 0x140074d00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
mov eax, 0x20260
call fcn.1400af850
sub rsp, rax
mov rax, qword [0x14012dcd0]
xor rax, rsp
mov qword [rsp + 0x20240], rax
mov r12d, dword [rsp + 0x202b0]
mov r13, r9
mov ebp, dword [rsp + 0x202b8]
mov rsi, r8
mov r14, rdx
test r12d, r12d
je 0x140074d50
test ebp, ebp
je 0x140074d50
xor eax, eax
jmp 0x140074f80
mov qword [rsp + 0x20290], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20258], rdi
lea rdi, [r8 + 0x42d8]
mov qword [rsp + 0x20250], r15
mov rax, rdi
mov r15d, 2
mov edx, r15d
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140074d80
mov ecx, dword [r8]
call fcn.140078050
mov edx, eax
lea rcx, [rsp + 0x140]
xor r8d, r8d
call fcn.140073390
test eax, eax
je 0x140074f4f
nop word [rax + rax]
xor r8d, r8d
mov edx, 0x100
mov rcx, rdi
call fcn.140073390
test eax, eax
je 0x140074f4f
mov ecx, dword [rsi]
lea r8, [rsi + 8]
lea rdx, [rsp + 0x140]
call fcn.140078310
mov ebx, eax
test eax, eax
jne 0x140074f54
mov rcx, rsi
call fcn.140078490
test eax, eax
je 0x14007502f
test ebp, ebp
je 0x140074e52
lea rbx, [r13 + 0x20000]
jmp 0x140074e54
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140075044
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r8d, 0x20000
lea rdx, [rsp + 0x240]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140075044
cmp dword [rsp + 0x30], 0x200
jb 0x140075039
xor r9d, r9d
mov qword [rsp + 0x28], rsi
mov edx, 0x1fe00
mov dword [rsp + 0x20], 6
lea rcx, [rsp + 0x440]
lea r8d, [r9 + 1]
call fcn.140076c50
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140075044
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r8d, 0x20000
lea rdx, [rsp + 0x240]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140075044
cmp dword [rsp + 0x30], 0x20000
jne 0x140074f4f
test ebp, ebp
jne 0x140074fa0
test r12d, r12d
jne 0x140074fa0
mov ecx, dword [rsi]
lea ebp, [r12 + 1]
call fcn.140078050
mov edx, eax
lea rcx, [rsp + 0x140]
xor r8d, r8d
call fcn.140073390
test eax, eax
jne 0x140074e00
mov ebx, 6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15, qword [rsp + 0x20250]
mov rdi, qword [rsp + 0x20258]
test ebx, ebx
je 0x140074f76
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rbx, qword [rsp + 0x20290]
mov rcx, qword [rsp + 0x20240]
xor rcx, rsp
call fcn.1400af8c0
add rsp, 0x20260
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
lea rax, [rsp + 0x40]
nop word [rax + rax]
lea rdi, [rdi + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdi - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdi - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdi - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdi - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdi - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdi - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdi - 0x20], xmm0
movups xmmword [rdi - 0x10], xmm1
sub r15, 1
jne 0x140074fb0
mov ecx, dword [rsi]
lea r8, [rsi + 8]
lea rdx, [rsi + 0x41d8]
call fcn.140078310
mov ebx, eax
test eax, eax
jne 0x140074f54
mov rcx, rsi
call fcn.140078490
test eax, eax
jne 0x140074f54
mov ebx, 7
jmp 0x140074f54
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 9
jmp 0x140074f54