Function at 0x140033b40
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x338]
sub rsp, 0x420
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400bc190]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rbx, rcx
xor esi, esi
mov dword [rbp + 0xc0], esi
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp + 0xc4]
call fcn.14005a620
cmp qword [rbx + 0x18], 8
jb 0x140033ba7
mov rcx, qword [rbx]
jmp 0x140033baa
mov rcx, rbx
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140033d9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp eax, 2
je 0x140033d9b
cmp eax, 3
je 0x140033d9b
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], sil
mov r8d, 7
lea rdx, str.getSize
lea rcx, [rsp + 0x58]
call fcn.1400050b0
nop
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140005490
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x90]
call fcn.140011a80
mov rbx, rax
lea rcx, [rbp + 0x20]
call fcn.140057a14
nop
lea r12, vtable.BaseException.0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], rsi
mov byte [rbp + 0x38], 0
xor r8d, r8d
lea rdx, [0x14009b802]
lea rcx, [rbp + 0x38]
call fcn.1400050b0
nop
lea r13, vtable.ExceptionStream_class_Exception__class_BaseException_.0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rsi
mov byte [rbp + 0x60], 0
cmp qword [rsp + 0x68], 0
jbe 0x140033ce2
lea r8, [0x14009c634]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140008610
nop
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140004f10
nop
cmp qword [rbp - 0x68], 0x10
jb 0x140033cd2
mov rcx, qword [rbp - 0x80]
call fcn.140058288
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], rsi
mov byte [rbp - 0x80], 0
lea rdi, vtable.Exception.0
mov qword [rbp + 0x20], rdi
lea rdx, str.Failed_to_read_size_of_file:
lea rcx, [rbp + 0x20]
call fcn.14001e670
mov rcx, rax
mov rdx, rbx
call fcn.140032cf0
mov rcx, rax
lea rdx, str.__error:
call fcn.14001e670
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14001e4c0
mov rbx, rax
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140057c1c
nop
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x38], 0
lea rdx, [rbx + 0x18]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x38]
call fcn.140004fa0
nop
mov qword [rbp - 0x50], r13
mov qword [rbp + 8], 0xf
mov qword [rbp], rsi
mov byte [rbp - 0x10], 0
lea rdx, [rbx + 0x40]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x10]
call fcn.140004fa0
nop
mov qword [rbp - 0x50], rdi
lea rdx, [0x1400b9790]
lea rcx, [rbp - 0x50]
call fcn.14005a4ec
nop
xor eax, eax
jmp 0x140033dae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rbp + 0xe0]
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400579a0
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret