Function at 0x1800014e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rbx, rcx
xor edi, edi
mov dword [rbp + 0xe8], edi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180001520
xor eax, eax
jmp 0x1800016ef
lea rax, [0x18005b500]
mov qword [rsp + 0x40], rax
mov qword [rbp - 8], rdi
mov qword [rbp], rdi
mov dword [rbp + 8], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rdi
mov byte [rbp + 0x48], dil
mov dword [rbp + 0xe8], 1
lea r15, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x10], r15
mov dword [rbp - 0x14], 0x98
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.180003600
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call fcn.180003410
nop
mov r8d, 0x25
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800032b0
mov ebx, 6
lea esi, [rbx - 4]
test rax, rax
jne 0x180001600
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, ebx
cmp qword [rbp + rcx - 0x78], 0
cmovne eax, esi
or eax, dword [rsp + rcx + 0x50]
and eax, 0x17
mov dword [rsp + rcx + 0x50], eax
and eax, dword [rsp + rcx + 0x54]
jne 0x180001763
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180002a30
mov rcx, qword [rsp + 0x20]
add rcx, qword [rsp + 0x28]
call fcn.180015d80
mov rdi, rax
lea rcx, [rsp + 0x40]
call fcn.180002b10
mov r8, qword [rsp + 0x28]
add r8, qword [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180002d00
lea rcx, [rsp + 0x50]
call fcn.1800031a0
test rax, rax
jne 0x180001678
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x78], 0
cmovne ebx, esi
or ebx, dword [rsp + rcx + 0x50]
and ebx, 0x17
mov dword [rsp + rcx + 0x50], ebx
and ebx, dword [rsp + rcx + 0x54]
jne 0x18000170c
mov rcx, rdi
call sym.Divine.Injector.dll_public:_static_void____ptr64___cdecl_Divine::Injector::ManualInjector::Inject_unsigned_char____ptr64_
mov rbx, rax
mov rcx, rdi
call fcn.180015d88
nop
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x40], r14
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x3c], r8d
lea rcx, [rsp + 0x50]
call fcn.180002980
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r15
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.1800149b8
nop
mov rax, rbx
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test bl, 4
je 0x18000171a
lea rbx, str.ios_base::badbit_set
jmp 0x18000172f
test bl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x60]
call fcn.180004ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x98]
call fcn.1800047c0
lea rdx, [0x180064050]
lea rcx, [rbp + 0x98]
call fcn.180017c24
nop
test al, 4
je 0x180001770
lea rbx, str.ios_base::badbit_set
jmp 0x180001785
test sil, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x50]
call fcn.180004ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.1800047c0
lea rdx, [0x180064050]
lea rcx, [rbp + 0x70]
call fcn.180017c24
int3