joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006fe84
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov qword [rsp + 0x50], rsi
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [rcx + r14]
xor r9, rax
movabs rdx, 0x100000001b3
imul r9, rdx
inc rcx
cmp rcx, 4
jb 0x14006fec3
mov rax, qword [rdi + 0x88]
and rax, r9
add rax, rax
mov rcx, qword [rdi + 0x70]
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, qword [rdi + 0x60]
je 0x14006ff0f
mov rdx, qword [rcx + rax*8]
mov eax, dword [r14]
cmp eax, dword [rbx + 0x10]
je 0x14006ff71
cmp rbx, rdx
jne 0x14006ff7e
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14006ff8c
nop
test rsi, rsi
je 0x14006ff5d
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
jmp 0x14006ff5d
mov rdx, qword [rbx + 0x28]
mov rcx, rdi
call fcn.140070970
lea rcx, [rbx + 0x18]
mov rdx, rbp
call fcn.1400709e0
nop
lea rcx, [rsp + 0x50]
call fcn.140070574
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
test rbx, rbx
je 0x14006ff0f
cmp rbx, qword [rdi + 0x60]
je 0x14006ff0f
jmp 0x14006ff3a
mov rbx, qword [rbx + 8]
jmp 0x14006ff05

Function at 0x140070adc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x140070aec
mov rcx, qword [r11 + 0x30]
and rcx, r9
mov r9, qword [r11 + 0x18]
add rcx, rcx
mov rax, qword [r9 + rcx*8 + 8]
cmp rax, qword [r11 + 8]
je 0x140070b35
mov r10, qword [r9 + rcx*8]
mov ecx, dword [r8]
cmp ecx, dword [rax + 0x10]
je 0x140070b41
cmp rax, r10
jne 0x140070b48
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov rax, rdx
ret
test rax, rax
jne 0x140070b39
jmp 0x140070b35
mov rax, qword [rax + 8]
jmp 0x140070b2b

Function at 0x140070e44
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x140070e54
mov rcx, qword [r11 + 0x30]
and rcx, r9
mov r9, qword [r11 + 0x18]
add rcx, rcx
mov rax, qword [r9 + rcx*8 + 8]
cmp rax, qword [r11 + 8]
je 0x140070e9e
mov r10, qword [r9 + rcx*8]
mov rcx, qword [r8]
cmp rcx, qword [rax + 0x10]
jne 0x140070eaa
test rax, rax
jne 0x140070ea2
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov rax, rdx
ret
cmp rax, r10
je 0x140070e9e
mov rax, qword [rax + 8]
jmp 0x140070e93
Function at 0x140071d48
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, r8
mov rdi, rcx
mov rcx, qword [rdx]
test rcx, rcx
je 0x140071d63
mov rcx, qword [rcx]
mov edx, 0x2710
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0x102
jne 0x140071e2b
call fcn.1400abd44
cmp dword [rax], 2
jbe 0x140071dc0
lea rcx, str.Failed_to_wait_for_SenseCncProxy_to_become_ready
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x78], 0x80004005
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14046de3e]
mov rcx, rax
call fcn.140004d64
and dword [rsp + 0x68], 0
or edx, 0xffffffff
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
lea rcx, [rsp + 0x38]
call fcn.1402c62f4
nop
mov eax, dword [rsp + 0x68]
lea rdx, [rdi + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x38]
call fcn.1402c6654
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140071e24
call fcn.14008a1a0
mov eax, 0x800705b4
jmp 0x140071e2d
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140073770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15, r8
mov rdi, rdx
mov r14, rcx
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
movzx eax, byte [rcx + r8]
xor rbp, rax
movabs rdx, 0x100000001b3
imul rbp, rdx
inc rcx
cmp rcx, 8
jb 0x1400737a1
mov rcx, qword [r14 + 0x30]
and rcx, rbp
add rcx, rcx
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
lea r13, [r14 + 8]
mov rsi, qword [r13]
cmp rax, rsi
je 0x140073808
mov r8, qword [rdx + rcx*8]
mov rcx, qword [r15]
cmp rcx, qword [rax + 0x10]
je 0x1400738c5
cmp rax, r8
jne 0x1400738bc
mov rsi, rax
xor eax, eax
test rax, rax
jne 0x1400738d6
mov rcx, r14
call fcn.140073918
mov qword [rsp + 0x20], r13
and qword [rsp + 0x28], 0
mov ecx, 0x30
call fcn.1400e0580
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r15]
mov qword [rax + 0x10], rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x18], xmm0
mov qword [rbx + 0x28], rax
mov rcx, r14
call fcn.14007394c
test al, al
jne 0x1400738df
mov rdx, qword [rsi + 8]
inc qword [r14 + 0x10]
mov qword [rbx], rsi
mov qword [rbx + 8], rdx
mov qword [rdx], rbx
mov qword [rsi + 8], rbx
mov rcx, qword [r14 + 0x18]
mov rax, qword [r14 + 0x30]
and rax, rbp
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r13]
je 0x14007388a
cmp r8, rsi
jne 0x1400738cd
mov qword [rcx + rax*8], rbx
jmp 0x140073893
mov qword [rcx + rax*8], rbx
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rax + 8]
jmp 0x1400737e7
mov rsi, qword [rax]
jmp 0x1400737ff
cmp qword [rcx + rax*8 + 8], rdx
je 0x14007388e
jmp 0x140073893
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x14007389a
mov rcx, r14
call fcn.140312f34
mov r9, rbp
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400b6a70
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rsi, qword [rsp + 0x20]
jmp 0x140073851
Function at 0x140078958
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
sub rsp, 0x40
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
lea r14, [rcx + 0x18]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + rbx]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x14007899a
mov rax, qword [rbp + 0x88]
and rax, rcx
add rax, rax
mov rcx, qword [rbp + 0x70]
mov rdi, qword [rcx + rax*8 + 8]
cmp rdi, qword [rbp + 0x60]
je 0x1400789f1
mov rdx, qword [rcx + rax*8]
mov rax, qword [rbx]
cmp rax, qword [rdi + 0x10]
je 0x1400789ec
cmp rdi, rdx
je 0x1400789f1
mov rdi, qword [rdi + 8]
jmp 0x1400789db
test rdi, rdi
jne 0x140078a49
mov rax, qword [rbp + 0x48]
lock inc qword [rax + 0x48]
and qword [rsi], 0
and qword [rsi + 8], 0
test r14, r14
je 0x140078a2a
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
jmp 0x140078a2a
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
cmp rdi, qword [rbp + 0x60]
je 0x1400789f1
mov rbx, qword [rdi + 0x28]
cmp qword [rbp + 0x40], 0
jne 0x140078ac2
mov r8, qword [rbp + 0x98]
mov r9, qword [rbx]
cmp r8, rbx
je 0x140078a8f
cmp r8, r9
je 0x140078a8f
mov rdx, qword [rbx + 8]
mov qword [rdx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [r9 + 8], rdx
mov qword [rbx + 8], rax
mov rax, qword [rbp + 0x48]
lock inc qword [rax + 0x40]
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x140078aa9
lock inc dword [rdx + 8]
mov rdx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x18]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
test r14, r14
je 0x140078a2a
jmp 0x140078a1a
lea rcx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
jmp 0x140078a5a
Function at 0x14007cf1c
Capabilities:
Compare security identifiers
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov rsi, rdx
mov rbp, rcx
lea r14, [rcx + 0x18]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov qword [rsp + 0x50], r14
mov rbx, qword [r15]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
nop dword [rax + rax]
movabs rcx, 0xcbf29ce484222325
mov r8d, eax
xor edx, edx
test eax, eax
je 0x14007cf97
movzx eax, byte [rdx + rbx]
xor rcx, rax
movabs r9, 0x100000001b3
imul rcx, r9
inc rdx
cmp rdx, r8
jb 0x14007cf7a
mov rax, qword [rbp + 0x88]
and rax, rcx
add rax, rax
mov rcx, qword [rbp + 0x70]
mov rdi, qword [rcx + rax*8 + 8]
cmp rdi, qword [rbp + 0x60]
je 0x14007d069
mov rbx, qword [rcx + rax*8]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x14007d0a2
test rdi, rdi
je 0x14007d069
cmp rdi, qword [rbp + 0x60]
je 0x14007d069
mov rbx, qword [rdi + 0x28]
cmp qword [rbp + 0x40], 0
jne 0x14007d0b0
mov r8, qword [rbp + 0x98]
mov r9, qword [rbx]
cmp r8, rbx
je 0x14007d02d
cmp r8, r9
je 0x14007d02d
mov rdx, qword [rbx + 8]
mov qword [rdx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [r9 + 8], rdx
mov qword [rbx + 8], rax
mov rax, qword [rbp + 0x48]
lock inc qword [rax + 0x40]
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x14007d047
lock inc dword [rdx + 8]
mov rdx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x18]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
test r14, r14
je 0x14007d085
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
jmp 0x14007d085
mov rax, qword [rbp + 0x48]
lock inc qword [rax + 0x48]
and qword [rsi], 0
and qword [rsi + 8], 0
lea rcx, [rsp + 0x50]
call fcn.140070574
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
cmp rdi, rbx
je 0x14007d069
mov rdi, qword [rdi + 8]
jmp 0x14007cfbb
lea rcx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
jmp 0x14007cff8
Function at 0x140086fe0
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rdx]
movabs r9, 0x100000001b3
movzx ecx, byte [rdx + 6]
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, r9
xor rax, r8
imul rax, r9
xor rax, rcx
movzx ecx, byte [rdx + 7]
imul rax, r9
xor rax, rcx
imul rax, r9
ret
Function at 0x14008f574
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, qword [r8]
mov r10, rcx
test rax, rax
je 0x14008f5f0
mov r11, qword [rax + 0x40]
movabs r8, 0xcbf29ce484222325
mov qword [rsp + 0x18], r11
xor r9d, r9d
movzx eax, byte [rsp + r9 + 0x18]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 8
jb 0x14008f595
mov rcx, qword [r10 + 0x30]
and rcx, r8
mov r8, qword [r10 + 0x18]
add rcx, rcx
mov rax, qword [r8 + rcx*8 + 8]
cmp rax, qword [r10 + 8]
je 0x14008f5dd
mov r9, qword [r8 + rcx*8]
cmp r11, qword [rax + 0x10]
je 0x14008f5e3
cmp rax, r9
jne 0x14008f5f6
mov rax, qword [r10 + 8]
jmp 0x14008f5e8
test rax, rax
je 0x14008f5dd
mov qword [rdx], rax
mov rax, rdx
ret
mov rax, qword [rcx + 8]
jmp 0x14008f5e8
mov rax, qword [rax + 8]
jmp 0x14008f5d2
Function at 0x14009448c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, r9
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
and qword [rbp - 0x28], 0
mov r9d, 0x20019
mov r8, rax
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.14009496c
mov dword [rdi], eax
test eax, eax
jne 0x140094540
and dword [rbp + 0x20], eax
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400944e2
mov rdx, qword [rbx]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x20]
xor r8d, r8d
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov dword [rdi], eax
test eax, eax
jne 0x140094568
mov ebx, dword [rbp + 0x20]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140094524
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400abd44
nop
mov r8, rax
cmp dword [rax], 3
ja 0x140094592
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140094564
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
xor eax, eax
jmp 0x140094526
call fcn.1400abd44
mov r8, rax
cmp dword [rax], 4
ja 0x1400945ea
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14009458b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, SafeArrayGetDim
jmp 0x140094526
and dword [rbp - 0x30], 0
mov rcx, rsi
call fcn.1400c75e0
mov qword [rbp - 0x20], rax
mov ecx, dword [rdi]
mov dword [rbp - 0x2c], ecx
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea rdx, [0x140466837]
mov rcx, r8
call fcn.140005ca0
jmp 0x14009454e
and dword [rbp - 0x2c], 0
mov ecx, dword [rdi]
mov dword [rbp - 0x30], ecx
mov rcx, rsi
call fcn.1400c75e0
mov qword [rbp - 0x18], rax
mov rcx, rbx
call fcn.1400c75e0
mov qword [rbp - 0x20], rax
lea rax, str.Failed_to_read_registry_value_type._Return_default_value
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea rdx, [0x14046687b]
mov rcx, r8
call fcn.1400044ac
jmp 0x140094575
Function at 0x140094724
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r14d, dword [rbp + 0x58]
mov r13d, r9d
mov rsi, r8
mov rbx, rdx
mov r15, rcx
cmp r14d, 0x4000000
ja 0x140094808
mov r8, qword [rbp + 0x70]
mov rdx, rcx
mov rcx, rsi
mov r9d, 0x20019
call fcn.14009496c
mov edi, eax
test eax, eax
jne 0x14009480f
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x14009478c
mov r8, qword [rbx]
mov r12, qword [rbp + 0x60]
mov r9d, r13d
mov rcx, qword [r15]
xor edx, edx
mov qword [rsp + 0x30], r12
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x1400948c9
mov eax, dword [r12]
mov ecx, eax
shr rcx, 1
cmp byte [rbp + 0x50], dil
mov rdi, qword [rbp + 0x68]
cmove ecx, eax
mov dword [rdi], ecx
cmp ecx, 1
jb 0x1400948d8
cmp ecx, r14d
ja 0x1400948d8
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, SafeArrayGetDim
jmp 0x1400947e9
call fcn.1400abd44
mov r8, rax
cmp dword [rax], 5
jbe 0x1400948c2
mov rcx, rsi
mov dword [rbp + 0x58], edi
call fcn.1400c75e0
mov qword [rbp - 0x20], rax
lea rdx, [0x140466691]
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov rcx, r8
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
call fcn.1400030f4
jmp 0x1400948c2
mov rcx, rsi
mov dword [rbp + 0x58], edi
call fcn.1400c75e0
mov rcx, rbx
mov qword [rbp - 0x18], rax
call fcn.1400c75e0
mov qword [rbp - 0x20], rax
lea rdx, [0x140466650]
lea rax, str.Failed_to_get_registry_value_size._Return_default_value
xor r8d, r8d
mov qword [rbp - 0x10], rax
mov rcx, r9
lea rax, [rbp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140006fb0
mov eax, edi
jmp 0x1400947e9
call fcn.1400abd44
mov r9, rax
cmp dword [rax], 5
jbe 0x1400948c2
jmp 0x140094866
call fcn.1400abd44
mov r8, rax
cmp dword [rax], 4
jbe 0x140094808
mov ecx, dword [r12]
mov dword [rbp + 0x78], ecx
mov ecx, dword [rdi]
mov dword [rbp - 0x20], ecx
mov rcx, rsi
mov dword [rbp + 0x58], r14d
call fcn.1400c75e0
mov rcx, rbx
mov qword [rbp - 0x10], rax
call fcn.1400c75e0
mov qword [rbp - 0x18], rax
lea rdx, [0x140466716]
lea rax, str.Registry_value_is_empty_or_bigger_than_max_length._Return_default_value
mov rcx, r8
mov qword [rbp - 8], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
call fcn.14000fa04
jmp 0x140094808
Function at 0x140096388
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rsi, r9
mov r15, r8
mov ebx, edx
mov rdi, rcx
mov byte [r9], 1
and qword [rbp - 0x20], 0
mov r9d, 0x20019
mov r8, qword [rbp + 0x40]
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.14009496c
mov r14d, eax
test eax, eax
jne 0x1400964eb
mov dword [rbp - 0x2c], 4
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400963ef
mov rdx, qword [rdi]
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jne 0x140096459
mov byte [rsi], al
mov ebx, dword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140096439
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400abd44
mov r8, rax
cmp dword [rax], 4
jbe 0x1400964cc
mov dword [rbp + 0x38], ebx
mov dword [rbp - 0x30], r14d
mov rcx, r15
call fcn.1400c75e0
mov qword [rbp - 0x10], rax
mov rcx, rdi
call fcn.1400c75e0
mov qword [rbp - 0x18], rax
lea rax, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp - 8], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045a422]
mov rcx, r8
call fcn.1400044ac
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140096439
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
jmp 0x140096439
call fcn.1400abd44
mov r8, rax
cmp dword [rax], 3
jbe 0x140096549
mov dword [rbp + 0x38], ebx
mov rcx, r15
call fcn.1400c75e0
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x30], r14d
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045a471]
mov rcx, r8
call fcn.140005ca0
lea rcx, [rbp - 0x20]
call fcn.140130a94
jmp 0x140096439
Function at 0x1400966bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x90
mov rsi, r9
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov byte [r9], 1
and qword [rbp + 7], 0
mov r9d, 0x20019
mov r8, qword [rbp + 0x7f]
lea rdx, [rbp + 7]
mov rcx, r15
call fcn.14009496c
mov r14d, eax
test eax, eax
je 0x14009678a
call fcn.1400abd44
mov r8, rax
cmp dword [rax], 3
jbe 0x14009676c
mov qword [rbp + 0xf], rdi
mov rcx, r15
call fcn.1400c75e0
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x77], r14d
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov qword [rbp + 0x1f], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045cc1e]
mov rcx, r8
call fcn.14000860c
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140096782
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rax, rdi
jmp 0x140096873
mov dword [rbp - 1], 8
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14009679e
mov rdx, qword [rbx]
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 7]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
je 0x140096853
call fcn.1400abd44
mov r8, rax
cmp dword [rax], 4
jbe 0x140096845
mov qword [rbp + 0x1f], rdi
mov dword [rbp + 0x77], r14d
mov rcx, r15
call fcn.1400c75e0
mov qword [rbp + 0x17], rax
mov rcx, rbx
call fcn.1400c75e0
mov qword [rbp + 0xf], rax
lea rax, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045cc62]
mov rcx, r8
call fcn.14000839c
lea rcx, [rbp + 7]
call fcn.140130a94
jmp 0x140096782
mov byte [rsi], 0
mov rbx, qword [rbp + 0x2f]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140096870
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rax, rbx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret