joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002094
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xd90]
sub rsp, 0xe90
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp + 0xd80], rax
mov rdi, rcx
mov r14d, 0x208
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
lea rcx, [rbp + 0x580]
call fcn.140001af0
mov esi, 0x104
lea rcx, [rsp + 0x50]
mov edx, esi
test eax, eax
je 0x14000211b
lea r8, str.HKEY_USERS_
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rbp + 0x580]
mov edx, esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x140002128
lea r8, [0x14000b970]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rax, vtable.RegUtil.0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov r9, rdi
lea r8, str.Local_AppData
lea rdx, [rsp + 0x50]
call fcn.140008108
mov rdx, rdi
lea rcx, str.GetUserLocalAppDataFolder_:_:_folderpath_via_registry_:
call fcn.140001764
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], bx
jne 0x140002175
test rax, rax
jne 0x140002227
mov qword [rsp + 0x30], rbx
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x370]
lea rcx, [rsp + 0x30]
call fcn.140001e40
test eax, eax
je 0x140002202
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x38]
mov r8, qword [rsp + 0x30]
xor edx, edx
lea rcx, [0x14000b730]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov r8, qword [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, str.Get_tUserLocalAppDataFolder_:_:_folderpath_new2_:
jmp 0x14000221f
xor r9d, r9d
lea r8d, [r9 + 0x1c]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140002229
lea rcx, str.GetUserLocalAppDataFolder_:_:_folderpath_old_:
mov rdx, rdi
call fcn.140001764
mov bl, 1
mov al, bl
mov rcx, qword [rbp + 0xd80]
xor rcx, rsp
call fcn.140008c70
lea r11, [rsp + 0xe90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140002c14
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp + 0x140], rax
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x14000c4f8]
mov ebx, ecx
xor edx, edx
mov dword [rsp + 0x40], eax
mov r8d, 0x1f6
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
xor edi, edi
call sub.VCRUNTIME140.dll_memset
lea ecx, [rdi + 0x16]
call fcn.140009190
lea r8, str.chrome.exe
mov rcx, rax
lea edx, [rdi + 0xb]
mov r14, rax
mov esi, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140002d8c
lea r9, [rsp + 0x28]
mov rcx, rbx
lea r8d, [rdi + 8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
lea r15d, [rdi + 1]
mov rcx, rbx
test eax, eax
je 0x140002ced
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov r9d, 0x105
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
jmp 0x140002d04
mov r8d, 0x105
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
cmovne esi, r15d
lea rdx, [rsp + 0x30]
lea rcx, str.chrome.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140002d6f
test esi, esi
je 0x140002d66
mov edx, 0x105
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0xb
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov rdx, r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rax
test rax, rax
je 0x140002d66
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], di
jne 0x140002d56
cmp word [rcx + rax*2], di
je 0x140002d6f
lea rcx, str._t_tChecking_:
jmp 0x140002d79
lea rcx, str._t_tFound_Match_:
mov edi, r15d
lea rdx, [rsp + 0x30]
call fcn.140001764
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.140008c94
mov eax, edi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140008c70
lea r11, [rsp + 0x250]
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 0x140004a5c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140004a95
xor eax, eax
jmp 0x140004ba8
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140004abe
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, qword [rax]
cmp qword [rax], r8
jae 0x140004abe
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x140004ba8
cmp qword [rcx + 0x80], 0
je 0x140004ba6
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140004af9
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004b1d
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
cmovne edi, esi
jmp 0x140004ba6
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004b6b
sub eax, 1
je 0x140004b6b
cmp eax, 2
jne 0x140004ba6
movsx ecx, byte [rbp - 0x30]
jmp 0x140004b06
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140004b96
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x140004ba6
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x140004ba8
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140008c70
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140005580
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400055ef
cmp byte [rcx + 0x71], 0
je 0x1400055ef
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005644
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005609
sub eax, 1
je 0x14000560d
cmp eax, 2
jne 0x140005644
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008c70
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000563b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140005644
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400055f1
xor al, al
jmp 0x1400055f1
Function at 0x140007ad0
Capabilities:
Delete file
Download url
Query environment variable
Receive data

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
xor ebx, ebx
call sub.VCRUNTIME140.dll_memset
lea r8, str.https:__armmf.adobe.com_manifest_arm_manifests_win_DC_acrobat_Logging_killswitch_uc.txt
mov edx, 0x104
lea rcx, [rsp + 0x240]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.TEMP
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140007bba
lea r8, str._adnme_ks_uc.txt
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x30]
call fcn.140001830
test eax, eax
je 0x140007b7a
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
and qword [rsp + 0x20], rbx
lea r8, [rsp + 0x30]
xor r9d, r9d
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
mov ecx, 1
cmove ebx, ecx
lea rcx, [rsp + 0x30]
call fcn.140001830
test eax, eax
je 0x140007bba
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140008c70
add rsp, 0x460
pop rbx
ret

Function at 0x140008108
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, r9
mov r15, r8
mov rdi, rdx
call fcn.140007f7c
mov r13d, 0x208
mov rbx, rax
mov ecx, r13d
call fcn.140009190
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
lea ecx, [r13 + 2]
call fcn.140009190
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbp
mov dword [rsp + 0x38], 0x20a
mov rdx, rdi
call fcn.140008584
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x1400081ee
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400081ee
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bx
jne 0x1400081d4
cmp rax, r13
jae 0x1400081ee
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.140008c94
mov rcx, rsi
call fcn.140008c94
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140008c70
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008228
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x60
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
xor esi, esi
call fcn.140007f7c
mov ecx, 0x208
mov rdi, rax
call fcn.140009190
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbp
mov rdx, rbx
call fcn.140008584
lea r15, str.https:__clients2.google.com_service_update2_crx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov ebx, eax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008324
mov rcx, qword [rsp + 0x50]
lea eax, [rbx + rbx]
mov dword [rsp + 0x28], eax
lea ebx, [rsi + 1]
mov r9d, ebx
mov qword [rsp + 0x20], r15
xor r8d, r8d
lea rdx, str.update_url
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
mov rcx, rbp
call fcn.140008c94
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008c70
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret

Function at 0x140008350
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, r9d
mov r14, r8
mov rbx, rdx
call fcn.140007f7c
mov r15d, 0x208
mov rdi, rax
mov ecx, r15d
call fcn.140009190
mov r8d, r15d
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
xor r15d, r15d
mov dword [rsp + 0x3c], 4
mov r8, rbp
mov dword [rsp + 0x38], r15d
mov rdx, rbx
call fcn.140008584
lea rax, [rsp + 0x30]
neg esi
mov rdx, rbp
mov qword [rsp + 0x20], rax
sbb r9d, r9d
mov rcx, rdi
and r9d, 0x100
xor r8d, r8d
add r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008421
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x38]
test eax, eax
cmovne ecx, r15d
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.140008c94
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140008c70
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000845c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, r8
mov dword [rsp + 0x58], r9d
mov rdi, rdx
xor ebp, ebp
call fcn.140007f7c
mov ebx, 0x208
mov rsi, rax
mov ecx, ebx
call fcn.140009190
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
neg dword [rsp + 0xc0]
mov r8, r14
mov rdx, rdi
sbb ebx, ebx
and ebx, 0x100
add ebx, 0xf003f
call fcn.140008584
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov rdx, r14
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008559
mov rcx, qword [rsp + 0x50]
lea r9d, [rbp + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, 1
mov rcx, r14
call fcn.140008c94
mov eax, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008c70
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000863c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, r9d
mov r15, r8
mov rbx, rdx
call fcn.140007f7c
mov ebp, 0x208
mov rdi, rax
mov ecx, ebp
call fcn.140009190
mov r8d, ebp
xor edx, edx
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov r8, r14
mov rdx, rbx
xor ebp, ebp
call fcn.140008584
lea rax, [rsp + 0x30]
neg esi
mov rdx, r14
mov qword [rsp + 0x20], rax
sbb r9d, r9d
mov rcx, rdi
and r9d, 0x100
xor r8d, r8d
add r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400086eb
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
lea ecx, [rbp + 1]
cmove ebp, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r14
call fcn.140008c94
mov eax, ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008c70
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008720
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
call fcn.140007f7c
mov esi, 0x208
mov rdi, rax
mov ecx, esi
call fcn.140009190
mov r8d, esi
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbp
mov rdx, rbx
xor esi, esi
call fcn.140008584
lea rax, [rsp + 0x30]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400087c4
mov rcx, qword [rsp + 0x30]
lea rdx, str.update_url
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
lea ecx, [rsi + 1]
cmove esi, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.140008c94
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008c70
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400087fc
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
call fcn.140007f7c
mov esi, 0x208
mov rdi, rax
mov ecx, esi
call fcn.140009190
mov r8d, esi
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbp
mov rdx, rbx
xor esi, esi
call fcn.140008584
lea rax, [rsp + 0x30]
mov r9d, 0xf023f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008890
mov rcx, qword [rsp + 0x30]
lea rdx, str.update_url
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
lea ecx, [rsi + 1]
cmove esi, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.140008c94
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008c70
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400088c8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
call fcn.140007f7c
mov ecx, 0x208
mov r15, rax
call fcn.140009190
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rsi
mov rdx, rbx
call fcn.140008584
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rbp + rbx*2], di
jne 0x140008926
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf023f
mov rdx, rsi
mov rcx, r15
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov r9d, 0xf023f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400089c2
mov rcx, qword [rsp + 0x50]
lea eax, [rbx + rbx]
mov dword [rsp + 0x28], eax
mov ebx, 1
mov r9d, ebx
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, ebx
mov rcx, rsi
call fcn.140008c94
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008c70
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400089f0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, r8
mov rdi, rdx
call fcn.140007f7c
mov esi, 0x208
mov rbx, rax
mov ecx, esi
call fcn.140009190
mov r8d, esi
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbp
mov rdx, rdi
xor esi, esi
call fcn.140008584
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008a81
mov rcx, qword [rsp + 0x30]
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
lea ecx, [rsi + 1]
cmove esi, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.140008c94
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008c70
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret