Function at 0x140004550
Capabilities:
Acquire debug privileges
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x49], eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
xor edi, edi
mov qword [rbp + 0x1f], rdi
movdqu xmmword [rbp - 9], xmm1
mov qword [rbp + 7], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x2d], rdi
mov dword [rbp - 0x31], 1
mov r14d, 1
cmp r12d, r14d
jle 0x140004682
lea rsi, [r15 + 8]
add r15, 0x10
lea r13, str.__pid
mov rbx, qword [rsi]
cmp byte [rbx], 0x2d
jne 0x1400045e9
cmp byte [rbx + 1], 0x70
jne 0x1400045e9
cmp byte [rbx + 2], 0
je 0x140004604
mov rcx, rdi
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x14000461c
cmp rcx, 6
jne 0x1400045f0
mov rcx, qword [r15]
call fcn.1400121c8
mov dword [rbp - 0x39], eax
inc r14d
add rsi, 8
add r15, 8
jmp 0x14000466e
lea rdx, str.__dotnet
mov rcx, rbx
call fcn.14001fcf0
test eax, eax
jne 0x140004634
mov dword [rbp - 0x31], edi
jmp 0x14000466e
lea rdx, str.__stackspoofing
mov rcx, rbx
call fcn.14001fcf0
test eax, eax
jne 0x140004650
mov dword [rbp - 0x2d], 1
jmp 0x14000466e
lea rdx, str.__commandline
mov rcx, rbx
call fcn.14001fcf0
test eax, eax
jne 0x1400047dd
mov dword [rbp - 0x35], 1
inc r14d
add rsi, 8
add r15, 8
cmp r14d, r12d
jl 0x1400045d5
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x21]
or edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, edi
mov qword [rbp - 0x19], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x19]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140004700
mov dword [rbp - 0x21], edi
mov dword [rbp - 0x41], 4
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x21]
mov edx, 0x14
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rbp - 0x21]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14000470f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14000481d
lea rcx, str.__I_Need_to_be_elevated_n
call fcn.140001150
mov r14, qword [rbp - 9]
mov r12, qword [rbp + 0xf]
test r14, r14
je 0x140004771
mov rax, qword [rbp + 7]
sub rax, r14
sar rax, 3
lea rdx, [rax*8]
mov rax, r14
cmp rdx, 0x1000
jb 0x140004768
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c3a
mov rcx, r14
call fcn.14000769c
nop
test r12, r12
je 0x1400047ae
sub rdi, r12
and rdi, 0xfffffffffffffff8
mov rax, r12
cmp rdi, 0x1000
jb 0x1400047a3
add rdi, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c2e
mov rdx, rdi
mov rcx, r12
call fcn.14000769c
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140007640
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp byte [rbx], 0x2d
jne 0x1400047f2
cmp byte [rbx + 1], 0x68
jne 0x1400047f2
cmp byte [rbx + 2], 0
je 0x140004c34
mov rcx, rdi
lea rdx, str.__help
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004c34
cmp rcx, 7
je 0x140004c34
jmp 0x140004800
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x15], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x41]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140004894
mov dword [rbp - 0x19], 1
mov dword [rbp - 0xd], 2
lea r8, [rbp - 0x15]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rbp - 0x41]
test eax, eax
je 0x14000488e
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp - 0x19]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp - 0x41]
test eax, eax
jne 0x1400048a2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, edi
lea rcx, str.__Failed_to_enable_DebugPrivilege_n
jmp 0x14000471e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x29], 0
jne 0x1400048ba
lea rcx, str._________________________r_n___________________r_n_________._________r_n___________._________r_n___________________r_n____________________r_n_r_nHunt_Sleeping_Beacons___thefLinkk_r_n_r_n
call fcn.140001150
lea rcx, str._Building_list_of_candidate_s__n
call fcn.140001150
mov rsi, rdi
mov ecx, 6
call qword [sym.imp.dbghelp.dll_SymSetOptions]
mov edx, dword [rbp - 0x39]
test edx, edx
je 0x1400048e9
lea rcx, str._t_Enumerating_threads_in_process__d_n
call fcn.140001150
jmp 0x140004901
cmp dword [rbp - 0x31], edi
lea rcx, str._t_Enumerating_processes_and_threads___ignoring_Dotnet_and_32Bit_processes__._This_might_take_a_while_...__n
jne 0x1400048fc
lea rcx, str._t_Enumerating_processes_and_threads___ignoring_32Bit_processes__._This_might_take_a_while_...__n
call fcn.140001150
mov r8d, dword [rbp - 0x31]
lea rdx, [rbp - 9]
mov ecx, dword [rbp - 0x39]
call fcn.140006e10
mov ebx, eax
test eax, eax
je 0x140004723
mov r14, qword [rbp - 9]
mov rdx, r14
mov r15, qword [rbp - 1]
cmp r14, r15
je 0x14000494b
nop dword [rax + rax]
mov rax, qword [rdx]
mov rcx, qword [rax + 0x70]
sub rcx, qword [rax + 0x68]
sar rcx, 3
add rsi, rcx
add rdx, 8
cmp rdx, r15
jne 0x140004930
mov rdx, r15
sub rdx, r14
sar rdx, 3
mov r8, rsi
lea rcx, str._t_Identified_a_total_of__Id_processes_and__Id_threads__n
call fcn.140001150
mov ebx, 1
mov rax, r15
sub rax, r14
test rax, 0xfffffffffffffff8
jne 0x14000498f
mov edx, dword [rbp - 0x39]
test edx, edx
je 0x14000498f
lea rcx, str.__Failed_to_enumerate_threads_for_pid:__d_n
call fcn.140001150
jmp 0x140004727
lea rcx, str._Now_checking_for_IOCs__this_might_take_a_while_...__n
call fcn.140001150
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.140004c40
mov ecx, 0x28
call fcn.140007660
mov qword [rbp - 0x19], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.1400029f0
mov qword [rbp - 0x21], rax
mov r13, r14
mov qword [rbp - 0x19], r14
mov r12, qword [rbp + 0xf]
cmp r14, r15
je 0x140004ac4
mov rsi, qword [rbp + 0x17]
nop
mov rdi, qword [r13]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 8]
mov qword [rbp - 0x41], rax
test rax, rax
je 0x140004a2b
lea rcx, [rdi + 0x50]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140004a22
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x140004a2b
lea r8, [rbp - 0x41]
call fcn.140004fa0
mov r12, qword [rdi + 0x70]
mov r14, qword [rdi + 0x68]
cmp r14, r12
je 0x140004aa7
mov r13, qword [rbp + 0xf]
nop dword [rax]
mov r15, qword [r14]
mov rbx, r13
cmp r13, rsi
je 0x140004a96
nop dword [rax + rax]
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov r8, r15
mov rdx, qword [rdi + 0x48]
call qword [rax + 8]
mov qword [rbp - 0x41], rax
test rax, rax
je 0x140004a8d
lea rcx, [rdi + 0x80]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140004a84
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x140004a8d
lea r8, [rbp - 0x41]
call fcn.140004fa0
add rbx, 8
cmp rbx, rsi
jne 0x140004a50
add r14, 8
cmp r14, r12
jne 0x140004a40
mov r13, qword [rbp - 0x19]
mov r15, qword [rbp - 1]
add r13, 8
mov qword [rbp - 0x19], r13
cmp r13, r15
mov rax, qword [rbp - 0x21]
jne 0x1400049f0
mov r12, qword [rbp + 0xf]
mov r14, qword [rbp - 9]
mov r15, r14
mov r13, qword [rbp - 1]
cmp r14, r13
je 0x140004bf6
mov rsi, qword [r15]
mov rax, qword [rsi + 0x58]
sub rax, qword [rsi + 0x50]
test rax, 0xfffffffffffffff8
jne 0x140004b01
mov rax, qword [rsi + 0x88]
sub rax, qword [rsi + 0x80]
test rax, 0xfffffffffffffff8
je 0x140004be5
cmp dword [rbp - 0x35], 0
je 0x140004b17
lea r9, [rsi + 0x20]
cmp qword [r9 + 0x18], 7
jbe 0x140004b1e
mov r9, qword [r9]
jmp 0x140004b1e
lea r9, [0x14002ae30]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140004b2b
mov rdx, qword [rsi]
mov r8d, dword [rsi + 0x40]
lea rcx, str.e_36m_Detections_for:__s____Id____Se_0m_n
call fcn.140001150
mov r14, qword [rsi + 0x58]
mov rdi, qword [rsi + 0x50]
cmp rdi, r14
je 0x140004b8f
nop dword [rax + rax]
mov rbx, qword [rdi]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140004b60
mov rdx, qword [rbx]
lea rcx, str._t__e_31m_se_0m_
call fcn.140001150
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0xf
jbe 0x140004b7a
mov rdx, qword [rdx]
lea rcx, str.e_33m_se_0m_n
call fcn.140001150
add rdi, 8
cmp rdi, r14
jne 0x140004b50
mov r14, qword [rsi + 0x88]
mov rdi, qword [rsi + 0x80]
cmp rdi, r14
je 0x140004be5
mov rbx, qword [rdi]
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140004bb2
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x48]
lea rcx, str._t__Thread__Id__e_31m_se_0m_
call fcn.140001150
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0xf
jbe 0x140004bd0
mov rdx, qword [rdx]
lea rcx, str.e_33m_se_0m_n
call fcn.140001150
add rdi, 8
cmp rdi, r14
jne 0x140004ba2
add r15, 8
cmp r15, r13
jne 0x140004ad4
mov r14, qword [rbp - 9]
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp - 0x49]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x14002b6b0]
movq rdx, xmm1
lea rcx, str._Analysis_done_in__f_seconds__n
call fcn.140001150
mov rdi, qword [rbp + 0x1f]
jmp 0x14000472b
call fcn.140011ad4
nop
call fcn.140004f20
nop
call fcn.140011ad4
int3