Function at 0x1400e7e60
Capabilities:
Acquire debug privileges
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
call fcn.1400e7e20
test al, al
jne 0x1400e7eae
lea rcx, [rsp + 0x60]
call fcn.1400e8420
mov rcx, rax
call fcn.1400e6230
mov rcx, rax
call fcn.1400efc30
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edx, edx
lea ecx, [rdx + 0xc]
call fcn.14010e3c0
xor edx, edx
lea ecx, [rdx + 2]
call fcn.14010e3c0
xor edx, edx
mov ecx, 0x80
call fcn.14010e3c0
lea rcx, str.WinMain
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginMutation]
lea rcx, [rsp + 0x20]
call fcn.1400e9b50
mov rdx, rax
call fcn.1400e9ba0
lea rcx, [rsp + 0x20]
call fcn.1400e8cd0
lea r8, [rbp - 0x20]
mov qword [rbp - 0x20], 0
mov edx, 0x28
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400e7fa7
mov rcx, qword [rbp - 0x20]
lea rdx, str.SeLoadDriverPrivilege
call fcn.1400f0ac0
test al, al
jne 0x1400e7f61
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x60]
mov r10d, eax
call fcn.1400e8440
mov rcx, rax
call fcn.1400be6d0
mov edx, r10d
mov rcx, rax
call fcn.1400efc30
mov rcx, qword [rbp - 0x20]
lea rdx, str.SeDebugPrivilege
call fcn.1400f0ac0
test al, al
jne 0x1400e7f9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x60]
mov r10d, eax
call fcn.1400e8440
mov rcx, rax
call fcn.1400be6d0
mov edx, r10d
mov rcx, rax
call fcn.1400efc30
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400e7fcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x60]
mov r10d, eax
call fcn.1400e8440
mov rcx, rax
call fcn.1400be6d0
mov edx, r10d
mov rcx, rax
call fcn.1400efc30
lea rcx, [0x1400bc220]
call fcn.1400f0e80
call fcn.1400b1f70
call fcn.1400b17f0
lea rcx, [0x1400b4e60]
call fcn.1400f0e80
lea rcx, [0x1400b4c40]
call fcn.1400f0e80
lea rcx, [0x1400b43a0]
call fcn.1400f0e80
lea rcx, [0x1400e7180]
call fcn.1400f0e80
lea rcx, [0x1400b7920]
call fcn.1400f0e80
lea rcx, [0x1400b6aa0]
call fcn.1400f0e80
lea rcx, [0x1400b8290]
call fcn.1400f0e80
lea rcx, [0x1400bce40]
call fcn.1400f0e80
lea rcx, [0x1400bbd10]
call fcn.1400f0e80
call fcn.1400e7040
test al, al
jne 0x1400e80a1
nop dword [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x140338618]
inc eax
mov dword [0x140338618], eax
cmp eax, 0x1e
jle 0x1400e8098
lea rcx, [rsp + 0x60]
call fcn.1400e8460
mov rcx, rax
call fcn.1400bdb20
mov rcx, rax
call fcn.1400efc30
call fcn.1400e7040
test al, al
je 0x1400e8060
xor edx, edx
lea rcx, [rbp + 0xd0]
mov r8d, 0x104
call fcn.14023c420
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x60]
call fcn.1400c8da0
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x40]
call fcn.1400e8480
lea rcx, [rsp + 0x20]
call fcn.1400e84c0
mov rcx, rax
call fcn.1400bd760
mov r8, rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.1400e9220
lea rcx, [rsp + 0x20]
call fcn.1400e84e0
mov rcx, rax
call fcn.1400bd760
lea rcx, [rsp + 0x60]
mov rdi, rax
call fcn.1400f01a0
lea r8, [0x140302818]
mov rbx, rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400e9220
mov r8, rbx
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.1400e9200
mov r8, rdi
lea rcx, [rbp + 0x80]
mov rdx, rax
call fcn.1400e92c0
lea rcx, [rsp + 0x40]
call fcn.1400c8cb0
lea rcx, [rbp - 0x40]
call fcn.1400c8cb0
lea rcx, [rsp + 0x60]
call fcn.1400c8cb0
mov edx, 0x18
lea rcx, [rbp - 0x18]
call fcn.1400ae670
lea rcx, [rbp - 0x18]
call fcn.1400c67c0
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x60]
call fcn.1400effc0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rbp + 0x20]
call fcn.1400c8820
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400e81ef
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.1400e9bd0
lea rcx, [rsp + 0x20]
call fcn.1400e28e0
lea rcx, [rsp + 0x20]
call fcn.1400e24a0
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400e9bd0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400e9bd0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400e6d60
lea rcx, [rsp + 0x20]
call fcn.1400e24a0
lea rcx, [rsp + 0x40]
call fcn.1400e24a0
lea rcx, [0x1403386a8]
call fcn.1400f0290
mov r10d, eax
cmp eax, 1
je 0x1400e8262
lea rcx, [rsp + 0x60]
call fcn.1400e8500
mov rcx, rax
call fcn.1400bdb20
mov rcx, rax
mov edx, r10d
call fcn.1400efc30
lea rdx, [0x1403386a8]
lea rcx, [rsp + 0x60]
call fcn.1400c8e40
mov rdx, rax
call fcn.1400e7070
lea rcx, str.gui.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
jne 0x1400e82ac
lea rcx, [rsp + 0x60]
call fcn.1400e8520
mov rcx, rax
call fcn.1400bdb20
mov rcx, rax
xor edx, edx
call fcn.1400efc30
lea rdx, str.CreateGUIObject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x1400e82e1
lea rcx, [rsp + 0x60]
call fcn.1400e8540
mov rcx, rax
call fcn.1400bdb20
mov rcx, rax
mov rdx, rbx
call fcn.1400efc30
lea rcx, [rbp + 0xa0]
call fcn.1400ebc70
lea rcx, [rsp + 0x60]
call fcn.1400f00a0
mov rcx, rax
call fcn.1400c84e0
mov rcx, rax
mov edx, 0x1c2
mov r8d, 0xc8
call rdi
lea rcx, [rsp + 0x60]
mov qword [0x14032fda0], rax
call fcn.1400c8590
lea rcx, [rsp + 0x20]
call fcn.1400e8560
mov rcx, rax
call fcn.1400bd760
mov rcx, qword [0x14032fda0]
mov rdx, rax
call qword [sym.imp.GUI.dll_public:_void___cdecl_GUIWrapper::SetVersion_char_const____ptr64____ptr64]
lea rdx, [rbp]
lea rcx, [rbp + 0xa0]
call fcn.1400e6e10
lea rcx, [rbp]
call fcn.1400c8810
cmp rax, 2
jbe 0x1400e837a
lea rcx, [rbp]
call fcn.1400c8820
mov rcx, qword [0x14032fda0]
mov rdx, rax
call qword [sym.imp.GUI.dll_public:_void___cdecl_GUIWrapper::SetToken_char_const____ptr64____ptr64]
mov rcx, qword [0x14032fda0]
mov edx, 1
call qword [sym.imp.GUI.dll_public:_void___cdecl_GUIWrapper::ChangeDialog_enum_Dialogs____ptr64]
mov rcx, qword [0x14032fda0]
lea rdx, [0x1400ebd60]
call qword [sym.imp.GUI.dll_public:_void___cdecl_GUIWrapper::SetLoginCallback_void____cdecl___char_const____ptr64__bool_____ptr64]
mov rcx, qword [0x14032fda0]
call qword [sym.imp.GUI.dll_public:_void___cdecl_GUIWrapper::Worker_void____ptr64]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
lea rcx, [rbp]
call fcn.1400c8cb0
lea rcx, [rbp + 0xa0]
call fcn.1400afb80
lea rcx, [rbp - 0x18]
call fcn.1400c67b0
lea rcx, [rbp + 0x80]
call fcn.1400c8cb0
lea rcx, [rbp + 0x20]
call fcn.1400c8cb0
lea rcx, [rbp + 0x40]
call fcn.1400c8cb0
lea rcx, [rbp + 0x60]
call fcn.1400c8cb0
xor eax, eax
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140239380
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret