Function at 0x1400bbec0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r13, rcx
xor ecx, ecx
mov edx, 1
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x1400bc489
mov r12, rax
movzx eax, byte [0x140120b70]
mov ecx, 0x20
mov edx, 8
call fcn.14004bac0
test rax, rax
je 0x1400bc6a2
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], r12
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
xor ecx, ecx
mov edx, 1
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x1400bc4b0
mov r14, rax
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0xb0], r13
movzx eax, byte [0x140120b70]
mov ecx, 0x20
mov edx, 8
call fcn.14004bac0
test rax, rax
je 0x1400bc6a2
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], r14
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], r14
xor ecx, ecx
mov edi, 0xffffffff
xor r13d, r13d
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
mov ecx, 2
lea rdx, [rsp + 0xb8]
xor r8d, r8d
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
jne 0x1400bc2fd
test r13, r13
je 0x1400bc070
mov rax, r14
cmp r13, 2
lea r13, [rsp + 0x2c]
je 0x1400bc0d0
mov dword [rsp + 0x2c], 0
mov rcx, rsi
mov rdx, rbp
mov r8, r13
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400bc07b
mov eax, dword [rsp + 0x2c]
jmp 0x1400bc0d0
mov rdx, qword [rbx + 0x10]
lea r13, [rsp + 0x2c]
jmp 0x1400bc0e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, r15
movabs rax, 0xffffffff00000000
and rcx, rax
movabs rax, 0x6d00000000
cmp rcx, rax
je 0x1400bc0c4
mov eax, 0
movabs rdx, 0x2600000000
cmp rcx, rdx
je 0x1400bc0d0
jmp 0x1400bc60c
xor eax, eax
nop word cs:[rax + rax]
mov rdx, qword [rbx + 0x10]
add rdx, rax
mov qword [rbx + 0x10], rdx
test rax, rax
je 0x1400bc54f
mov r8, qword [rbx]
cmp r8, rdx
je 0x1400bc2a5
sub r8, rdx
add rdx, qword [rbx + 8]
cmp r8, rdi
cmovae r8, rdi
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x20], rbp
mov rcx, rsi
mov r9, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400bc140
mov rax, r14
mov r14d, dword [rsp + 0x2c]
mov r13d, 2
test r14, r14
jne 0x1400bc006
jmp 0x1400bc552
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
movabs rax, 0x3e500000000
cmp r15, rax
jne 0x1400bc540
mov ecx, 2
lea rdx, [rsp + 0xb8]
xor r8d, r8d
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
jne 0x1400bc2da
mov dword [rsp + 0x2c], 0
mov rcx, rsi
mov rdx, rbp
mov r8, r13
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400bc1b0
mov eax, dword [rsp + 0x2c]
jmp 0x1400bc200
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, r15
movabs rax, 0xffffffff00000000
and rcx, rax
movabs rax, 0x2600000000
cmp rcx, rax
je 0x1400bc1f9
mov eax, 0
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x1400bc200
jmp 0x1400bc60c
xor eax, eax
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
add rdx, rax
mov qword [rbx + 0x10], rdx
test rax, rax
je 0x1400bc54f
mov r8, qword [rbx]
cmp r8, rdx
je 0x1400bc270
sub r8, rdx
add rdx, qword [rbx + 8]
cmp r8, rdi
cmovae r8, rdi
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x20], rbp
mov rcx, rsi
mov r9, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400bc11b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
movabs rax, 0x3e500000000
cmp r15, rax
je 0x1400bc160
jmp 0x1400bc4cf
test rdx, rdx
mov r8d, 1
mov eax, 0x10
cmove r8, rax
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rbx
call fcn.1400eb640
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400bc21c
test rdx, rdx
mov r8d, 1
mov eax, 0x10
cmove r8, rax
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rbx
call fcn.1400eb640
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400bc0f0
test eax, eax
mov rcx, qword [rsp + 0x38]
mov r13d, 1
jne 0x1400bc511
mov rax, qword [rsp + 0x30]
cmp rcx, 2
jne 0x1400bc319
jmp 0x1400bc3a8
test eax, eax
jne 0x1400bc50c
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
cmp rcx, 2
je 0x1400bc3a8
cmp rcx, 1
jne 0x1400bc352
mov dword [rsp + 0x2c], 0
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
lea r8, [rsp + 0x2c]
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400bc35d
mov eax, dword [rsp + 0x2c]
jmp 0x1400bc3a8
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
jmp 0x1400bc3c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, r15
movabs rax, 0xffffffff00000000
and rcx, rax
movabs rax, 0x2600000000
cmp rcx, rax
je 0x1400bc3a6
mov eax, 0
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x1400bc3a8
jmp 0x1400bc68a
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x10]
add rdx, rax
mov qword [rcx + 0x10], rdx
test rax, rax
je 0x1400bc645
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
cmp r8, rdx
je 0x1400bc437
sub r8, rdx
mov rax, qword [rsp + 0x40]
add rdx, qword [rax + 8]
cmp r8, rdi
cmovae r8, rdi
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0xb0]
lea r9, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400bc471
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
mov ecx, 1
movabs rax, 0x3e500000000
cmp r15, rax
je 0x1400bbffc
jmp 0x1400bc636
test rdx, rdx
mov r8d, 1
mov eax, 0x10
cmove r8, rax
mov qword [rsp + 0x20], 1
mov r9d, 1
mov r15, qword [rsp + 0x40]
mov rcx, r15
call fcn.1400eb640
mov r8, qword [r15]
mov rdx, qword [r15 + 0x10]
jmp 0x1400bc3ce
mov r12d, dword [rsp + 0x2c]
mov ecx, 2
test r12, r12
jne 0x1400bbffc
jmp 0x1400bc645
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call rdi
mov rcx, rsi
call rdi
jmp 0x1400bc5f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bc5c1
mov rax, r14
movabs rcx, 0x6d00000000
cmp r15, rcx
je 0x1400bc552
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], r14
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
or r15, 2
jmp 0x1400bc584
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
jmp 0x1400bc584
movabs rax, 0x6d00000000
cmp r15, rax
jne 0x1400bc4e1
mov rax, r14
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
call fcn.1400bc6c0
mov r15, rax
lea rcx, [rsp + 0x78]
call fcn.1400bc880
mov rcx, qword [rsp + 0x98]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xa0]
call rsi
mov rcx, qword [rsp + 0x88]
mov edx, 0x20
mov r8d, 8
call fcn.14004bad0
lea rcx, [rsp + 0x48]
call fcn.1400bc880
mov rcx, qword [rsp + 0x68]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x70]
call rsi
mov rcx, qword [rsp + 0x58]
mov edx, 0x20
mov r8d, 8
call fcn.14004bad0
mov rax, r15
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x78], 1
mov qword [rsp + 0x80], r14
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
jmp 0x1400bc584
movabs rax, 0x6d00000000
cmp r15, rax
jne 0x1400bc66f
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
jmp 0x1400bc57c
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
jmp 0x1400bc4fc
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 1
jmp 0x1400bc627
mov ecx, 8
mov edx, 0x20
call fcn.14006d9c0
int3