Function at 0x1400c6d70
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov dword [rsp + 0x30], 0
lea rdx, [0x1401ef3c6]
lea rcx, [rsp + 0x38]
call fcn.1400bba20
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400c7155
mov dword [rsp + 0x138], 1
mov eax, recv
imul rax, rax, 0
lea rax, [rsp + rax + 0x13c]
mov r8, rax
lea rdx, [0x1401eff20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400c6ed4
lea rax, [rsp + 0x170]
mov qword [rsp + 0x48], rax
lea rdx, str.Insufficient_permissions__please_try_to_run_with_administrator_permissions..0
mov rcx, qword [rsp + 0x48]
call fcn.1400bba20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x60], rax
lea rdx, [0x1401effc8]
mov rcx, qword [rsp + 0x60]
call fcn.1400bbae0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x90]
call fcn.1400e5ed0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.1400c1870
nop
lea rcx, [rsp + 0x90]
call fcn.1400c00e0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call fcn.1400bb9c0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400c00e0
mov rax, qword [rsp + 0x190]
jmp 0x1400c7184
mov eax, recv
imul rax, rax, 0
mov dword [rsp + rax + 0x144], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x138]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1400c702e
lea rax, [rsp + 0x150]
mov qword [rsp + 0x98], rax
lea rdx, str.Insufficient_permissions__please_try_to_run_with_administrator_permissions..1
mov rcx, qword [rsp + 0x98]
call fcn.1400bba20
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0xb0], rax
lea rdx, [0x1401f0040]
mov rcx, qword [rsp + 0xb0]
call fcn.1400bbae0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xe0]
call fcn.1400e5ed0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.1400c1870
nop
lea rcx, [rsp + 0xe0]
call fcn.1400c00e0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call fcn.1400bb9c0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400c00e0
mov rax, qword [rsp + 0x190]
jmp 0x1400c7184
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400c714a
lea rax, [rsp + 0x160]
mov qword [rsp + 0xe8], rax
lea rdx, str.Startup_initialization_failed__You_can_right___click_the_game_client_Last_Epoch.exe__with_administrator_permissions_to_run
mov rcx, qword [rsp + 0xe8]
call fcn.1400bba20
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x168]
mov qword [rsp + 0x100], rax
lea rdx, [0x1401f00f0]
mov rcx, qword [rsp + 0x100]
call fcn.1400bbae0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x118], rax
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x130]
call fcn.1400e5ed0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x38]
call fcn.1400c1870
nop
lea rcx, [rsp + 0x130]
call fcn.1400c00e0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call fcn.1400bb9c0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400c00e0
mov rax, qword [rsp + 0x190]
jmp 0x1400c7184
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call fcn.1400bb9c0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400c00e0
mov rax, qword [rsp + 0x190]
add rsp, 0x188
ret