joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060c60
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov r15, rdx
or r14, 0xffffffffffffffff
mov qword [rax - 0x60], r14
xor r13d, r13d
mov esi, r13d
mov qword [rax - 0x58], r13
mov r12d, r13d
mov qword [rax - 0x50], r13
test rdx, rdx
je 0x140060ee2
cmp byte [rdx], sil
je 0x140060ee2
lea rcx, [0x1400e7ed0]
call fcn.1400625a0
nop
lea rdx, [0x1400e7ed0]
lea rcx, [rsp + 0x68]
call fcn.1400622b0
nop
lea rcx, [rsp + 0x68]
call fcn.140062a10
mov r9, rax
test rax, rax
je 0x140060d13
mov r8, r15
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140060d03
inc rax
test ecx, ecx
jne 0x140060cf0
test edx, edx
jne 0x140060d11
mov rsi, r9
mov qword [rsp + 0x50], r9
jmp 0x140060d13
jmp 0x140060cd0
test rsi, rsi
jne 0x140060e8c
mov ebx, r13d
mov dword [rsp + 0x40], ebx
cmp ebx, 0x32
jge 0x140060d75
cmp r14, 0xffffffffffffffff
jne 0x140060d7f
test ebx, ebx
jle 0x140060d3c
lea ecx, [r14 + 0x15]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r15
call fcn.14005f5a0
mov r14, rax
mov qword [rsp + 0x48], rax
jmp 0x140060d23
cmp r14, 0xffffffffffffffff
je 0x140060e8c
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [rax + 1]
mov ebx, ecx
call fcn.140036520
mov r12, rax
mov qword [rsp + 0x58], rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.140037fb0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0xb8]
mov r8d, edi
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140060e7a
mov ecx, 0x118
call fcn.140035b9c
mov rsi, rax
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x140060e28
xor edx, edx
mov r8d, 0x118
mov rcx, rax
call fcn.140037fb0
mov rax, qword [0x1400e4fc0]
mov qword [rsi + 0x108], rax
mov rax, qword [0x1400e4fc0]
mov qword [rsi + 0x110], rax
jmp 0x140060e2b
mov rsi, r13
mov qword [rsp + 0x50], rsi
mov r8d, 0x103
mov rdx, r15
mov rcx, rsi
call fcn.14003e380
lea rcx, [rsi + 0x108]
mov rdx, r12
call fcn.140063d50
mov rdx, r12
lea rcx, [rsi + 0x110]
call fcn.140063d50
lea rcx, [rsi + 0x110]
call fcn.140064d40
mov rdx, rsi
lea rcx, [0x1400e7ed0]
call fcn.1400624e0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or r14, 0xffffffffffffffff
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x68]
call fcn.140062350
nop
jmp 0x140060ea8
test r12, r12
je 0x140060eb6
mov rcx, r12
call fcn.140035b94
nop
jmp 0x140060ec2
lea rcx, [0x1400e7ed0]
call fcn.140062aa0
cmp r14, 0xffffffffffffffff
je 0x140060edd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
jmp 0x140060ee4
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400618c0
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
lea rax, [r11 + 0x20]
mov rbx, r8
mov qword [r11 - 0x28], rax
xor r9d, r9d
lea rax, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140061926
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x60
pop rbx
ret
xor eax, eax
add rsp, 0x60
pop rbx
ret

Function at 0x140062650
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rdx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x1400626d1
mov edx, 8
lea r8d, [rdx + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
jne 0x1400626b2
lea rcx, str.____DataEvent::_Failed_to_allocate_memory_n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [rsp + 0x40], 1
lea rdx, [0x1400e19a8]
lea rcx, [rsp + 0x40]
call fcn.140037734
int3
mov qword [rax + 8], rbx
mov qword [rsp + 0x50], rax
lea rdx, [0x1400be380]
mov qword [rax], rdx
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdi
jmp 0x140062717
mov ecx, 0x20
call fcn.140036520
test rax, rax
jne 0x1400626fa
mov dword [rsp + 0x40], 1
lea rdx, [0x1400e19a8]
lea rcx, [rsp + 0x40]
call fcn.140037734
int3
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rdx, [0x1400be380]
mov qword [rax], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140063280
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
xor edx, edx
mov qword [rcx], rdx
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov word [rcx + 0x48], dx
mov qword [rcx + 0x60], rax
mov qword [rcx + 0x68], rax
mov dword [rcx + 0x70], eax
ret
Function at 0x1400657c0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140037fb0
lea rdx, [rsp + 0x40]
mov byte [rbx], 0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], 0x80
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
lea r8, [rsp + 0x50]
mov qword [rsp + 0x38], rax
or r9d, 0xffffffff
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x28], edi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140035b70
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret

Function at 0x140065860
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rdx, [0x1400c2a20]
mov rbx, rcx
call fcn.140063d50
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140065944
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.140037fb0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ProductID
mov dword [rsp + 0x34], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140065939
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140063d50
lea r8, [0x1400c2a20]
mov rcx, rbx
lea rdx, [0x1400aee98]
call fcn.140064d60
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140035b70
add rsp, 0x160
pop rbx
ret
Function at 0x140065ce0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp word [rsp + 0x20], 9
sete al
add rsp, 0x58
ret

Function at 0x140065d00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140065e68
cmp byte [rdx], 0
je 0x140065e68
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test ebx, ebx
je 0x140065d78
test eax, eax
je 0x140065d80
lea rax, [rsp + 0x48]
mov r9d, 0xf013f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140065e43
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x1a0], rbp
lea r8, [rsp + 0x60]
xor ebp, ebp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140065e24
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
xor r8d, r8d
call fcn.140065d00
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140065e5e
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x140065dd0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbp, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140035b70
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140065e3b
mov eax, 0x32
jmp 0x140065e43
Function at 0x140065e70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rsi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x28]
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x140065fab
lea r8, [rsp + 0x20]
mov rcx, rsi
lea edx, [rdi + 2]
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x140065f2c
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
js 0x140065f1b
lea rcx, [rsp + 0x30]
call fcn.140065490
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140065ef0
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140065f00
lea rcx, [rsp + 0x30]
call fcn.140065fe0
mov edi, eax
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rcx]
call qword [r8 + 0x28]
lea r8, [rsp + 0x20]
mov edx, 0x17
mov rcx, rsi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x140065fab
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
js 0x140065f9b
lea rcx, [rsp + 0x30]
call fcn.140065490
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140065f70
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140065f80
lea rcx, [rsp + 0x30]
call fcn.140065fe0
mov edi, eax
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140035b70
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140065fe0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x390
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rdi, rcx
mov esi, 1
test rcx, rcx
je 0x1400661c6
cmp byte [rcx], 0
je 0x1400661c6
call fcn.1400656c0
test eax, eax
jne 0x140066029
mov eax, esi
jmp 0x1400661c8
lea rdx, [rsp + 0x270]
mov qword [rsp + 0x3b0], rbp
sub rdx, rdi
mov rcx, rdi
nop
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140066040
lea rcx, [rsp + 0x270]
call fcn.140065490
lea rcx, [rsp + 0x270]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140066066
mov eax, dword [0x14009836c]
lea rdx, [rsp + 0x20]
mov dword [rcx], eax
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400661b1
mov qword [rsp + 0x3a8], rbx
lea rbx, [rsp + 0x160]
sub rbx, rdi
nop dword [rax + rax]
mov rax, rdi
movzx ecx, byte [rax]
mov byte [rbx + rax], cl
inc rax
test cl, cl
jne 0x1400660b3
lea rcx, [rsp + 0x160]
call fcn.140065490
lea rcx, [rsp + 0x160]
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x1400660d8
lea r8, [rsp + 0x4c]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400660f0
test byte [rsp + 0x20], 0x10
je 0x14006614d
movzx ecx, byte [rsp + 0x4c]
cmp cl, byte [0x1400c1f44]
movzx eax, byte [rsp + 0x4d]
jne 0x140066121
cmp al, byte [0x1400c1f45]
je 0x140066170
cmp cl, byte [0x140098370]
jne 0x14006613e
cmp al, byte [0x140098371]
jne 0x14006613e
movzx eax, byte [rsp + 0x4e]
cmp al, byte [0x140098372]
je 0x140066170
lea rcx, [rsp + 0x160]
call fcn.140065fe0
jmp 0x14006616e
mov edx, 0x80
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x140
call fcn.140037fb0
test esi, esi
je 0x140066196
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x140066198
xor eax, eax
test eax, eax
jne 0x1400660b0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x3a8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov rbp, qword [rsp + 0x3b0]
mov eax, esi
jmp 0x1400661c8
xor eax, eax
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140035b70
mov rsi, qword [rsp + 0x3b8]
add rsp, 0x390
pop rdi
ret
Function at 0x1400661f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
cmp dword [0x1400e8054], 0
jne 0x140066421
cmp dword [0x1400e8050], 0
jne 0x140066421
mov byte [rbp - 0x69], 0x30
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
xor esi, esi
mov qword [rbp - 0x51], rsi
lea r8, [rbp - 0x69]
mov edx, 0x104
lea rcx, [rbp - 0x61]
call fcn.140066450
nop
mov edx, 0x104
mov rbx, qword [rbp - 0x61]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x21], 0xf
mov qword [rbp - 0x29], rsi
mov byte [rbp - 0x39], sil
cmp byte [rbx], sil
jne 0x140066297
mov r8d, esi
jmp 0x1400662aa
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400662a0
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140006800
nop
mov r8d, 0xc
lea rdx, str.wsock32.dll
lea rcx, [rbp - 0x39]
call fcn.140006930
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x27]
call fcn.140005950
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.14000a060
nop
lea rcx, [rbp + 0x27]
call fcn.140001a90
lea r9, [0x1400e8058]
lea r8, [0x1400e8060]
lea rdx, [0x1400e8050]
lea rcx, [rbp + 7]
call fcn.14000a330
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.14000a060
nop
lea r9, [0x1400e8058]
lea r8, [0x1400e8060]
lea rdx, [0x1400e8058]
lea rcx, [rbp - 0x19]
call fcn.14000a200
nop
lea rax, [rbp - 0x19]
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x19]
call fcn.140001a90
nop
lea rax, [rbp + 7]
mov qword [rbp - 0x49], rax
lea rcx, [rbp + 7]
call fcn.140001a90
nop
mov rax, qword [rbp - 0x21]
cmp rax, 0x10
jb 0x1400663b6
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, 0x1000
jb 0x1400663b1
test cl, 0x1f
je 0x140066384
call fcn.14003a538
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140066393
call fcn.14003a538
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400663a2
call fcn.14003a538
int3
cmp rcx, 0x27
jbe 0x1400663ae
call fcn.14003a538
int3
mov rcx, rax
call fcn.140035bd8
mov qword [rbp - 0x21], 0xf
mov qword [rbp - 0x29], rsi
mov byte [rbp - 0x39], 0
mov rax, qword [rbp - 0x51]
sub rax, rbx
cmp rax, 0x1000
jb 0x14006640d
test bl, 0x1f
je 0x1400663e0
call fcn.14003a538
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x1400663ef
call fcn.14003a538
int3
sub rbx, rax
cmp rbx, 8
jae 0x1400663fe
call fcn.14003a538
int3
cmp rbx, 0x27
jbe 0x14006640a
call fcn.14003a538
int3
mov rbx, rax
mov rcx, rbx
call fcn.140035bd8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rsi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140035b70
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140069460
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15d, r8d
mov rdi, rdx
mov r13, rcx
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
test rax, 0xfffffffffffffffc
je 0x140069601
cmp r8d, 0xffffffff
jne 0x1400694c9
call fcn.140069b80
mov r15d, eax
cmp eax, 0xffffffff
jne 0x1400694c9
xor al, al
jmp 0x140069603
xor r12d, r12d
mov ebp, r12d
mov qword [rsp + 0x30], r12
lea rdx, [r13 + 0xb0]
cmp qword [rdx + 0x18], 0x10
jb 0x1400694e5
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [r13 + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rsi, qword [rsp + 0x30]
test eax, eax
je 0x140069528
test rsi, rsi
je 0x140069601
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
mov qword [rsp + 0x30], r12
test rsi, rsi
je 0x140069601
mov rbx, qword [rdi]
mov rdi, qword [rdi + 8]
cmp rbx, rdi
je 0x1400695e9
mov edx, dword [rbx]
lea rcx, [rsp + 0x40]
call fcn.140072a60
nop
cmp qword [rax + 0x18], 0x10
jb 0x140069558
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
sete r14b
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x1400695aa
mov rcx, qword [rsp + 0x40]
inc rax
cmp rax, 0x1000
jb 0x1400695a5
test cl, 0x1f
jne 0x1400695e3
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400695dd
sub rcx, rax
cmp rcx, 8
jb 0x1400695d7
cmp rcx, 0x27
ja 0x1400695d1
mov rcx, rax
call fcn.140035bd8
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x40], 0
lea eax, [rbp + 1]
test r14b, r14b
cmove eax, ebp
mov ebp, eax
add rbx, 4
jmp 0x140069538
call fcn.14003a538
int3
call fcn.14003a538
int3
call fcn.14003a538
int3
call fcn.14003a538
int3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jle 0x140069601
mov edx, r15d
mov rcx, r13
call fcn.14006ba90
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140035b70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140069b80
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rbp + 0x180], rax
or r14d, 0xffffffff
xor r13d, r13d
mov qword [rsp + 0x48], r13
lea rdx, [rcx + 0xb0]
cmp qword [rdx + 0x18], 0x10
jb 0x140069bdd
mov rdx, qword [rdx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rcx + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r15, qword [rsp + 0x48]
test eax, eax
je 0x140069c20
test r15, r15
je 0x140069dc5
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, r13
mov qword [rsp + 0x48], r13
test r15, r15
je 0x140069dc5
mov r12d, r13d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.140037fb0
xor edx, edx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x200
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x140069dbc
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], al
cmp byte [rbp - 0x80], al
jne 0x140069c9b
mov r8, r13
jmp 0x140069cad
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140069ca3
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140006800
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x140069d1f
lea rdi, [rsp + 0x58]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
cmp rcx, 0x10
cmovae rdi, rdx
add rdi, r8
lea rbx, [rsp + 0x58]
cmp rcx, 0x10
cmovae rbx, rdx
add rbx, r8
lea rsi, [rsp + 0x58]
cmp rcx, 0x10
cmovae rsi, rdx
cmp rsi, rbx
je 0x140069d16
movsx ecx, byte [rsi]
call fcn.140047744
test eax, eax
je 0x140069d16
inc rsi
cmp rsi, rbx
jne 0x140069d02
cmp rsi, rdi
jne 0x140069d1f
mov bl, 1
jmp 0x140069d21
xor bl, bl
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x140069d61
mov rcx, qword [rsp + 0x58]
inc rax
cmp rax, 0x1000
jb 0x140069d5c
test cl, 0x1f
jne 0x140069db6
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140069db0
sub rcx, rax
cmp rcx, 8
jb 0x140069daa
cmp rcx, 0x27
ja 0x140069da4
mov rcx, rax
call fcn.140035bd8
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
test bl, bl
je 0x140069d88
lea rcx, [rbp - 0x80]
call fcn.14004ef64
cmp eax, r14d
cmovg r14d, eax
inc r12d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.140037fb0
mov edx, r12d
jmp 0x140069c3f
call fcn.14003a538
int3
call fcn.14003a538
int3
call fcn.14003a538
int3
call fcn.14003a538
int3
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140035b70
lea r11, [rsp + 0x290]
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