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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140026030]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov dword [rbp - 0x19], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
movdqa xmm1, xmmword [0x140023520]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], bx
mov dword [rbp - 0x19], 1
lea rcx, [rbp - 0x11]
call fcn.140001ff0
test eax, eax
jne 0x1400025b4
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov qword [rbp + 0x17], rax
mov rax, qword [rbp - 1]
mov qword [rbp + 0x1f], rax
call fcn.1400036f8
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp + 0x17], xmm0
lea r8, [rbp + 0x17]
mov edx, eax
lea rcx, [rbp + 0x27]
call fcn.1400035b0
mov dword [rbp - 0x19], 0xf
lea r8d, [rbx + 0xd]
lea rdx, str._rentdrv2.sys
lea rcx, [rbp + 0x27]
call fcn.140002d00
cmp qword [rax + 0x18], 0x10
jb 0x140002466
mov rax, qword [rax]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x1400024d0
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400024cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003994
movdqa xmm0, xmmword [0x140023530]
movdqu xmmword [rbp + 0x37], xmm0
mov byte [rbp + 0x27], 0
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140002524
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000251f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000251f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003994
movdqa xmm0, xmmword [0x140023520]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], bx
cmp rdi, 0xffffffffffffffff
je 0x14000257d
mov dword [rbp + 0x4b], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp + 0x47]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x4b]
mov r8d, 0x7e48
lea rdx, [0x140026060]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
test eax, eax
jne 0x140002581
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140002593
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x4b], 0x7e48
sete bl
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140003930
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov edx, eax
call fcn.140001f00
int3
Function at 0x1400025c0
Capabilities:
Delete file
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140026030]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400025f0
cmp qword [rdi + 8], rcx
je 0x140002600
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rdi], rax
test rax, rax
je 0x140002682
mov r8d, 0xf01ff
lea rdx, str.rentdrv2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rdi + 8], rax
test rax, rax
je 0x14000266f
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000266f
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x14000266f
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000268e
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str._X__Fail_to_start_the_Driver_n
call fcn.140001020
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x140023520]
movdqu xmmword [rsp + 0x30], xmm1
xor eax, eax
mov word [rsp + 0x20], ax
lea rcx, [rsp + 0x20]
call fcn.140001ff0
test eax, eax
jne 0x1400027f9
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
call fcn.1400036f8
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400035b0
mov r8d, 0xd
lea rdx, str._rentdrv2.sys
lea rcx, [rsp + 0x40]
call fcn.140002d00
cmp qword [rax + 0x18], 0x10
jb 0x14000271f
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002763
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000275e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027af
call fcn.140003994
movdqa xmm0, xmmword [0x140023530]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400027bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003994
test bl, bl
jne 0x1400027cb
lea rcx, str._X__Fail_to_delete_the_Driver_from_disk_n
call fcn.140001020
lea rcx, str.____All_PoC_files_are_cleaned____n
call fcn.140001020
nop
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140003930
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
mov edx, eax
call fcn.140001f00
int3
Function at 0x140003880
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140003904
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140005460]
cmp byte [rcx + rax], 0
je 0x140003904
dec r8
sub rdx, 1
jne 0x1400038ea
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400044ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400044f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400044f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400044f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400044f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400044f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400044f8
xor al, al
add rsp, 0x28
ret
Function at 0x140f51058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140f511df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140f51089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f5106f
add dl, dl
jne 0x140f51096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f510f6
xor eax, eax
add dl, dl
jne 0x140f510a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f511ad
add dl, dl
jne 0x140f510b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f510c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f510d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f510dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f510ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f5107e
mov eax, 1
add dl, dl
jne 0x140f51106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f51113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f510fb
sub eax, ebx
mov ebx, 1
jne 0x140f5114c
mov ecx, 1
add dl, dl
jne 0x140f5112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f5113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f51123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f5107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f51168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f51175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f5115d
cmp eax, 0x7d00
jae 0x140f5119b
cmp eax, 0x500
jb 0x140f51196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f5107e
cmp eax, 0x7f
ja 0x140f5119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f5107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f511d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140f5107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001a94
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, rcx
mov esi, 0x800
mov r8d, esi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
cmp dword [0x1400238b8], 0
jne 0x140001b69
lea rcx, str.DEPLOY_TRACE_NATIVE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001b69
call fcn.140001a2c
mov rbx, rax
test rax, rax
je 0x140001b69
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x38], eax
lea r9, str._s_s_s__ld.trace
mov qword [rsp + 0x30], rdi
mov r8d, esi
lea rax, [0x14001368c]
mov edx, esi
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
call fcn.140003804
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [0x1400136a4]
lea rcx, [rsp + 0x40]
call fcn.1400019f4
mov ecx, dword [0x1400238b8]
test rax, rax
mov edx, 1
mov qword [0x1400238c0], rax
cmovne ecx, edx
mov dword [0x1400238b8], ecx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000fd10
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140002c9c
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x140013a18]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbslen]
mov rdi, rax
lea rcx, [rax + 0x105]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140002cd7
xor eax, eax
jmp 0x140002d38
lea r8d, [rdi + 0x105]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
test eax, eax
jne 0x140002d48
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x140002d2a
lea rcx, [rbx - 1]
inc rcx
cmp byte [rcx], 0
jne 0x140002d01
movsd xmm0, qword [str.JavaLow]
mov rdx, rbx
movsd qword [rcx], xmm0
mov al, byte [0x140013a40]
mov byte [rcx + 8], al
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, 0x104
jbe 0x140002cfd
lea rcx, [0x140013a28]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbslen]
mov rcx, rbx
lea rdx, [rax + 1]
add rdx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r8d, edi
xor edx, edx
mov rcx, rsi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140002cfd
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002cd3
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 [0x140024430], bl
je 0x1400075e1
mov al, byte [0x140024431]
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 [0x140024431], bl
mov al, bl
mov byte [0x140024430], 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000fd10
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 0x140007a58
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0x10
mov sil, dl
mov rbx, rcx
mov rax, rcx
jb 0x140007a7f
mov rax, qword [rcx]
cmp byte [rax], 0x2d
je 0x140007a8b
xor al, al
jmp 0x140007b62
mov ebp, 0x16
cmp qword [rcx + 0x10], rbp
mov edi, ebp
cmovb rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140007aa5
mov rcx, qword [rcx]
cmp rdi, rbp
lea rdx, str._Dsun.plugin2.jvm.args
mov r8, rdi
cmova r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007ae5
cmp rdi, rbp
jne 0x140007ae5
test eax, eax
jne 0x140007ae5
lea rcx, str.Invalid_argument_1_n
call fcn.140001bd4
call fcn.140001ba4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x140007af2
mov rcx, qword [rbx]
mov dl, sil
call fcn.140008988
test al, al
jne 0x140007b0f
lea rcx, str.Invalid_argument_2_n
call fcn.140001bd4
jmp 0x140007a84
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x140007b1c
mov rcx, qword [rbx]
call fcn.1400080b0
test al, al
je 0x140007b60
cmp qword [rbx + 0x18], 0x10
jb 0x140007b2f
mov rbx, qword [rbx]
mov rcx, rbx
int3
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
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.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, [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.14000fd10
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000a35c
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 0x14000a448
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
int3
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.14000d380
xor edx, edx
mov ecx, edi
int3

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]
int3
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
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
int3
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
int3
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
int3
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.14000d380
xor edx, edx
mov ecx, ebx
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 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
int3
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