Function at 0x140002a88
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov r14, rcx
mov dword [rsp + 0x38], 0x5c003a
xor eax, eax
mov dword [rsp + 0x3c], 0x79006d
mov r15d, r8d
mov dword [rsp + 0x40], 0x700061
mov r12, rdx
mov dword [rsp + 0x44], 0x2e0070
mov ecx, 0x208
mov dword [rsp + 0x48], 0x780065
lea rdi, [rbp + 0x170]
mov dword [rsp + 0x4c], 0x65
rep stosb byte [rdi], al
xor ebx, ebx
lea rdx, [rbp + 0x170]
xor ecx, ecx
mov r8d, 0x104
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x170]
call fcn.140001c54
test rax, rax
je 0x140002b29
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
lea rcx, [rbp + 0x3c8]
mov dword [rbp + 0x3c8], ebx
call qword [sym.imp.ntdll.dll_RtlQueryElevationFlags]
test byte [rbp + 0x3c8], 1
jne 0x140002b4f
mov eax, 0xc000042c
jmp 0x140002d3f
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140002d3a
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp qword [0x14002fa68], rbx
jne 0x140002b8b
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x10]
mov qword [0x14002fa68], rax
mov ecx, dword [r14]
cmp ecx, 0xabcdef
jne 0x140002c0c
xor eax, eax
mov dword [rbp + 0x3c8], ebx
lea rdi, [rsp + 0x60]
mov ecx, 0x20a
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, rax
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x20], rax
call section..text
cmp dword [rbp + 0x3c8], ebx
je 0x140002d33
movzx edx, word [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, ebx
jmp 0x140002c04
lea eax, [rdx - 0x30]
cmp ax, 9
ja 0x140002c09
movzx eax, dx
lea ecx, [rcx + rcx*4]
add rdi, 2
lea ecx, [rcx - 0x18]
lea ecx, [rax + rcx*2]
movzx edx, word [rdi]
test dx, dx
jne 0x140002be8
mov dword [r14], ecx
test ecx, ecx
je 0x140002d33
cmp ecx, 0x4f
jge 0x140002d33
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x58]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
mov edi, eax
test eax, eax
js 0x140002c7e
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
lea edx, [r9 + 0xe]
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
mov rcx, qword [rsp + 0x58]
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
js 0x140002d3a
cmp dword [rsp + 0x30], 3
je 0x140002ca7
mov eax, 0xc00000bb
jmp 0x140002d3f
test r12, r12
je 0x140002cb9
test r15d, r15d
je 0x140002cb9
mov rbx, r12
mov esi, r15d
jmp 0x140002d04
xor eax, eax
mov dword [rbp + 0x3c8], ebx
lea rdi, [rsp + 0x60]
mov ecx, 0x20a
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x60]
mov edx, 2
mov rcx, rax
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x20], rax
call section..text
cmp dword [rbp + 0x3c8], ebx
jbe 0x140002d04
mov esi, dword [rbp + 0x3c8]
lea rbx, [rsp + 0x60]
lea rcx, [0x140003464]
call fcn.14000d7f4
mov r9, rax
mov r8d, esi
mov rdx, rbx
call fcn.14000f390
mov qword [0x14002fa70], rax
neg rax
sbb eax, eax
not eax
and eax, 0x40000015
jmp 0x140002d3f
mov eax, 0xc000000d
jmp 0x140002d3f
mov eax, 0xc00000e5
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret