Function at 0x140103d40
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x608]
sub rsp, 0x6e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
test rdx, rdx
je 0x140103fc3
cmp r15w, word [rdx]
je 0x140103fc3
lea rsi, [rcx + 0x10]
mov qword [rsp + 0x48], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [r15 + 1]
mov byte [rsp + 0x50], bl
cmp qword [rdi + 8], r15
jne 0x140103f93
mov r12d, 0x208
mov r8d, r12d
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14028e7e0
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str.Install_Dir
lea rdx, str.SOFTWAREMcAfeePlatform
mov rcx, 0xffffffff80000002
call fcn.14003ddd0
test eax, eax
jne 0x140103e31
cmp dword [rsp + 0x40], ebx
jne 0x140103e31
lea r8, str.core_vtploader.dll
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.14029de34
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140103f19
mov r8, r12
xor edx, edx
lea rcx, [rbp + 0x1b0]
call fcn.14028e7e0
mov r8d, r12d
lea rdx, [rbp + 0x1b0]
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140103f19
mov r8, r12
xor edx, edx
lea rcx, [rbp + 0x3c0]
call fcn.14028e7e0
xor r9d, r9d
lea r8, [rbp + 0x3c0]
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x60]
call fcn.140100e10
nop
lea rdx, str._vtploader.dll
lea rcx, [rbp - 0x80]
call fcn.1400f0f40
nop
lea rcx, [rsp + 0x60]
call fcn.140103ff4
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400f1470
nop
xor r8d, r8d
mov dl, bl
lea rcx, [rbp - 0x80]
call fcn.14002e680
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.14029dd40
nop
xor r8d, r8d
mov dl, bl
lea rcx, [rsp + 0x60]
call fcn.14002e680
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140103f86
lea rax, [0x1403eeaf8]
mov qword [rsp + 0x28], rax
mov eax, dword [reloc.OLEAUT32.dll_VariantInit]
mov dword [rsp + 0x20], eax
lea r9, [0x1403db100]
lea r8, str.Intel_Corporation
mov edx, dword [reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x60]
call fcn.140102714
test eax, eax
je 0x140103f8d
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi], rax
test rax, rax
je 0x140103f8d
lea rdx, str.ValidateModule
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 8], rax
jmp 0x140103f8d
mov edi, 2
jmp 0x140103fb2
cmp qword [rdi + 8], r15
je 0x140103fad
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bl, r15b
mov byte [rsp + 0x50], bl
mov rcx, r14
call qword [rdi + reloc.OLEAUT32.dll_VariantClear]
mov edi, eax
jmp 0x140103fb2
mov edi, 5
test bl, bl
je 0x140103fbf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x140103fc8
mov eax, 0x57
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.14026d870
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret