joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008c9c
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x360
mov rax, qword [0x1400224e8]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, [0x140013b40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x140008d3c
lea rax, [rsp + 0x30]
mov edx, 0x208
lea r9, str.javaplugin.user.profile
mov qword [rsp + 0x20], rax
lea r8, str._D_s_s
lea rcx, [rsp + 0x140]
call fcn.1400037ac
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140009944
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14000fab0
add rsp, 0x360
pop rbx
ret

Function at 0x140008d5c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400224e8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x140008e1c
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140008164
nop
mov rbx, qword [rsp + 0x20]
jmp 0x140008e0b
mov rax, qword [rdi + 0x28]
cmp qword [rdi + 0x30], rax
je 0x140008df8
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
mov rdx, rbx
mov rcx, rax
call fcn.1400053b4
add qword [rdi + 0x28], 0x20
jmp 0x140008e07
mov r8, rbx
mov rdx, rax
lea rcx, [rdi + 0x20]
call fcn.1400048a0
add rbx, 0x20
cmp rbx, qword [rsp + 0x28]
jne 0x140008dd2
lea rcx, [rsp + 0x20]
call fcn.1400054cc
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000fab0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x140009178
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x1400224e8]
xor rax, rsp
mov qword [rsp + 0x850], rax
movzx ebx, r8b
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140013d68]
mov dword [rsp + 0x40], esi
lea r9, str.SOFTWAREJavaSoftJava_Plug_in
mov qword [rsp + 0x20], rax
lea r8, [0x140013d98]
mov edx, 0x800
lea rcx, [rsp + 0x50]
call fcn.140009a2c
mov r9d, ebx
lea rax, [rsp + 0x48]
shl r9d, 9
lea rdx, [rsp + 0x50]
add r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000928c
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [0x140013da0]
mov qword [rsp + 0x28], rdi
mov r9d, 2
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000928c
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x14000925a
add rax, 5
cmp rax, rsi
ja 0x14000928c
dec rdi
inc rdi
cmp byte [rdi], 0
jne 0x14000926f
mov ecx, dword [str._bin]
mov al, 1
mov dword [rdi], ecx
mov cl, byte [0x140013db0]
mov byte [rdi + 4], cl
jmp 0x14000928e
xor al, al
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14000fab0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000a33c
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 [0x1400224e8]
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 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14000a428
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000c7dc
nop
mov rsi, qword [rax]
test rsi, rsi
je 0x14000a3cc
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14000a3cf
mov rcx, qword [rsi]
call fcn.140010800
mov qword [rsi + 8], rax
jmp 0x14000a3cf
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.14000cdec
nop
jmp 0x14000a3f8
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000fab0
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_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.14000d130
xor edx, edx
mov ecx, edi
call fcn.140010c30
int3
Function at 0x14000a448
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 [0x1400224e8]
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 0x14000a534
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000c7dc
nop
mov rsi, qword [rax]
test rsi, rsi
je 0x14000a4d8
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14000a4db
mov rcx, qword [rsi]
call fcn.140010800
mov qword [rsi + 8], rax
jmp 0x14000a4db
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.14000cdec
nop
jmp 0x14000a504
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000fab0
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.14000d130
xor edx, edx
mov ecx, edi
call fcn.140010c30
int3

Function at 0x14000a718
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.14000a604
test eax, eax
je 0x14000a75b
call fcn.14000bdf8
mov rsi, rax
test rax, rax
jne 0x14000a75b
call fcn.14000c074
mov rsi, rax
mov dword [rsp + 0x20], 0x104
mov r9, r14
mov r8, rsi
xor edx, edx
lea rcx, [0x140012620]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
js 0x14000a7fc
test rsi, rsi
je 0x14000a78d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14000a798
test ebx, ebx
jns 0x14000a7e9
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 0x14000a814
jmp 0x14000a7c4
test ebx, ebx
jns 0x14000a7e9
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 0x14000a82c
jmp 0x14000a7e9
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.14000d130
xor edx, edx
mov ecx, ebx
call fcn.140010c30
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.14000d130
xor edx, edx
mov ecx, ebx
call fcn.140010c30
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.14000d130
xor edx, edx
mov ecx, ebx
call fcn.140010c30
int3
Function at 0x14000ae48
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400224e8]
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 0x14000aed3
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x14001415c]
lea rcx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x14000aed5
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000fab0
add rsp, 0x250
pop rbx
ret

Function at 0x14000af60
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 0x14000b044
test rbx, rbx
je 0x14000b044
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 0x14000b044
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 0x14000b046
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 0x14000b504
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1400224e8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x14000b5a3
mov r8d, edi
lea rdx, [rsp + 0x20]
lea rcx, str.USER_JPI_PROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x14000b59c
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000a33c
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, [0x140014a68]
mov rcx, rbx
call fcn.140009a2c
mov rcx, rbx
call fcn.14000bdb8
test eax, eax
jne 0x14000b59c
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000a84c
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, str._sSunJavaDeploymentdeployment.properties
mov rcx, rbx
call fcn.140009a2c
mov eax, 1
jmp 0x14000b5a5
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000fab0
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret

Function at 0x14000b798
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x1400224e8]
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 0x14000b821
cmp eax, 2
sete bl
jmp 0x14000b877
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x440]
mov dword [rsp + 0x30], 0x400
lea rdx, [0x1400140a1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14000b85b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000b879
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.14000fab0
add rsp, 0x850
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000c51c
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 [0x1400224e8]
xor rax, rsp
mov qword [rbp + 0x60], rax
lea r8, [0x140014ad8]
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 0x14000c62f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140024378], rdi
je 0x14000c587
lea eax, [rdi + 1]
jmp 0x14000c631
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x14000c62f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14000c764
nop
lea rdx, str.JavaDeployReg.log
lea rcx, [rsp + 0x28]
call fcn.14000c764
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000c89c
nop
lea rcx, [rsp + 0x28]
call fcn.14000cdec
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14000c601
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14000c604
mov rcx, qword [rbx]
call fcn.140010800
mov qword [rbx + 8], rax
jmp 0x14000c604
mov rax, rdi
lea r8, [0x140014314]
mov rdx, rax
lea rcx, [0x140024378]
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.14000cdec
mov eax, edi
jmp 0x14000c631
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14000fab0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x14000c908
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 0x14000c92e
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000cca0
jmp 0x14000c995
cmp byte [0x140024390], 0
jne 0x14000c972
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000c962
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140024388], rax
jmp 0x14000c969
mov rax, qword [0x140024388]
mov byte [0x140024390], 1
jmp 0x14000c979
mov rax, qword [0x140024388]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000c98f
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000c995
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000cca0
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 0x14000cd03
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000cd17
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cd17
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 0x14000cd1c
cmp dword [rcx + 8], 0
je 0x14000cd17
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000cd1c
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000cf44
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 [0x1400224e8]
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.14000ce98
lea r8, [0x140016974]
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 0x14000d01b
cmp rax, 6
jbe 0x14000d047
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 0x14000d04a
mov eax, r14d
lea rcx, [rsp + 0x40]
mov rsi, r15
inc rsi
cmp byte [rcx + rsi], r14b
jne 0x14000d052
test eax, eax
lea rcx, [0x14001687e]
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 0x14000d0e5
movzx eax, word [0x1400169e4]
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.14000fab0
mov rbx, qword [rsp + 0x8b0]
add rsp, 0x870
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d55c
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.14000d98c
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 0x14000d5bc
xor eax, eax
jmp 0x14000d5f0
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 0x14000d5e3
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 0x14000d8c0
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 0x14000d90b
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 0x14000d936
lea eax, [rbx + 1]
jmp 0x14000d973
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 0x14000d93a
xor eax, eax
jmp 0x14000d973
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 0x14000d966
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 0x14000db7c
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.14000fa40
sub rsp, rax
mov rax, qword [0x1400224e8]
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, [0x140018598]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000dd23
xor edx, edx
jmp 0x14000dcf2
lea rax, [rsp + 0x60]
mov rdx, r15
lea r9, [0x1400185c8]
mov qword [rsp + 0x20], rax
lea r8, [0x14001843c]
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 0x14000dce9
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, [0x1400185f8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000dce9
cmp dword [rsp + 0x40], ebx
jbe 0x14000dce9
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, [0x140018608]
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 0x14000dc19
or rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], bl
jne 0x14000dd27
test rax, rax
setne bl
mov eax, ebx
mov rcx, qword [rbp + 0x1760]
xor rcx, rsp
call fcn.14000fab0
mov rbx, qword [rsp + 0x18b0]
add rsp, 0x1870
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret