joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400630f8
Capabilities:
Create thread
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rdx, r8
lea rcx, [rsp + 0x58]
call fcn.1400498f0
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.1400498f0
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400498f0
nop
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.1400498f0
and dword [rbp + 0x1e0], 0
and qword [rbp + 0x1e8], 0
mov rcx, rbx
call fcn.14000e3c0
nop
mov rcx, rdi
call fcn.14000e3c0
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rbp + 0xa0]
lea r8, [0x140063080]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbp + 0x1e8], rax
xor ebx, ebx
mov edi, 0x80070000
test rax, rax
jne 0x1400631fc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1400631fc
movzx ebx, ax
or ebx, edi
test ebx, ebx
js 0x140063276
lea rcx, str.CSM____Ping__n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
mov edx, 2
mov rcx, qword [r15 + 8]
call fcn.14002ee5c
mov edx, 0x7d0
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0x102
je 0x140063200
test eax, eax
jne 0x14006324c
mov ebx, dword [rbp + 0x1e0]
jmp 0x140063263
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140063263
movzx ebx, ax
or ebx, edi
lea rcx, str.Catalog_move:_end_copy__acknowledged_from_main_thread__n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140062f60
nop
mov rcx, rsi
call fcn.14000e3c0
nop
mov rcx, r14
call fcn.14000e3c0
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140024b20
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006330c
Capabilities:
Create directory

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
test r8, r8
je 0x140063343
mov byte [r8], r15b
mov edx, 2
mov rcx, qword [rcx + 8]
call fcn.14002ee5c
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400498f0
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.140062fd4
nop
mov ebx, r15d
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0xf8]
call fcn.140063cd0
test al, al
jne 0x140063488
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathSkipRootW]
nop dword [rax + rax]
mov rdi, rax
mov r9, rdi
sub r9, qword [rsp + 0xf8]
sar r9, 1
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1400114d0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x190]
call fcn.140062ee8
mov rcx, qword [rsp + 0x198]
call fcn.140063cd0
test al, al
jne 0x14006345a
xor edx, edx
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14006345a
test ebx, ebx
js 0x14006345a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140063421
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x268]
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x28], rax
lea rax, str.PathComponent:__ls
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x190
call fcn.140050ed8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindNextComponentW]
nop dword [rax + rax]
mov rdi, rax
lea rcx, [rsp + 0x190]
call fcn.14000e3c0
test rdi, rdi
je 0x140063488
cmp word [rdi], r15w
jne 0x1400633a2
mov rcx, qword [rsp + 0xf8]
call fcn.140063cd0
test al, al
jne 0x1400634af
test rsi, rsi
je 0x1400634a1
mov byte [rsi], 1
mov rcx, qword [rsp + 0xf8]
call fcn.1400663f4
nop
jmp 0x1400634ba
lea rcx, [rsp + 0xf0]
call fcn.14000e3c0
nop
mov rcx, r14
call fcn.14000e3c0
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140024b20
add rsp, 0x240
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x140063cd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathIsUNCServerW]
nop dword [rax + rax]
test eax, eax
jne 0x140063d23
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathIsUNCServerShareW]
nop dword [rax + rax]
test eax, eax
jne 0x140063d23
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140063d23
test al, 0x10
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140063e04
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
lea rcx, [rbp + 0x120]
call fcn.1400498f0
nop
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.1400498f0
nop
mov rax, qword [rbp + 0x80]
movabs r10, 0x8cc4973714525370
mov r9d, dword [rbp + 0x134]
mov r8d, dword [rbp + 0x94]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x80]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [rbp + 0x80]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rbp + 0x94]
lea rdx, [0x1400b35ec]
lea rcx, [rbp + 0x80]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
xor edi, edi
mov ebx, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x1c0]
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140064000
test byte [rbp + 0x1c0], 0x10
je 0x140063fab
cmp word [rbp + 0x1ec], 0x2e
je 0x140063fb2
inc qword [rsi + 0xa8]
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.1400498f0
nop
mov rax, qword [rbp - 0x20]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rbp - 0xc]
lea rdx, [0x1400b38e8]
lea rcx, [rbp - 0x20]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [rbp - 0x20]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rbp - 0xc]
lea rdx, [rbp + 0x1ec]
lea rcx, [rbp - 0x20]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400498f0
mov rdx, rax
mov rcx, rsi
call fcn.140063e04
mov ebx, eax
lea rcx, [rbp - 0x20]
call fcn.14000e3c0
jmp 0x140063fb2
inc qword [rsi + 0xa0]
test ebx, ebx
js 0x140063fef
lea rdx, [rbp + 0x1c0]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140063efc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140063fef
movzx ebx, ax
or ebx, 0x80070000
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
jmp 0x14006401b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14006401b
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x80070012
cmovne edi, ebx
lea rcx, [rbp + 0x80]
call fcn.14000e3c0
nop
lea rcx, [rbp + 0x120]
call fcn.14000e3c0
nop
mov rcx, r15
call fcn.14000e3c0
mov eax, edi
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140024b20
mov rbx, qword [rsp + 0x560]
add rsp, 0x520
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140065574
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rdx
and dword [rsp + 0x30], 0
call fcn.1400498f0
mov dword [rsp + 0x30], 1
mov rdx, qword [rdi + 8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathCanonicalizeW]
nop dword [rax + rax]
or esi, 0xffffffff
test eax, eax
je 0x14006561d
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.14000e5c8
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
movabs r10, 0x8cc4973714525370
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
nop
lea rcx, [rsp + 0x70]
call fcn.14000e3c0
mov r8d, 0x104
lea rdx, [rbp + 0x2c0]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x140065665
mov rax, qword [rbx]
movabs r10, 0x8cc4973714525370
mov r9d, esi
xor r8d, r8d
lea rdx, [rbp + 0x2c0]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400498f0
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400654e0
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
movabs r10, 0x8cc4973714525370
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
nop
lea rcx, [rbp + 0x10]
call fcn.14000e3c0
cmp dword [rbx + 0x14], 0xb
jb 0x140065728
mov r8d, SafeArrayGetDim
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140011510
lea rdx, [0x1400bcd80]
mov rcx, rax
call fcn.14001186c
test eax, eax
jne 0x140065728
mov edx, dword [rbx + 0x14]
sub edx, 0xb
mov rcx, rbx
call fcn.14001d5c8
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.1400498f0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400654e0
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
movabs r10, 0x8cc4973714525370
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
nop
jmp 0x1400657a1
cmp dword [rbx + 0x14], 6
jb 0x1400657ac
mov r8d, 6
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140011510
lea rdx, [0x1400b3168]
mov rcx, rax
call fcn.14001186c
test eax, eax
jne 0x1400657ac
mov edx, dword [rbx + 0x14]
sub edx, 6
mov rcx, rbx
call fcn.14001d5c8
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.1400498f0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400654e0
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
movabs r10, 0x8cc4973714525370
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
nop
lea rcx, [rsp + 0x70]
call fcn.14000e3c0
nop
mov rcx, rdi
call fcn.14000e3c0
mov rax, rbx
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.140024b20
mov rbx, qword [rsp + 0x610]
add rsp, 0x5e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140066238
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x768]
sub rsp, 0x860
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov rdi, rcx
xor esi, esi
test rcx, rcx
je 0x1400663b7
cmp word [rcx], si
je 0x1400663b7
xor r8d, r8d
xor edx, edx
lea rcx, str.PATH
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdi + rcx*2], si
jne 0x14006629a
lea ebx, [rcx + rax]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x401
mov word [rsp + 0x48], si
lea rax, [0x1400ada90]
mov qword [rsp + 0x30], rax
lea edx, [rbx + 0x104]
lea rcx, [rsp + 0x30]
call fcn.14001d2a4
mov rdx, rax
lea r8d, [rbx + 0x104]
lea rcx, str.PATH
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001c114
mov rax, qword [rsp + 0x30]
movabs r10, 0x8cc4973714525370
or ebx, 0xffffffff
mov r9d, ebx
mov r8d, dword [rsp + 0x44]
lea rdx, [0x1400bd07c]
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [rsp + 0x30]
movabs r10, 0x8cc4973714525370
mov r9d, ebx
mov r8d, dword [rsp + 0x44]
mov rdx, rdi
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rdx, qword [rsp + 0x38]
lea rcx, str.PATH
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
jne 0x1400663ad
lea r8, [0x1400bd080]
mov edx, 0x8c
lea rcx, str.onecoreuap_base_appmodel_searchcommonpkmutill_ssfsutil.cxx
call fcn.14004e67c
mov rcx, qword [rbp + 0x768]
mov r9d, 0x8000ffff
lea r8, [0x1400bd030]
mov edx, 0x8d
call fcn.140066104
nop
lea rcx, [rsp + 0x30]
call fcn.140049fa4
xor eax, eax
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.140024b20
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140066a90
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x2f8]
mov rbp, rdx
mov edx, dword [rsp + 0x2f0]
mov r15, r8
mov qword [rsp + 0x48], r9
mov r12, rcx
mov qword [rsp + 0x50], rax
mov ebx, 1
test rbp, rbp
jne 0x140066aeb
test r8, r8
je 0x140066c0a
test edx, edx
mov r14d, 0x104
mov rcx, 0xffffffffffffffff
mov eax, 2
cmovne r14d, edx
mul r14
lea rdx, [0x1400b35f2]
cmovo rax, rcx
mov rcx, rax
call fcn.14002520c
mov rsi, rax
test rax, rax
jne 0x140066b28
xor ebx, ebx
jmp 0x140066c0a
mov r13d, dword [rsp + 0x300]
xor edi, edi
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x28], rax
mov r8, rsi
and qword [rsp + 0x20], 0
mov edx, edi
mov rcx, r12
mov dword [rsp + 0x44], 0x104
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140066be6
mov rax, qword [rsp + 0x50]
mov r9, r15
mov dword [rsp + 0x38], r13d
mov r8, rbp
mov qword [rsp + 0x30], rax
mov rdx, rsi
mov rax, qword [rsp + 0x48]
mov rcx, r12
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call fcn.140066c38
mov ebx, eax
test eax, eax
je 0x140066bf4
test rbp, rbp
je 0x140066bf4
cmp dword [rsp + 0x40], r14d
jae 0x140066be2
movabs r10, 0xbb4017917ad95b70
mov r8, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, r12
mov rax, rbp
call qword [case.0x140001f80.0]
inc edi
jmp 0x140066b32
xor ebx, ebx
jmp 0x140066bf4
cmp eax, 0x103
je 0x140066c02
cmp eax, 0xea
jne 0x140066c00
inc edi
test ebx, ebx
jne 0x140066b32
jmp 0x140066c02
xor ebx, ebx
mov rcx, rsi
call fcn.14002523c
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140024b20
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140066d08
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
mov ebx, 1
test rdx, rdx
je 0x140066e07
test r9d, r9d
mov eax, 0x1000
cmovne eax, r9d
mov ecx, eax
mov esi, eax
call fcn.140025538
mov rbp, rax
xor edi, edi
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
and qword [rsp + 0x20], 0
mov edx, edi
mov rcx, r14
mov dword [rsp + 0x44], esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140066deb
cmp dword [rsp + 0x40], 0x104
jae 0x140066de7
mov eax, dword [rsp + 0x44]
cmp eax, esi
ja 0x140066de7
movabs r10, 0x87b02e797c5d2170
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], r12
mov r9, rbp
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rax, r15
call qword [case.0x140001f80.0]
jmp 0x140066df9
xor ebx, ebx
jmp 0x140066df9
cmp eax, 0x103
je 0x140066e07
cmp eax, 0xea
jne 0x140066e05
inc edi
test ebx, ebx
jne 0x140066d5d
jmp 0x140066e07
xor ebx, ebx
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140024b20
add rsp, 0x270
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400684c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x390
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rdi, rdx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or r9, 0xffffffffffffffff
xor ebx, ebx
inc r9
cmp word [rdi + r9*2], bx
jne 0x1400684fe
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x38], r9d
mov qword [rsp + 0x30], rdi
lea rax, [0x1400ad018]
mov qword [rsp + 0x28], rax
lea r8d, [r9 - 1]
movsxd rdx, r8d
test r8d, r8d
js 0x140068545
movzx ecx, word [rdi + rdx*2]
call fcn.140017680
test eax, eax
jne 0x140068545
dec r8d
sub rdx, 1
jns 0x14006852f
inc r8d
sub r9d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400114d0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x68]
mov edx, 0x21
lea rcx, [rsp + 0x50]
call fcn.140062f1c
lea rax, [0x1400ae440]
mov qword [rsp + 0x50], rax
mov r9d, 0xf003f
mov r8, qword [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0xb0]
call fcn.140068250
nop
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x170]
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.140010f90
test eax, eax
jne 0x140068631
lea rcx, [rsp + 0xb0]
call fcn.140012244
nop
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
jne 0x1400685f0
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
jmp 0x140068622
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14006860f
mov ecx, eax
jmp 0x1400685e2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov ebx, 1
lea rcx, [rsp + 0x50]
call fcn.1400613b4
nop
mov eax, ebx
jmp 0x140068684
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xb0]
call fcn.1400684c0
test eax, eax
jne 0x14006859b
lea rcx, [rsp + 0xb0]
call fcn.140012244
nop
lea rcx, [rsp + 0x50]
call fcn.1400613b4
nop
lea rax, [0x1400ab968]
mov qword [rsp + 0x28], rax
xor eax, eax
jmp 0x140068684
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140024b20
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140068700
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
jne 0x140068725
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14006874c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x140068739
mov ecx, eax
jmp 0x140068715
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, 1
add rsp, 0x28
ret
Function at 0x140068760
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, r8
mov esi, edx
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
cmp qword [rdi + 0xb0], 0
jne 0x1400687a4
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14006881d
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8, qword [rbx + 8]
mov edx, esi
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0xea
jne 0x140068804
mov eax, dword [rsp + 0x50]
lea edx, [rax + rax]
mov dword [rsp + 0x50], edx
mov rcx, rbx
call fcn.14001d2a4
nop
jmp 0x1400687ab
test eax, eax
je 0x14006880c
mov ecx, eax
jmp 0x140068794
mov edx, dword [rsp + 0x50]
mov rcx, rbx
call fcn.14001d5c8
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140068a74
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, r9
xor ecx, ecx
mov rsi, r8
mov rbp, rdx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
jne 0x140068ac3
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140068afd
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp eax, 0xea
jne 0x140068af0
lea ecx, [rax - 0x70]
jmp 0x140068ab3
test eax, eax
je 0x140068af8
mov ecx, eax
jmp 0x140068ab3
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140068bd4
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
jne 0x140068bf9
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140068c3d
mov dword [rsp + 0x28], 8
lea rdx, str.SchemaCacheTimestamp
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140068c2a
mov ecx, eax
jmp 0x140068be9
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140068c4c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0xb0], 0
mov rsi, rdx
mov rdi, rcx
jne 0x140068c80
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140068cd7
mov eax, dword [r8 + 0x14]
xor edx, edx
mov rcx, r8
lea ebx, [rax*2 + 2]
call fcn.14001d2a4
mov rcx, qword [rdi + 0xb0]
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov rdx, rsi
mov ebx, 1
mov qword [rsp + 0x20], rax
mov r9d, ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140068cc7
mov ecx, eax
jmp 0x140068c70
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140068cf0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
jne 0x140068d15
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140068d4f
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140068d3c
mov ecx, eax
jmp 0x140068d05
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, 1
add rsp, 0x38
ret