joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019210
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rdi, r9
mov dword [rax + 8], 4
lea rax, [rax - 0x18]
mov rsi, r8
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14001926b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1400192a8
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140019296
xor ebx, ebx
jmp 0x1400192af
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400192af
mov ecx, ebx
call fcn.14000a8c8
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400192bf
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.14000a8e8
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14001b184
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov r10, qword [rsi + 0x10]
jb 0x14001b1b7
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x14001b1e6
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x14001b1c8
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14001b21e
cmp qword [rcx + rdx*8], rdi
jne 0x14001b213
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x14001b217
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001b22b
cmp qword [rcx + rdx*8], rdi
jne 0x14001b22b
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x28]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.14000ab60
mov rcx, rsi
call fcn.14000ab60
mov edx, 0x58
mov rcx, rdi
call fcn.14002d738
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x14001b4a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rbp - 0x28]
call fcn.14000abc8
mov rcx, rax
call fcn.140018a24
test al, al
jne 0x14001b50b
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.14000abc8
mov rcx, rax
call fcn.140018bb8
mov ebx, eax
test eax, eax
jns 0x14001b50b
mov edx, 0x2f
mov rcx, qword [rbp + 8]
lea r8, str.onecoreenduserupgradeenablersdssdsslibrarypollingscheduler.cpp
mov r9d, ebx
call fcn.140004124
mov eax, ebx
jmp 0x14001b649
lea rcx, [rbp - 0x30]
call fcn.140029a78
mov ebx, eax
test eax, eax
jns 0x14001b521
mov edx, 0x32
jmp 0x14001b4f1
mov eax, dword [rbp - 0x2c]
mov rsi, qword [rdi + 8]
mov rdi, qword [rdi]
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x40], eax
xor ecx, ecx
call fcn.14000a8e8
mov rax, qword [rbp - 0x40]
xor ebx, ebx
and qword [rbp - 0x40], rbx
xor r8d, r8d
mov qword [rbp - 0x38], rax
mov rdx, rdi
lea rax, [rbp - 0x40]
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 2]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001b5cc
xor edi, edi
mov rbx, qword [rbp - 0x40]
and qword [rbp - 0x40], 0
mov ecx, edi
call fcn.14000a8e8
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001b593
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and qword [rbp - 0x40], 0
test edi, edi
js 0x14001b5f9
xor ecx, ecx
call fcn.14000a8e8
lea rax, [rbp - 0x38]
mov dword [rsp + 0x28], 8
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x14001b5e7
xor edi, edi
jmp 0x14001b600
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001b56f
mov ecx, edi
call fcn.14000a8c8
jmp 0x14001b578
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001b600
mov ecx, edi
call fcn.14000a8c8
mov ecx, edi
call fcn.14000a8e8
test rbx, rbx
je 0x14001b615
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jns 0x14001b620
mov ecx, edi
call fcn.14000a8c8
mov ecx, edi
call fcn.14000a8e8
test edi, edi
jns 0x14001b647
mov rcx, qword [rbp + 8]
lea r8, str.onecoreenduserupgradeenablersdssdsslibrarypollingscheduler.cpp
mov r9d, edi
mov edx, 0x37
call fcn.140004124
mov eax, edi
jmp 0x14001b649
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001be14
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
xor ebx, ebx
lea rax, [r11 - 0x10]
and qword [r11 - 0x10], rbx
mov rsi, r9
mov rbp, r8
mov qword [r11 - 0x28], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001be8f
xor edi, edi
mov rbx, qword [rsp + 0x38]
and qword [rsp + 0x38], 0
mov ecx, edi
call fcn.14000a8e8
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001be82
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and qword [rsp + 0x38], 0
test edi, edi
jns 0x14001beaa
mov ecx, edi
call fcn.14000a8c8
jmp 0x14001bef4
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001be5a
mov ecx, edi
call fcn.14000a8c8
jmp 0x14001be65
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
je 0x14001beed
cmp eax, 2
je 0x14001bef2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001bef2
jmp 0x14001be86
mov ecx, 1
mov dword [rsi], ecx
mov ecx, edi
call fcn.14000a8e8
test rbx, rbx
je 0x14001bf09
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14001cd68
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
mov rsi, r8
lea rcx, [rbp - 0x18]
mov r14, rdx
call fcn.140029a78
mov eax, dword [rbp - 0x14]
mov rdi, qword [rbx + 0x18]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x20], eax
xor ecx, ecx
call fcn.14000a8e8
imul rax, rsi, 0x23c34600
xor esi, esi
xor r8d, r8d
add rax, qword [rbp - 0x20]
mov rdx, rdi
mov qword [rbp - 0x10], rax
mov rcx, 0xffffffff80000002
lea rax, [rbp - 0x20]
mov qword [rbp - 0x20], rsi
lea r9d, [rsi + 2]
mov qword [rsp + 0x20], rax
mov ebx, esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ce37
mov edi, esi
mov rbx, qword [rbp - 0x20]
mov qword [rbp - 0x20], rsi
mov ecx, edi
call fcn.14000a8e8
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14001cdfe
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbp - 0x20], rsi
test edi, edi
js 0x14001ce64
xor ecx, ecx
call fcn.14000a8e8
lea rax, [rbp - 0x10]
mov dword [rsp + 0x28], 8
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x14001ce52
mov edi, esi
jmp 0x14001ce6b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001cddc
mov ecx, edi
call fcn.14000a8c8
jmp 0x14001cde4
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001ce6b
mov ecx, edi
call fcn.14000a8c8
mov ecx, edi
call fcn.14000a8e8
test rbx, rbx
je 0x14001ce80
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jns 0x14001ce8b
mov ecx, edi
call fcn.14000a8c8
mov ecx, edi
call fcn.14000a8e8
test edi, edi
jns 0x14001ceb2
mov rcx, qword [rbp + 0x28]
lea r8, str.onecoreenduserupgradeenablersdssdsslibrary_remoteactionscheduler.cpp
mov r9d, edi
mov edx, 0xef
call fcn.140004124
mov eax, edi
jmp 0x14001ceb4
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001d308
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x140051ad0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rdx
and dword [rsp + 0x30], 0
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14001d35e
mov rcx, qword [rdx]
mov rax, qword [rdx + 0x10]
lea r8, [rcx + rax*2]
cmp qword [rdx + 0x18], 8
jb 0x14001d370
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
call fcn.140020038
nop
xor edx, edx
lea r8d, [rdx + 0x20]
lea rcx, [rbp - 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
mov r8d, 0x82
lea rcx, [rbp + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x80], 0x6a09e667
mov dword [rbp - 0x7c], 0xbb67ae85
mov dword [rbp - 0x78], 0x3c6ef372
mov dword [rbp - 0x74], 0xa54ff53a
mov dword [rbp - 0x70], 0x510e527f
mov dword [rbp - 0x6c], 0x9b05688c
mov dword [rbp - 0x68], 0x1f83d9ab
mov dword [rbp - 0x64], 0x5be0cd19
and dword [rbp - 0x60], 0
and dword [rbp - 0x5c], 0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov r8d, 0x24
lea rcx, [rbp - 0x80]
call fcn.14002a570
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.14002a6a0
xor r9d, r9d
lea r10, [rbp - 0x10]
lea r11, str.0123456789ABCDEF
movzx r8d, byte [r10]
lea edx, [r9 + r9]
mov eax, r8d
shr rax, 4
movzx eax, word [r11 + rax*2]
mov word [rbp + rdx*2 + 0x10], ax
and r8d, 0xf
lea ecx, [rdx + 1]
movzx eax, word [r11 + r8*2]
mov word [rbp + rcx*2 + 0x10], ax
inc r9d
inc r10
cmp r9d, 0x20
jb 0x14001d425
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.14000abc8
mov dword [rsp + 0x30], 1
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001d47c
mov r9, qword [rbx]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001d489
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea r8, [rcx + rax*2]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001d49e
mov rdx, qword [rbx]
mov rax, qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_towlower]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.140019404
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14001d4f5
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d4f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d4f0
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002d738
movdqa xmm0, xmmword [0x140043280]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rcx, rdi
call fcn.14000ab60
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14002d710
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140024150
Capabilities:
Read http header
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rsi, rdx
mov dword [rax + 8], 4
xor ebx, ebx
xor edx, edx
mov dword [r8], ebx
mov rdi, r8
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1400241a5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
jmp 0x1400241ec
mov rcx, qword [rsi]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rbx
mov r9, rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x20000013
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1400241ea
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov ebx, 0x80004005
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140024a6c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rdx
xor edi, edi
mov dword [rax - 0x48], edi
lea rdx, [0x140033f80]
mov rcx, rbx
call fcn.14000abc8
mov dword [rsp + 0x20], 1
xor edx, edx
lea r8d, [rdi + 0x30]
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x30]
test ax, ax
jne 0x140024ad1
lea rdx, [0x14003f1d8]
jmp 0x140024ade
cmp ax, 9
jne 0x140024ae6
lea rdx, str.amd64
mov rcx, rbx
call fcn.14000cb5c
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140024af3
mov r8, qword [rbx]
lea rdx, str.Found_OS_architecture:__s
xor ecx, ecx
call fcn.14000a164
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140028a74
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x208]
sub rsp, 0x300
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140051ad0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x6c], esi
movdqa xmm0, xmmword [0x140043270]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], si
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x20], esi
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140028b42
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmove ebx, eax
mov r8d, ebx
lea rdx, str.Error_retrieving_Windows_system_directoryhr__0x_08x.
mov ecx, ebx
call fcn.14000a164
test ebx, ebx
jns 0x140028b42
mov rcx, qword [rbp + 0x208]
mov r9d, ebx
lea r8, str.onecoreenduserupgradeenablersdssdsslibraryunenrollmentexecutor.cpp
mov edx, 0x83
call fcn.140004124
jmp 0x140028c4b
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x58]
call fcn.14000cac8
lea rdx, [0x140033f40]
lea rcx, [rbp - 0x58]
call fcn.14000cac8
lea rdx, str.msiexec.exe
lea rcx, [rbp - 0x58]
call fcn.14000cac8
lea rdx, str.__x
lea rcx, [rbp - 0x78]
call fcn.14000cac8
cmp qword [rdi + 0x18], 8
jb 0x140028b89
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000cac8
lea rdx, str.__qn
lea rcx, [rbp - 0x78]
call fcn.14000cac8
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x68], esi
lea rax, str.Uninstall_dss_client
mov qword [rsp + 0x58], rax
lea rax, str.MicrosoftWindows
mov qword [rsp + 0x50], rax
lea rax, [0x140040cb8]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x38], sil
lea rdx, [rbp - 0x38]
call fcn.140019c88
movups xmm0, xmmword [rbp - 0x38]
movdqu xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14002cf58
mov ebx, eax
test eax, eax
je 0x140028c40
mov r8d, eax
lea rdx, str.Error_creating_removal_task__0x_08x.
mov ecx, eax
call fcn.14000a164
nop
lea rcx, [rsp + 0x28]
call fcn.14002bb78
nop
lea rcx, [rbp - 0x78]
call fcn.14000ab60
nop
lea rcx, [rbp - 0x58]
call fcn.14000ab60
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002d710
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140028f64
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x7f90]
mov eax, 0x8090
call fcn.14002ea40
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x80b8], rbx
mov qword [rsp + 0x80c0], rsi
mov qword [rsp + 0x80c8], rdi
mov rax, qword [0x140051ad0]
xor rax, rsp
mov qword [rbp + 0x7f80], rax
mov rdi, rcx
mov r14d, 0x80004005
mov dword [rsp + 0x6c], 0x3fff
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rsi, str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingVersion
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14002902f
lea rdx, str.Failed_to_open_registry_key__s
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
mov r8, rsi
cmovle ebx, eax
mov ecx, ebx
call fcn.140009f44
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140029028
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x14002912e
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14002907c
lea rdx, str.Failed_to_examine_key__s
jmp 0x140028fff
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14002911b
mov ebx, r15d
mov word [rbp - 0x80], r15w
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
lea r8, [rbp - 0x80]
mov edx, ebx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
je 0x1400290c8
inc ebx
cmp ebx, dword [rsp + 0x68]
jb 0x14002908b
jmp 0x14002911b
mov r14d, r15d
lea rax, [rbp - 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x1400290d3
cmp rdx, qword [rdi + 0x18]
ja 0x14002910e
mov rsi, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400290f0
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov word [rbx + rsi], r15w
jmp 0x14002911b
lea r9, [rbp - 0x80]
mov rcx, rdi
call fcn.14000dd88
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002912b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x7f80]
xor rcx, rsp
call fcn.14002d710
lea r11, [rsp + 0x8090]
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 0x1400296f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
xor ebx, ebx
mov rdi, r8
mov rsi, rcx
test rdx, rdx
jne 0x140029728
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14000a8c8
jmp 0x140029778
test rdi, rdi
je 0x14002971a
mov byte [rcx], bl
lea rax, [rsp + 0x48]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140029778
and qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
and qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140029778
mov byte [rsi], 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140029788
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.14000a8e8
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400297a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x40
and qword [r11 - 0x18], 0
mov rbx, r9
mov dword [rsp + 0x58], 4
mov rax, r8
mov rdi, rcx
test rcx, rcx
je 0x14002986a
test rax, rax
je 0x14002986a
test rbx, rbx
je 0x14002986a
lea rcx, [r11 - 0x18]
mov r9d, 0x20019
mov qword [r11 - 0x28], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x140029824
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
je 0x140029824
mov ecx, edx
jmp 0x140029871
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140029851
xor edx, edx
jmp 0x140029863
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
jne 0x140029820
cmp dword [rsp + 0x50], 4
je 0x140029876
mov ecx, 0x80070057
mov edx, ecx
call fcn.14000a8c8
mov rcx, qword [rsp + 0x30]
xor ebx, ebx
cmp edx, 0x80070002
cmovne ebx, edx
test rcx, rcx
je 0x140029891
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.14000a8e8
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret