joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051b00
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 0x140051d82
cmp byte [rdx], sil
je 0x140051d82
lea rcx, [0x1400d0d60]
call fcn.1400533c0
nop
lea rdx, [0x1400d0d60]
lea rcx, [rsp + 0x68]
call fcn.140053150
nop
lea rcx, [rsp + 0x68]
call fcn.140053830
mov r9, rax
test rax, rax
je 0x140051bb3
mov r8, r15
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140051ba3
inc rax
test ecx, ecx
jne 0x140051b90
test edx, edx
jne 0x140051bb1
mov rsi, r9
mov qword [rsp + 0x50], r9
jmp 0x140051bb3
jmp 0x140051b70
test rsi, rsi
jne 0x140051d2c
mov ebx, r13d
mov dword [rsp + 0x40], ebx
cmp ebx, 0x32
jge 0x140051c15
cmp r14, 0xffffffffffffffff
jne 0x140051c1f
test ebx, ebx
jle 0x140051bdc
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.140050440
mov r14, rax
mov qword [rsp + 0x48], rax
jmp 0x140051bc3
cmp r14, 0xffffffffffffffff
je 0x140051d2c
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.1400278b0
mov r12, rax
mov qword [rsp + 0x58], rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.1400291f0
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 0x140051d1a
mov ecx, 0x118
call fcn.140026f2c
mov rsi, rax
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x140051cc8
xor edx, edx
mov r8d, 0x118
mov rcx, rax
call fcn.1400291f0
mov rax, qword [0x1400cdfc0]
mov qword [rsi + 0x108], rax
mov rax, qword [0x1400cdfc0]
mov qword [rsi + 0x110], rax
jmp 0x140051ccb
mov rsi, r13
mov qword [rsp + 0x50], rsi
mov r8d, 0x103
mov rdx, r15
mov rcx, rsi
call fcn.14002f5e0
lea rcx, [rsi + 0x108]
mov rdx, r12
call fcn.140054b70
mov rdx, r12
lea rcx, [rsi + 0x110]
call fcn.140054b70
lea rcx, [rsi + 0x110]
call fcn.140055b60
mov rdx, rsi
lea rcx, [0x1400d0d60]
call fcn.140053300
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or r14, 0xffffffffffffffff
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x68]
call fcn.1400531f0
nop
jmp 0x140051d48
test r12, r12
je 0x140051d56
mov rcx, r12
call fcn.140026f24
nop
jmp 0x140051d62
lea rcx, [0x1400d0d60]
call fcn.1400538c0
cmp r14, 0xffffffffffffffff
je 0x140051d7d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
jmp 0x140051d84
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 0x140052760
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 0x1400527c6
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 0x140053470
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 0x1400534f1
mov edx, 8
lea r8d, [rdx + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
jne 0x1400534d2
lea rcx, str.____DataEvent::_Failed_to_allocate_memory_n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [rsp + 0x40], 1
lea rdx, [0x1400cae58]
lea rcx, [rsp + 0x40]
call fcn.140028a54
int3
mov qword [rax + 8], rbx
mov qword [rsp + 0x50], rax
lea rdx, [0x1400ad848]
mov qword [rax], rdx
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdi
jmp 0x140053537
mov ecx, 0x20
call fcn.1400278b0
test rax, rax
jne 0x14005351a
mov dword [rsp + 0x40], 1
lea rdx, [0x1400cae58]
lea rcx, [rsp + 0x40]
call fcn.140028a54
int3
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rdx, [0x1400ad848]
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 0x1400540a0
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 0x1400565e0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400cd4d0]
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.1400291f0
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.140026f00
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret

Function at 0x140056680
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1400cd4d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rdx, [0x1400b1988]
mov rbx, rcx
call fcn.140054b70
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 0x140056764
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.1400291f0
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 0x140056759
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140054b70
lea r8, [0x1400b1988]
mov rcx, rbx
lea rdx, [0x14009e388]
call fcn.140055b80
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140026f00
add rsp, 0x160
pop rbx
ret
Function at 0x140056b00
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 0x140056b20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1400cd4d0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140056c88
cmp byte [rdx], 0
je 0x140056c88
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 0x140056b98
test eax, eax
je 0x140056ba0
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 0x140056c63
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 0x140056c44
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
xor r8d, r8d
call fcn.140056b20
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140056c7e
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 0x140056bf0
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.140026f00
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140056c5b
mov eax, 0x32
jmp 0x140056c63
Function at 0x140056c90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1400cd4d0]
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 0x140056dcb
lea r8, [rsp + 0x20]
mov rcx, rsi
lea edx, [rdi + 2]
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x140056d4c
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
js 0x140056d3b
lea rcx, [rsp + 0x30]
call fcn.1400562b0
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140056d10
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140056d20
lea rcx, [rsp + 0x30]
call fcn.140056e00
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 0x140056dcb
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
js 0x140056dbb
lea rcx, [rsp + 0x30]
call fcn.1400562b0
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140056d90
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140056da0
lea rcx, [rsp + 0x30]
call fcn.140056e00
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.140026f00
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140056e00
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 [0x1400cd4d0]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rdi, rcx
mov esi, 1
test rcx, rcx
je 0x140056fe6
cmp byte [rcx], 0
je 0x140056fe6
call fcn.1400564e0
test eax, eax
jne 0x140056e49
mov eax, esi
jmp 0x140056fe8
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 0x140056e60
lea rcx, [rsp + 0x270]
call fcn.1400562b0
lea rcx, [rsp + 0x270]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140056e86
mov eax, dword [0x1400877fc]
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 0x140056fd1
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 0x140056ed3
lea rcx, [rsp + 0x160]
call fcn.1400562b0
lea rcx, [rsp + 0x160]
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x140056ef8
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 0x140056f10
test byte [rsp + 0x20], 0x10
je 0x140056f6d
movzx ecx, byte [rsp + 0x4c]
cmp cl, byte [0x1400b13f4]
movzx eax, byte [rsp + 0x4d]
jne 0x140056f41
cmp al, byte [0x1400b13f5]
je 0x140056f90
cmp cl, byte [0x140087800]
jne 0x140056f5e
cmp al, byte [0x140087801]
jne 0x140056f5e
movzx eax, byte [rsp + 0x4e]
cmp al, byte [0x140087802]
je 0x140056f90
lea rcx, [rsp + 0x160]
call fcn.140056e00
jmp 0x140056f8e
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.1400291f0
test esi, esi
je 0x140056fb6
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x140056fb8
xor eax, eax
test eax, eax
jne 0x140056ed0
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 0x140056fe8
xor eax, eax
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140026f00
mov rsi, qword [rsp + 0x3b8]
add rsp, 0x390
pop rdi
ret
Function at 0x140057010
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 [0x1400cd4d0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
cmp dword [0x1400d0ee4], 0
jne 0x140057241
cmp dword [0x1400d0ee0], 0
jne 0x140057241
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.140057270
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 0x1400570b7
mov r8d, esi
jmp 0x1400570ca
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400570c0
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.1400067e0
nop
mov r8d, 0xc
lea rdx, str.wsock32.dll
lea rcx, [rbp - 0x39]
call fcn.140006910
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x27]
call fcn.1400058e0
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.140009fa0
nop
lea rcx, [rbp + 0x27]
call fcn.140001a90
lea r9, [0x1400d0ee8]
lea r8, [0x1400d0ef0]
lea rdx, [0x1400d0ee0]
lea rcx, [rbp + 7]
call fcn.14000a270
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.140009fa0
nop
lea r9, [0x1400d0ee8]
lea r8, [0x1400d0ef0]
lea rdx, [0x1400d0ee8]
lea rcx, [rbp - 0x19]
call fcn.14000a140
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 0x1400571d6
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, 0x1000
jb 0x1400571d1
test cl, 0x1f
je 0x1400571a4
call fcn.14002b858
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400571b3
call fcn.14002b858
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400571c2
call fcn.14002b858
int3
cmp rcx, 0x27
jbe 0x1400571ce
call fcn.14002b858
int3
mov rcx, rax
call fcn.140026f68
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 0x14005722d
test bl, 0x1f
je 0x140057200
call fcn.14002b858
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x14005720f
call fcn.14002b858
int3
sub rbx, rax
cmp rbx, 8
jae 0x14005721e
call fcn.14002b858
int3
cmp rbx, 0x27
jbe 0x14005722a
call fcn.14002b858
int3
mov rbx, rax
mov rcx, rbx
call fcn.140026f68
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rsi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140026f00
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 0x14005a280
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 [0x1400cd4d0]
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 0x14005a421
cmp r8d, 0xffffffff
jne 0x14005a2e9
call fcn.14005a9a0
mov r15d, eax
cmp eax, 0xffffffff
jne 0x14005a2e9
xor al, al
jmp 0x14005a423
xor r12d, r12d
mov ebp, r12d
mov qword [rsp + 0x30], r12
lea rdx, [r13 + 0xb0]
cmp qword [rdx + 0x18], 0x10
jb 0x14005a305
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 0x14005a348
test rsi, rsi
je 0x14005a421
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
mov qword [rsp + 0x30], r12
test rsi, rsi
je 0x14005a421
mov rbx, qword [rdi]
mov rdi, qword [rdi + 8]
cmp rbx, rdi
je 0x14005a409
mov edx, dword [rbx]
lea rcx, [rsp + 0x40]
call fcn.140063880
nop
cmp qword [rax + 0x18], 0x10
jb 0x14005a378
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 0x14005a3ca
mov rcx, qword [rsp + 0x40]
inc rax
cmp rax, 0x1000
jb 0x14005a3c5
test cl, 0x1f
jne 0x14005a403
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14005a3fd
sub rcx, rax
cmp rcx, 8
jb 0x14005a3f7
cmp rcx, 0x27
ja 0x14005a3f1
mov rcx, rax
call fcn.140026f68
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 0x14005a358
call fcn.14002b858
int3
call fcn.14002b858
int3
call fcn.14002b858
int3
call fcn.14002b858
int3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jle 0x14005a421
mov edx, r15d
mov rcx, r13
call fcn.14005c8b0
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140026f00
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 0x14005a9a0
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 [0x1400cd4d0]
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 0x14005a9fd
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 0x14005aa40
test r15, r15
je 0x14005abe5
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, r13
mov qword [rsp + 0x48], r13
test r15, r15
je 0x14005abe5
mov r12d, r13d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.1400291f0
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 0x14005abdc
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 0x14005aabb
mov r8, r13
jmp 0x14005aacd
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14005aac3
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400067e0
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x14005ab3f
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 0x14005ab36
movsx ecx, byte [rsi]
call fcn.1400389a4
test eax, eax
je 0x14005ab36
inc rsi
cmp rsi, rbx
jne 0x14005ab22
cmp rsi, rdi
jne 0x14005ab3f
mov bl, 1
jmp 0x14005ab41
xor bl, bl
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14005ab81
mov rcx, qword [rsp + 0x58]
inc rax
cmp rax, 0x1000
jb 0x14005ab7c
test cl, 0x1f
jne 0x14005abd6
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14005abd0
sub rcx, rax
cmp rcx, 8
jb 0x14005abca
cmp rcx, 0x27
ja 0x14005abc4
mov rcx, rax
call fcn.140026f68
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
test bl, bl
je 0x14005aba8
lea rcx, [rbp - 0x80]
call fcn.14003ff14
cmp eax, r14d
cmovg r14d, eax
inc r12d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.1400291f0
mov edx, r12d
jmp 0x14005aa5f
call fcn.14002b858
int3
call fcn.14002b858
int3
call fcn.14002b858
int3
call fcn.14002b858
int3
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140026f00
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