joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006703c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov rdi, r8
and dword [rcx], ebx
mov rsi, rcx
cmp qword [rcx + 0x18], rbx
jne 0x140067070
mov edi, 0xc004f07a
mov ecx, edi
call fcn.14007ab24
jmp 0x14006712e
xor ecx, ecx
call fcn.14007ab44
xor ecx, ecx
call fcn.14007ab44
mov eax, 0x40
mov edx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x14006709c
mov edi, 0x8007000e
jmp 0x140067064
movups xmm0, xmmword [rdi]
mov dword [rbp + 0x20], 0x10000
mov edx, 4
movups xmm1, xmmword [rdi + 0x10]
mov dword [rax], edx
lea rcx, [0x140008338]
lea rax, [rbp + 0x20]
xor r9d, r9d
mov qword [rbx + 8], rax
lea r8d, [rdx + 0x38]
movups xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm1
movups xmmword [rbx + 0x30], xmm0
mov rax, qword [rsi + 0x18]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x38], rcx
lea rcx, [rbp + 0x38]
mov qword [rbp - 0x14], rax
lea rax, [rsi + 4]
mov qword [rbp - 0x30], rcx
lea ecx, [r8 + 0x7d]
mov dword [rbp - 0x20], edx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0xc], rax
mov dword [rbp + 0x28], SafeArrayUnaccessData
mov qword [rbp - 0x1c], rbx
mov qword [rbp - 0x40], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x38]
test edi, edi
js 0x140067064
mov ecx, dword [rbp + 0x28]
mov dword [rsi], ecx
mov ecx, edi
call fcn.14007ab44
test rbx, rbx
je 0x140067143
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006999c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor edi, edi
lea rax, [rbp - 0x20]
and qword [rbp - 0x10], rdi
mov r14, r9
xor ebx, ebx
mov qword [rbp - 0x18], rdi
and qword [rbp - 0x20], rbx
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [r11 - 0x48], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140069a16
xor esi, esi
mov rdi, qword [rbp - 0x20]
and qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
mov ecx, esi
call fcn.14007ab44
lea rcx, [rbp - 0x20]
call fcn.14006aedc
test esi, esi
jns 0x140069a31
mov ecx, esi
jmp 0x140069ae9
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
je 0x1400699ef
mov ecx, esi
call fcn.14007ab24
jmp 0x1400699fb
and dword [rbp + 0x30], ebx
lea rax, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rdx, str.VLActivationType
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140069a6f
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x140069a0f
test rbx, rbx
jne 0x140069aad
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140069aa3
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140069a34
mov esi, 0x8007000e
jmp 0x140069a0f
mov esi, 0x8000ffff
jmp 0x140069a0f
cmp dword [rbp + 0x20], 4
je 0x140069abd
mov esi, 0x8007000d
jmp 0x140069a0f
xor edi, edi
cmp dword [rbp + 0x30], 4
je 0x140069ad5
mov esi, 0x8007000d
mov ecx, esi
mov edi, esi
call fcn.14007ab24
jmp 0x140069ada
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, edi
call fcn.14007ab44
mov esi, edi
test edi, edi
jns 0x140069aee
mov ecx, edi
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
test rbx, rbx
je 0x140069b0e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp - 0x10]
call fcn.14006aedc
lea rcx, [rbp - 0x18]
call fcn.14006aedc
lea r11, [rsp + 0x50]
mov eax, esi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140069d44
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor edi, edi
xor ebx, ebx
and qword [rbp - 0x10], rdi
mov r15, r9
mov qword [rbp - 8], rdi
mov r12, r8
mov r14, rdx
mov rsi, rcx
cmp rcx, 0xffffffff80000001
jne 0x140069d89
and qword [rbp - 0x10], rbx
xor ecx, ecx
call fcn.14007ab44
and qword [rbp - 0x18], rbx
lea rax, [rbp - 0x18]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, 0x80070000
test eax, eax
jne 0x140069de3
xor esi, esi
mov rdi, qword [rbp - 0x18]
and qword [rbp - 0x18], rbx
mov qword [rbp - 8], rdi
mov ecx, esi
call fcn.14007ab44
lea rcx, [rbp - 0x18]
call fcn.14006aedc
test esi, esi
jns 0x140069dfb
mov ecx, esi
call fcn.14007ab24
jmp 0x140069ea7
movzx esi, ax
or esi, r14d
test eax, eax
cmovle esi, eax
test esi, esi
je 0x140069db7
mov ecx, esi
call fcn.14007ab24
jmp 0x140069dc3
and dword [rbp + 0x30], ebx
lea rax, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140069e32
movzx esi, ax
or esi, r14d
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x140069dd7
test rbx, rbx
jne 0x140069e70
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140069e66
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140069dfe
mov esi, 0x8007000e
jmp 0x140069dd7
mov esi, 0x8000ffff
jmp 0x140069dd7
cmp dword [rbp - 0x20], 1
je 0x140069e80
mov esi, 0x8007000d
jmp 0x140069dd7
mov edx, dword [rbp + 0x30]
lea r9, [rbp - 0x1c]
mov r8, r15
mov rcx, rbx
call fcn.140079318
mov esi, eax
test eax, eax
jns 0x140069e9f
mov ecx, eax
jmp 0x140069dd9
cmp dword [rbp - 0x1c], 0
je 0x140069ea7
xor ebx, ebx
mov ecx, esi
call fcn.14007ab44
test rbx, rbx
je 0x140069ec7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp - 0x10]
call fcn.14006aedc
lea rcx, [rbp - 8]
call fcn.14006aedc
lea r11, [rsp + 0x50]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140069efc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor edi, edi
xor ebx, ebx
and qword [rbp - 0x10], rdi
mov r15, r9
mov qword [rbp - 8], rdi
mov r12, r8
mov r14, rdx
mov rsi, rcx
cmp rcx, 0xffffffff80000001
jne 0x140069f41
and qword [rbp - 0x10], rbx
xor ecx, ecx
call fcn.14007ab44
and qword [rbp - 0x18], rbx
lea rax, [rbp - 0x18]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, 0x80070000
test eax, eax
jne 0x140069f96
xor esi, esi
mov rdi, qword [rbp - 0x18]
and qword [rbp - 0x18], rbx
mov qword [rbp - 8], rdi
mov ecx, esi
call fcn.14007ab44
lea rcx, [rbp - 0x18]
call fcn.14006aedc
test esi, esi
jns 0x140069fae
mov ecx, esi
jmp 0x14006a05f
movzx esi, ax
or esi, r14d
test eax, eax
cmovle esi, eax
test esi, esi
je 0x140069f6f
mov ecx, esi
call fcn.14007ab24
jmp 0x140069f7b
and dword [rbp + 0x30], ebx
lea rax, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140069fe5
movzx esi, ax
or esi, r14d
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x140069f8f
test rbx, rbx
jne 0x14006a023
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x14006a019
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140069fb1
mov esi, 0x8007000e
jmp 0x140069f8f
mov esi, 0x8000ffff
jmp 0x140069f8f
cmp dword [rbp - 0x20], 4
je 0x14006a033
mov esi, 0x8007000d
jmp 0x140069f8f
xor edi, edi
cmp dword [rbp + 0x30], 4
je 0x14006a04b
mov esi, 0x8007000d
mov ecx, esi
mov edi, esi
call fcn.14007ab24
jmp 0x14006a050
mov eax, dword [rbx]
mov dword [r15], eax
mov ecx, edi
call fcn.14007ab44
mov esi, edi
test edi, edi
jns 0x14006a064
mov ecx, edi
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
test rbx, rbx
je 0x14006a084
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp - 0x10]
call fcn.14006aedc
lea rcx, [rbp - 8]
call fcn.14006aedc
lea r11, [rsp + 0x50]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14006a1b4
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
mov dword [rbp - 0x10], ebx
mov rdi, rdx
mov qword [rbp - 0x18], rbx
test rdx, rdx
jne 0x14006a1fc
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14007ab24
jmp 0x14006a278
lea rax, [rbp - 0x18]
mov dword [rbp - 0x20], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
mov r8d, 0x20
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x14006a25f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14006a24d
mov ebx, 0x80004005
jmp 0x14006a25b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
jmp 0x14006a1f5
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x14006a23c
mov ecx, dword [rbp - 0x20]
mov dword [rdi], ecx
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rbp - 0x18]
call fcn.14006af50
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14036e5e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14006f774
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov rsi, r8
mov ebp, edx
mov r15, rcx
test r9, r9
jne 0x14006f7b4
mov ebx, 0x80070057
mov ecx, ebx
call fcn.14007ab24
jmp 0x14006f964
lea edi, [rdx + 2]
mov r14d, 0x80070216
cmp edi, ebp
jae 0x14006f7cb
mov ecx, r14d
call fcn.14007ab24
cmp edi, ebp
sbb ebx, ebx
and ebx, r14d
mov ecx, ebx
call fcn.14007ab44
cmp edi, ebp
jb 0x14006f7a8
mov eax, 0xaaaaaaab
mov ebx, r13d
mul edi
shr edx, 1
je 0x14006f808
mov ecx, edx
shl ecx, 2
mov eax, ecx
shr eax, 2
cmp eax, edx
je 0x14006f804
mov ecx, r14d
mov ebx, r14d
call fcn.14007ab24
jmp 0x14006f80b
mov edi, ecx
jmp 0x14006f80b
mov edi, r13d
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
js 0x14006f7a8
lea r14d, [rdi + 1]
test rsi, rsi
jne 0x14006f850
cmp r14d, edi
jb 0x14006f82d
mov dword [r12], r14d
mov ebx, r13d
jmp 0x14006f839
mov ebx, 0x80070216
mov ecx, ebx
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
js 0x14006f7a8
mov ebx, r13d
jmp 0x14006f964
cmp r14d, edi
jae 0x14006f862
mov ecx, 0x80070216
call fcn.14007ab24
cmp r14d, edi
sbb ebx, ebx
and ebx, 0x80070216
mov ecx, ebx
call fcn.14007ab44
cmp r14d, edi
jb 0x14006f7a8
cmp dword [r12], r14d
jae 0x14006f88a
mov ebx, 0x8007007a
jmp 0x14006f7a8
lea r9, [rsi + r14*2]
test ebp, ebp
jle 0x14006f957
lea r8, [rsi + 6]
lea rdi, [0x1403c1630]
mov r11b, byte [r15]
xor edx, edx
inc r15
mov word [rsp + 0x68], dx
cmp ebp, 1
jbe 0x14006f8c6
mov cl, byte [r15]
inc r15
cmp ebp, 2
jbe 0x14006f8ca
mov dl, byte [r15]
inc r15
jmp 0x14006f8ca
mov cl, byte [rsp + 0x69]
cmp r8, r9
jae 0x14006f98a
movzx r10d, cl
movzx eax, r11b
mov ecx, r10d
shr rax, 2
shr rcx, 4
movzx eax, byte [rax + rdi]
mov word [rsi], ax
movzx eax, r11b
shl rax, 4
or rcx, rax
and ecx, 0x3f
movzx eax, byte [rcx + rdi]
mov word [rsi + 2], ax
cmp ebp, 1
jbe 0x14006f921
mov ecx, r10d
movzx eax, dl
shr rax, 6
shl ecx, 2
or rcx, rax
and ecx, 0x3f
movzx eax, byte [rcx + rdi]
jmp 0x14006f926
mov eax, 0x3d
mov word [rsi + 4], ax
cmp ebp, 2
jbe 0x14006f93b
movzx eax, dl
and eax, 0x3f
movzx ecx, byte [rax + rdi]
jmp 0x14006f940
mov ecx, 0x3d
mov word [rsi + 6], cx
add r8, 8
add rsi, 8
add ebp, 0xfffffffd
test ebp, ebp
jg 0x14006f8a1
cmp rsi, r9
jae 0x14006f98a
mov word [rsi], r13w
mov dword [r12], r14d
mov ecx, ebx
call fcn.14007ab44
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x8000ffff
mov ebx, ecx
jmp 0x14006f7aa
Function at 0x14006fa60
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r15d, r15d
mov r14, r9
mov qword [rbp - 0x10], r15
mov ebx, r15d
mov qword [rbp - 8], rbx
mov rsi, rdx
mov qword [rbp + 0x30], r15
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x14006faa7
mov qword [rbp - 0x10], r15
xor ecx, ecx
call fcn.14007ab44
lea rax, [rbp + 0x40]
mov qword [rbp + 0x40], r15
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006fb33
mov edi, r15d
mov rbx, qword [rbp + 0x40]
mov qword [rbp - 8], rbx
mov rsi, rbx
mov qword [rbp + 0x40], r15
mov ecx, edi
call fcn.14007ab44
lea rcx, [rbp + 0x40]
call fcn.14006aedc
test edi, edi
js 0x14006fb63
mov qword [rbp + 0x30], r15
xor ecx, ecx
call fcn.14007ab44
mov eax, dword [rbp + 0x50]
lea rdx, str.ReferralId
mov dword [rsp + 0x28], eax
test rbx, rbx
mov r9d, 1
mov qword [rsp + 0x20], r14
cmove rsi, r15
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14006fb51
mov edi, r15d
jmp 0x14006fb6a
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14006fad0
mov ecx, edi
call fcn.14007ab24
mov rsi, r15
jmp 0x14006fadf
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14006fb6a
mov ecx, edi
call fcn.14007ab24
mov ecx, edi
call fcn.14007ab44
lea rcx, [rbp + 0x30]
call fcn.140070b48
lea rcx, [rbp - 0x10]
call fcn.14006aedc
lea rcx, [rbp - 8]
call fcn.14006aedc
mov rbx, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006fba8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
xor edi, edi
lea rax, [r11 - 0x28]
mov r14, r9
mov qword [r11 - 0x20], rdi
xor r8d, r8d
mov qword [r11 - 0x28], rdi
mov rcx, 0xffffffff80000003
mov qword [r11 - 0x38], rax
lea r9d, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006fc1b
mov ebx, edi
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rsp + 0x30]
call fcn.14006aedc
test ebx, ebx
jns 0x14006fc39
mov ecx, ebx
call fcn.14007ab24
jmp 0x14006fc8c
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14006fbee
mov ecx, ebx
call fcn.14007ab24
mov rsi, rdi
jmp 0x14006fbfd
lea rax, [rsp + 0x70]
test rsi, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
mov rcx, rdi
mov qword [rsp + 0x20], rdi
cmovne rcx, rsi
lea rdx, [0x1403c0500]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14006fc84
cmp eax, 2
je 0x14006fc89
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14006fc89
jmp 0x14006fc12
mov edi, 1
mov dword [r14], edi
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rsp + 0x38]
call fcn.14006aedc
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x140070034
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
mov dword [rbp + 0x17], 0x25002f
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x29], r14
mov rsi, rdx
mov dword [rbp + 0x1b], 0x2e0058
mov dword [rbp + 0x1f], 0x580025
mov dword [rbp + 0x23], 0x25002e
mov dword [rbp + 0x27], 0x2e0058
mov dword [rbp + 0x2b], 0x580025
mov dword [rbp + 0x2f], 0x25002e
mov dword [rbp + 0x33], 0x58
call fcn.140072e94
mov rbx, qword [rbp - 0x29]
mov edi, eax
test eax, eax
js 0x1400700f5
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140072918
mov edi, eax
test eax, eax
js 0x1400700f5
mov edx, dword [rbp - 0x15]
mov rcx, rsi
mov r8d, dword [rbp - 0x19]
movzx eax, dx
shr edx, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._d._d._d._d
movzx r9d, r8w
shr r8d, 0x10
call fcn.140079c18
mov edi, eax
test eax, eax
jns 0x1400700fc
mov ecx, eax
call fcn.14007ab24
mov ecx, edi
call fcn.14007ab44
test rbx, rbx
je 0x140070124
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ab44
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14036e5e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140072adc
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
lea rax, [rbp + 0x30]
and qword [rbp - 8], 0
mov rsi, r9
and qword [rbp + 0x20], 0
mov r9d, 2
and qword [rbp + 0x30], 0
xor r8d, r8d
mov rcx, 0xffffffff80000003
mov qword [r11 - 0x38], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140072b8a
xor ebx, ebx
mov rdi, qword [rbp + 0x30]
and qword [rbp + 0x30], 0
mov qword [rbp - 0x10], rdi
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rbp + 0x30]
call fcn.14006aedc
test ebx, ebx
js 0x140072bb9
and qword [rbp + 0x20], 0
xor ecx, ecx
call fcn.14007ab44
mov eax, dword [rbp + 0x40]
lea rdx, [0x1403c0500]
mov dword [rsp + 0x28], eax
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140072ba7
xor ebx, ebx
jmp 0x140072bc0
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140072b30
mov ecx, ebx
call fcn.14007ab24
xor edi, edi
jmp 0x140072b3d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140072bc0
mov ecx, ebx
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rbp + 0x20]
call fcn.140070b48
lea rcx, [rbp - 8]
call fcn.14006aedc
lea rcx, [rbp - 0x10]
call fcn.14006aedc
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140072c94
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], rbx
mov r9d, 0x2000000
xor r8d, r8d
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x20], rax
mov r15, rdx
mov r14, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r13d, 0x80070000
test eax, eax
jne 0x140072ddf
xor edi, edi
mov rbx, qword [rsp + 0x68]
and qword [rsp + 0x68], 0
mov rsi, rbx
mov qword [rsp + 0x70], rbx
mov ecx, edi
call fcn.14007ab44
lea rcx, [rsp + 0x68]
call fcn.14006aedc
test edi, edi
js 0x140072e49
xor ecx, ecx
lea rax, [rsp + 0x60]
test rsi, rsi
cmovne rcx, rsi
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
xor r9d, r9d
and qword [rsp + 0x48], 0
xor r8d, r8d
and qword [rsp + 0x40], 0
xor edx, edx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140072d8f
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x140072e49
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140072e00
dec eax
lea r8, [rbp - 0x80]
mov edx, eax
mov dword [rsp + 0x60], eax
mov r9d, 0x105
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x140072dc9
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x140072e49
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140072c94
mov edi, eax
test eax, eax
jns 0x140072d8f
mov ecx, eax
jmp 0x140072e4b
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140072d01
mov ecx, edi
call fcn.14007ab24
xor esi, esi
jmp 0x140072d14
test rbx, rbx
je 0x140072e14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x70], 0
mov rdx, r15
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140072e28
xor edi, edi
jmp 0x140072e3e
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140072e3e
mov ecx, edi
call fcn.14007ab24
mov ecx, edi
call fcn.14007ab44
test edi, edi
jns 0x140072e50
mov ecx, edi
call fcn.14007ab24
mov ecx, edi
call fcn.14007ab44
lea rcx, [rsp + 0x70]
call fcn.14006aedc
mov eax, edi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14036e5e0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret