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

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r15, edx
mov r14, rcx
xor ebx, ebx
mov byte [rcx], bl
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14000a554
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000ca2c
nop
mov rsi, qword [rax]
test rsi, rsi
je 0x14000a4f8
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14000a4fb
mov rcx, qword [rsi]
call fcn.140010a60
mov qword [rsi + 8], rax
jmp 0x14000a4fb
mov rax, rbx
mov rdx, r15
mov r9d, 0x104
mov r8, rax
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
nop
lea rcx, [rsp + 0x30]
call fcn.14000d03c
nop
jmp 0x14000a524
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000fd10
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.14000d380
xor edx, edx
mov ecx, edi
call fcn.140010e90
int3

Function at 0x14000a738
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rcx
xor edi, edi
mov esi, edi
mov word [rcx], di
call fcn.14000a624
test eax, eax
je 0x14000a77b
call fcn.14000c048
mov rsi, rax
test rax, rax
jne 0x14000a77b
call fcn.14000c2c4
mov rsi, rax
mov dword [rsp + 0x20], 0x104
mov r9, r14
mov r8, rsi
xor edx, edx
lea rcx, [0x140013620]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
js 0x14000a81c
test rsi, rsi
je 0x14000a7ad
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14000a7b8
test ebx, ebx
jns 0x14000a809
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
js 0x14000a834
jmp 0x14000a7e4
test ebx, ebx
jns 0x14000a809
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
js 0x14000a84c
jmp 0x14000a809
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.14000d380
xor edx, edx
mov ecx, ebx
call fcn.140010e90
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.14000d380
xor edx, edx
mov ecx, ebx
call fcn.140010e90
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.14000d380
xor edx, edx
mov ecx, ebx
call fcn.140010e90
int3
Function at 0x14000b098
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec eax
cmp eax, 0x103
ja 0x14000b123
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x14001512c]
lea rcx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x14000b125
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000fd10
add rsp, 0x250
pop rbx
ret

Function at 0x14000b1b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov r14d, 0x68
mov r8d, r14d
lea rcx, [rbp - 0x29]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rbp - 0x29], r14d
xor r14d, r14d
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov word [rbp + 0x17], r14w
mov dword [rbp + 0x13], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x7f]
mov edx, 0x2000000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000b294
test rbx, rbx
je 0x14000b294
mov rcx, qword [rbp + 0x7f]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x29]
mov r8, rsi
mov qword [rsp + 0x48], rax
mov rdx, rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x8000008
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x14000b294
mov rcx, qword [rbp - 0x49]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [r14 + 1]
jmp 0x14000b296
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000b754
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x14000b7f3
mov r8d, edi
lea rdx, [rsp + 0x20]
lea rcx, str.USER_JPI_PROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x14000b7ec
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000a35c
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, [0x140015ac8]
mov rcx, rbx
call fcn.140009a2c
mov rcx, rbx
call fcn.14000c008
test eax, eax
jne 0x14000b7ec
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000a86c
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, str._sSunJavaDeploymentdeployment.properties
mov rcx, rbx
call fcn.140009a2c
mov eax, 1
jmp 0x14000b7f5
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000fd10
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret

Function at 0x14000b9e8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov r9, rbx
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
mov edx, 0x400
lea rcx, [rsp + 0x40]
call fcn.140009a2c
lea rax, [rsp + 0x38]
neg edi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
sbb rcx, rcx
lea rdx, [rsp + 0x40]
add rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebx, ebx
test eax, eax
je 0x14000ba71
cmp eax, 2
sete bl
jmp 0x14000bac7
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x440]
mov dword [rsp + 0x30], 0x400
lea rdx, [0x1400150a1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14000baab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000bac9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x440]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000fd10
add rsp, 0x850
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000c76c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0x60], rax
lea r8, [0x140015b38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
xor edi, edi
test eax, eax
jne 0x14000c87f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140025388], rdi
je 0x14000c7d7
lea eax, [rdi + 1]
jmp 0x14000c881
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x14000c87f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14000c9b4
nop
lea rdx, str.JavaDeployReg.log
lea rcx, [rsp + 0x28]
call fcn.14000c9b4
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000caec
nop
lea rcx, [rsp + 0x28]
call fcn.14000d03c
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14000c851
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14000c854
mov rcx, qword [rbx]
call fcn.140010a60
mov qword [rbx + 8], rax
jmp 0x14000c854
mov rax, rdi
lea r8, [0x14001530c]
mov rdx, rax
lea rcx, [0x140025388]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
sete dil
lea rcx, [rsp + 0x20]
call fcn.14000d03c
mov eax, edi
jmp 0x14000c881
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14000fd10
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x14000cb58
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14000cb7e
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000cef0
jmp 0x14000cbe5
cmp byte [0x1400253a0], 0
jne 0x14000cbc2
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000cbb2
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025398], rax
jmp 0x14000cbb9
mov rax, qword [0x140025398]
mov byte [0x1400253a0], 1
jmp 0x14000cbc9
mov rax, qword [0x140025398]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000cbdf
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000cbe5
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000cef0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000cf53
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000cf67
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cf67
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14000cf6c
cmp dword [rcx + 8], 0
je 0x14000cf67
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000cf6c
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000d194
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rbx, rdx
mov rdi, rcx
mov esi, 0x400
lea rcx, [rbp + 0x360]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call fcn.14000379c
mov qword [rsp + 0x30], rbx
lea rdx, [rbp + 0x360]
xor r14d, r14d
or r15, 0xffffffffffffffff
mov qword [rsp + 0x28], r14
mov r9, r15
mov rcx, qword [rax]
mov r8d, esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnprintf_s]
movzx ecx, byte [rbp + 0x75f]
lea ebx, [r14 + 0x20]
test eax, eax
mov r8d, ebx
cmovs eax, r15d
test eax, eax
cmovs ecx, r14d
xor edx, edx
mov byte [rbp + 0x75f], cl
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14000d0e8
lea r8, [0x1400179d4]
mov edx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8d, esi
lea rcx, [rsp + 0x60]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, r15
inc rax
cmp byte [rdi + rax], r14b
jne 0x14000d26b
cmp rax, 6
jbe 0x14000d297
lea rcx, [rdi - 6]
add rcx, rax
lea rdx, str.__08x_
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
mov eax, 1
je 0x14000d29a
mov eax, r14d
lea rcx, [rsp + 0x40]
mov rsi, r15
inc rsi
cmp byte [rcx + rsi], r14b
jne 0x14000d2a2
test eax, eax
lea rcx, [0x1400178de]
lea rdi, str.Error:
cmove rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r9, [rbp + 0x360]
mov edx, 0x3ff
mov qword [rsp + 0x38], r9
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rdi
lea r9, str.P:_04d_T:_04d__s_s
mov dword [rsp + 0x28], ebx
sub rdx, rsi
add rcx, rsi
mov dword [rsp + 0x20], eax
mov r8, r15
call fcn.140003804
mov ecx, dword [rbp + 0x35b]
test eax, eax
mov edx, 0x2e2e2e
mov r8, rsi
cmovs ecx, edx
lea rdx, [rsp + 0x40]
mov dword [rbp + 0x35b], ecx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x60]
dec rcx
inc rcx
cmp byte [rcx], r14b
jne 0x14000d335
movzx eax, word [0x140017a44]
mov word [rcx], ax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.14000fd10
mov rbx, qword [rsp + 0x8b0]
add rsp, 0x870
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d7ac
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
mov qword [rax + 0x18], rbx
mov rbp, rcx
call fcn.14000dbdc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
lea edi, [rax + 1]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000d80c
xor eax, eax
jmp 0x14000d840
mov rcx, qword [rsp + 0x50]
mov r9d, 1
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000d833
lea ebx, [rax + 1]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000db10
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], r8d
push rdi
sub rsp, 0x40
xor ebx, ebx
mov dword [rax + 0x20], 1
mov qword [rax - 0x18], rbx
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000db5b
mov edx, dword [rsp + 0x60]
mov r8, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
test eax, eax
jne 0x14000db86
lea eax, [rbx + 1]
jmp 0x14000dbc3
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000db8a
xor eax, eax
jmp 0x14000dbc3
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000dbb6
lea ebx, [rax + 1]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000ddcc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1770]
mov eax, 0x1870
call fcn.14000fca0
sub rsp, rax
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0x1760], rax
mov r14d, edx
mov rsi, rcx
mov r15d, 0x800
lea rcx, [rsp + 0x60]
xor ebx, ebx
mov r8d, r15d
xor edx, edx
mov edi, ebx
call sub.VCRUNTIME140.dll_memset
mov r8d, r15d
lea rcx, [rbp + 0x760]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], r15d
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x1400195f8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000df73
xor edx, edx
jmp 0x14000df42
lea rax, [rsp + 0x60]
mov rdx, r15
lea r9, [0x140019628]
mov qword [rsp + 0x20], rax
lea r8, [0x14001949c]
lea rcx, [rbp + 0x760]
call fcn.140009a2c
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x760]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000df39
mov r8, r15
lea rcx, [rbp + 0xf60]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0xf60]
mov dword [rsp + 0x40], r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140019658]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000df39
cmp dword [rsp + 0x40], ebx
jbe 0x14000df39
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea rdx, [0x140019668]
mov dword [rsp + 0x40], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
inc edi
mov dword [rsp + 0x40], r15d
mov edx, edi
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14000de69
or rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], bl
jne 0x14000df77
test rax, rax
setne bl
mov eax, ebx
mov rcx, qword [rbp + 0x1760]
xor rcx, rsp
call fcn.14000fd10
mov rbx, qword [rsp + 0x18b0]
add rsp, 0x1870
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f278
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1f78]
mov eax, 0x2070
call fcn.14000fca0
sub rsp, rax
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0x1f60], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov r14d, 0x800
lea rcx, [rsp + 0x60]
mov r8d, r14d
xor edx, edx
xor edi, edi
call sub.VCRUNTIME140.dll_memset
mov r8d, r14d
lea rcx, [rbp + 0x760]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], r14d
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14001c988]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000f445
and qword [rsp + 0x38], rdi
and qword [rsp + 0x30], rdi
and qword [rsp + 0x28], rdi
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x14000f428
lea rax, [rsp + 0x60]
mov rdx, r14
lea r9, str.SOFTWAREJavaSoftJava_Runtime_Environment
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x760]
call fcn.140009a2c
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x760]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000f407
mov r8, r14
lea rcx, [rbp + 0xf60]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0xf60]
mov dword [rsp + 0x40], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.RuntimeLib
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000f407
cmp dword [rsp + 0x40], eax
jbe 0x14000f407
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x1760]
mov dword [rsp + 0x40], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14001ca58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
and qword [rsp + 0x38], 0
inc edi
and qword [rsp + 0x30], 0
mov edx, edi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], r14d
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14000f32c
lea rdx, [rbp + 0x1760]
mov rcx, rbx
call fcn.14000c9b4
mov rax, rbx
mov rcx, qword [rbp + 0x1f60]
xor rcx, rsp
call fcn.14000fd10
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000f488
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x7e8]
sub rsp, 0x8c0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r13d, r8d
mov r12, rdx
mov r14, rcx
mov qword [rbp - 0x58], rcx
xor eax, eax
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov ebx, eax
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], eax
mov qword [rbp - 0x68], rax
mov edi, eax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x80], rax
mov esi, eax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x68], rax
call fcn.14000f278
mov dword [rsp + 0x34], 1
mov r9d, 0x20019
lea r8, str.SOFTWARE
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14000cce8
test eax, eax
jne 0x14000f646
mov ebx, 0x20019
mov r9d, ebx
lea r8, str.JavaSoft
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.14000cce8
test eax, eax
jne 0x14000f642
mov r9d, ebx
lea r8, str.Java_Plug_in
mov rbx, qword [rbp - 0x78]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000cce8
mov rdi, qword [rsp + 0x70]
test eax, eax
jne 0x14000f646
mov r9d, 0x20019
mov r8, r12
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14000cce8
mov rsi, qword [rsp + 0x58]
test eax, eax
jne 0x14000f646
mov r12d, 0x800
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.JavaHome
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000f646
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14000f646
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14000f608
cmp byte [rbp + rax - 0x51], 0
je 0x14000f60c
jmp 0x14000f646
mov byte [rbp - 0x50], 0
xor eax, eax
test eax, eax
jne 0x14000f646
mov r8d, r12d
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x50]
test r13d, r13d
je 0x14000f63a
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x14000f646
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14000f6b8
jmp 0x14000f646
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
jmp 0x14000f628
mov rbx, qword [rbp - 0x78]
test rsi, rsi
je 0x14000f655
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rdi, rdi
je 0x14000f664
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x14000f673
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x40], 0
je 0x14000f686
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r14
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14000fd10
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret