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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400066f4
nop
xor edi, edi
mov rbx, qword [rsp + 0x20]
jmp 0x140007e30
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007de0
mov rdx, qword [rbx]
lea rcx, str._Dsun.java2d.noddraw
call fcn.140009204
cmp eax, 1
je 0x140007e39
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007dfe
mov rdx, qword [rbx]
lea rcx, str._Dsun.java2d.d3d
call fcn.140009204
test eax, eax
je 0x140007e39
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007e1b
mov rdx, qword [rbx]
lea rcx, str._Dsun.java2d.opengl
call fcn.140009204
cmp eax, 1
je 0x140007e39
add rbx, 0x20
cmp rbx, qword [rsp + 0x28]
jne 0x140007dd3
jmp 0x140007e3f
mov dword [0x140022040], edi
cmp dword [0x140022040], edi
je 0x140007eec
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r8d, 0x10
lea rdx, [rsp + 0x38]
lea rcx, str.J2D_D3D
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0xe
ja 0x140007e8e
lea rdx, [0x140014d18]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
neg eax
sbb ecx, ecx
and dword [0x140022040], ecx
mov r8d, 0x10
lea rdx, [rsp + 0x38]
lea rcx, str.J2D_D3D_PRELOAD
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0xe
ja 0x140007ed1
lea rdx, [0x140014d30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
neg eax
sbb ecx, ecx
and ecx, dword [0x140022040]
mov dword [0x140022040], ecx
jmp 0x140007ed7
mov ecx, dword [0x140022040]
test ecx, ecx
je 0x140007eec
mov rdx, rsi
lea rcx, str.preloadD3D
call fcn.140009258
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.140005730
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400100c0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400088e0
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1cd0]
mov eax, 0x1dd0
call fcn.140010060
sub rsp, rax
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rbp + 0x1cc0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
mov r14d, 0x1000
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0xcc0]
call sub.VCRUNTIME140.dll_memset
mov ebx, 0x800
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea rdx, [rbp + 0x4c0]
lea rcx, [0x1400148c8]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x7fe
ja 0x140008982
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp + 0xcc0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x140008994
mov r8, r14
lea rdx, [rbp + 0xcc0]
mov rcx, rsi
call fcn.140008318
lea rdx, str._Djava.ext.dirs
lea rcx, [rbp + 0xcc0]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsstr]
test rax, rax
jne 0x140008b47
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x3b0]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
mov edx, ebx
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea r9, [rbp + 0x3b0]
lea r8, str._sSunJavaDeploymentLibTrusted
mov edx, ebx
lea rcx, [rbp + 0x190]
call fcn.140008738
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r14, rax
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x2a0]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea rdx, [rbp + 0x2a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rbp + 0x2a0]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140008a65
mov byte [rax], 0
lea r9, [rbp + 0x2a0]
lea r8, str._sjss
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.140008738
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp r14, 0xffffffffffffffff
jne 0x140008ad2
cmp rax, r14
je 0x140008b47
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str._Djava.ext.dirs__slibext__s_
mov edx, 0x30c
lea rcx, [0x1400233f0]
call fcn.140008738
mov rcx, rbx
jmp 0x140008b31
mov r9, rsi
mov edx, 0x30c
lea rcx, [0x1400233f0]
cmp rbx, 0xffffffffffffffff
je 0x140008b16
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea r8, str._Djava.ext.dirs__slibext__s__s_
call fcn.140008738
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140008acd
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea r8, [0x140014940]
call fcn.140008738
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [0x1400233f0]
mov rcx, rdi
call fcn.140009988
nop
mov rcx, rdi
call fcn.140005350
mov rcx, qword [rbp + 0x1cc0]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x1dd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140008b7c
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x360
mov rax, qword [0x140022558]
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, [0x140014980]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x140008c1c
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.140003790
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140009988
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1400100c0
add rsp, 0x360
pop rbx
ret

Function at 0x140008c3c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140022558]
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]
test eax, eax
je 0x140008d07
cmp eax, 0x104
jae 0x140008d07
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140008070
nop
mov rbx, qword [rsp + 0x20]
jmp 0x140008cf6
mov rax, qword [rdi + 0x28]
cmp rax, qword [rdi + 0x30]
je 0x140008ce3
xorps xmm0, xmm0
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140008cd0
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140004950
add qword [rdi + 0x28], 0x20
jmp 0x140008cf2
mov r8, rbx
mov rdx, rax
lea rcx, [rdi + 0x20]
call fcn.140004af4
add rbx, 0x20
cmp rbx, qword [rsp + 0x28]
jne 0x140008ca9
lea rcx, [rsp + 0x20]
call fcn.140005730
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400100c0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x140009064
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 [0x140022558]
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, [0x140014ba8]
mov dword [rsp + 0x40], esi
lea r9, str.SOFTWAREJavaSoftJava_Plug_in
mov qword [rsp + 0x20], rax
lea r8, [0x140014bd8]
mov edx, 0x800
lea rcx, [rsp + 0x50]
call fcn.140009ad8
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 0x140009178
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [0x140014be0]
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 0x140009178
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140009146
add rax, 5
cmp rax, rsi
ja 0x140009178
dec rdi
inc rdi
cmp byte [rdi], 0
jne 0x14000915b
mov ecx, dword [str._bin]
mov al, 1
mov dword [rdi], ecx
mov cl, byte [0x140014bf0]
mov byte [rdi + 4], cl
jmp 0x14000917a
xor al, al
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000a438
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rsp + 0x250], rax
movsxd r15, edx
mov r14, rcx
xor ebx, ebx
mov byte [rcx], bl
lea rax, [rsp + 0x40]
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 0x14000a51a
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14000cb28
nop
mov rsi, qword [rax]
test rsi, rsi
je 0x14000a4be
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14000a4c1
mov rcx, qword [rsi]
call fcn.140010ca0
mov qword [rsi + 8], rax
jmp 0x14000a4c1
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.14000cf44
nop
jmp 0x14000a4ea
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x260]
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.14000d280
xor edx, edx
mov ecx, edi
call fcn.1400110b0
int3
Function at 0x14000a53c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rsp + 0x250], rax
movsxd r15, edx
mov r14, rcx
xor ebx, ebx
mov byte [rcx], bl
lea rax, [rsp + 0x40]
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 0x14000a61e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14000cb28
nop
mov rsi, qword [rax]
test rsi, rsi
je 0x14000a5c2
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14000a5c5
mov rcx, qword [rsi]
call fcn.140010ca0
mov qword [rsi + 8], rax
jmp 0x14000a5c5
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.14000cf44
nop
jmp 0x14000a5ee
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x260]
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.14000d280
xor edx, edx
mov ecx, edi
call fcn.1400110b0
int3
Function at 0x14000abc8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r13d, r9d
lea rax, [rbp - 0x28]
mov rbx, r8
mov qword [rsp + 0x20], rax
mov rdi, rcx
lea rdx, [0x140015570]
xor esi, esi
mov r9d, 0x20019
and qword [rbp - 0x28], rsi
xor r8d, r8d
mov rcx, 0xffffffff80000002
xor r14d, r14d
xor r15d, r15d
xor r12d, r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ad2f
mov r14, qword [rbp - 0x28]
lea rax, [rbp - 0x20]
and qword [rbp - 0x20], rsi
lea rdx, [0x140015588]
mov rcx, r14
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ad2f
mov r15, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
and qword [rbp - 0x18], rsi
lea rdx, [0x1400155a0]
mov rcx, r15
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ad2f
mov r12, qword [rbp - 0x18]
lea rax, [rbp - 0x10]
and qword [rbp - 0x10], rsi
mov rcx, r12
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ad2f
mov rsi, qword [rbp - 0x10]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x30]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov dword [rbp + 0x58], r13d
lea rdx, [0x1400155b0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ad2f
mov eax, dword [rbp - 0x30]
mov edi, 1
dec eax
cmp eax, edi
ja 0x14000ad2f
test rbx, rbx
je 0x14000ad0e
mov eax, dword [rbp + 0x58]
test eax, eax
je 0x14000ad0b
cmp byte [rax + rbx - 1], 0
je 0x14000ad0e
jmp 0x14000ad2f
mov byte [rbx], 0
cmp dword [rbp + 0x48], 0
mov r8d, r13d
mov rdx, rbx
mov rcx, rbx
je 0x14000ad25
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x14000ad2b
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
jne 0x14000ad31
xor edi, edi
test rsi, rsi
je 0x14000ad3f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r12, r12
je 0x14000ad4d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15, r15
je 0x14000ad5b
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14, r14
je 0x14000ad69
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0xa0]
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000afa4
Capabilities:
Get common file path

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

Function at 0x14000b0bc
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
mov dword [rbp - 0x29], r14d
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp + 0x13], 1
xor r14d, r14d
mov qword [rbp - 0x39], rax
movups xmmword [rbp - 0x49], xmm0
mov word [rbp + 0x17], r14w
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 0x14000b19f
test rbx, rbx
je 0x14000b19f
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 0x14000b19f
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 0x14000b1a1
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 0x14000b70c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x14000b7ab
mov r8d, edi
lea rdx, [rsp + 0x20]
lea rcx, str.USER_JPI_PROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x14000b7a4
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000a438
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, [0x1400158d8]
mov rcx, rbx
call fcn.140009ad8
mov rcx, rbx
call fcn.14000c048
test eax, eax
jne 0x14000b7a4
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000a92c
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, str._sSunJavaDeploymentdeployment.properties
mov rcx, rbx
call fcn.140009ad8
mov eax, 1
jmp 0x14000b7ad
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400100c0
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret

Function at 0x14000ba0c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x140022558]
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.140009ad8
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 0x14000ba95
cmp eax, 2
sete bl
jmp 0x14000baeb
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x440]
mov dword [rsp + 0x30], 0x400
lea rdx, [0x140014dc6]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14000bacf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000baed
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.1400100c0
add rsp, 0x850
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000c808
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rbp + 0x60], rax
lea r8, [0x140015948]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
xor ebx, ebx
test eax, eax
jne 0x14000c932
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140024338], rbx
je 0x14000c86a
lea eax, [rbx + 1]
jmp 0x14000c934
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x14000c932
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14000cab8
nop
lea rdx, str.JavaDeployReg.log
lea rcx, [rsp + 0x28]
call fcn.14000cab8
nop
mov ecx, 0x18
call fcn.1400100e0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000c8d4
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14000c960
mov rdi, rax
jmp 0x14000c8d7
mov rdi, rbx
test rdi, rdi
je 0x14000c955
lea rcx, [rsp + 0x20]
call fcn.14000cf44
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x28]
call fcn.14000cf44
cmp qword [rdi + 8], rbx
jne 0x14000c907
mov rcx, qword [rdi]
call fcn.140010ca0
mov qword [rdi + 8], rax
lea r8, [0x140014edc]
mov rdx, qword [rdi + 8]
lea rcx, [0x140024338]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
sete bl
lea rcx, [rsp + 0x20]
call fcn.14000cf44
mov eax, ebx
jmp 0x14000c934
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140010c90
int3

Function at 0x14000cbdc
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 0x14000cc02
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000ceb0
jmp 0x14000cc69
cmp byte [0x140024350], 0
jne 0x14000cc46
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000cc36
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140024348], rax
jmp 0x14000cc3d
mov rax, qword [0x140024348]
mov byte [0x140024350], 1
jmp 0x14000cc4d
mov rax, qword [0x140024348]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000cc63
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000cc69
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000cd64
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov edi, dword [rcx + 8]
lea rax, [rsp + 0x60]
xor r15d, r15d
mov qword [rsp + 0x20], rax
mov rsi, rcx
mov qword [rsp + 0x48], r15
mov rcx, qword [rcx]
or edi, 0x2001f
mov r9d, edi
mov dword [rsp + 0x50], r15d
xor r8d, r8d
mov qword [rsp + 0x58], r15
mov r14, rdx
mov qword [rsp + 0x60], r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x14000cdf8
mov ebx, r15d
test rcx, rcx
je 0x14000cde4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x14000ce80
mov edi, 0x100
jmp 0x14000ce21
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000cd64
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x14000ce80
lea rax, [rsp + 0x68]
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14000ce07
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000ce69
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov rdx, r14
mov dword [rsp + 0x50], r15d
mov rcx, rsi
call fcn.14000cbdc
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x14000ce8b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400100c0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000ceb0
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 0x14000cf13
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000cf27
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cf27
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 0x14000cf2c
cmp dword [rcx + 8], 0
je 0x14000cf27
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000cf2c
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret