Function at 0x180003ba0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov byte [rsp + 0x10], dl
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r12, r9
mov qword [rsp + 0x48], r9
mov r13, r8
movzx ebx, dl
movzx r15d, cl
xor eax, eax
mov word [rsp + 0x40], ax
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
inc r14
cmp word [r8 + r14*2], ax
jne 0x180003be0
add r14, 7
lea rcx, [r14 + r14]
call fcn.180053730
mov rsi, rax
mov qword [rsp + 0x60], rax
test r15b, r15b
je 0x180003d1d
test rax, rax
je 0x180003d1d
mov r9, r13
lea r8, [0x1800bea28]
mov rdx, r14
mov rcx, rax
call fcn.180012aa8
mov edi, 0x80000000
mov eax, 0xc0010000
test bl, bl
cmovne edi, eax
nop word [rax + rax]
xor eax, eax
mov word [rsp + 0x40], ax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea r8d, [rax + 7]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180003d11
mov qword [rsp + 0x50], 0x10
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, 2
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180003cd3
mov rcx, rsi
call fcn.18002630c
test al, al
je 0x180003cda
mov rcx, rbx
call fcn.180026018
jmp 0x180003cda
xor eax, eax
mov word [rsp + 0x40], ax
mov rcx, rbx
call fcn.180026018
movzx eax, word [rsp + 0x40]
test ax, ax
je 0x180003d08
movzx eax, ax
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, str._s__d
mov rdx, r14
mov rcx, rsi
call fcn.180012aa8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [rsp + 0x40], 0
jne 0x180003c40
mov rbx, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rbx
mov r9, r12
mov r8, r13
movzx edx, byte [rsp + 0xa8]
movzx ecx, r15b
call fcn.180003a50
mov r12, rax
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x180003d60
mov qword [rax + 0xcc], rax
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
test r12, r12
je 0x180003e59
test r15b, r15b
jne 0x180003e59
test rsi, rsi
je 0x180003e59
nop dword [rax + rax]
movzx eax, word [rdi + 0x10]
test ax, ax
je 0x180003e59
movzx eax, ax
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, str._s__d
mov rdx, r14
mov rcx, rsi
call fcn.180012aa8
mov rcx, rsi
call fcn.18002630c
test al, al
je 0x180003e59
mov qword [rsp + 0x20], rbx
mov r9, qword [rsp + 0x48]
mov r8, rsi
movzx edx, byte [rsp + 0xa8]
xor ecx, ecx
call fcn.180003a50
mov rbx, rax
test rax, rax
je 0x180003e59
mov qword [rax + 0x7b], r13
cmp qword [rax + 8], 0
jne 0x180003e2c
movzx ecx, word [rax + 0x10]
mov word [rdi + 0x10], cx
mov qword [rsp + 0x50], 0x10
lea r9, [rsp + 0x50]
mov r8d, 2
lea rdx, [rdi + 0x10]
mov rcx, qword [rdi + 0x6b]
call fcn.180007600
mov rcx, qword [rbx + 0x6b]
call fcn.180026018
mov rcx, rbx
call fcn.180003710
mov rcx, rbx
call fcn.180006d50
jmp 0x180003e4c
lea rax, [rdi + 0xc4]
mov qword [rax], rbx
mov qword [rbx + 0xbc], rdi
mov qword [rbx + 0xcc], r12
mov rdi, qword [rax]
mov qword [rsp + 0x58], rdi
mov rbx, qword [rsp + 0xc0]
jmp 0x180003d80
test rsi, rsi
je 0x180003e66
mov rcx, rsi
call fcn.180053728
mov rax, r12
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret