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

Disassembly:
jmp 0x140007a40
mov eax, 0x1088
call fcn.140001825
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jne 0x140007ab7
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xc], 0
je 0x140007adf
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x10
call fcn.140003148
mov word [rsp + 0x70], 5
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x73], 3
mov dword [rsp + 0x74], 0x10
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x814]
add rax, 0x18
mov word [rsp + 0x78], ax
mov word [rsp + 0x7a], 0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 8]
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0x68]
xor edx, edx
mov r8d, 8
call fcn.140003148
mov dword [rsp + 0x68], 0
mov word [rsp + 0x6c], 0
mov eax, dword [rsp + 0x58]
mov word [rsp + 0x6e], ax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
lea rdx, [rsp + 0x70]
mov r8d, 0x10
lea r9, [rsp + 0x64]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 0
jne 0x140007b9a
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
lea rdx, [rsp + 0x68]
mov r8d, 8
lea r9, [rsp + 0x64]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 0
jne 0x140007bd9
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 0x814]
mov rdx, qword [rsp + 0x50]
add rdx, 0x14
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
lea r9, [rsp + 0x64]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 0
jne 0x140007c22
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 8]
add ecx, 1
mov dword [rax + 8], ecx
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x1000
call fcn.140003148
lea rdx, [rsp + 0x80]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov r8d, 0x1000
lea r9, [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 0
jne 0x140007c87
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
cmp eax, 5
je 0x140007cb2
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 2]
cmp eax, 2
je 0x140007cd1
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 3]
cmp eax, 3
je 0x140007cf0
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 8]
cmp eax, dword [rsp + 0x60]
je 0x140007d10
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 4]
cmp eax, 0
je 0x140007d3d
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 8]
sub rax, 0x10
sub rax, 8
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
cmp rax, 0x800
jbe 0x140007d6f
mov dword [rsp + 0x5c], 1
jmp 0x140007db1
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
add rcx, 0x818
mov rdx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x3c]
mov r8d, eax
call fcn.1400025bd
mov ecx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x1018], ecx
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1400025b8
mov eax, dword [rsp + 0x2c]
add rsp, 0x1088
ret