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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1080
call fcn.140030fc0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140055910]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov word [rsp + 0x70], r14w
mov dword [rsp + 0x40], 0x1000
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140018f25
mov rdx, qword [rcx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
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 0x140018f6a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140018f6a
mov ecx, ebx
call fcn.14000b750
jmp 0x140018fde
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x140018f77
mov r8, qword [rsi]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140018f84
mov rdx, qword [rdi]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140018fbf
mov ebx, r14d
jmp 0x140018fd1
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140018f61
lea rdx, [rsp + 0x70]
mov rcx, rbp
call fcn.14000b908
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140018ff4
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
mov rcx, rdi
call fcn.14000b9a0
nop
mov rcx, rsi
call fcn.14000b9a0
mov eax, ebx
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.14002fd10
add rsp, 0x1080
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140019034
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
and qword [r11 + 0x10], 0
lea rax, [r11 + 0x10]
mov rdi, r8
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftCloudManagedUpdateuhs
mov r9d, 2
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 0x140019091
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1400190d7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400190c5
xor ebx, ebx
jmp 0x1400190de
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400190de
mov ecx, ebx
call fcn.14000b750
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400190f4
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 eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140019110
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]
nop dword [rax + rax]
test eax, eax
je 0x140019171
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1400191b4
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]
nop dword [rax + rax]
test eax, eax
jne 0x1400191a2
xor ebx, ebx
jmp 0x1400191bb
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400191bb
mov ecx, ebx
call fcn.14000b750
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400191d1
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 + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14001ade8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, r9
mov r10, r8
mov r14, rdx
mov r9, rcx
mov r15, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14001ae25
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r11, [r15 + r15]
xor ecx, ecx
test r11, r11
je 0x14001ae58
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r11
jb 0x14001ae3a
mov r8, qword [r9 + 0x30]
and r8, rdx
mov rdi, qword [r9 + 8]
mov rax, r8
add rax, rax
mov rcx, qword [r9 + 0x18]
mov r12, qword [rcx + rax*8]
cmp rdi, r12
je 0x14001af21
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
cmp rdi, r12
je 0x14001af21
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
cmp qword [rdi + 0x28], 8
jb 0x14001ae9e
mov rax, qword [rdi + 0x10]
mov rdx, r10
cmp qword [r10 + 0x18], 8
jb 0x14001aeab
mov rdx, qword [r10]
cmp r15, qword [rdi + 0x20]
jne 0x14001ae82
mov rsi, r15
test r15, r15
je 0x14001aed3
sub rdx, rax
movzx ecx, word [rdx + rax]
cmp cx, word [rax]
jne 0x14001af7c
add rax, 2
sub rsi, 1
jne 0x14001aebc
xor eax, eax
test eax, eax
jne 0x14001ae82
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 + 0x38]
call fcn.14000b9a0
lea rcx, [rbx + 0x10]
call fcn.14000b9a0
mov edx, 0x58
mov rcx, rbx
call fcn.14002fd38
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14001afcb
mov rax, qword [rbx]
cmp rdi, rax
je 0x14001af56
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 r10, r8
add r10, r10
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x14001af88
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14001afb7
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x14001aed5
cmp rax, rdi
jne 0x14001af93
mov qword [rdx + r8*8], rbx
jmp 0x14001afb7
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14001afb7
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.14001afe4
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14001b220
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 0x14001b253
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x14001b282
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x14001b264
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14001b2ba
cmp qword [rcx + rdx*8], rdi
jne 0x14001b2af
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x14001b2b3
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001b2c7
cmp qword [rcx + rdx*8], rdi
jne 0x14001b2c7
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.14000b9a0
mov rcx, rsi
call fcn.14000b9a0
mov edx, 0x58
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 0x14001c984
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
and qword [rax - 0x10], 0
mov rsi, r9
mov rbp, r8
lea r9, [rax - 0x10]
mov r8d, 1
mov rcx, 0xffffffff80000002
call fcn.14000cf8c
mov edi, eax
test eax, eax
jns 0x14001c9c8
mov ecx, eax
call fcn.14000b750
jmp 0x14001ca1c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
je 0x14001ca15
cmp eax, 2
je 0x14001ca1a
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001ca1a
mov ecx, edi
jmp 0x14001c9c1
mov ecx, 1
mov dword [rsi], ecx
mov ecx, edi
call fcn.14000b770
cmp qword [rsp + 0x38], 0
je 0x14001ca3c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x58]
mov eax, edi
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140025d4c
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]
nop dword [rax + rax]
test eax, eax
jne 0x140025dad
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
jmp 0x140025e00
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]
nop dword [rax + rax]
test eax, eax
jne 0x140025dfe
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
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 0x140026420
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, [0x140035e2c]
mov rcx, rbx
call fcn.14000ba10
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetNativeSystemInfo]
nop dword [rax + rax]
movzx eax, word [rsp + 0x30]
test ax, ax
jne 0x14002648d
lea rdx, [0x140043078]
jmp 0x14002649a
cmp ax, 9
jne 0x1400264a2
lea rdx, str.amd64
mov rcx, rbx
call fcn.14000d5fc
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400264af
mov r8, qword [rbx]
lea rdx, str.Found_OS_architecture:__s
xor ecx, ecx
call fcn.14000b12c
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14002aa38
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 [0x140055910]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x6c], esi
movdqa xmm0, xmmword [0x140046c50]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], si
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
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]
nop dword [rax + rax]
test eax, eax
jne 0x14002ab0d
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
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.14000b12c
test ebx, ebx
jns 0x14002ab0d
mov rcx, qword [rbp + 0x208]
mov r9d, ebx
lea r8, str.onecoreenduserupgradeenablersdssdsslibraryunenrollmentexecutor.cpp
lea edx, [rsi + 0x73]
call fcn.1400051e8
jmp 0x14002ac16
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x58]
call fcn.14000b908
lea rdx, [0x140035e20]
lea rcx, [rbp - 0x58]
call fcn.14000b908
lea rdx, str.msiexec.exe
lea rcx, [rbp - 0x58]
call fcn.14000b908
lea rdx, str.__x
lea rcx, [rbp - 0x78]
call fcn.14000b908
cmp qword [rdi + 0x18], 8
jb 0x14002ab54
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000b908
lea rdx, str.__qn
lea rcx, [rbp - 0x78]
call fcn.14000b908
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, [0x140044ba0]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x38], sil
lea rdx, [rbp - 0x38]
call fcn.140019b58
movups xmm0, xmmword [rbp - 0x38]
movdqu xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14002f4ec
mov ebx, eax
test eax, eax
je 0x14002ac0b
mov r8d, eax
lea rdx, str.Error_creating_removal_task__0x_08x.
mov ecx, eax
call fcn.14000b12c
nop
lea rcx, [rsp + 0x28]
call fcn.14002dff8
nop
lea rcx, [rbp - 0x78]
call fcn.14000b9a0
nop
lea rcx, [rbp - 0x58]
call fcn.14000b9a0
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002fd10
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 0x14002afc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x7f90]
mov eax, 0x8090
call fcn.140030fc0
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 [0x140055910]
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]
nop dword [rax + rax]
test eax, eax
je 0x14002b097
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.14000afb0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002b090
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14002b1ab
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]
nop dword [rax + rax]
test eax, eax
je 0x14002b0ed
lea rdx, str.Failed_to_examine_key__s
jmp 0x14002b061
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14002b192
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]
nop dword [rax + rax]
test eax, eax
je 0x14002b13f
inc ebx
cmp ebx, dword [rsp + 0x68]
jb 0x14002b0fc
jmp 0x14002b192
mov r14d, r15d
lea rax, [rbp - 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x14002b14a
cmp rdx, qword [rdi + 0x18]
ja 0x14002b185
mov rsi, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002b167
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 0x14002b192
lea r9, [rbp - 0x80]
mov rcx, rdi
call fcn.14000e268
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002b1a8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, r14d
mov rcx, qword [rbp + 0x7f80]
xor rcx, rsp
call fcn.14002fd10
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 0x14002b788
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 0x14002b856
test rax, rax
je 0x14002b856
test rbx, rbx
je 0x14002b856
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]
nop dword [rax + rax]
test eax, eax
je 0x14002b80a
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
je 0x14002b80a
mov ecx, edx
jmp 0x14002b85d
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]
nop dword [rax + rax]
test eax, eax
jne 0x14002b83d
xor edx, edx
jmp 0x14002b84f
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
jne 0x14002b806
cmp dword [rsp + 0x50], 4
je 0x14002b862
mov ecx, 0x80070057
mov edx, ecx
call fcn.14000b750
mov rcx, qword [rsp + 0x30]
xor ebx, ebx
cmp edx, 0x80070002
cmovne ebx, edx
test rcx, rcx
je 0x14002b883
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 eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002b8a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r12d, r12d
mov dword [rbp + 0x30], 2
cmp qword [rcx + 0x18], 8
lea rbx, [rcx + 0x10]
mov r15, r9
mov qword [rbp - 8], r12
mov r10, r8
mov qword [rbx], r12
mov rsi, rcx
mov rax, rcx
jb 0x14002b8e9
mov rax, qword [rcx]
mov word [rax], r12w
mov r9d, 0x20019
lea rax, [rbp - 8]
xor r8d, r8d
mov rdx, r10
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 0x14002b92f
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14002ba4e
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
lea rax, [rbp + 0x38]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp eax, 0xea
jne 0x14002ba33
mov eax, dword [rbp - 0x10]
dec eax
cmp eax, 1
jbe 0x14002b97c
mov ecx, 0x80070057
mov edi, ecx
jmp 0x14002ba50
mov ecx, dword [rbp + 0x30]
mov eax, 2
shr rcx, 1
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140030494
mov rcx, qword [rbp - 8]
lea r9, [rbp - 0x10]
mov r14, rax
xor r8d, r8d
lea rax, [rbp + 0x30]
mov rdx, r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002b9d1
mov edi, r12d
jmp 0x14002b9e3
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14002ba4e
cmp dword [rbp + 0x30], 2
jbe 0x14002b970
mov edx, dword [rbp + 0x30]
shr rdx, 1
dec rdx
cmp rdx, qword [rsi + 0x18]
ja 0x14002ba1e
cmp qword [rsi + 0x18], 8
jb 0x14002ba02
mov rsi, qword [rsi]
mov qword [rbx], rdx
mov rcx, rsi
lea rbx, [rdx + rdx]
mov rdx, r14
mov r8, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov word [rbx + rsi], r12w
jmp 0x14002ba29
mov r9, r14
mov rcx, rsi
call fcn.14000e268
mov rcx, r14
call fcn.14002fd38
jmp 0x14002ba55
test eax, eax
jne 0x14002ba3c
mov edi, r12d
jmp 0x14002ba55
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14002ba55
mov ecx, edi
call fcn.14000b750
mov ecx, edi
call fcn.14000b770
lea r11, [rsp + 0x40]
mov eax, edi
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 0x14002be0c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov rsi, rdx
lea r11, [0x140056730]
mov qword [rsp + 0x50], r11
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
xor r9, rax
movabs rdx, 0x100000001b3
imul r9, rdx
inc rcx
cmp rcx, 4
jb 0x14002be4a
and r9, qword [0x140056760]
mov r10, r9
add r10, r10
mov rcx, qword [0x140056748]
mov rdx, qword [0x140056738]
cmp qword [rcx + r10*8], rdx
jne 0x14002be8f
mov rdi, rdx
jmp 0x14002be97
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x14002bee1
mov rdi, qword [rdi + 8]
mov eax, dword [rdi + 0x10]
cmp dword [r8], eax
jne 0x14002be97
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 [0x140056740]
mov edx, 0x20
mov rcx, rbx
call fcn.14002fd38
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14002bf8b
mov rax, qword [rbx]
cmp rdi, rax
je 0x14002bf24
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 rcx, qword [0x140056748]
mov rdx, qword [0x140056738]
mov rax, r9
add rax, rax
add r9, r9
cmp qword [rcx + r10*8], rdx
jne 0x14002bf45
mov qword [rcx + rax*8], rbx
mov rax, qword [0x140056748]
mov qword [rax + r9*8 + 8], rbx
jmp 0x14002bf78
cmp qword [rcx + rax*8], rdi
jne 0x14002bf51
mov qword [rcx + r9*8], rbx
jmp 0x14002bf78
mov rax, qword [rcx + r9*8 + 8]
mov rdx, qword [rax]
mov qword [rcx + r9*8 + 8], rdx
cmp rdx, rbx
je 0x14002bf78
mov r8, qword [0x140056748]
mov rax, qword [r8 + r10*8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r10*8 + 8], rdx
mov rcx, r11
call fcn.14002bfa4
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret