Function at 0x1400cb2f0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov dword [rsp + 0x30], 0
lea rdx, [0x140228fde]
lea rcx, [rsp + 0x38]
call fcn.1400bebf0
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 0x1400cb6d5
mov dword [rsp + 0x138], 1
mov eax, listen
imul rax, rax, 0
lea rax, [rsp + rax + 0x13c]
mov r8, rax
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400cb454
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.1400bebf0
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, [0x14023b650]
mov rcx, qword [rsp + 0x60]
call fcn.1400becb0
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.1400ed4c0
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.1400c5710
nop
lea rcx, [rsp + 0x90]
call fcn.1400c39e0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call fcn.1400beb90
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400c39e0
mov rax, qword [rsp + 0x190]
jmp 0x1400cb704
mov eax, listen
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 0x1400cb5ae
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.1400bebf0
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, [0x14023b6d0]
mov rcx, qword [rsp + 0xb0]
call fcn.1400becb0
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.1400ed4c0
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.1400c5710
nop
lea rcx, [rsp + 0xe0]
call fcn.1400c39e0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call fcn.1400beb90
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400c39e0
mov rax, qword [rsp + 0x190]
jmp 0x1400cb704
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400cb6ca
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.1400bebf0
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, [0x14023b780]
mov rcx, qword [rsp + 0x100]
call fcn.1400becb0
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.1400ed4c0
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.1400c5710
nop
lea rcx, [rsp + 0x130]
call fcn.1400c39e0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call fcn.1400beb90
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400c39e0
mov rax, qword [rsp + 0x190]
jmp 0x1400cb704
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call fcn.1400beb90
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400c39e0
mov rax, qword [rsp + 0x190]
add rsp, 0x188
ret