joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001190
Capabilities:
Create directory

Disassembly:
jmp 0x14001db44
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x140032e48]
xor rax, rsp
mov qword [rsp + 0x130], rax
movsxd rbx, ecx
mov rdi, rdx
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rax, rbx
jbe 0x14001dbb1
mov rdx, rdi
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov edx, 0x2f
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14001dbb1
lea rdx, [rsp + 0x20]
mov byte [rax], 0
mov ecx, ebx
call fcn.140001190
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000141f
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret

Function at 0x14000129e
Capabilities:
Terminate process

Disassembly:
jmp 0x140010b40
sub rsp, 0x28
mov rcx, qword [rcx + 0xc0]
lea rax, str.error_unpacking_archive
test rdx, rdx
cmovne rax, rdx
lea rdx, [0x14002ecf4]
cmp byte [rax], 0x40
lea r8, [rax + 1]
cmovne r8, rax
call fcn.140001749
or ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140001334
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14001fc34
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14001fcc1
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14001fcc1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001fcc1
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14001fca8
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14001fca2
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14001fcaa
add rdx, 0x28
jmp 0x14001fc87
xor edx, edx
test rdx, rdx
jne 0x14001fcb3
xor al, al
jmp 0x14001fcc7
cmp dword [rdx + 0x24], 0
jge 0x14001fcbd
xor al, al
jmp 0x14001fcc7
mov al, 1
jmp 0x14001fcc7
xor al, al
jmp 0x14001fcc7
add rsp, 0x18
ret
Function at 0x1400014b0
Capabilities:
Terminate process

Disassembly:
jmp 0x14001dc6c
push rbx
sub rsp, 0x20
test rcx, rcx
lea rbx, str.corrupt_pack_file_or_internal_error
mov rax, rdx
cmovne rbx, rcx
test rdx, rdx
jne 0x14001dcb4
call fcn.140001433
test rax, rax
jne 0x14001dcb4
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Error:_unpacker:__s_n
mov rcx, rax
call fcn.140001749
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.14000129e

Function at 0x1400014c4
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e468
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140032e48]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsxd rdi, edx
mov rbx, rcx
test edx, edx
je 0x14001e4a4
cmp edi, dword [rcx + 0xc]
jne 0x14001e49b
mov eax, dword [rcx + 0x10]
jmp 0x14001e550
cmp dword [rcx + 8], 0
jne 0x14001e4a4
mov dword [rcx + 8], edi
xor edx, edx
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64]
mov rdx, rax
test rax, rax
jne 0x14001e4ed
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_gmtime_failure__invalid_input_archive_n
mov rcx, qword [rcx + 0xc0]
call fcn.140001749
or ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rbx + 0xc], edi
mov ecx, 0x7bc
mov eax, dword [rax + 0x14]
add eax, 0x76c
cmp eax, ecx
jge 0x14001e525
and dword [rsp + 0x30], 0
mov r9d, 1
and dword [rsp + 0x28], 0
mov edx, ecx
and dword [rsp + 0x20], 0
mov r8d, r9d
mov rcx, rbx
call fcn.1400010d2
jmp 0x14001e54d
mov ecx, dword [rdx + 0x10]
add eax, 0xffffffc4
shl eax, 9
inc ecx
or eax, dword [rdx + 0xc]
shl eax, 5
or eax, dword [rdx + 8]
shl eax, 6
or eax, dword [rdx + 4]
shl ecx, 0x15
shl eax, 5
or eax, ecx
mov ecx, dword [rdx]
shr ecx, 1
or eax, ecx
mov dword [rbx + 0x10], eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000141f
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x1400014c9
Capabilities:
Terminate process

Disassembly:
jmp 0x14001efdc
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000159b
Capabilities:
Terminate process

Disassembly:
jmp 0x14000f4b0
push rbx
movsxd r11, r9d
mov rbx, r8
mov r10, rcx
test edx, edx
jns 0x14000f4c8
lea rcx, str.bad_value_count
jmp 0x14000f537
mov r9, qword [rcx]
cmp r11d, 1
je 0x14000f50b
mov ecx, 0x100
cmp dword [rsp + 0x30], ecx
je 0x14000f50b
sub ecx, dword [rsp + 0x30]
mov r8d, r11d
jmp 0x14000f502
mov rax, r9
inc r9
sub r8d, 1
je 0x14000f4f8
movzx eax, byte [rax]
cmp eax, ecx
jge 0x14000f502
dec edx
mov r8d, r11d
cmp r9, rbx
ja 0x14000f530
test edx, edx
jg 0x14000f4e5
mov qword [r10], r9
pop rbx
ret
movsxd r8, edx
mov rcx, r11
imul r11, r8
xor edx, edx
mov rax, r11
div rcx
cmp rax, r8
jne 0x14000f530
lea rax, [r11 + r9]
cmp rax, rbx
ja 0x14000f530
mov qword [r10], rax
pop rbx
ret
lea rcx, str.EOF_reading_band
xor edx, edx
pop rbx
jmp fcn.1400014b0

Function at 0x1400015c8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400201e8
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140020232
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140020232
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140020232
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140020232
cmp dword [rcx + 0x84], 0xe
jbe 0x140020232
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140020234
xor al, al
add rsp, 0x28
ret

Function at 0x1400015dc
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e660
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14001e6b4
lea rdx, [0x14002ee04]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rbx], rax
test rax, rax
jne 0x14001e6b4
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_Could_not_open_jar_file:__s_n
mov r8, rdi
mov rcx, qword [rcx + 0xc0]
call fcn.140001749
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400017d5
Capabilities:
Terminate process

Disassembly:
jmp 0x140014d78
push rbx
sub rsp, 0x20
mov ebx, edx
mov edx, 2
call fcn.1400012bc
movzx ecx, bx
mov rdx, rax
cmp ebx, ecx
je 0x140014da7
xor edx, edx
lea rcx, str.Internal_buffer_overflow
add rsp, 0x20
pop rbx
jmp fcn.1400014b0
mov eax, ebx
mov byte [rdx + 1], bl
sar eax, 8
mov byte [rdx], al
add rsp, 0x20
pop rbx
ret
Function at 0x1400017f8
Capabilities:
Terminate process
Write file on windows

Disassembly:
jmp 0x14001ec14
test r8d, r8d
jle 0x14001ec67
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov r9, qword [rdi]
mov edx, 1
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
jle 0x14001ec68
add dword [rdi + 0x34], eax
sub ebx, eax
movsxd rcx, eax
add rsi, rcx
test ebx, ebx
jg 0x14001ec31
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, qword [rdi + 0x50]
lea rdx, str.Error:_write_on_output_file_failed_err_d_n
mov r8d, dword [rax]
mov rcx, qword [rcx + 0xc0]
call fcn.140001749
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14000f4b0
Capabilities:
Terminate process

Disassembly:
jmp 0x14000f4b0
push rbx
movsxd r11, r9d
mov rbx, r8
mov r10, rcx
test edx, edx
jns 0x14000f4c8
lea rcx, str.bad_value_count
jmp 0x14000f537
mov r9, qword [rcx]
cmp r11d, 1
je 0x14000f50b
mov ecx, 0x100
cmp dword [rsp + 0x30], ecx
je 0x14000f50b
sub ecx, dword [rsp + 0x30]
mov r8d, r11d
jmp 0x14000f502
mov rax, r9
inc r9
sub r8d, 1
je 0x14000f4f8
movzx eax, byte [rax]
cmp eax, ecx
jge 0x14000f502
dec edx
mov r8d, r11d
cmp r9, rbx
ja 0x14000f530
test edx, edx
jg 0x14000f4e5
mov qword [r10], r9
pop rbx
ret
movsxd r8, edx
mov rcx, r11
imul r11, r8
xor edx, edx
mov rax, r11
div rcx
cmp rax, r8
jne 0x14000f530
lea rax, [r11 + r9]
cmp rax, rbx
ja 0x14000f530
mov qword [r10], rax
pop rbx
ret
lea rcx, str.EOF_reading_band
xor edx, edx
pop rbx
jmp fcn.1400014b0

Function at 0x140010b40
Capabilities:
Terminate process

Disassembly:
jmp 0x140010b40
sub rsp, 0x28
mov rcx, qword [rcx + 0xc0]
lea rax, str.error_unpacking_archive
test rdx, rdx
cmovne rax, rdx
lea rdx, [0x14002ecf4]
cmp byte [rax], 0x40
lea r8, [rax + 1]
cmovne r8, rax
call fcn.140001749
or ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140014d78
Capabilities:
Terminate process

Disassembly:
jmp 0x140014d78
push rbx
sub rsp, 0x20
mov ebx, edx
mov edx, 2
call fcn.1400012bc
movzx ecx, bx
mov rdx, rax
cmp ebx, ecx
je 0x140014da7
xor edx, edx
lea rcx, str.Internal_buffer_overflow
add rsp, 0x20
pop rbx
jmp fcn.1400014b0
mov eax, ebx
mov byte [rdx + 1], bl
sar eax, 8
mov byte [rdx], al
add rsp, 0x20
pop rbx
ret
Function at 0x14001db44
Capabilities:
Create directory

Disassembly:
jmp 0x14001db44
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x140032e48]
xor rax, rsp
mov qword [rsp + 0x130], rax
movsxd rbx, ecx
mov rdi, rdx
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rax, rbx
jbe 0x14001dbb1
mov rdx, rdi
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov edx, 0x2f
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14001dbb1
lea rdx, [rsp + 0x20]
mov byte [rax], 0
mov ecx, ebx
call fcn.140001190
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000141f
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret

Function at 0x14001dc6c
Capabilities:
Terminate process

Disassembly:
jmp 0x14001dc6c
push rbx
sub rsp, 0x20
test rcx, rcx
lea rbx, str.corrupt_pack_file_or_internal_error
mov rax, rdx
cmovne rbx, rcx
test rdx, rdx
jne 0x14001dcb4
call fcn.140001433
test rax, rax
jne 0x14001dcb4
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Error:_unpacker:__s_n
mov rcx, rax
call fcn.140001749
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.14000129e

Function at 0x14001e468
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e468
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140032e48]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsxd rdi, edx
mov rbx, rcx
test edx, edx
je 0x14001e4a4
cmp edi, dword [rcx + 0xc]
jne 0x14001e49b
mov eax, dword [rcx + 0x10]
jmp 0x14001e550
cmp dword [rcx + 8], 0
jne 0x14001e4a4
mov dword [rcx + 8], edi
xor edx, edx
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64]
mov rdx, rax
test rax, rax
jne 0x14001e4ed
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_gmtime_failure__invalid_input_archive_n
mov rcx, qword [rcx + 0xc0]
call fcn.140001749
or ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rbx + 0xc], edi
mov ecx, 0x7bc
mov eax, dword [rax + 0x14]
add eax, 0x76c
cmp eax, ecx
jge 0x14001e525
and dword [rsp + 0x30], 0
mov r9d, 1
and dword [rsp + 0x28], 0
mov edx, ecx
and dword [rsp + 0x20], 0
mov r8d, r9d
mov rcx, rbx
call fcn.1400010d2
jmp 0x14001e54d
mov ecx, dword [rdx + 0x10]
add eax, 0xffffffc4
shl eax, 9
inc ecx
or eax, dword [rdx + 0xc]
shl eax, 5
or eax, dword [rdx + 8]
shl eax, 6
or eax, dword [rdx + 4]
shl ecx, 0x15
shl eax, 5
or eax, ecx
mov ecx, dword [rdx]
shr ecx, 1
or eax, ecx
mov dword [rbx + 0x10], eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000141f
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x14001e660
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e660
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14001e6b4
lea rdx, [0x14002ee04]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rbx], rax
test rax, rax
jne 0x14001e6b4
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_Could_not_open_jar_file:__s_n
mov r8, rdi
mov rcx, qword [rcx + 0xc0]
call fcn.140001749
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ec14
Capabilities:
Terminate process
Write file on windows

Disassembly:
jmp 0x14001ec14
test r8d, r8d
jle 0x14001ec67
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov r9, qword [rdi]
mov edx, 1
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
jle 0x14001ec68
add dword [rdi + 0x34], eax
sub ebx, eax
movsxd rcx, eax
add rsi, rcx
test ebx, ebx
jg 0x14001ec31
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, qword [rdi + 0x50]
lea rdx, str.Error:_write_on_output_file_failed_err_d_n
mov r8d, dword [rax]
mov rcx, qword [rcx + 0xc0]
call fcn.140001749
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400201e8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400201e8
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140020232
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140020232
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140020232
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140020232
cmp dword [rcx + 0x84], 0xe
jbe 0x140020232
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140020234
xor al, al
add rsp, 0x28
ret
Function at 0x140003240
Capabilities:
Enumerate processes
Query service status
Start service

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x280
xor ecx, ecx
xor edx, edx
mov r8d, 1
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
mov rcx, rbx
lea rdx, str.TrustedInstaller
mov r8d, 0x14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x258], xmm0
mov qword [rsp + 0x268], 0
mov dword [rsp + 0x270], 0
mov rcx, rsi
lea rdx, [rsp + 0x258]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400032ce
cmp dword [rsp + 0x25c], 1
jne 0x1400032ce
mov rcx, rsi
xor edx, edx
xor r8, r8
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdi, [rsp + 0x20]
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0x238
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
mov rcx, rbx
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140003331
lea rdx, [rsp + 0x4c]
lea r8, str.TrustedInstaller.exe
xor ecx, ecx
mov ax, word [rdx + rcx]
cmp ax, word [r8 + rcx]
jne 0x140003359
add rcx, 2
test ax, ax
jne 0x14000331b
jmp 0x14000336c
xor esi, esi
jmp 0x140003381
lea rdx, [rsp + 0x4c]
lea r8, str.TrustedInstaller.exe
xor ecx, ecx
mov ax, word [rdx + rcx]
cmp ax, word [r8 + rcx]
jne 0x140003359
add rcx, 2
test ax, ax
jne 0x140003343
jmp 0x14000336c
mov rcx, rbx
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140003335
jmp 0x140003331
mov r8d, dword [rsp + 0x28]
mov ecx, 0x1000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
add rsp, 0x280
pop rdi
pop rsi
pop rbx
ret
Function at 0x140008210
Capabilities:
Get token privileges

Disassembly:
push rbx
push rsi
push rdi
push rbp
mov rbp, rsp
sub rsp, 0x48
mov rbx, rcx
mov qword [rbp - 0x10], 0
mov rcx, rdx
mov edx, 8
lea r8, [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400082b2
mov dword [rbp - 4], 0
lea rax, [rbp - 4]
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp - 0x10]
mov edx, 3
xor r8, r8
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140008270
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400082b6
mov r9d, dword [rbp - 4]
mov eax, r9d
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.14000f5f0
sub rsp, rax
lea rax, [rsp + 0x30]
mov rsi, rax
lea rax, [rbp - 4]
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp - 0x10]
mov edx, 3
mov r8, rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400082b6
xor edi, edi
jmp 0x1400082c2
xor eax, eax
jmp 0x1400082f3
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400082b2
mov eax, edi
lea rax, [rax + rax*2]
shl rax, 2
mov r8d, dword [rsi + rax + 4]
mov rcx, rbx
mov rdx, qword [rbp - 0x10]
call fcn.1400080e0
add edi, 1
cmp edi, dword [rsi]
jbe 0x1400082c2
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rsp, rbp
pop rbp
pop rdi
pop rsi
pop rbx
ret
Function at 0x140008b40
Capabilities:
Query service status
Start service

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
xor ecx, ecx
xor edx, edx
mov r8d, 1
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rsi, rsi
je 0x140008c2a
mov rcx, rsi
lea rdx, str.UI0Detect
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov rcx, rdi
lea rdx, [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [rsp + 0x24], 1
jne 0x140008c52
mov rcx, rbx
lea rdx, str.The_service_UI0Detect_has_not_been_started._nIts_necessary_restarted_computer_or_started_the_service_in_manually._nTrying_to_start_the_UI0Detect_service_in_manually_
lea r8, str.Warning
mov r9d, 0x34
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140008c3c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
lea rdx, str.UI0Detect
mov r8d, 0x10
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140008c2e
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
lea rdx, str.Required_run_as_Administrator.
lea r8, str.Error
mov r9d, 0x10
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140008c69
xor eax, eax
jmp 0x140008c69
mov rcx, rdi
xor edx, edx
xor r8, r8
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x140008c69
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000a040
Capabilities:
Create process on windows
Resume thread

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0xf8
mov rbx, rcx
mov rsi, rdx
call fcn.140002fd0
test eax, eax
je 0x14000a1f8
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xe0], 0
call fcn.140003240
mov r12, rax
mov rcx, r12
mov edx, 2
lea r8, [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000a217
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0xe8]
mov edx, 0x2000000
xor r8, r8
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14000a222
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [rsp + 0xf4], eax
mov rcx, qword [rsp + 0xe0]
mov edx, 0xc
lea r8, [rsp + 0xf4]
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x14000a1e8
mov qword [rsp + 0xd8], 0
lea rdi, [rsp + 0x58]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x58], 0x68
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
lea rcx, [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x404
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0xe0]
lea rdx, str.SystemResearch.exe
xor r8, r8
xor r9, r9
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14000a237
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a230
mov rcx, rbx
lea rdx, [0x140019dd6]
lea r8, str.Error
mov r9d, 0x10
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14000a230
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a230
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000a2b9
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_EndDialog]
lea rcx, [0x1400033a0]
xor edx, edx
xor r8, r8
call fcn.14000f6b0
mov rbx, rax
mov rcx, rbx
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0xf8
pop r12
pop rdi
pop rsi
pop rbx
ret