joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400633f0
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rax, [0x1401c4118]
mov qword [rcx], rax
cmp byte [rcx + 0x38], 0
je 0x140063493
lea rcx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
mov edx, VarR8FromUI1
call fcn.1400f1390
test eax, eax
jg 0x140063557
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.140088060
test al, al
jne 0x140063452
mov rcx, rdi
call fcn.140187e60
cmp byte [rsi + 0x3a], 0
je 0x140063503
lea rcx, [rsi + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401c1a20]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.1400f2470
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x1400634ed
cmp qword [rsi + 0x40], 0
je 0x140063503
lea rdi, [rsi + 0x40]
mov rcx, qword [0x140203b58]
test rcx, rcx
jne 0x1400634b9
call fcn.140045f90
mov rcx, rax
mov qword [0x140203b58], rax
mov rdx, rdi
call fcn.140046f50
jmp 0x140063503
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x1400634f9
mov rcx, rdi
mov rdx, rbx
call fcn.1400f2470
mov rcx, rdi
mov rdx, rbx
call fcn.140098d60
mov rcx, rbx
call fcn.1400f21a0
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x1400634c8
jmp 0x1400634c3
lea rcx, [rsp + 0x40]
call fcn.1400f21a0
mov rdi, qword [rsi + 0x40]
mov qword [rsi + 0x40], 0
test rdi, rdi
je 0x140063524
mov rcx, rdi
call fcn.140047fb0
mov rcx, rdi
call fcn.14012c3dc
lea rcx, [rsi + 0x20]
call fcn.1400f21a0
add rsi, 8
mov rcx, rsi
call fcn.1400f21a0
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14012cf50
nop
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x25
mov r9d, 0xffffffff
call fcn.140096900
lea rcx, [rsp + 0x50]
lea rdx, str.Actual_removal_of
mov r8d, shutdown
call fcn.140167d50
lea rdx, [rsi + 0x20]
mov rcx, rax
call fcn.1400906b0
mov rcx, rdi
call fcn.140096f50
jmp 0x14006343a
Function at 0x140065c60
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x1401c4158]
mov qword [rcx], rax
cmp byte [rcx + 0x40], 0
je 0x140065d02
lea rcx, [rsi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401c1a20]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.1400f2470
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x140065cec
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140065cf8
mov rcx, rdi
mov rdx, rbx
call fcn.1400f2470
mov rcx, rdi
mov rdx, rbx
call fcn.140098d60
mov rcx, rbx
call fcn.1400f21a0
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140065cc7
jmp 0x140065cc2
lea rcx, [rsp + 0x40]
call fcn.1400f21a0
lea rcx, [rsi + 0x28]
call fcn.1400f21a0
lea rcx, [rsi + 0x10]
call fcn.1400f21a0
mov rcx, qword [rsi + 8]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1401f2888]
jne 0x140065d33
call fcn.1400f60d0
mov qword [rsi + 8], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012cf50
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140072b30
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140072b77
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140072b82
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140072b6f
mov qword [rsi], rdi
call fcn.1400f1600
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400f1600
mov rcx, qword [rsi]
call fcn.1400dc360
mov qword [rsi], 0
jmp 0x140072b5d

Function at 0x140072bd0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140072bf6
call fcn.1400f1600
cmp qword [rsi], rbx
je 0x140072c25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140072c32
cmp r14, 2
jb 0x140072c1d
mov qword [rsi], rbx
call fcn.1400f1600
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400f1600
mov rcx, qword [rsi]
call fcn.1400dc360
mov qword [rsi], 0
jmp 0x140072c0f

Function at 0x140072c50
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140072c75
call fcn.1400f1600
cmp qword [rsi], rbx
je 0x140072ca4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140072cb1
cmp r14, 2
jb 0x140072c9c
mov qword [rsi], rbx
call fcn.1400f1600
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400f1600
mov rcx, qword [rsi]
call fcn.1400dc360
mov qword [rsi], 0
jmp 0x140072c8e

Function at 0x140072d80
Capabilities:
Terminate process

Disassembly:
mov rcx, qword [rcx]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x140072d8e
ret
xor edx, edx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140073630
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx eax, byte [rcx + 0x1f]
test al, al
jns 0x140073658
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14007370e
lea r8, [rsi + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401c1a20]
movaps xmmword [rdi], xmm0
lea rdx, str.opera_splash_lock_
mov rcx, rdi
call fcn.140056ae0
cmp byte [rdi + 0x17], 0
jns 0x14007369c
mov rdi, qword [rsp + 0x20]
xor ecx, ecx
mov edx, 1
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
cmp qword [rsi + 0x38], rax
je 0x1400736ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x38]
inc rax
cmp rax, 2
jae 0x14007376e
mov rax, rdi
inc rax
cmp rax, 2
jb 0x1400736e3
mov qword [rsi + 0x38], rdi
call fcn.1400f1600
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x38]
xor ebp, ebp
lea rax, [rdi + 1]
cmp rax, 2
jae 0x140073728
cmp byte [rsp + 0x37], 0
jns 0x140073710
mov rcx, qword [rsp + 0x20]
call fcn.14012c3dc
jmp 0x140073710
xor ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012cf50
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
test bl, bl
mov eax, 0x1f4
cmovne ebp, eax
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bpl, 1
test eax, 0xffffff7f
je 0x1400736fb
mov rax, qword [rsi + 0x38]
inc rax
cmp rax, 2
jb 0x14007376a
call fcn.1400f1600
mov rcx, qword [rsi + 0x38]
call fcn.1400dc360
mov qword [rsi + 0x38], 0
xor ebp, ebp
jmp 0x1400736fb
call fcn.1400f1600
mov rcx, qword [rsi + 0x38]
call fcn.1400dc360
mov qword [rsi + 0x38], 0
jmp 0x1400736ce
Function at 0x14007f7f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402057e8]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007f850
lea rsi, [0x1402057e0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012cf50
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402057e8]
call fcn.14012c500
cmp dword [0x1402057e8], 0xffffffff
jne 0x14007f82c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14012fee0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14012c3a0
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140205830]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007f910
lea r8, [0x140205800]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14007fa10
mov qword [0x1402057e0], rsi
lea rcx, [0x1402057e8]
call fcn.14012c598
jmp 0x14007f82c
lea rcx, [0x140205830]
call fcn.14012c500
cmp dword [0x140205830], 0xffffffff
jne 0x14007f8e1
xorps xmm0, xmm0
movups xmmword [0x140205820], xmm0
movups xmmword [0x140205810], xmm0
movups xmmword [0x140205800], xmm0
lea rcx, [0x140205800]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140205830]
call fcn.14012c598
jmp 0x14007f8e1

Function at 0x14007f960
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140205830]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007f99b
movzx eax, word [0x140205800]
cmp eax, 9
jne 0x14007f9e3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140205830]
call fcn.14012c500
cmp dword [0x140205830], 0xffffffff
jne 0x14007f985
xorps xmm0, xmm0
movups xmmword [0x140205820], xmm0
movups xmmword [0x140205810], xmm0
movups xmmword [0x140205800], xmm0
lea rcx, [0x140205800]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140205830]
call fcn.14012c598
jmp 0x14007f985
test eax, eax
je 0x14007f996
cmp eax, 6
jne 0x14007f9f3
mov eax, 2
jmp 0x14007f996
cmp eax, 0xc
jne 0x14007f9ff
mov eax, 3
jmp 0x14007f996
mov eax, 4
jmp 0x14007f996
Function at 0x140081210
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 8]
lea rax, [r14 + 1]
cmp rax, 1
ja 0x140081296
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
cmp qword [rdi + 8], rax
je 0x140081296
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x140081332
mov rax, r14
inc rax
cmp rax, 2
jb 0x14008128a
mov qword [rdi + 8], r14
call fcn.1400f1600
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140081370
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov edx, 1
mov r8d, 0x1000000f
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x14008134d
lea rcx, [rdi + 0x68]
mov rdx, rsi
call fcn.1400f1e50
lea rbx, [rdi + 0x10]
lea rdx, str.StartWatching
lea r8, [0x1401d8fb0]
lea r14, [rsp + 0x28]
mov rcx, r14
mov r9d, 0x66
call fcn.1400f15e0
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov r8, rdi
mov r9, r14
call fcn.1400dc450
mov edi, eax
mov rcx, rsi
call fcn.1400f1ec0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012cf50
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.1400f1600
mov rcx, qword [rdi + 8]
call fcn.1400dc360
mov qword [rdi + 8], 0
jmp 0x140081275
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jb 0x140081370
call fcn.1400f1600
mov rcx, qword [rdi + 8]
call fcn.1400dc360
mov qword [rdi + 8], 0
xor edi, edi
jmp 0x140081310

Function at 0x140081550
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x140081550
mov rdx, qword [rdx]
jmp 0x140081550
sub rsp, 0x38
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x140081580
Capabilities:
Delete registry key

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x14008164e
mov r14d, r8d
mov rdi, rdx
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], r15
xor eax, eax
mov qword [rsp + 0x38], rax
mov r12d, dword [rsi + 8]
mov r9d, r12d
or r9d, 0x10001
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008162e
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rbx
and r12d, 0x300
mov dword [rsp + 0x30], r12d
test r14b, r14b
je 0x140081655
test rbx, rbx
je 0x14008161f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rdi
call fcn.1400816b0
mov ebp, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012cf50
mov eax, ebp
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ebp, 6
jmp 0x140081630
lea rdi, [rsp + 0x40]
mov qword [rdi], r15
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.140081850
cmp byte [rdi + 4], 0
je 0x14008167b
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x140081630
jmp 0x140081696
mov r8d, dword [rsi + 8]
lea rdx, [0x1401cad94]
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
jmp 0x140081674
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140081630
Function at 0x1400816b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov esi, r8d
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r14
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov r9d, r8d
or r9d, 0x10009
lea rax, [rsp + 0x60]
mov qword [rax], rbx
mov qword [rsp + 0x20], rax
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008178e
lea rbx, [rsp + 0x60]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x48]
mov qword [rcx], rdi
mov eax, esi
and eax, 0x300
mov dword [rcx + 8], eax
mov qword [rbx], r14
mov rdx, rbx
call fcn.140081850
cmp byte [rbx + 4], 0
jne 0x14008183a
lea rdx, [0x1401cad94]
xor ebx, ebx
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x140081796
test rdi, rdi
je 0x14008176b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14012cf50
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp eax, 2
cmovne ebx, eax
jmp 0x14008176b
mov ecx, 0x200
call fcn.14012c41c
mov r14, rax
mov r8d, 0x200
mov rcx, rax
xor edx, edx
call fcn.14012fee0
xorps xmm6, xmm6
lea rbx, [rsp + 0x60]
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x60], 0x100
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov rcx, rdi
xor edx, edx
mov r8, r14
mov r9, rbx
call r15
test eax, eax
jne 0x14008180c
mov eax, dword [rsp + 0x60]
cmp rax, 0x100
jae 0x140081843
cmp word [r14 + rax*2], 0
jne 0x140081846
mov rcx, rdi
mov rdx, r14
mov r8d, esi
call fcn.1400816b0
test eax, eax
je 0x1400817c2
lea rdx, [0x1401cad94]
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test r14, r14
je 0x14008175d
mov rcx, r14
call fcn.14012c424
jmp 0x14008175d
mov ebx, dword [rsp + 0x60]
jmp 0x14008175d
int3
int3
Function at 0x140081850
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x3c]
mov dword [r9], 0
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.SymbolicLinkValue
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x1400818b6
mov byte [rsi], 0
xor eax, eax
mov byte [rsi + 4], al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012cf50
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
test eax, eax
jne 0x140081904
cmp dword [rsp + 0x3c], 6
jne 0x140081897
mov rcx, qword [rdi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x14008190a
mov edi, eax
mov eax, dword [0x140205848]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140081919
mov rax, qword [0x140205840]
test rax, rax
je 0x140081912
mov ecx, edi
call qword [0x140224008]
mov dword [rsi], eax
mov al, 1
jmp 0x14008189c
mov dword [rsi], 0
jmp 0x140081906
mov eax, 5
jmp 0x140081904
lea rcx, [0x140205848]
call fcn.14012c500
cmp dword [0x140205848], 0xffffffff
jne 0x1400818f0
lea rcx, [0x1401d9006]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140205840], rax
lea rcx, [0x140205848]
call fcn.14012c598
jmp 0x1400818f0

Function at 0x140081970
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400819f8
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400819e2
cmp dword [rsp + 0x38], 4
jne 0x1400819e2
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012cf50
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400819e2
Function at 0x140081a00
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14012cef0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14012fee0
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140081ab3
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140081ab7
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.14007dc90
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14012cf50
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140081a94
cmp eax, 2
jne 0x140081aff
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14012fee0
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x140081b06
lea rdx, [rsp + 0x40]
jmp 0x140081a8a
mov edi, 0x3f4
jmp 0x140081a94
mov edi, 0xea
jmp 0x140081a94

Function at 0x140081b10
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.14014ecd4
lea eax, [rax*2 + 2]
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140082b30
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140205878]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140082b65
jnp 0x140082b89
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14012cf50
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140205888]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140082c9e
mov eax, dword [0x140205898]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140082cd8
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x20]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x140205890]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401c6e40]
ucomisd xmm1, xmm0
ja 0x140082b65
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x140205880]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x1401c6640]
subpd xmm6, xmmword [0x1401c6650]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x140205878], xmm6
jmp 0x140082b65
lea rcx, [0x140205888]
call fcn.14012c500
cmp dword [0x140205888], 0xffffffff
jne 0x140082bd2
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140205880], rdx
lea rcx, [0x140205888]
call fcn.14012c598
jmp 0x140082bd2
lea rcx, [0x140205898]
call fcn.14012c500
cmp dword [0x140205898], 0xffffffff
jne 0x140082bf7
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x140205890], rax
lea rcx, [0x140205898]
call fcn.14012c598
jmp 0x140082bf7