Function at 0x140023f20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x1060
call fcn.1400488d0
sub rsp, rax
mov r14, qword [rsp + 0x10a0]
lea rax, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
mov r15, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
mov rcx, r14
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov r8d, 0x1000
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140023ff3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x140023fe8
mov eax, 0xffffffff
test rbx, rbx
mov edi, 0x3e8
mov rcx, rsi
cmove edi, eax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140023fd5
cmp eax, 0x102
jne 0x1400241a6
test rbx, rbx
je 0x140023fc6
mov rcx, rbp
call rbx
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140023fb1
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x14002412a
cmp eax, 0x3e5
jne 0x1400241c5
mov qword [rsp + 0x1080], r12
mov edi, 0x3e8
xor r12d, r12d
mov rax, qword [0x1400c3c18]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
mov rcx, r14
test rax, rax
je 0x140024028
mov r9d, edi
mov dword [rsp + 0x20], r12d
call rax
jmp 0x140024034
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x14002405e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x1400240d1
cmp eax, 0x102
jne 0x140024203
test rbx, rbx
je 0x140024003
mov rcx, rbp
call rbx
jmp 0x140024003
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14002407a
mov rdx, qword [r15 + 8]
lea r8, [rsp + 0x60]
mov r9d, eax
mov rcx, r15
call fcn.140024900
xorps xmm0, xmm0
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, r14
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140024003
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14002414b
cmp eax, 0x3e5
jne 0x1400241e4
jmp 0x140024003
mov eax, 0xffffffff
test rbx, rbx
mov rcx, rsi
cmove edi, eax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140024114
nop dword [rax + rax]
cmp eax, 0x102
jne 0x140024222
test rbx, rbx
je 0x140024105
mov rcx, rbp
call rbx
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400240f0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov r12, qword [rsp + 0x1080]
mov eax, dword [rsp + 0x30]
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov eax, 0xffffffff
test rbx, rbx
mov rcx, rsi
cmove edi, eax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140024114
cmp eax, 0x102
jne 0x140024187
test rbx, rbx
je 0x140024176
mov rcx, rbp
call rbx
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140024165
jmp 0x140024114
mov r8d, eax
lea rdx, str.unhandled_WaitForSingleObject_result:__d
mov ecx, 2
call fcn.1400397a0
mov ecx, 2
call fcn.140052f24
int3
mov r8d, eax
lea rdx, str.unhandled_WaitForSingleObject_result:__d
mov ecx, 2
call fcn.1400397a0
mov ecx, 2
call fcn.140052f24
int3
mov r8d, eax
lea rdx, str.ReadFile_returned_an_unexpected_error:__d
mov ecx, 2
call fcn.1400397a0
mov ecx, 2
call fcn.140052f24
int3
mov r8d, eax
lea rdx, str.ReadFile_returned_an_unexpected_error:__d
mov ecx, 2
call fcn.1400397a0
mov ecx, 2
call fcn.140052f24
int3
mov r8d, eax
lea rdx, str.GetOverlappedResultEx_failed:__d
mov ecx, 2
call fcn.1400397a0
mov ecx, 2
call fcn.140052f24
int3
mov r8d, eax
lea rdx, str.unhandled_WaitForSingleObject_result:__d
mov ecx, 2
call fcn.1400397a0
mov ecx, 2
call fcn.140052f24
int3