joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004aca0
Capabilities:
Check mutex on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov ebp, r9d
mov rbx, r8
mov rsi, rdx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov ecx, SafeArrayCopy
call fcn.140124db0
mov rdi, rax
lea rax, fcn.14004bfb0
mov qword [rdi], rax
mov byte [rdi + 0x10], 0
movaps xmm6, xmmword [0x1401af9e0]
movaps xmmword [rsp + 0x90], xmm6
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0x90], SafeArrayCopy
mov qword [rsp + 0x98], 0
movzx eax, bpl
mov dword [rsp + 0xa0], eax
cmp byte [rbx + 0x17], 0
jns 0x14004ad3b
mov rbx, qword [rbx]
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 8], rax
test rax, rax
je 0x14004ae60
mov rbx, rax
mov r14, qword [rsp + 0x120]
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x80], r15
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
xor eax, eax
mov byte [rsp + 0x40], al
mov byte [rsp + 0x80], al
test r14, r14
je 0x14004ae1c
lea rdx, str.NamedMutexImpl
lea r8, str.....operadesktopwindowsos_operationsos_operations_impl.cc
lea rcx, [rsp + 0x20]
mov r9d, 0xd7
call fcn.1400ed530
cmp byte [rsp + 0x80], 0
je 0x14004add2
lea r15, [rsp + 0x40]
mov rcx, r15
call fcn.1400e1ad0
mov byte [r15 + 0x40], 0
movabs r12, 0x7fffffffffffffff
lea r15, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, r15
xor r8d, r8d
call fcn.1400e1a50
mov byte [r15 + 0x40], 1
mov edx, 0xffffffff
cmp r14, r12
je 0x14004ae3a
lea rax, [r12 + r14]
add rax, 2
cmp rax, 2
jae 0x14004ae1c
lea rdx, [r12 + 1]
test r14, r14
cmovns rdx, r12
jmp 0x14004ae3a
movabs rcx, 0x20c49ba5e353f7cf
mov rax, r14
imul rcx
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
sete byte [rdi + 0x10]
cmp byte [rsp + 0x80], 0
je 0x14004ae60
lea rcx, [rsp + 0x40]
call fcn.1400e1ad0
mov qword [rsi], rdi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140125960
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14004b450
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x14007b3a0
mov rdx, qword [rdx]
jmp 0x14007b3a0
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 0x140061040
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rax, [0x1401b2988]
mov qword [rcx], rax
cmp byte [rcx + 0x38], 0
je 0x1400610e3
lea rcx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
mov edx, VarR8FromUI1
call fcn.1400ed2b0
test eax, eax
jg 0x1400611a7
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.140081fa0
test al, al
jne 0x1400610a2
mov rcx, rdi
call fcn.14017ded0
cmp byte [rsi + 0x3a], 0
je 0x140061153
lea rcx, [rsi + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401af9e0]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.1400ee840
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x14006113d
cmp qword [rsi + 0x40], 0
je 0x140061153
lea rdi, [rsi + 0x40]
mov rcx, qword [0x1401f2ae8]
test rcx, rcx
jne 0x140061109
call fcn.140044840
mov rcx, rax
mov qword [0x1401f2ae8], rax
mov rdx, rdi
call fcn.140045860
jmp 0x140061153
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140061149
mov rcx, rdi
mov rdx, rbx
call fcn.1400ee840
mov rcx, rdi
mov rdx, rbx
call fcn.1400ee0c0
mov rcx, rbx
call fcn.1400ee050
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140061118
jmp 0x140061113
lea rcx, [rsp + 0x40]
call fcn.1400ee050
mov rdi, qword [rsi + 0x40]
mov qword [rsi + 0x40], 0
test rdi, rdi
je 0x140061174
mov rcx, rdi
call fcn.140046710
mov rcx, rdi
call fcn.140124dec
lea rcx, [rsi + 0x20]
call fcn.1400ee050
add rsi, 8
mov rcx, rsi
call fcn.1400ee050
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140125960
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.140090bf0
lea rcx, [rsp + 0x50]
lea rdx, str.Actual_removal_of
mov r8d, 0x12
call fcn.14015f7a0
lea rdx, [rsi + 0x20]
mov rcx, rax
call fcn.140089570
mov rcx, rdi
call fcn.1400911e0
jmp 0x14006108a
Function at 0x140063490
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x1401b29c8]
mov qword [rcx], rax
cmp byte [rcx + 0x40], 0
je 0x140063532
lea rcx, [rsi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401af9e0]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.1400ee840
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x14006351c
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140063528
mov rcx, rdi
mov rdx, rbx
call fcn.1400ee840
mov rcx, rdi
mov rdx, rbx
call fcn.1400ee0c0
mov rcx, rbx
call fcn.1400ee050
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x1400634f7
jmp 0x1400634f2
lea rcx, [rsp + 0x40]
call fcn.1400ee050
lea rcx, [rsi + 0x28]
call fcn.1400ee050
lea rcx, [rsi + 0x10]
call fcn.1400ee050
mov rcx, qword [rsi + 8]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1401e1748]
jne 0x140063563
call fcn.1400f1d40
mov qword [rsi + 8], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140125960
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14006f6c0
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, r8
mov rdi, rdx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [rcx + 9], 0
je 0x14006f747
mov r14, rcx
mov r15, qword [rcx + 0x30]
test r15, r15
je 0x14006f8f0
mov eax, 1
lock xadd dword [r15], eax
test eax, eax
jle 0x14006f8f3
cmp eax, 0x7fffffff
je 0x14006f8f6
mov rbx, r9
mov edx, dword [rsp + 0xb0]
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 8]
mov rcx, r15
mov r8, r9
call qword [0x1401d0260]
mov ebp, eax
lock dec dword [r15]
jne 0x14006f742
mov rcx, r15
call fcn.1400edcd0
test bpl, bpl
jne 0x14006f781
xor ebp, ebp
cmp byte [rdi + 0x18], 0
je 0x14006f757
mov rcx, rdi
call fcn.1400ee050
cmp byte [rsi + 0x18], 0
je 0x14006f765
mov rcx, rsi
call fcn.1400ee050
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140125960
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rdi + 0x18], 0
je 0x14006f7ad
cmp byte [rsp + 0xb8], 0
je 0x14006f7df
cmp byte [r14 + 9], 0
je 0x14006f8ca
mov r8b, byte [r14 + 8]
mov rcx, rdi
mov rdx, rbx
call fcn.14006faf0
jmp 0x14006f7d8
add r14, 0x28
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1400edd60
cmp byte [rsi + 0x18], 0
je 0x14006f8dd
mov r8, qword [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14006f900
mov ebp, eax
jmp 0x14006f749
cmp byte [rsi + 0x18], 0
je 0x14006f854
cmp byte [r14 + 9], 0
je 0x14006f8ca
mov r8b, byte [r14 + 8]
mov rcx, rdi
mov rdx, rbx
call fcn.14006faf0
test al, al
je 0x14006f747
add r14, 0x28
lea rcx, [rsp + 0x28]
mov rdx, r14
call fcn.1400edd60
cmp byte [rsi + 0x18], 0
je 0x14006f8dd
mov r8, qword [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.14006f900
mov bpl, 1
test al, al
jne 0x14006f749
cmp byte [rbx + 0x17], 0
jns 0x14006f846
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14006f747
lea r14, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.140094170
mov rcx, rbx
mov rdx, r14
call fcn.1400ee0c0
mov rcx, r14
call fcn.1400ee050
mov rcx, rbx
call fcn.140082350
test al, al
jne 0x14006f896
mov rcx, rbx
call fcn.140085350
test al, al
je 0x14006f747
mov rcx, qword [0x1401f2ae8]
test rcx, rcx
jne 0x14006f8b1
call fcn.140044840
mov rcx, rax
mov qword [0x1401f2ae8], rax
mov rdx, rbx
mov r8d, 1
mov r9d, 0x12019f
call fcn.140044b40
jmp 0x14006f7d8
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcincludeoptional:801:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
call fcn.140160550
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcincludeoptional:806:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
call fcn.140160550
int3
int3
int3
Function at 0x140071c50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x140071cad
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x1401d0260]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.1400d6cb0
lea rdx, [0x1401f3a18]
mov rcx, rbx
call fcn.1400d78d0
mov r14, rax
mov rcx, qword [rbp - 0x20]
lea rax, [0x1401f3840]
cmp rcx, rax
je 0x140071cf9
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140071cf9
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1401d0260]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1401af9e0]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x1401d0260]
movzx eax, byte [rbx + 0x17]
mov rdx, rax
test al, al
jns 0x140071d3c
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x140071dac
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x140071d8e
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1401d0260]
cmp eax, 0xffffffff
jne 0x140071d6a
xor edi, edi
movzx eax, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, rbx
mov r8, rax
test al, al
jns 0x140071d83
mov r8, qword [rbp - 0x18]
mov rdx, rcx
add rdx, r8
inc r14
cmp r14, rdx
je 0x140071dac
test rdi, rdi
je 0x140071d68
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140071d50
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x140071d6a
mov qword [rsi], rdi
test al, al
jns 0x140071c9d
call fcn.140124dec
jmp 0x140071c9d
Function at 0x140079710
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401f4750]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140079770
lea rsi, [0x1401f4748]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140125960
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401f4750]
call fcn.140124f10
cmp dword [0x1401f4750], 0xffffffff
jne 0x14007974c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401288f0
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.140124db0
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401f4798]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140079830
lea r8, [0x1401f4768]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140079930
mov qword [0x1401f4748], rsi
lea rcx, [0x1401f4750]
call fcn.140124fa8
jmp 0x14007974c
lea rcx, [0x1401f4798]
call fcn.140124f10
cmp dword [0x1401f4798], 0xffffffff
jne 0x140079801
xorps xmm0, xmm0
movups xmmword [0x1401f4788], xmm0
movups xmmword [0x1401f4778], xmm0
movups xmmword [0x1401f4768], xmm0
lea rcx, [0x1401f4768]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401f4798]
call fcn.140124fa8
jmp 0x140079801

Function at 0x140079880
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401f4798]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400798bb
movzx eax, word [0x1401f4768]
cmp eax, 9
jne 0x140079903
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401f4798]
call fcn.140124f10
cmp dword [0x1401f4798], 0xffffffff
jne 0x1400798a5
xorps xmm0, xmm0
movups xmmword [0x1401f4788], xmm0
movups xmmword [0x1401f4778], xmm0
movups xmmword [0x1401f4768], xmm0
lea rcx, [0x1401f4768]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401f4798]
call fcn.140124fa8
jmp 0x1400798a5
test eax, eax
je 0x1400798b6
cmp eax, 6
jne 0x140079913
mov eax, 2
jmp 0x1400798b6
cmp eax, 0xc
jne 0x14007991f
mov eax, 3
jmp 0x1400798b6
mov eax, 4
jmp 0x1400798b6
Function at 0x14007b3a0
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x14007b3a0
mov rdx, qword [rdx]
jmp 0x14007b3a0
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 0x14007b3d0
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x14007b49e
mov ebp, r8d
mov rbx, 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, rbx
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007b47e
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x28], r14
and r12d, 0x300
mov dword [rsp + 0x30], r12d
test bpl, bpl
je 0x14007b4a5
test r14, r14
je 0x14007b46f
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.14007b510
mov edi, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140125960
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov edi, 6
jmp 0x14007b480
lea rdi, [rsp + 0x40]
mov qword [rdi], r15
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.14007b6e0
cmp byte [rdi + 4], 0
je 0x14007b4cb
mov edi, dword [rsp + 0x40]
test r14, r14
je 0x14007b480
jmp 0x14007b4e6
mov r8d, dword [rsi + 8]
lea rdx, [0x1401ba104]
mov rcx, r14
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov edi, eax
jmp 0x14007b4c4
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007b480
mov edx, 1
call fcn.14007bac0
jmp 0x14007b480
Function at 0x14007b510
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [0x1401af9e0]
movaps xmmword [rsp + 0x40], xmm0
xor ebx, ebx
mov qword [rsp + 0x50], 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 0x14007b607
lea rbx, [rsp + 0x60]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x40]
mov qword [rcx], rdi
mov eax, esi
and eax, 0x300
mov dword [rcx + 8], eax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx], rax
mov rdx, rbx
call fcn.14007b6e0
cmp byte [rbx + 4], 0
jne 0x14007b6bf
lea rdx, [0x1401ba104]
xor ebx, ebx
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x14007b60f
test rdi, rdi
je 0x14007b5d6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x14007b6c8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140125960
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 0x14007b5d6
mov ecx, 0x200
call fcn.140124e2c
mov r14, rax
mov r8d, 0x200
mov rcx, rax
xor edx, edx
call fcn.1401288f0
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 0x14007b68c
mov eax, dword [rsp + 0x60]
cmp rax, 0x100
jae 0x14007b6d7
cmp word [r14 + rax*2], 0
jne 0x14007b6da
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, r14
mov r8d, esi
call fcn.14007b510
test eax, eax
je 0x14007b63b
jmp 0x14007b691
mov rdi, qword [rsp + 0x40]
lea rdx, [0x1401ba104]
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test r14, r14
je 0x14007b5c8
mov rcx, r14
call fcn.140124e34
jmp 0x14007b5c8
mov ebx, dword [rsp + 0x60]
jmp 0x14007b5c8
mov edx, 1
call fcn.14007bac0
jmp 0x14007b5e4
int3
int3
Function at 0x14007b6e0
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 [0x1401df038]
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 0x14007b746
mov byte [rsi], 0
xor eax, eax
mov byte [rsi + 4], al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140125960
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
test eax, eax
jne 0x14007b794
cmp dword [rsp + 0x3c], 6
jne 0x14007b727
mov rcx, qword [rdi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x14007b79a
mov edi, eax
mov eax, dword [0x1401f47b0]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007b7a9
mov rax, qword [0x1401f47a8]
test rax, rax
je 0x14007b7a2
mov ecx, edi
call qword [0x1401d0260]
mov dword [rsi], eax
mov al, 1
jmp 0x14007b72c
mov dword [rsi], 0
jmp 0x14007b796
mov eax, 5
jmp 0x14007b794
lea rcx, [0x1401f47b0]
call fcn.140124f10
cmp dword [0x1401f47b0], 0xffffffff
jne 0x14007b780
lea rcx, [0x1401c8496]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401f47a8], rax
lea rcx, [0x1401f47b0]
call fcn.140124fa8
jmp 0x14007b780

Function at 0x14007b800
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1401df038]
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 0x14007b888
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14007b872
cmp dword [rsp + 0x38], 4
jne 0x14007b872
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140125960
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x14007b872
Function at 0x14007b890
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140125900
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1401288f0
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 0x14007b943
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14007b947
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.1400780e0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140125960
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14007b924
cmp eax, 2
jne 0x14007b98f
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1401288f0
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 0x14007b996
lea rdx, [rsp + 0x40]
jmp 0x14007b91a
mov edi, 0x3f4
jmp 0x14007b924
mov edi, 0xea
jmp 0x14007b924

Function at 0x14007b9a0
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.1401476a4
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 0x14007c880
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401f47e0]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14007c8b5
jnp 0x14007c8d9
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140125960
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 [0x1401f47f0]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007c9ee
mov eax, dword [0x1401f4800]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007ca28
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 [0x1401f47f8]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401b66f8]
ucomisd xmm1, xmm0
ja 0x14007c8b5
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401f47e8]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x1401b6700]
subpd xmm6, xmmword [0x1401b6710]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x1401f47e0], xmm6
jmp 0x14007c8b5
lea rcx, [0x1401f47f0]
call fcn.140124f10
cmp dword [0x1401f47f0], 0xffffffff
jne 0x14007c922
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401f47e8], rdx
lea rcx, [0x1401f47f0]
call fcn.140124fa8
jmp 0x14007c922
lea rcx, [0x1401f4800]
call fcn.140124f10
cmp dword [0x1401f4800], 0xffffffff
jne 0x14007c947
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1401f47f8], rax
lea rcx, [0x1401f4800]
call fcn.140124fa8
jmp 0x14007c947