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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14007d150]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
cmp qword [rcx + 8], 0
jne 0x140030586
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400303d3
mov edi, 0xffffffff
jmp 0x14003053d
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
jne 0x1400304cf
xor esi, esi
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400304c8
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor edx, edx
lea r8d, [rsi + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x1400304a9
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov rbx, rax
test rax, rax
je 0x1400304a0
mov rcx, rax
call qword [sym.imp.dbghelp.dll_ImageNtHeader]
test rax, rax
je 0x140030497
movzx esi, word [rax + 4]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test si, si
je 0x1400304c8
mov eax, 0x8664
cmp si, ax
je 0x1400304c8
mov edi, 0xfffffffc
jmp 0x14003053d
mov edi, 0xfffffffe
jmp 0x14003053d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
jne 0x1400304f1
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov qword [rbx + 8], rsi
lea edi, [rsi - 3]
jmp 0x14003053d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov edi, eax
test eax, eax
js 0x14003053d
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, str.Loaded_library__s
mov qword [rsp + 0x20], rax
mov edi, 1
mov r9d, edi
mov r8, rbx
lea edx, [rdi + 0x4a]
lea rcx, str.C:Eigene_DateienEntwicklEqualizerAPO_trunkhelpersAbstractLibrary.cpp
call fcn.140005160
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140030582
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003057d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003057d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056818
mov eax, edi
jmp 0x140030588
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140056790
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret