joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013a90
Capabilities:
Parse pe header

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 r14
sub rsp, 0x20
xor r11d, r11d
lea r8, [0x140000000]
mov r9, rdx
test rdx, rdx
jne 0x140013ac1
mov r9, r8
not r9
mov rdx, r9
mov rcx, r8
call fcn.1400137b8
test eax, eax
je 0x140013cc5
mov edx, 0x40
call fcn.1400137b8
test eax, eax
je 0x140013cc5
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140013cc5
movsxd rax, dword [0x14000003c]
cmp rax, r9
jae 0x140013cc5
lea rcx, [rax + r8]
mov edx, 0x108
call fcn.1400137b8
test eax, eax
je 0x140013cc5
cmp dword [rcx], 0x4550
jne 0x140013cc5
movzx eax, word [rcx + 0x14]
cmp rax, r9
jae 0x140013cc5
add rcx, 0x18
mov edx, 0x10b
cmp word [rcx], dx
jne 0x140013b6a
cmp rax, 0x60
jb 0x140013cc5
mov edx, 0xe0
call fcn.1400137b8
test eax, eax
je 0x140013cc5
mov eax, dword [rcx + 0x5c]
add rcx, 0x70
jmp 0x140013b9b
mov edx, 0x20b
cmp word [rcx], dx
jne 0x140013cc5
cmp rax, 0x70
jb 0x140013cc5
mov edx, 0xf0
call fcn.1400137b8
test eax, eax
je 0x140013cc5
mov eax, dword [rcx + 0x6c]
sub rcx, 0xffffffffffffff80
cmp eax, 2
jbe 0x140013cc5
mov eax, dword [rcx]
mov edx, dword [rcx + 4]
test rax, rax
je 0x140013cc5
test rdx, rdx
je 0x140013cc5
lea rdi, [rax + r8]
test rdi, rdi
je 0x140013cc5
mov rcx, rdi
call fcn.1400137b8
test eax, eax
je 0x140013cc5
mov ebp, 0x10
cmp rdx, rbp
jb 0x140013cc5
movzx ebx, word [rdi + 0xe]
test rbx, rbx
je 0x140013cc5
movzx ecx, word [rdi + 0xc]
lea r14d, [rbp - 8]
add rcx, 2
mov rsi, r11
lea rcx, [rdi + rcx*8]
test rbx, rbx
je 0x140013c2b
mov rdx, r14
call fcn.1400137b8
test eax, eax
je 0x140013cc5
cmp word [rcx], bp
je 0x140013c2b
add rcx, r14
inc rsi
cmp rsi, rbx
jb 0x140013c0b
cmp rsi, rbx
je 0x140013cc5
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x140013cad
mov esi, 0x7fffffff
mov rdx, rbp
and rbx, rsi
add rbx, rdi
mov rcx, rbx
call fcn.1400137b8
test eax, eax
je 0x140013cc5
cmp word [rbx + 0xe], r11w
jne 0x140013c63
cmp word [rbx + 0xc], r11w
je 0x140013cc5
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.1400137b8
test eax, eax
je 0x140013cc5
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x140013cad
and rbx, rsi
mov rdx, rbp
add rbx, rdi
mov rcx, rbx
call fcn.1400137b8
test eax, eax
je 0x140013cc5
cmp word [rbx + 0xe], r11w
jne 0x140013c9d
cmp word [rbx + 0xc], r11w
je 0x140013cc5
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.1400137b8
test eax, eax
je 0x140013cc5
mov ecx, dword [rcx + 4]
mov rdx, rbp
add rcx, rdi
call fcn.1400137b8
test eax, eax
je 0x140013cc5
mov r11d, dword [rcx]
add r11, r8
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400144b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140055910]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [rsp + 0x2a8]
lea rdx, str.UpdateHealthTools
mov rdi, rcx
add rcx, 8
call fcn.140012f70
lea rcx, [rdi + 0x10]
lea rdx, str.CloudManagedUpdate
call fcn.140012f70
lea rcx, [rdi + 0x18]
lea rdx, str.UpdateHealthTools
call fcn.140012f70
mov rdx, rbx
lea rcx, [rdi + 0x20]
call fcn.140012f70
mov rcx, rdi
mov qword [rdi + 0x78], 0xffffffff80000002
call fcn.140015010
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x1400145d6
mov rcx, rdi
call fcn.140014f38
mov ebx, eax
test eax, eax
js 0x1400145d6
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rdx, qword [rdi + 0x20]
lea rax, [rsp + 0x40]
mov rcx, qword [rdi + 0x78]
lea r9d, [r14 + 2]
mov qword [rsp + 0x30], rax
lea r8, str.Endpoint
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400145c7
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400145b3
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x1400145ce
lea rdx, str.settings_win.data.microsoft.com
mov rcx, rdi
call fcn.140012f70
mov byte [rdi + 0xa8], 1
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002fd10
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140014bec
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [rcx + 0x20]
lea rax, [rsp + 0x48]
mov rcx, qword [rcx + 0x78]
xor ebx, ebx
and qword [rsp + 0x48], rbx
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140014c36
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140014c94
mov rcx, qword [rsp + 0x48]
lea rdx, str.ETag
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
je 0x140014c63
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140014c94
mov rcx, qword [rsp + 0x48]
lea rdx, str.RefreshAfter
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
je 0x140014c94
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140014caa
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140015cd0
Capabilities:
Encode data using xor
Hash data using fnv

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 r14
push r15
cmp qword [r8 + 0x18], 8
mov rsi, rdx
mov rbx, qword [r8 + 0x10]
mov r11, rcx
mov r10, r8
jb 0x140015cfe
mov r10, qword [r8]
lea rdx, [rbx + rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140015d31
movzx eax, byte [rcx + r10]
movabs rdi, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rdi
cmp rcx, rdx
jb 0x140015d13
mov r14, qword [r11 + 0x30]
mov r15, qword [r11 + 0x18]
and r14, r9
mov rdi, qword [r11 + 8]
add r14, r14
mov rax, qword [r15 + r14*8]
cmp qword [r15 + r14*8], rdi
jne 0x140015d52
mov rcx, rdi
jmp 0x140015d5a
mov rcx, qword [r15 + r14*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140015e04
cmp qword [r8 + 0x18], 8
mov rcx, r8
jb 0x140015d70
mov rcx, qword [r8]
mov rbp, qword [rax + 0x28]
lea r10, [rax + 0x10]
cmp rbp, 8
jb 0x140015d82
mov r10, qword [rax + 0x10]
mov r9, qword [rax + 0x20]
cmp r9, rbx
jne 0x140015dad
test r9, r9
je 0x140015da7
sub r10, rcx
movzx edx, word [rcx + r10]
cmp dx, word [rcx]
jne 0x140015db2
add rcx, 2
sub r9, 1
jne 0x140015d93
xor ecx, ecx
test ecx, ecx
je 0x140015dbb
mov rax, qword [rax]
jmp 0x140015d47
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x140015da9
lea rcx, [rax + 0x10]
cmp rbp, 8
jb 0x140015dc8
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140015dd2
mov r8, qword [r8]
test rbx, rbx
je 0x140015dee
sub r8, rcx
movzx edx, word [rcx + r8]
cmp dx, word [rcx]
jne 0x140015dfb
add rcx, 2
sub rbx, 1
jne 0x140015dda
xor ecx, ecx
test ecx, ecx
cmovne rax, rdi
mov qword [rsi], rax
jmp 0x140015e07
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x140015df0
mov qword [rsi], rdi
mov rbx, qword [rsp + 0x18]
mov rax, rsi
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x140015f50
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x30
and qword [rax + 8], 0
mov r14, r9
lea r9, [rax + 8]
mov rcx, 0xffffffff80000002
xor ebx, ebx
call fcn.1400161e0
mov esi, eax
test eax, eax
jns 0x140015f92
mov ecx, eax
jmp 0x14001605d
and dword [rsp + 0x60], ebx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.RacSampleNumber
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140015fdb
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x140016017
test rbx, rbx
jne 0x140016022
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001601b
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140015f96
mov esi, 0x8007000e
mov ecx, esi
jmp 0x14001605d
mov esi, 0x8000ffff
jmp 0x140016017
cmp dword [rsp + 0x58], 4
je 0x140016030
mov esi, 0x8007000d
jmp 0x140016017
xor ebp, ebp
cmp dword [rsp + 0x60], 4
je 0x140016049
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.14000b750
jmp 0x14001604e
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, ebp
call fcn.14000b770
mov esi, ebp
test ebp, ebp
jns 0x140016062
mov ecx, ebp
call fcn.14000b750
mov ecx, esi
call fcn.14000b770
test rbx, rbx
je 0x14001608e
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
cmp qword [rsp + 0x50], 0
je 0x1400160a7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x68]
mov eax, esi
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14001671c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r14, rdx
mov r9, rcx
mov r13, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140016758
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r11, [r13*2]
xor ecx, ecx
test r11, r11
je 0x14001678f
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r11
jb 0x140016771
mov r8, qword [r9 + 0x30]
and r8, rdx
mov r11, r8
add r11, r11
mov r12, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [r12 + r11*8]
je 0x140016856
mov rdi, qword [r12 + r11*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r12 + r11*8]
je 0x140016856
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
cmp qword [rdi + 0x28], 8
jb 0x1400167d3
mov rax, qword [rdi + 0x10]
mov rdx, r10
cmp qword [r10 + 0x18], 8
jb 0x1400167e0
mov rdx, qword [r10]
cmp r13, qword [rdi + 0x20]
jne 0x1400167b6
mov r15, r13
test r13, r13
je 0x140016808
sub rdx, rax
movzx ecx, word [rdx + rax]
cmp cx, word [rax]
jne 0x1400168ab
add rax, 2
sub r15, 1
jne 0x1400167f1
xor eax, eax
test eax, eax
jne 0x1400167b6
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rbx + 0x30]
call fcn.14000b9a0
lea rcx, [rbx + 0x10]
call fcn.14000b9a0
mov edx, 0x50
mov rcx, rbx
call fcn.14002fd38
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400168fa
mov rax, qword [rbx]
cmp rdi, rax
je 0x14001688b
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r11*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x1400168b7
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400168e6
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x14001680a
cmp rax, rdi
jne 0x1400168c2
mov qword [rdx + r8*8], rbx
jmp 0x1400168e6
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1400168e6
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r11*8 + 8], rcx
mov rcx, r9
call fcn.140016914
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140016c88
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 0x140016cbb
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x140016cea
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x140016ccc
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x140016d22
cmp qword [rcx + rdx*8], rdi
jne 0x140016d17
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140016d1b
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140016d2f
cmp qword [rcx + rdx*8], rdi
jne 0x140016d2f
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
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.14000b9a0
mov rcx, rsi
call fcn.14000b9a0
mov edx, 0x50
mov rcx, rdi
call fcn.14002fd38
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 0x140016e14
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x10], rdx
push rsi
push rdi
push r15
sub rsp, 0x50
xor r15d, r15d
lea rax, [r11 + 0x10]
mov qword [r11 - 0x28], r15
lea rdx, str.SoftwareMicrosoftCloudManagedUpdateuhs_settings
mov qword [r11 - 0x30], rax
mov rbp, rcx
mov qword [r11 - 0x38], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [r11 - 0x48], r15d
mov qword [r11 + 0x10], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140016ec1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
lea r8, str.SoftwareMicrosoftCloudManagedUpdateuhs_settings
or ecx, 0x80070000
lea rdx, str.Failed_to_create_open_settings_key__s
test eax, eax
cmovle ecx, eax
call fcn.14000b12c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140016fa7
mov rax, qword [rbp + 0xf8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140016fa4
lea rsi, [rbx + 0x30]
cmp qword [rsi + 0x18], 8
mov rcx, rsi
jb 0x140016ee5
mov rcx, qword [rsi]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140016ee9
add eax, eax
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140016f02
mov rcx, qword [rsi]
lea rdi, [rbx + 0x10]
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x140016f13
mov r8, qword [rdi]
xor edx, edx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
lea r9d, [rdx + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x140016f6c
cmp qword [rdi + 0x18], 8
jb 0x140016f41
mov rdi, qword [rdi]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov r8, rdi
or ecx, 0x80070000
lea rdx, str.Failed_to_write__s
test eax, eax
cmovle ecx, eax
call fcn.14000b12c
jmp 0x140016f94
cmp qword [rsi + 0x18], 8
jb 0x140016f76
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x140016f80
mov rdi, qword [rdi]
mov r9, rsi
lea rdx, str.Wrote_value_Name:__s__Value:__s
mov r8, rdi
xor ecx, ecx
call fcn.14000b12c
mov rbx, qword [rbx]
cmp rbx, qword [rbp + 0xf8]
jne 0x140016ed4
mov ebx, r15d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140016fbd
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret
Function at 0x140017f3c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edi, edi
mov rbx, rdx
cmp qword [rdx + 0x18], 8
mov qword [rsp + 0x30], rdi
jb 0x140017f5a
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140017fab
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x140017f91
mov rdx, qword [rbx]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
nop dword [rax + rax]
test eax, eax
jne 0x140017fab
lea edi, [rax + 1]
mov rcx, rbx
call fcn.14000b9a0
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1400186e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
and qword [r11 + 0x10], 0
xor ebx, ebx
mov rdi, r9
mov rax, r8
mov rsi, rcx
test r8, r8
jne 0x14001871b
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14000b750
jmp 0x14001877a
test rdi, rdi
je 0x14001870d
mov byte [rcx], bl
mov r9d, 0x20019
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001877a
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]
nop dword [rax + rax]
test eax, eax
jne 0x14001877a
mov byte [rsi], 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140018790
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000b770
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400187b0
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 0x1400187e0
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14000b750
jmp 0x14001883c
test rdi, rdi
je 0x1400187d2
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]
nop dword [rax + rax]
test eax, eax
jne 0x14001883c
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]
nop dword [rax + rax]
test eax, eax
jne 0x14001883c
mov byte [rsi], 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140018852
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000b770
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140018954
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rsi, rdx
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov rdx, rcx
jb 0x14001897c
mov rdx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
mov edi, eax
jb 0x1400189b1
mov rdx, qword [rsi]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test edi, edi
jne 0x1400189e1
test eax, eax
jne 0x1400189e1
mov dil, 1
jmp 0x1400189e4
xor dil, dil
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x1400189f1
mov r8, qword [rbx]
lea rax, str.exists
test dil, dil
lea r9, str.does_not_exist
cmovne r9, rax
lea rdx, str._s_registry_key__s
xor ecx, ecx
call fcn.14000b12c
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140018a2a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14000b9a0
mov rcx, rsi
call fcn.14000b9a0
mov rbx, qword [rsp + 0x60]
mov al, dil
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140018c70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rsi, rdx
cmp qword [rcx + 0x18], 8
mov rdi, r8
mov r14, rcx
mov rdx, rcx
jb 0x140018c99
mov rdx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140018cd5
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140018d37
cmp qword [rdi + 0x18], 8
mov rcx, rdi
mov rax, qword [rdi + 0x10]
jb 0x140018ce6
mov rcx, qword [rdi]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x140018cf3
mov rdx, qword [rsi]
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140018d25
xor ebx, ebx
jmp 0x140018d3e
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140018d3e
mov ecx, ebx
call fcn.14000b750
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140018d54
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000b770
mov rcx, r14
call fcn.14000b9a0
mov rcx, rsi
call fcn.14000b9a0
mov rcx, rdi
call fcn.14000b9a0
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140018d8c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140055910]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov rbx, rdx
xor esi, esi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
mov rdx, r9
lea rcx, [rbp - 0x30]
call fcn.14000b908
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 2]
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140018e17
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140018e6e
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov eax, dword [rbp - 0x20]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140018e5c
mov ebx, esi
jmp 0x140018e75
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140018e75
mov ecx, ebx
call fcn.14000b750
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140018e8a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000b770
nop
lea rcx, [rbp - 0x30]
call fcn.14000b9a0
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002fd10
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret