joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000458c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400045b1
xor eax, eax
jmp 0x1400046ac
cmp qword [rcx + 0x68], 0
je 0x1400045c3
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1400046ac
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x1400045da
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400045dc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000460c
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rsi
add r14, rbx
sub rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov r8, rbp
cmp qword [rsi + 0x80], 0
je 0x1400046a6
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140004647
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x140004680
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x1400046bd
cmp rbp, r15
ja 0x140004655
mov r8, rbx
test rbx, rbx
je 0x1400046a6
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rdi, rbp
jmp 0x1400046a9
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.140008c90
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.140008c90
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 0x140007aec
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 0x140007bd6
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 0x140007b96
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 0x140007bd6
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140008c90
add rsp, 0x460
pop rbx
ret

Function at 0x140008124
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.140007f98
mov r13d, 0x208
mov rbx, rax
mov ecx, r13d
call fcn.1400091b0
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
lea ecx, [r13 + 2]
call fcn.1400091b0
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.1400085a0
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 0x14000820a
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 0x14000820a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bx
jne 0x1400081f0
cmp rax, r13
jae 0x14000820a
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.140008cb4
mov rcx, rsi
call fcn.140008cb4
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140008c90
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008244
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.140007f98
mov ecx, 0x208
mov rdi, rax
call fcn.1400091b0
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.1400085a0
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 0x140008340
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.140008cb4
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008c90
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 0x14000836c
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.140007f98
mov r15d, 0x208
mov rdi, rax
mov ecx, r15d
call fcn.1400091b0
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.1400085a0
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 0x14000843d
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.140008cb4
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140008c90
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008478
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.140007f98
mov ebx, 0x208
mov rsi, rax
mov ecx, ebx
call fcn.1400091b0
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.1400085a0
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 0x140008575
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.140008cb4
mov eax, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008c90
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140008658
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.140007f98
mov ebp, 0x208
mov rdi, rax
mov ecx, ebp
call fcn.1400091b0
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.1400085a0
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 0x140008707
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.140008cb4
mov eax, ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008c90
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000873c
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.140007f98
mov esi, 0x208
mov rdi, rax
mov ecx, esi
call fcn.1400091b0
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.1400085a0
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 0x1400087e0
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.140008cb4
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008c90
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140008818
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.140007f98
mov esi, 0x208
mov rdi, rax
mov ecx, esi
call fcn.1400091b0
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.1400085a0
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 0x1400088ac
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.140008cb4
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008c90
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400088e4
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.140007f98
mov ecx, 0x208
mov r15, rax
call fcn.1400091b0
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.1400085a0
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rbp + rbx*2], di
jne 0x140008942
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 0x1400089de
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.140008cb4
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008c90
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140008a0c
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.140007f98
mov esi, 0x208
mov rbx, rax
mov ecx, esi
call fcn.1400091b0
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.1400085a0
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 0x140008a9d
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.140008cb4
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008c90
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140001290
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0x10
mov rdi, rcx
jb 0x1400012a3
mov rcx, qword [rcx]
mov edx, 6
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x1400012ef
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000c4e0]
call fcn.140009410
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x1400012d2
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140009f50
lea rdx, [0x14000c4d0]
mov rcx, rax
call fcn.140009410
jmp 0x140001347
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x14000c500]
mov ebx, eax
call fcn.140009410
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14000c4e8]
call fcn.140009410
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
jb case.default.0x140001356
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140009f50
lea rdx, [0x1400095e0]
mov rcx, rax
add rsp, 0x20
pop rdi
jmp qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
ret 0xb301
inc dword [0xdbbec119]
invalid
sar dword [rdi + rbp*8], 1
int 0x32
test dword [rcx + 0x47], edi
mov dword [rbx + 0x31080105], esp
sbb eax, 0x4cbf0de2
hlt
sbb ebx, dword [rcx]
wait
fld qword gs:[rax]
invalid
insb byte [rdi], dx
adc byte [rsi - 0x32ee45c1], bh
invalid
jg 0x14001c913
invalid
invalid
invalid
adc dword ds:[rdx - 0x1f5abb7c], ebp
cmpsd dword [rsi], dword [rdi]
xchg byte [rcx - 0x41], bl
push rsi
test eax, 0xfc8863f6
wbinvd
or dword [rdx + 0x28124951], 0xfffffff7
cmpps xmm6, xmmword [rbx], 0x47
sbb ebp, edi
out 0x88, eax
sbb bh, byte [rdi + 0x7f]
cmp eax, 0xbe7e19f8
xor byte [rdi + 0x9e9e037], 0x78
push rax
add eax, 0x98a33838
mov edi, 0xfbba4ede
in al, dx
adc al, 0xdf
jmp rbx
and esp, r11d
sti
ja 0x14001c944
invalid
push 9
cli
mov edx, 0x295f379
invalid
invalid
push rdx
ffree st(7)
xlatb
int1
xchg edx, eax
call 0x15d825716
insb byte [rdi], dx
mov ah, 0x93
insb byte [rdi], dx
invalid
invalid
push rdx
and eax, eax
sti
xchg r14, rax
rcr ebx, 0x3a
push 0x10
sal byte [rsi - 0x52], cl
invalid