Function at 0x14001b590
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
cmp byte [0x1402e8e90], 0
je 0x14001b5df
movzx eax, byte [0x1402e8e91]
jmp 0x14001b8ac
mov qword [rbp - 0x50], 7
xor esi, esi
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
xor r8d, r8d
lea rdx, [0x140288578]
lea rcx, [rbp - 0x68]
call fcn.140003650
nop
lea rcx, [rsp + 0x60]
call fcn.14001f040
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140015a80
nop
lea r8, str.AsTaskSched64.dll
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140016160
mov rdi, rax
lea rax, [rbp - 0x68]
cmp rax, rdi
je 0x14001b675
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x14001b658
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.1400037a0
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140003cb0
nop
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14001b692
inc r8
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.1400037a0
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14001b6c2
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400037a0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14001b6f2
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400037a0
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001b77e
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
mov r8d, 3
lea rdx, [0x14028d110]
lea rcx, [rsp + 0x40]
call fcn.140003650
nop
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x20]
call fcn.140003830
nop
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001f890
test al, al
je 0x14001b87f
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x14001b7e2
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.1401e7f40
movups xmm0, xmmword [rbp - 0x68]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rbp - 0x58]
movaps xmmword [rsp + 0x70], xmm1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, str.Loading__s_failed._Last_Error_is__d
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14001b869
lea rdx, [0x14028d1b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
lea rdx, [0x14028d198]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
lea rdx, [0x14028d220]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp qword [rbx + 8], 0
je 0x14001b83e
cmp qword [rbx + 0x10], 0
je 0x14001b83e
test rax, rax
je 0x14001b83e
mov byte [0x1402e8e91], 1
mov bl, 1
jmp 0x14001b888
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.1401e7f40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetProcAddress_failed._Last_Error_is__d
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
xor r9d, r9d
lea r8, str.ERROR
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov byte [0x1402e8e91], 0
xor bl, bl
mov byte [0x1402e8e90], 1
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x14001b8a9
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.1400037a0
movzx eax, bl
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1401e30a0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret