Function at 0x140119a50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140119cdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x3e5
jne 0x140119c92
mov ecx, 0x48
call fcn.14027bb94
xor r9d, r9d
xor r8d, r8d
mov edx, 0x30
mov rcx, rax
call fcn.140113960
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x20], rcx
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.140001160
add rax, 0xa
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x140119bd0
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.140001160
add rax, 0xa
mov ecx, 0xffffffff
sub rcx, rax
mov rax, rcx
test rax, rax
jbe 0x140119bd0
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.140001160
add rax, 0xa
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x140119bd0
xor eax, eax
cmp eax, 1
je 0x140119bd0
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.140001160
add rax, 0x22
mov rcx, rax
call fcn.14027bb94
mov qword [rsp + 0x50], rax
jmp 0x140119bd9
mov qword [rsp + 0x50], 0
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.140001160
add rax, 0xa
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.140113960
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0xb8], 0
jne 0x140119c20
lea rax, [0x1403b99a4]
mov qword [rsp + 0x58], rax
jmp 0x140119c2d
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x58], rax
mov r9, qword [rsp + 0x58]
lea r8, str._s__READ_
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax - 0x18]
mov rcx, qword [rsp + 0x48]
call fcn.140001420
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x140119600]
mov r8d, 0xffffffff
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x80]
call fcn.14011a510
mov rcx, qword [rsp + 0x48]
call fcn.140113b40
jmp 0x140119cd7
cmp qword [rsp + 0xa8], 0
je 0x140119cd7
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x98]
mov r8d, 5
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0xa8]
jmp 0x140119e3f
cmp dword [rsp + 0x30], 0
jbe 0x140119dfa
cmp qword [rsp + 0xa8], 0
je 0x140119df8
mov ecx, 0x30
call fcn.14027bb94
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140119d54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0xeb3
lea rdx, [0x1403ac048]
xor ecx, ecx
call fcn.140124df0
mov r8d, 0xeb3
lea rdx, [0x1403ac008]
lea rcx, [0x1403abfe0]
call fcn.1400012d0
mov ecx, 0xfe
call fcn.1402742dc
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x20], rcx
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x18], rax
cmp qword [rsp + 0x90], 0
je 0x140119dc2
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x140119dcb
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x28], rcx
mov r9, qword [rsp + 0x38]
mov r8d, 1
lea rdx, [0x140119900]
mov rcx, qword [rsp + 0x80]
call fcn.1401148d0
jmp 0x140119e3f
cmp qword [rsp + 0xa8], 0
je 0x140119e3f
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x98]
mov r8d, 5
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0xa8]
add rsp, 0x78
ret