joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006608
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14002f6c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400066cb
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1400066be
lea rax, [rsp + 0x4c]
mov rdx, rsi
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140006680
add rax, 2
test r8d, r8d
jne 0x14000666a
test ecx, ecx
jne 0x1400066b0
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400066b0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000665f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000ba80
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400069f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x14002f6c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x40], bx
je 0x140006a63
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140006a57
mov rbx, rax
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400020f4
mov dword [rsp + 0x20], 1
lea rdx, str.driversetchosts
mov rcx, rdi
call fcn.140001e14
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14000ba80
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret

Function at 0x1400079e8
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14002f6c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea rcx, [0x1400453f0]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 7]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140007aad
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
lea ecx, [rax + 1]
call fcn.140007ad4
mov rdi, rax
test rax, rax
je 0x140007a9f
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140007a96
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x40]
mov dword [0x1400453e8], eax
mov byte [rax + rdi], bl
mov rcx, rsi
mov rbx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007ab3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000ba80
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140008380
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14002f6c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx r14d, dx
mov rdi, rcx
mov ebx, 0xffff
xor esi, esi
cmp bx, dx
jne 0x1400083cf
movzx eax, si
jmp 0x14000859c
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14000840c
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x14000840c
lea ecx, [r9 - 1]
mov dword [rax], ecx
mov rdx, qword [rdi + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], r14w
movzx eax, r14w
jmp 0x14000859c
cmp qword [rcx + 0x90], rsi
je 0x140008599
mov rdx, qword [rcx + 0x18]
lea rax, [rcx + 0x80]
cmp qword [rdx], rax
jne 0x140008447
mov rcx, qword [rcx + 0x70]
mov rax, qword [rdi + 0x68]
mov qword [rdx], rax
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
sub rcx, rcx
sar rcx, 1
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
cmp qword [rdi + 0x78], rsi
jne 0x14000846f
mov rdx, qword [rdi + 0x90]
movzx ecx, r14w
call fcn.14000cf70
cmp ax, bx
je 0x140008599
movzx ebx, r14w
jmp 0x140008599
mov word [rbp - 1], r14w
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], rsi
mov byte [rbp + 7], sil
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 7]
call fcn.14000991c
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
lea r8, [rbp + 7]
cmovae r8, qword [rbp + 7]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
add rdx, qword [rbp + 0x17]
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 1]
lea r8, [rbp - 1]
lea rdx, [rdi + 0x84]
call qword [r10 + 0x38]
test eax, eax
js 0x140008589
cmp eax, 1
jg 0x14000856b
lea rax, [rbp + 7]
mov r9, qword [rbp + 7]
mov r10, qword [rbp + 0x1f]
cmp r10, 0x10
cmovae rax, r9
mov r15, qword [rbp - 9]
sub r15, rax
je 0x140008535
lea rcx, [rbp + 7]
cmp r10, 0x10
cmovae rcx, r9
mov r9, qword [rdi + 0x90]
mov r8, r15
mov edx, 1
call fcn.14000e924
cmp r15, rax
jne 0x140008589
mov byte [rdi + 0x82], 1
lea rax, [rbp - 1]
cmp qword [rbp - 0x11], rax
jne 0x140008585
test r15, r15
jne 0x140008495
cmp qword [rbp + 0x17], 0x20
jae 0x140008589
xor r8d, r8d
lea edx, [r15 + 8]
lea rcx, [rbp + 7]
call fcn.1400035b8
jmp 0x140008495
cmp eax, 3
jne 0x140008589
mov rdx, qword [rdi + 0x90]
movzx ecx, word [rbp - 1]
call fcn.14000cf70
cmp ax, bx
je 0x140008589
movzx ebx, r14w
cmp qword [rbp + 0x1f], 0x10
jb 0x140008599
mov rcx, qword [rbp + 7]
call fcn.140007afc
movzx eax, bx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000ba80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400096dc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14002f6c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x78], rbx
je 0x14000983b
cmp byte [rcx + 0x82], bl
je 0x14000983b
mov rax, qword [rcx]
mov esi, 0xffff
mov edx, esi
call qword [rax + 0x18]
cmp si, ax
jne 0x140009741
xor al, al
jmp 0x140009840
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.14000991c
nop
mov esi, 1
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
mov ecx, eax
test eax, eax
je 0x1400097ab
dec ecx
jne 0x140009817
jmp 0x1400097b1
mov byte [rdi + 0x82], bl
lea rax, [rbp - 0x30]
mov r9, qword [rbp - 0x30]
mov r10, qword [rbp - 0x18]
cmp r10, 0x10
cmovae rax, r9
mov r14, qword [rbp - 0x38]
sub r14, rax
je 0x1400097f1
lea rcx, [rbp - 0x30]
cmp r10, 0x10
cmovae rcx, r9
mov r9, qword [rdi + 0x90]
mov r8, r14
mov rdx, rsi
call fcn.14000e924
cmp r14, rax
jne 0x140009821
cmp byte [rdi + 0x82], bl
je 0x14000981e
test r14, r14
jne 0x140009766
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.1400035b8
jmp 0x140009766
cmp ecx, 2
jne 0x140009827
jmp 0x140009824
mov bl, sil
mov sil, bl
mov bl, sil
cmp qword [rbp - 0x18], 0x10
jb 0x140009837
mov rcx, qword [rbp - 0x30]
call fcn.140007afc
mov al, bl
jmp 0x140009840
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000ba80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x10005429c
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, r9
mov rdi, r8
mov esi, edx
mov rbx, rcx
lea r13, [0x100008f60]
mov qword [rsp + 0x30], r13
lea r14, [0x100008fb0]
mov qword [rsp + 0x38], r14
lea r15, [0x100008f48]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x183
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
xor r12d, r12d
mov word [rax - 0xa8], r12w
mov byte [rax - 0xa6], r12b
mov byte [rax - 0xa5], 1
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e8000
nop
mov word [rbp], r12w
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x18b
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, [0x100008fe0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
mov r8d, dword [rsp + 0x1a0]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, r12d
jne 0x100054417
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1000e79d4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9, [0x100009050]
mov r8d, esi
mov rdx, rbx
lea rcx, [rsp + 0xe0]
call fcn.1000e93c0
int3
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x193
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rbp
lea r8, [0x1000090e0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
nop
mov rcx, rbx
call fcn.1000e7a50
lea r11, [rsp + 0x150]
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 0x10005ed78
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push r12
push r13
push r14
sub rsp, 0x790
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x780], rax
xor edi, edi
mov rbx, rdx
lea r12, [0x1000091d0]
lea r13, [0x10000c368]
lea r14, [0x1000091b8]
lea rcx, [rsp + 0x58]
lea r8d, [rdi + 0x78]
xor edx, edx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0xe3f
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
xor r8d, r8d
call fcn.1000e8000
lea rcx, [rsp + 0x360]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
je 0x10005ef5d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x360]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
cmp eax, edi
je 0x10005ef5d
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x150]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, edi
je 0x10005eed4
lea rcx, [rsp + 0x570]
mov rdx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
lea rcx, [0x100008430]
lea r9, [0x100008450]
cmp eax, edi
lea rax, [0x100008440]
lea rdx, [0x100008420]
sete bl
mov r8d, 0xaa
cmp bl, dil
cmovne rax, rcx
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.1000e8634
jmp 0x10005ef8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ebx, eax
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0xe4b
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
movzx eax, bx
lea r9, [rsp + 0x150]
lea r8, [0x10000c2f0]
or eax, 0x80070000
cmp ebx, edi
lea rdx, [rsp + 0x30]
cmovle eax, ebx
lea rcx, [rsp + 0xe0]
mov dword [rsp + 0x20], eax
call fcn.1000e91dc
lea rax, [0x100008440]
lea r9, [0x100008450]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
mov r8d, 0xaa
mov qword [rsp + 0x20], rax
call fcn.1000e8634
mov bl, dil
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
mov al, bl
mov rcx, qword [rsp + 0x780]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x100064534
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0xe0
mov rbp, rcx
mov r12, 0xffffffff80000002
mov rdx, r8
mov rcx, r12
mov rsi, r8
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor ebx, ebx
mov edi, eax
cmp eax, 2
jne 0x1000645fe
lea rax, [0x10000e360]
lea r8d, [rdi + 0x76]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [0x10000e320]
xor edx, edx
mov qword [rsp + 0x38], rax
lea rax, [0x10000e348]
mov dword [rsp + 0x48], 0x5c
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], bx
mov qword [rsp + 0x40], rax
mov byte [rsp + 0xd2], bl
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
lea r9, [0x10000e2e0]
lea rdx, [rsp + 0x30]
mov r8d, 0x80042308
mov rcx, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
call fcn.1000e93c0
int3
cmp eax, ebx
je 0x100064699
lea rax, [0x10000e360]
xor edx, edx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [0x10000e320]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [0x10000e348]
mov dword [rsp + 0x48], 0x5f
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], bx
mov qword [rsp + 0x40], rax
mov byte [rsp + 0xd2], bl
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
movzx r8d, di
lea r9, [0x10000e3d0]
or r8d, 0x80070000
cmp edi, ebx
lea rdx, [rsp + 0x30]
mov rcx, rbp
cmovle r8d, edi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
call fcn.1000e9e30
int3
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1000646c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3c8
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x3b8], rax
mov rbx, qword [rsp + 0x438]
mov rsi, rcx
mov r15, r8
mov rdi, rdx
lea r13, [0x10000e3f8]
lea rcx, [r11 - 0x78]
mov r8d, 0x22
mov rdx, r13
mov rbp, r9
call sub.msvcrt.dll_memcpy
xor r14d, r14d
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
mov dword [rsi + 8], r14d
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
mov dword [rsp + 0x44], 0x1fe
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebx, [r14 + 1]
mov edi, eax
cmp eax, r14d
je 0x1000647f1
mov qword [rsp + 0x50], r13
lea r12, [0x10000e360]
lea r13, [0x10000e348]
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x60], 0xa8
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r14w
mov byte [rsp + 0xea], r14b
mov byte [rsp + 0xeb], bl
call sub.msvcrt.dll_memset
movzx r8d, di
xor eax, eax
lea r9, [0x10000e420]
or r8d, 0x80070000
cmp edi, eax
lea rdx, [rsp + 0x48]
mov rcx, rsi
cmovle r8d, edi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r15
call fcn.1000e9e30
int3
cmp dword [rsp + 0x40], ebx
je 0x10006497a
mov qword [rsp + 0x50], r13
mov word [rsp + 0xe8], r14w
mov byte [rsp + 0xea], r14b
lea r13, [0x10000e348]
mov r14d, 0x78
lea r12, [0x10000e360]
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, r14
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x60], 0xae
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x68], 0xff
mov byte [rsp + 0xeb], bl
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x48]
call fcn.1000e7a9c
lea rdx, [rsp + 0xf0]
mov r8d, ebx
mov rcx, rax
call fcn.1000e7a9c
lea rdx, [rsp + 0x198]
mov r8, rbp
mov rcx, rax
call fcn.1000e7e30
lea rdx, [rsp + 0x2e8]
mov r8, r15
mov rcx, rax
call fcn.1000e7e30
mov r9d, ebx
mov edx, 0x3007
mov r8, rax
mov rcx, rsi
call fcn.1000eb640
lea rcx, [rsp + 0x198]
call fcn.1000e7a50
lea rcx, [rsp + 0xf0]
call fcn.1000e7a50
lea rcx, [rsp + 0x240]
call fcn.1000e7a50
lea rcx, [rsp + 0x48]
call fcn.1000e7a50
lea rax, [0x10000e3f8]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
xor eax, eax
mov r8, r14
xor edx, edx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r13
mov word [rsp + 0xe8], ax
mov byte [rsp + 0xea], al
mov dword [rsp + 0x60], 0xaf
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x68], 0xff
mov byte [rsp + 0xeb], bl
call sub.msvcrt.dll_memset
mov r11d, dword [rsp + 0x40]
lea rax, [rsp + 0x390]
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x30], r15
lea r9, [0x10000e460]
lea rdx, [rsp + 0x48]
mov r8d, 0x80042302
mov rcx, rsi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.1000e93c0
int3
mov rcx, qword [rsp + 0x3b8]
xor rcx, rsp
call fcn.100130830
add rsp, 0x3c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1000649a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x3c0
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rbx, qword [rsp + 0x420]
mov rsi, rcx
mov r14, r8
mov rdi, rdx
lea r12, [0x10000e508]
lea rcx, [r11 - 0x68]
mov rdx, r12
mov r8d, 0x20
call sub.msvcrt.dll_memcpy
xor r15d, r15d
lea rax, [rsp + 0x44]
mov dword [rsi + 8], r15d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [0x100005eb8]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rbx
mov dword [rbx], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, r15d
je 0x100064ad3
mov qword [rsp + 0x50], r12
lea edi, [r15 + 1]
lea rbp, [0x10000e360]
lea r12, [0x10000e348]
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x60], 0xf3
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r15w
mov byte [rsp + 0xea], r15b
mov byte [rsp + 0xeb], dil
call sub.msvcrt.dll_memset
movzx r8d, bx
lea r9, [0x10000e420]
or r8d, 0x80070000
cmp ebx, r15d
lea rdx, [rsp + 0x48]
cmovle r8d, ebx
lea rbx, [0x100005eb8]
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
call fcn.1000e9e30
int3
cmp dword [rsp + 0x40], 4
je 0x100064c68
mov edi, 1
mov qword [rsp + 0x50], r12
lea rbp, [0x10000e360]
lea r12, [0x10000e348]
lea rcx, [rsp + 0x70]
lea r8d, [rdi + 0x77]
xor edx, edx
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x60], 0xf9
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r15w
mov byte [rsp + 0xea], r15b
mov byte [rsp + 0xeb], dil
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x48]
call fcn.1000e7a9c
lea r8d, [rdi + 3]
lea rdx, [rsp + 0xf0]
mov rcx, rax
call fcn.1000e7a9c
lea rbx, [0x100005eb8]
lea rdx, [rsp + 0x198]
mov r8, rbx
mov rcx, rax
call fcn.1000e7e30
lea rdx, [rsp + 0x2e8]
mov r8, r14
mov rcx, rax
call fcn.1000e7e30
mov r9d, edi
mov edx, 0x3007
mov r8, rax
mov rcx, rsi
call fcn.1000eb640
lea rcx, [rsp + 0x198]
call fcn.1000e7a50
lea rcx, [rsp + 0xf0]
call fcn.1000e7a50
lea rcx, [rsp + 0x240]
call fcn.1000e7a50
lea rcx, [rsp + 0x48]
call fcn.1000e7a50
lea rax, [0x10000e508]
lea r8d, [rdi + 0x77]
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0xfa
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r15w
mov byte [rsp + 0xea], r15b
mov byte [rsp + 0xeb], dil
call sub.msvcrt.dll_memset
mov r11d, dword [rsp + 0x40]
lea rax, [rsp + 0x390]
lea r9, [0x10000e530]
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x48]
mov r8d, 0x80042302
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1000e93c0
int3
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.100130830
add rsp, 0x3c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10006dbe0
Capabilities:
Resume thread

Disassembly:
mov rax, rsp
push rdi
push r12
push r14
sub rsp, 0x150
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbx, rcx
lea rsi, [0x100010cc0]
mov qword [rsp + 0x30], rsi
lea rbp, [0x100010dc0]
mov qword [rsp + 0x38], rbp
lea r12, [0x100010ca8]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x171
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor edi, edi
mov word [rax - 0x98], di
mov byte [rax - 0x96], dil
mov byte [rax - 0x95], 1
lea r14d, [rdi + 0x78]
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e8000
nop
mov rcx, qword [rbx + 0x10]
cmp rcx, rdi
je 0x10006ddd2
cmp dword [rbx + 0x1c], 2
jne 0x10006ddd2
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x10006ddbd
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x184
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx + 0x1c]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9, qword [rbx + 0x10]
lea r8, [0x100010e00]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000eb044
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x187
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov eax, dword [rbx + 0x1c]
mov dword [rsp + 0x20], eax
lea r8, [0x100010e90]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
mov dword [rbx + 0x1c], 5
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
mov eax, 0x8007000e
jmp 0x10006de50
mov byte [rbx + 0x20], 1
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor eax, eax
jmp 0x10006de50
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x176
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9d, dword [rbx + 0x1c]
lea r8, [0x100010d10]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
mov eax, 0x8000ffff
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret