joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002238
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.14000fc70
sub rsp, rax
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0x1cc0], rax
mov rdi, rdx
mov rbx, rcx
mov r14d, 0x1000
lea rcx, [rbp + 0xcc0]
mov r8d, r14d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov esi, 0x800
lea rcx, [rbp + 0x4c0]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rdx, [rbp + 0x4c0]
lea rcx, [0x1400137d8]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x7fe
ja 0x1400022d5
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp + 0xcc0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1400022e7
mov r8, r14
lea rdx, [rbp + 0xcc0]
mov rcx, rbx
call fcn.140008428
lea rdx, [0x1400137e8]
lea rcx, [rbp + 0xcc0]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsstr]
test rax, rax
jne 0x140002491
mov esi, 0x104
lea rcx, [rbp + 0x3b0]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rcx, [rbp + 0x190]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov edx, esi
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea r8, [rbp + 0x3b0]
lea rdx, [0x140013808]
lea rcx, [rbp + 0x190]
call fcn.140003860
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r8d, esi
lea rcx, [rbp + 0x2a0]
xor edx, edx
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rcx, [rbp + 0x80]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
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 0x1400023b6
mov byte [rax], 0
lea r8, [rbp + 0x2a0]
lea rdx, [0x1400137fc]
lea rcx, [rbp + 0x80]
call fcn.140003860
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp r14, 0xffffffffffffffff
jne 0x140002419
cmp rax, r14
je 0x140002491
mov r8, rbx
lea r9, [rbp + 0x80]
lea rbx, [0x1400238d0]
mov rcx, rbx
lea rdx, [0x140013878]
call fcn.140003860
mov rcx, rsi
jmp 0x140002465
lea r9, [rbp + 0x190]
mov r8, rbx
lea rbx, [0x1400238d0]
mov rcx, rbx
cmp rsi, 0xffffffffffffffff
je 0x140002456
lea rax, [rbp + 0x80]
lea rdx, [0x140013830]
mov qword [rsp + 0x20], rax
call fcn.140003860
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140002414
lea rdx, [0x140013858]
call fcn.140003860
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x30], rbx
cmp qword [rdi + 0x10], rdx
je 0x140002484
mov qword [rdx], rbx
add qword [rdi + 8], 8
jmp 0x140002491
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.140003468
mov rcx, qword [rbp + 0x1cc0]
xor rcx, rsp
call fcn.14000fce0
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 0x1400024c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000211c
test eax, eax
jne 0x14000252d
mov rdx, rdi
lea rcx, str.Error_during_getting_jre_home..._jp2launcherpath__s_n
call fcn.140001bd4
xor eax, eax
jmp 0x140002650
lea rax, [rsp + 0x40]
mov edx, 0x410
mov qword [rsp + 0x28], rax
lea rdi, [0x140023be0]
lea rax, [rsp + 0x40]
mov rcx, rdi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, str._Xbootclasspath_a:__slibdeploy.jar____slibjavaws.jar____slibplugin.jar_
call fcn.1400037ac
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x30], rdi
cmp qword [rbx + 0x10], rdx
je 0x14000257a
mov qword [rdx], rdi
add qword [rbx + 8], 8
jmp 0x140002587
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.140003468
lea rdi, [0x140023ff0]
mov edx, 0x208
mov rcx, rdi
lea r9, [rsp + 0x40]
lea r8, str._Djava.class.path__sclasses_
call fcn.1400037ac
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x30], rdi
cmp qword [rbx + 0x10], rdx
je 0x1400025c0
mov qword [rdx], rdi
add qword [rbx + 8], 8
jmp 0x1400025cd
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.140003468
mov r8d, 0x104
lea rdx, [rbp + 0x50]
lea rcx, [0x140013940]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x14000263e
lea rax, [rbp + 0x50]
mov edx, 0x208
lea rdi, [0x140024200]
mov qword [rsp + 0x20], rax
mov rcx, rdi
lea r9, [0x140013958]
lea r8, [0x140013970]
call fcn.1400037ac
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x30], rdi
cmp qword [rbx + 0x10], rdx
je 0x140002631
mov qword [rdx], rdi
add qword [rbx + 8], 8
jmp 0x14000263e
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.140003468
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140002238
mov eax, 1
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14000fce0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400075b4
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor bl, bl
cmp byte [0x140024420], bl
je 0x1400075e1
mov al, byte [0x140024421]
jmp 0x140007625
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], DllRegisterServer
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
jne 0x140007616
cmp dword [rsp + 0x24], 6
jb 0x140007616
mov bl, 1
mov byte [0x140024421], bl
mov al, bl
mov byte [0x140024420], 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000fce0
add rsp, 0xd0
pop rbx
ret

Function at 0x140007750
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
xor r8d, r8d
mov byte [rax + 0x10], 0
lea rdx, [rax + 0x10]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
test eax, eax
jne 0x140007789
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x1400077d4
jmp 0x14000779f
mov rcx, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x1400077a3
xor al, al
jmp 0x1400077d6
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x1400077cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400077cb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000779f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007e88
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, rdx
mov rsi, rcx
lea rdx, [r11 - 0x48]
mov rcx, rax
call fcn.140006988
nop
xor edi, edi
mov rbx, qword [rsp + 0x20]
jmp 0x140007f28
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007ed8
mov rdx, qword [rbx]
lea rcx, str._Dsun.java2d.noddraw
call fcn.140009308
cmp eax, 1
je 0x140007f31
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007ef6
mov rdx, qword [rbx]
lea rcx, str._Dsun.java2d.d3d
call fcn.140009308
test eax, eax
je 0x140007f31
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007f13
mov rdx, qword [rbx]
lea rcx, str._Dsun.java2d.opengl
call fcn.140009308
cmp eax, 1
je 0x140007f31
add rbx, 0x20
cmp rbx, qword [rsp + 0x28]
jne 0x140007ecb
jmp 0x140007f37
mov dword [0x140022fd0], edi
cmp dword [0x140022fd0], edi
je 0x140007fe6
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea r8d, [rax + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, str.J2D_D3D
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0xe
ja 0x140007f88
lea rdx, [0x140014eb8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
neg eax
sbb ecx, ecx
and dword [0x140022fd0], ecx
mov r8d, 0x10
lea rdx, [rsp + 0x40]
lea rcx, str.J2D_D3D_PRELOAD
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0xe
ja 0x140007fcb
lea rdx, [0x140014ed0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
neg eax
sbb ecx, ecx
and ecx, dword [0x140022fd0]
mov dword [0x140022fd0], ecx
jmp 0x140007fd1
mov ecx, dword [0x140022fd0]
test ecx, ecx
je 0x140007fe6
mov rdx, rsi
lea rcx, str.preloadD3D
call fcn.14000935c
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.1400054cc
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000fce0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400089f0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1cd0]
mov eax, 0x1dd0
call fcn.14000fc70
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1e00], rbx
mov qword [rsp + 0x1e08], rsi
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0x1cc0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rdx
mov r14d, 0x1000
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0xcc0]
call sub.VCRUNTIME140.dll_memset
mov edi, 0x800
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
mov r8d, edi
lea rdx, [rbp + 0x4c0]
lea rcx, [0x140014a88]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x7fe
ja 0x140008aa2
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp + 0xcc0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x140008ab4
mov r8, r14
lea rdx, [rbp + 0xcc0]
mov rcx, rsi
call fcn.140008428
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 0x140008c67
mov edi, 0x104
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x3b0]
call sub.VCRUNTIME140.dll_memset
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
mov edx, edi
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea r9, [rbp + 0x3b0]
lea r8, str._sSunJavaDeploymentLibTrusted
mov edx, edi
lea rcx, [rbp + 0x190]
call fcn.140008848
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r14, rax
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x2a0]
call sub.VCRUNTIME140.dll_memset
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8d, edi
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 0x140008b85
mov byte [rax], 0
lea r9, [rbp + 0x2a0]
lea r8, str._sjss
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140008848
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp r14, 0xffffffffffffffff
jne 0x140008bf2
cmp rax, r14
je 0x140008c67
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, [0x140024430]
call fcn.140008848
mov rcx, rdi
jmp 0x140008c51
mov r9, rsi
mov edx, 0x30c
lea rcx, [0x140024430]
cmp rdi, 0xffffffffffffffff
je 0x140008c36
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.140008848
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140008bed
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea r8, [0x140014b00]
call fcn.140008848
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [0x140024430]
mov rcx, rbx
call fcn.1400099d4
nop
mov rcx, rbx
call fcn.140004fe4
mov rcx, qword [rbp + 0x1cc0]
xor rcx, rsp
call fcn.14000fce0
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 0x140008c9c
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x360
mov rax, qword [0x1400234e8]
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, [0x140014b40]
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.1400099d4
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14000fce0
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 [0x1400234e8]
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.14000fce0
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 [0x1400234e8]
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, [0x140014d68]
mov dword [rsp + 0x40], esi
lea r9, str.SOFTWAREJavaSoftJava_Plug_in
mov qword [rsp + 0x20], rax
lea r8, [0x140014d98]
mov edx, 0x800
lea rcx, [rsp + 0x50]
call fcn.140009abc
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, [0x140014da0]
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 [0x140014db0]
mov byte [rdi + 4], cl
jmp 0x14000928e
xor al, al
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14000fce0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000a3cc
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 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14000a4b8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000c8ec
nop
mov rsi, qword [rax]
test rsi, rsi
je 0x14000a45c
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14000a45f
mov rcx, qword [rsi]
call fcn.140010a30
mov qword [rsi + 8], rax
jmp 0x14000a45f
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.14000cefc
nop
jmp 0x14000a488
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000fce0
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.14000d240
xor edx, edx
mov ecx, edi
call fcn.140010e60
int3
Function at 0x14000a7a8
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.14000a694
test eax, eax
je 0x14000a7eb
call fcn.14000bf08
mov rsi, rax
test rax, rax
jne 0x14000a7eb
call fcn.14000c184
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 0x14000a88c
test rsi, rsi
je 0x14000a81d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14000a828
test ebx, ebx
jns 0x14000a879
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 0x14000a8a4
jmp 0x14000a854
test ebx, ebx
jns 0x14000a879
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 0x14000a8bc
jmp 0x14000a879
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.14000d240
xor edx, edx
mov ecx, ebx
call fcn.140010e60
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.14000d240
xor edx, edx
mov ecx, ebx
call fcn.140010e60
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.14000d240
xor edx, edx
mov ecx, ebx
call fcn.140010e60
int3

Function at 0x14000aed8
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 0x14000af63
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x14001517c]
lea rcx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x14000af65
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000fce0
add rsp, 0x250
pop rbx
ret
Function at 0x14000aff0
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 0x14000b0d4
test rbx, rbx
je 0x14000b0d4
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 0x14000b0d4
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 0x14000b0d6
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 0x14000b5dc
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 0x14000b67b
mov r8d, edi
lea rdx, [rsp + 0x20]
lea rcx, str.USER_JPI_PROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x14000b674
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000a3cc
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, [0x140015ac0]
mov rcx, rbx
call fcn.140009abc
mov rcx, rbx
call fcn.14000bec8
test eax, eax
jne 0x14000b674
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000a8dc
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, str._sSunJavaDeploymentdeployment.properties
mov rcx, rbx
call fcn.140009abc
mov eax, 1
jmp 0x14000b67d
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000fce0
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret
Function at 0x14000c62c
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, [0x140015b30]
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 0x14000c73f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140025378], rdi
je 0x14000c697
lea eax, [rdi + 1]
jmp 0x14000c741
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x14000c73f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14000c874
nop
lea rdx, str.JavaDeployReg.log
lea rcx, [rsp + 0x28]
call fcn.14000c874
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000c9ac
nop
lea rcx, [rsp + 0x28]
call fcn.14000cefc
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14000c711
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14000c714
mov rcx, qword [rbx]
call fcn.140010a30
mov qword [rbx + 8], rax
jmp 0x14000c714
mov rax, rdi
lea r8, [0x140015334]
mov rdx, rax
lea rcx, [0x140025378]
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.14000cefc
mov eax, edi
jmp 0x14000c741
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14000fce0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret