joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004440
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000446d
xor eax, eax
jmp 0x1400045c2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140004498
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140004498
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], dil
mov eax, edi
jmp 0x1400045c2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400045b5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400044db
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 0x140004506
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400045ba
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x140004575
sub eax, 1
je 0x140004575
cmp eax, 2
jne 0x1400045b5
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400045ba
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400045a3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400045b5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400045ba
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400098f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004e00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004ed3
cmp byte [rcx + 0x71], 0
je 0x140004ed3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004ecf
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 0x140004e94
sub eax, 1
je 0x140004e98
cmp eax, 2
jne 0x140004ecf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400098f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004ec6
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 0x140004ecf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004e7c
xor al, al
jmp 0x140004e7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400098f0
add rsp, 0x60
pop rbx
ret
Function at 0x140008790
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x368
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x350], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rax, vtable.RegUtil.0
mov qword [rsp + 0x20], rax
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, str.HKEY_LOCAL_MACHINESOFTWAREAdobeAdobe_ARMProducts291AA914_A987_4CE9_BD63_0C0A92D435E5
mov edx, 0x104
lea rcx, [rsp + 0x140]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r9, str.23.006.20320.1
lea r8, str.ProductVersion
lea rdx, [rsp + 0x140]
call fcn.140009440
xor edx, edx
mov r8d, 0x106
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x14000888f
mov rcx, qword [0x140013ac8]
test rcx, rcx
jne 0x140008874
lea r8, str.ChromeReprompt.txt
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x14000b90c]
lea rdx, [rsp + 0x30]
lea rcx, [0x140013ac8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [0x140013ac8]
test rcx, rcx
je 0x14000888f
lea r9, str.Version_updated
lea r8, str.CustomActionInfo:_INFO:__UpdateServiceUpdaterVersion__:_:
lea rdx, str._s_____s_n
call fcn.140001040
nop
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1400098f0
add rsp, 0x368
ret

Function at 0x1400088b0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x378
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x360], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
lea rax, vtable.RegUtil.0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
lea r8, str.HKEY_LOCAL_MACHINESoftwareAdobeAdobe_AcrobatDCWebResource
mov edx, 0x104
lea rcx, [rsp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov dword [rsp + 0x20], 0
mov r9d, 0xb
lea r8, str.iUpdateId
lea rdx, [rsp + 0x150]
call fcn.140009120
xor edx, edx
mov r8d, 0x106
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1400089b8
mov rcx, qword [0x140013ac8]
test rcx, rcx
jne 0x14000899d
lea r8, str.ChromeReprompt.txt
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x14000b90c]
lea rdx, [rsp + 0x40]
lea rcx, [0x140013ac8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [0x140013ac8]
test rcx, rcx
je 0x1400089b8
lea r9, str.UpdateId_updated
lea r8, str.CustomActionInfo:_INFO:__UpdateUpdateId__:_:
lea rdx, str._s_____s_n
call fcn.140001040
nop
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.1400098f0
add rsp, 0x378
ret
Function at 0x1400089d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x350
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x340], rax
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
nop word [rax + rax]
lea r9, [rsp + 0x130]
mov r8d, ebx
xor edx, edx
lea rcx, str.AC76BA86_0000_0000_7760_7E8A45000000
call qword [sym.imp.msi.dll_MsiSourceListClearAllW]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x106
mov edi, eax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140008ab5
mov rcx, qword [0x140013ac8]
test rcx, rcx
jne 0x140008a9a
lea r8, str.ChromeReprompt.txt
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x14000b90c]
lea rdx, [rsp + 0x20]
lea rcx, [0x140013ac8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [0x140013ac8]
test rcx, rcx
je 0x140008ab5
lea r9, [rsp + 0x130]
lea r8, str.sInstalledProdCode
lea rdx, str._s_____s_n
call fcn.140001040
test edi, edi
jne 0x140008ad6
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140008ad6
cmp word [rsp + 0x162], 0x42
je 0x140008af4
inc ebx
test edi, edi
je 0x140008a10
mov eax, dword [0x140013b0c]
dec eax
cmp eax, 1
jbe 0x140008b32
xor eax, eax
jmp 0x140008bfc
lea rdx, str._1033_0000_
lea rcx, [rsp + 0x130]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140008ae0
lea rdx, str._1033_FFFF_
lea rcx, [rsp + 0x130]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140008ae0
mov dword [0x140013b0c], 2
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x106
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140008bba
mov rcx, qword [0x140013ac8]
test rcx, rcx
jne 0x140008ba0
lea r8, str.ChromeReprompt.txt
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x14000b90c]
lea rdx, [rsp + 0x20]
lea rcx, [0x140013ac8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [0x140013ac8]
test rcx, rcx
je 0x140008bba
lea r9, [0x14000b878]
lea r8, str.g_InstalledProductFlavor
lea rdx, str._s_____s_n
call fcn.140001040
call fcn.140007420
mov ebx, eax
lea ecx, [rax - 1]
cmp ecx, 1
ja 0x140008be5
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.1400080e0
call fcn.140008790
call fcn.1400088b0
lea eax, [rbx - 0x64]
cmp eax, 4
ja 0x140008bf7
call fcn.140008790
call fcn.1400088b0
mov eax, 1
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1400098f0
mov rbx, qword [rsp + 0x360]
add rsp, 0x350
pop rdi
ret
Function at 0x140008df0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, r9
mov rbx, rdx
call fcn.140008c60
mov ecx, 0x208
mov r12, rax
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x20a
call fcn.140009e10
xor edx, edx
mov r8d, 0x20a
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
mov dword [rsp + 0x38], 0x20a
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, 0x5c
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x140008ecb
lea rdx, [rax + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rsi
call fcn.140009914
mov rcx, r14
call fcn.140009914
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008f5e
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], rdi
lea rdx, str.Local_AppData
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008f5e
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x140008f40
cmp rax, 0x208
jae 0x140008f5e
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.140009914
mov rcx, rdi
call fcn.140009914
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400098f0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140008fa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov rbx, rdx
call fcn.140008c60
mov ecx, 0x208
mov r15, rax
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
xor r12d, r12d
mov dword [rsp + 0x3c], 4
mov ecx, 0x208
mov dword [rsp + 0x38], r12d
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [r12 + 0x5c]
mov rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x140009066
lea rdx, [rax + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rsi
call fcn.140009914
mov rcx, rbp
call fcn.140009914
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400090dd
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, r12d
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.140009914
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400098f0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140009120
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r13, r8
mov dword [rsp + 0x58], r9d
mov rbx, rdx
xor edi, edi
call fcn.140008c60
mov ecx, 0x208
mov r15, rax
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0xd0], edi
mov eax, 0xf003f
mov r14d, 0xf013f
mov ecx, 0x208
cmove r14d, eax
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov r12, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [rdi + 0x5c]
mov rcx, r12
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400091ef
lea rdx, [rax + 2]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rbp
call fcn.140009914
mov rcx, r12
call fcn.140009914
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], r14d
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, r14d
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 0x14000929e
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
mov rcx, rsi
call fcn.140009914
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400098f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400092d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, r9d
mov r12, r8
mov rdi, rdx
call fcn.140008c60
mov ecx, 0x208
mov r13, rax
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20019
xor esi, esi
test ebx, ebx
mov r15d, 0x20119
mov ecx, 0x208
cmove r15d, eax
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [rsi + 0x5c]
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x140009398
lea rdx, [rax + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rbx
call fcn.140009914
mov rcx, r14
call fcn.140009914
lea rax, [rsp + 0x30]
mov r9d, r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400093fc
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, 1
cmove esi, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.140009914
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400098f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009440
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r9
mov r13, r8
mov rbx, rdx
xor esi, esi
call fcn.140008c60
mov ecx, 0x208
mov r12, rax
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov r15, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [rsi + 0x5c]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400094f7
lea rdx, [rax + 2]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, r14
call fcn.140009914
mov rcx, r15
call fcn.140009914
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdi + rbx*2 + 2], si
lea rbx, [rbx + 1]
jne 0x140009520
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf023f
mov rdx, rbp
mov rcx, r12
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, 0xf023f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400095be
mov rcx, qword [rsp + 0x50]
lea eax, [rbx + rbx]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov rcx, rbp
call fcn.140009914
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400098f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400095f0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r8
mov rbx, rdx
call fcn.140008c60
mov ecx, 0x208
mov r12, rax
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
xor edi, edi
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x208
call fcn.140009e10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [rdi + 0x5c]
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400096a6
lea rdx, [rax + 2]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rbp
call fcn.140009914
mov rcx, r14
call fcn.140009914
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400096fd
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.140009914
mov eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400098f0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140002e00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002e5d
lea rbx, [0x14004ea10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002e44
cmp r10, 2
jb 0x140002e44
cmp byte [r9], r8b
jne 0x140002e44
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002e20
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002e9f
lea rbx, [0x14004ea10]
cmp r8b, 0x23
jne 0x140002e83
cmp byte [r9], r8b
jne 0x140002e83
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002e70
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002fe0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002ffa
mov qword [r8], 0
lea rdx, [0x14004e560]
call fcn.140002eb0
mov rbx, rax
test rax, rax
jne 0x14000301a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400030f1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400030f1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400030f1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400030f1
cmp rdi, 0xffffffffffffffff
je 0x1400030f1
mov rax, qword [0x14005c800]
test rax, rax
je 0x14000308e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400030f1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400030de
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005c800]
test rax, rax
je 0x1400030d3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400030fa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400030ec
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400030fc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret