joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400784a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x90
xor ebp, ebp
mov dword [rsp + 0x70], 0x25002f
lea rcx, [rax - 0x68]
mov qword [rax - 0x68], rbp
mov rsi, rdx
mov dword [rsp + 0x74], 0x2e0058
mov dword [rsp + 0x78], 0x580025
mov dword [rsp + 0x7c], 0x25002e
mov dword [rsp + 0x80], 0x2e0058
mov dword [rsp + 0x84], 0x580025
mov dword [rsp + 0x88], 0x25002e
mov dword [rsp + 0x8c], 0x58
call fcn.14007b17c
mov rbx, qword [rsp + 0x30]
mov edi, eax
test eax, eax
js 0x14007856f
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140078a4c
mov edi, eax
test eax, eax
js 0x14007856f
mov edx, dword [rsp + 0x44]
mov rcx, rsi
mov r8d, dword [rsp + 0x40]
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.140081d18
mov edi, eax
test eax, eax
jns 0x140078576
mov ecx, eax
call fcn.140082a8c
mov ecx, edi
call fcn.140082b34
test rbx, rbx
je 0x14007859e
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.140082b34
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140078c0c
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 + 0x20], 0
lea rax, [rbp + 0x30]
and qword [rbp - 8], 0
mov rsi, r9
and qword [rbp - 0x10], 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 0x140078c6f
mov rdi, qword [rbp + 0x30]
and qword [rbp + 0x30], 0
xor ebx, ebx
mov qword [rbp + 0x20], rdi
jmp 0x140078c86
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140082a8c
xor edi, edi
mov ecx, ebx
call fcn.140082b34
lea rcx, [rbp + 0x30]
call fcn.140072b58
test ebx, ebx
js 0x140078cdc
xor ecx, ecx
call fcn.140082b34
mov eax, dword [rbp + 0x40]
lea rdx, [0x1403d9660]
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 0x140078cce
xor ebx, ebx
jmp 0x140078ce3
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
lea rcx, [rbp - 0x10]
call fcn.140078854
lea rcx, [rbp - 8]
call fcn.140072b58
lea rcx, [rbp + 0x20]
call fcn.140072b58
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140079614
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 [0x140448b38]
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 0x140079692
mov rbx, qword [rsp + 0x68]
and qword [rsp + 0x68], 0
mov rsi, rbx
xor edi, edi
mov qword [rsp + 0x70], rbx
jmp 0x1400796a6
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140082a8c
xor esi, esi
mov ecx, edi
call fcn.140082b34
lea rcx, [rsp + 0x68]
call fcn.140072b58
test edi, edi
js 0x140079713
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x60]
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
mov rcx, rsi
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 0x140079789
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140082a8c
mov ecx, edi
call fcn.140082b34
lea rcx, [rsp + 0x70]
call fcn.140072b58
mov eax, edi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140389660
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
lea edx, [rax - 1]
mov r9d, 0x105
lea r8, [rbp - 0x80]
mov dword [rsp + 0x60], edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x140079708
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140079614
mov edi, eax
test eax, eax
js 0x1400797b9
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x140079759
test rbx, rbx
je 0x1400797a5
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 0x1400797c0
xor edi, edi
jmp 0x1400797d2
mov ecx, eax
jmp 0x140079715
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140082a8c
mov ecx, edi
call fcn.140082b34
test edi, edi
jns 0x14007971a
jmp 0x140079713
Function at 0x14007d3a0
Capabilities:
Set 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 r12d, r12d
mov r14, r9
mov qword [rbp - 0x10], r12
mov ebx, r12d
mov qword [rbp - 0x20], rbx
mov r15, r8
mov qword [rbp - 0x18], r12
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x14007d3e7
xor ecx, ecx
call fcn.140082b34
lea rax, [rbp + 0x30]
mov qword [rbp + 0x30], r12
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 0x14007d421
mov rbx, qword [rbp + 0x30]
mov edi, r12d
mov qword [rbp - 0x20], rbx
mov rsi, rbx
mov qword [rbp + 0x30], r12
jmp 0x14007d439
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140082a8c
mov rsi, r12
mov ecx, edi
call fcn.140082b34
lea rcx, [rbp + 0x30]
call fcn.140072b58
test edi, edi
js 0x14007d493
xor ecx, ecx
call fcn.140082b34
mov eax, dword [rbp + 0x50]
test rbx, rbx
mov dword [rsp + 0x28], eax
mov r9d, 1
cmove rsi, r12
mov qword [rsp + 0x20], r14
mov rcx, rsi
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14007d485
mov edi, r12d
jmp 0x14007d49a
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140082a8c
mov ecx, edi
call fcn.140082b34
lea rcx, [rbp - 0x18]
call fcn.140078854
lea rcx, [rbp - 0x10]
call fcn.140072b58
lea rcx, [rbp - 0x20]
call fcn.140072b58
lea r11, [rsp + 0x50]
mov eax, edi
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 0x14007f7a0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14007f815
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14007f7fe
mov ebx, 0x80004005
jmp 0x14007f80c
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140082a8c
jmp 0x14007f82c
cmp dword [rsp + 0x30], 2
jne 0x14007f828
cmp dword [rsp + 0x24], 6
mov eax, 1
jae 0x14007f82a
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.140082b34
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140389660
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140081300
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, rdx
mov edi, 0x104
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, edi
mov qword [rsp + 0x20], rbx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
jne 0x140081378
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14008135e
mov edi, 0x80004005
jmp 0x14008136c
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140082a8c
jmp 0x140081415
cmp esi, edi
ja 0x1400813c2
mov r8d, 0x7fffffff
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400826b4
mov edi, eax
test eax, eax
js 0x1400813ae
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8, r14
call fcn.140082808
mov edi, eax
test eax, eax
jns 0x1400813b5
mov ecx, eax
call fcn.140082a8c
mov ecx, edi
call fcn.140082b34
test edi, edi
jns 0x140081415
jmp 0x14008136c
mov rdx, rsi
lea r8, [rsp + 0x20]
call fcn.1400815bc
mov edi, eax
test eax, eax
jns 0x1400813e3
mov ecx, eax
call fcn.140082a8c
mov rbx, qword [rsp + 0x20]
jmp 0x140081415
mov rbx, qword [rsp + 0x20]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14008134d
cmp eax, esi
je 0x14008140d
mov edi, 0x8007007a
jmp 0x14008136c
mov rax, rbx
xor ebx, ebx
mov qword [r14], rax
mov ecx, edi
call fcn.140082b34
test rbx, rbx
je 0x14008143d
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.140082b34
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140389660
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14008dd38
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14, r9
mov qword [rbp - 1], r8
xor r9d, r9d
mov qword [rbp - 0x11], rcx
lea rax, [0x14001415c]
mov qword [rbp - 9], rdx
mov qword [rbp - 0x21], rax
mov rsi, r8
lea rax, [rbp - 0x39]
mov qword [rbp - 0x29], 3
lea r8d, [r9 + 0x50]
mov qword [rbp - 0x19], rax
mov r15, rdx
lea rax, [rbp + 0x27]
lea ecx, [r8 + 0x69]
mov qword [rbp + 7], rax
lea rdx, [rbp - 0x29]
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp - 0x39]
xor ebx, ebx
test edi, edi
jns 0x14008ddc6
mov ecx, edi
call fcn.140082a8c
jmp 0x14008dee6
lea rax, [0x1400147dc]
mov qword [rbp - 0x11], r15
mov qword [rbp - 0x21], rax
lea rdx, [0x14044c558]
lea rax, [rbp - 0x35]
mov qword [rbp - 0x29], 3
mov qword [rbp - 0x19], rax
lea rcx, [0x14042ce34]
lea rax, [rbp + 0x27]
mov qword [rbp - 9], rbx
mov r15d, 1
mov qword [rbp + 7], rax
mov qword [rbp - 1], rsi
mov dword [rbp + 0xf], ebx
mov dword [rbp + 0x13], r15d
call fcn.1400f74d8
lea rdx, [0x14044ef78]
mov qword [rbp + 0x17], rbx
lea rcx, [0x1404276b8]
call fcn.1400f6e28
lea r8d, [r15 + 0x4f]
xor r9d, r9d
lea rax, [rbp - 0x31]
lea rdx, [rbp - 0x29]
mov qword [rbp + 0x1f], rax
lea ecx, [r8 + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
lea rdx, [0x14044b078]
lea rcx, [0x1404339b0]
call fcn.1400f7184
mov esi, dword [rbp - 0x35]
cmp esi, 0xc004d304
je 0x14008dee3
lea rdx, [0x14044a800]
lea rcx, [0x14043311c]
call fcn.1400f6ac8
mov edi, esi
test esi, esi
jns 0x14008de86
mov ecx, esi
jmp 0x14008ddbc
mov eax, dword [rbp - 0x31]
mov r8d, 0xc000
mov ecx, eax
mov r9d, 0xfff
and ecx, 0xf000
cmp ecx, r8d
jne 0x14008ded0
mov edx, eax
and edx, r9d
cmp edx, 0x401
jb 0x14008debc
cmp edx, 0x496
jbe 0x14008decb
cmp ecx, r8d
jne 0x14008ded0
and eax, r9d
sub eax, 0x497
cmp eax, 0x169
ja 0x14008ded0
mov ebx, r15d
jmp 0x14008dee3
lea rdx, [0x14044e434]
lea rcx, [0x14042ea7c]
call fcn.1400f7830
mov dword [r14], ebx
mov ecx, edi
call fcn.140082b34
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140389660
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140090668
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rbp + 7], rax
xor r13d, r13d
mov dword [rsp + 0x40], 0x370035
mov r14d, r8d
mov dword [rsp + 0x44], 0x390042
xor r8d, r8d
mov dword [rsp + 0x48], 0x320044
mov dword [rsp + 0x4c], 0x370035
mov esi, r9d
mov dword [rsp + 0x50], 0x34002d
mov dword [rsp + 0x54], 0x360035
mov dword [rsp + 0x58], 0x2d0030
mov dword [rbp - 0x7d], 0x460034
mov dword [rbp - 0x79], 0x420044
mov dword [rbp - 0x75], 0x39002d
mov dword [rbp - 0x71], 0x430030
mov dword [rbp - 0x6d], 0x2d0036
mov dword [rbp - 0x69], 0x410042
mov dword [rbp - 0x65], 0x330034
mov dword [rbp - 0x61], 0x360046
mov dword [rbp - 0x5d], 0x440043
mov dword [rbp - 0x59], 0x440046
mov dword [rbp - 0x55], 0x450045
mov word [rbp - 0x51], r8w
mov dword [rbp - 0x49], 0x340038
mov dword [rbp - 0x45], 0x300039
mov dword [rbp - 0x41], 0x350045
mov dword [rbp - 0x3d], 0x350041
mov dword [rbp - 0x39], 0x34002d
mov dword [rbp - 0x35], 0x360044
mov dword [rbp - 0x31], 0x2d0030
mov dword [rbp - 0x2d], 0x390034
mov dword [rbp - 0x29], 0x410043
mov dword [rbp - 0x25], 0x42002d
mov dword [rbp - 0x21], 0x310042
mov dword [rbp - 0x1d], 0x2d0030
mov dword [rbp - 0x19], 0x440046
mov dword [rbp - 0x15], 0x450033
mov dword [rbp - 0x11], 0x450041
mov dword [rbp - 0xd], 0x380044
mov dword [rbp - 9], 0x390044
mov dword [rbp - 5], 0x320030
mov word [rbp - 1], r13w
test rcx, rcx
jne 0x1400907b9
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x14009084c
mov rdi, qword [0x140451790]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
mov r15d, 1
lea r8, [rsp + 0x40]
mov rax, rbx
mov dword [rsp + 0x28], r15d
mov r9d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rdi
lea r12d, [r15 + 1]
mov dword [rsp + 0x20], r12d
call rax
mov ebx, eax
test eax, eax
js 0x14009084a
mov rdi, qword [0x140451790]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
mov rax, rbx
mov dword [rsp + 0x28], r15d
mov r9d, esi
mov dword [rsp + 0x20], r12d
lea r8, [rbp - 0x49]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call rax
mov ebx, eax
test eax, eax
jns 0x140090851
mov ecx, eax
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140389660
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140096370
Capabilities:
Set 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 r12d, r12d
mov r14, r9
mov qword [rbp - 0x10], r12
mov ebx, r12d
mov qword [rbp - 0x20], rbx
mov r15, r8
mov qword [rbp - 0x18], r12
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400963b7
xor ecx, ecx
call fcn.140082b34
lea rax, [rbp + 0x30]
mov qword [rbp + 0x30], r12
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 0x1400963f1
mov rbx, qword [rbp + 0x30]
mov edi, r12d
mov qword [rbp - 0x20], rbx
mov rsi, rbx
mov qword [rbp + 0x30], r12
jmp 0x140096409
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140082a8c
mov rsi, r12
mov ecx, edi
call fcn.140082b34
lea rcx, [rbp + 0x30]
call fcn.140072b58
test edi, edi
js 0x140096463
xor ecx, ecx
call fcn.140082b34
mov eax, dword [rbp + 0x50]
test rbx, rbx
mov dword [rsp + 0x28], eax
mov r9d, 3
cmove rsi, r12
mov qword [rsp + 0x20], r14
mov rcx, rsi
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140096455
mov edi, r12d
jmp 0x14009646a
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140082a8c
mov ecx, edi
call fcn.140082b34
lea rcx, [rbp - 0x18]
call fcn.140078854
lea rcx, [rbp - 0x10]
call fcn.140072b58
lea rcx, [rbp - 0x20]
call fcn.140072b58
lea r11, [rsp + 0x50]
mov eax, edi
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 0x1400964b0
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x38], 0
lea rax, [rbp + 0x20]
and qword [rbp - 0x10], 0
lea rdx, [0x1403db940]
and qword [rbp + 0x20], 0
mov rsi, r8
mov edi, 1
mov qword [r11 - 0x38], rax
mov r9d, edi
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140096517
mov rax, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
xor ebx, ebx
mov qword [rbp + 0x38], rax
jmp 0x14009652c
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
lea rcx, [rbp + 0x20]
call fcn.140072b58
movzx eax, bx
test eax, eax
je 0x140096563
cmp eax, 2
je 0x14009655f
test ebx, ebx
mov eax, 0x80004005
cmovns ebx, eax
test ebx, ebx
jns 0x14009656a
mov ecx, ebx
call fcn.140082a8c
jmp 0x14009656a
xor eax, eax
jmp 0x140096565
mov eax, edi
mov dword [rbp + 0x28], eax
xor ebx, ebx
mov ecx, ebx
call fcn.140082b34
lea rcx, [rbp - 0x10]
call fcn.140072b58
lea rcx, [rbp + 0x38]
call fcn.140072b58
test ebx, ebx
js 0x140096662
cmp dword [rbp + 0x28], edi
jne 0x140096669
lea r9, [rbp + 0x28]
mov r8, rsi
call fcn.140098050
mov ebx, eax
test eax, eax
jns 0x1400965ad
mov ecx, eax
jmp 0x140096664
cmp dword [rbp + 0x28], edi
jne 0x140096669
and qword [rbp + 0x20], 0
lea rax, [rbp + 0x28]
and qword [rbp + 0x28], 0
lea rdx, [0x1403db940]
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400965fa
mov rdi, qword [rbp + 0x28]
xor ebx, ebx
and qword [rbp + 0x28], rbx
mov qword [rbp + 0x20], rdi
jmp 0x140096611
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140082a8c
xor edi, edi
mov ecx, ebx
call fcn.140082b34
lea rcx, [rbp + 0x28]
call fcn.140072b58
test ebx, ebx
js 0x140096647
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x140096639
xor ebx, ebx
jmp 0x14009664e
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
lea rcx, [rbp + 0x20]
call fcn.140072b58
test ebx, ebx
jns 0x140096669
mov ecx, ebx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140098050
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x10], rdx
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
mov rbp, r8
mov qword [r11 - 0x28], rdi
xor r8d, r8d
mov qword [r11 - 0x38], rax
lea r9d, [rdi + 1]
mov rcx, 0xffffffff80000002
lea rdx, [0x1403db940]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400980b5
mov rsi, qword [rsp + 0x30]
mov ebx, edi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
jmp 0x1400980cd
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140082a8c
mov rsi, rdi
mov ecx, ebx
call fcn.140082b34
lea rcx, [rsp + 0x30]
call fcn.140072b58
test ebx, ebx
jns 0x1400980eb
mov ecx, ebx
call fcn.140082a8c
jmp 0x14009812f
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140098127
cmp eax, 2
je 0x14009812c
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400980e2
mov edi, 1
mov dword [r14], edi
mov ecx, ebx
call fcn.140082b34
lea rcx, [rsp + 0x38]
call fcn.140072b58
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140098b94
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r12d, r12d
lea rax, [rbp - 0x49]
lea r9, [rbp - 0x41]
mov qword [rbp - 0x41], r12
lea r8, str.PolicyValuesArray
mov qword [rbp - 0x39], r12
lea rdx, [0x1403db940]
mov qword [rbp - 0x31], r12
mov qword [rsp + 0x20], rax
mov r13, rcx
call fcn.140098f8c
mov edi, eax
mov r15d, 0x8007000d
cmp eax, 0x80070002
jne 0x140098c0e
mov edi, r12d
jmp 0x140098cf0
test eax, eax
jns 0x140098c1e
mov ecx, eax
call fcn.140082a8c
jmp 0x140098cf0
mov ecx, dword [rbp - 0x49]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rbx, rdx
shr rbx, 5
lea rax, [rbx + rbx*2]
shl rax, 4
sub rcx, rax
je 0x140098c4a
mov edi, r15d
mov ecx, r15d
jmp 0x140098c14
mov rsi, qword [rbp - 0x41]
mov r14d, r12d
test ebx, ebx
je 0x140098ce4
mov r15d, dword [rbp - 0x49]
movups xmm0, xmmword [rsi]
lea r8, [rbp - 0x49]
mov edi, r12d
movups xmm1, xmmword [rsi + 0x10]
lea rdx, [rbp - 9]
movdqu xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x39]
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
call fcn.140094c1c
mov r12b, al
test al, al
jne 0x140098caf
mov edx, dword [rbp - 0x49]
lea r8, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.1400979b4
mov edi, eax
test eax, eax
jns 0x140098caf
mov ecx, eax
call fcn.140082a8c
jmp 0x140098cb9
xor r15d, r15d
test r12b, r12b
sete r15b
mov ecx, edi
call fcn.140082b34
xor r12d, r12d
test edi, edi
js 0x140098d75
test r15d, r15d
je 0x140098d70
inc r14d
add rsi, 0x30
cmp r14d, ebx
jb 0x140098c5d
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.140080ed8
cmp edi, 0x8007000d
mov ebx, r12d
cmovne ebx, edi
mov ecx, ebx
call fcn.140082b34
lea rcx, [rbp - 0x39]
call fcn.140098918
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x14000f69c]
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x41]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x11], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140389660
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edi, 0x8007000d
mov ecx, edi
jmp 0x140098c14