joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043fc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x60], rax
test cl, cl
jne 0x14000b326
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._System_Scanner__Running_checks_to_detect_event_log_bypasses..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006a60
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesEventLogSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b4b0
lea rax, ds:[rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.File
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b4a5
mov ecx, dword [rsp + 0x30]
shr rcx, 1
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.14004943c
mov rdi, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.File
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop word [rax + rax]
test eax, eax
jne 0x14000b498
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000b402
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140006c60
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
lea rdx, str._SystemRoot_System32WinevtLogsSystem.evtx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000b453
lea rdx, str.____Event_log_bypass_detected._Ban_the_user._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b4e0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000b498
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b493
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b493
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
mov rcx, rdi
call fcn.1400493f0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400493d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
movzx ecx, dl
jmp 0x14000b2c0
Function at 0x140043fe0
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x28
test dl, dl
jne 0x140044034
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xb
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str._BAM_Scanner__Running_checks_to_detect_executed_files_with_BAM..._n
call fcn.140006a60
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.SYSTEMCurrentControlSetServices_bamStateUserSettings
mov rcx, 0xffffffff80000002
add rsp, 0x28
jmp fcn.140005120
Function at 0x1400441c0
Capabilities:
Enumerate processes

Disassembly:
push rdi
sub rsp, 0x160
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xe
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._Memory_Scanner__Running_checks_to_detect_internal_cheats_in_Minecrafts_memory..._n
nop dword [rax + rax]
call fcn.140003c80
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14004426c
lea ecx, [rax + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error_creating_process_snapshot._n
call fcn.14001d8b0
jmp 0x14004431b
mov qword ss:[rsp + 0x170], rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14004430a
nop
lea rdx, str.javaw.exe
lea rcx, ds:[rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400442be
lea rdx, str.Minecraft.Windows.exe
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400442f3
inc ebx
cmp ebx, 1
jle 0x1400442d1
lea rcx, str.___Multiple_processes_detected._The_scan_might_take_a_while._n
call fcn.140003c80
mov r8d, dword ds:[rsp + 0x28]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x1400442f3
mov rcx, rax
call fcn.14001d900
lea rdx, ds:[rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140044290
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400493d0
add rsp, 0x160
pop rdi
ret
Function at 0x140044600
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x258
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._Device_Scanner__Running_checks_for_MouseKeys_autoclickers..._n
nop dword [rax + rax]
call fcn.140003c80
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rax, ds:[rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelAccessibilityMouseKeys
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004471d
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.Flags
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x200
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140044707
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
cmp eax, 0x3f
jne 0x140044712
lea rcx, str.____MouseKeys_detected._Ban_the_user_if_the_attack_control_is_binded_to_a_keyboard_key_instead_of_a__Button_key_._n
call fcn.140003c80
lea rcx, str.____To_do_so__go_to_the_minecraft_window_and_check_Options___Controls_and_check__Attack_._n
call fcn.140003c80
jmp 0x140044712
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400493d0
add rsp, 0x258
ret
Function at 0x140045900
Capabilities:
Get system firmware table

Disassembly:
mov qword ss:[rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov ecx, 0xe0
call fcn.1400493f8
mov rbx, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
movups xmmword [rax + 0x20], xmm0
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], 0xf
mov byte [rax + 0x20], sil
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rsi
mov qword [rax + 0x58], 0xf
mov byte [rax + 0x40], sil
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rsi
mov qword [rax + 0x78], 0xf
mov byte [rax + 0x60], sil
movups xmmword [rax + 0x80], xmm0
mov qword [rax + 0x90], rsi
mov qword [rax + 0x98], 0xf
mov byte [rax + 0x80], sil
movups xmmword [rax + 0xa0], xmm0
mov qword [rax + 0xb0], rsi
mov qword [rax + 0xb8], 0xf
mov byte [rax + 0xa0], sil
movups xmmword [rax + 0xc0], xmm0
mov qword [rax + 0xd0], rsi
mov qword [rax + 0xd8], 0xf
mov byte [rax + 0xc0], sil
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
nop
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140047060
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rdi, [0x14006f9f8]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [0x14006f9f8], rbx
mov qword [0x14006fa00], rbx
lea ecx, ds:[rbx + 0x60]
call fcn.1400493f8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14006f9f8], rax
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea r8d, [rbx + 2]
lea rdx, [0x14005d3f8]
lea rcx, [rsp + 0x40]
call fcn.140006c60
nop
mov ebx, 0x41
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
mov word [rax], bx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140047185
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.1400474c0
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140047170
lea rdx, [rsp + 0x60]
call fcn.1400086e0
inc bx
cmp bx, 0x5a
jbe 0x140047112
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400471d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400471ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400471ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400493d0
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret
Function at 0x140047240
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
mov ecx, dword [rcx + rax]
cmp dword [0x14006f9f0], ecx
jg 0x140047477
mov rbx, qword [0x14006f9f8]
mov rbx, qword ds:[rbx]
cmp byte [rbx + 0x19], 0
jne 0x140047349
nop word [rax + rax]
lea rsi, [rbx + 0x20]
lea r9, [rsi + 0x20]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x1400472c6
mov r9, qword [r9]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400472d3
mov rcx, qword [rdi]
mov qword ss:[rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140008f80
test rax, rax
je 0x14004737a
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14004731a
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140047315
cmp rbx, qword [rax + 0x10]
jne 0x140047315
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140047302
mov rbx, rax
jmp 0x14004733f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14004733f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140047330
cmp byte [rbx + 0x19], 0
je 0x1400472b0
mov rdx, rdi
mov rcx, rbp
call fcn.140005a40
mov rax, rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400493d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp qword [rdi + 0x10], rcx
jb 0x140047471
lfence
mov rax, qword [rdi + 0x10]
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rdi + 0x18], 7
jbe 0x1400473bb
mov rdi, qword [rdi]
lea rdx, [rdi + rcx*2]
lea rcx, [rsp + 0x40]
call fcn.140006c60
nop
mov r9, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x1400473d8
mov rsi, qword [rsi]
mov r8, rsi
lea rcx, [rsp + 0x40]
call fcn.140012380
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140047354
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047467
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047467
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
jmp 0x140047354
call fcn.1400088c0
int3
lea rcx, [0x14006f9f0]
nop
call fcn.140049524
cmp dword [0x14006f9f0], 0xffffffff
jne 0x14004728f
call fcn.140047060
lea rcx, [0x14004f3a0]
nop
call fcn.1400497c4
nop
lea rcx, [0x14006f9f0]
call fcn.1400494b8
jmp 0x14004728f
Function at 0x140047d80
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140047db5
lfence
jmp 0x140047f7b
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov esi, 0xffffffff
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
jns 0x140047dff
lfence
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x140047f7b
mov qword [rsp + 0x20], rdi
lea r9, [0x140051390]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400513a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
lfence
test eax, eax
js 0x140047df2
mov r15, qword [rdi]
mov rax, qword [r15]
mov rbp, qword [rax + 0x18]
mov ecx, 0x18
call fcn.1400493f8
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140047e74
mov qword ds:[rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140047f9f
jmp 0x140047e77
mov rbx, r12
mov qword ds:[rsp + 0x90], rbx
test rbx, rbx
je 0x140047f94
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, r15
mov rax, rbp
call qword [0x140050d48]
mov ebp, eax
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x140047ef6
mov rcx, qword [rbx]
test rcx, rcx
je 0x140047ed6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140047ee9
nop
call fcn.1400493f0
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1400493f0
lfence
test ebp, ebp
jns 0x140047f17
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140050d48]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
jmp 0x140047f7b
mov dword ss:[rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x140047f79
lfence
mov rcx, qword [r14]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x140050d48]
mov rcx, qword [rdi]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x140050d48]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x140047f7b
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140049180
nop
mov ecx, 0x8007000e
call fcn.140049180
int3
Function at 0x140048448
Capabilities:
Get geographical location

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

Function at 0x14004a17c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x360
mov rax, qword [0x140072030]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rbx, rcx
mov qword [rsp + 0x100], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001d6a
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x114]
call fcn.140031db0
mov dword [rsp + 0x110], 0x238
lea rdx, [rsp + 0x110]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rcx, rsi
test eax, eax
je 0x140001d36
lea rdx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140001ce1
lea rcx, [rsp + 0x13c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001bf0
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140001c07
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rdx, rax
jne 0x140001cd9
lea rax, [rsp + 0x13c]
test rdx, rdx
je 0x140001c48
lea rcx, [rsp + 0x13c]
sub r8, rcx
nop dword [rax]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x140001cd9
add rax, 2
sub rdx, 1
jne 0x140001c30
mov edi, dword [rsp + 0x118]
cmp edi, 0xffffffff
je 0x140001ce1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140001ca1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001c9c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001d98
mov rcx, r8
call fcn.14002f8dc
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov eax, edi
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14002f880
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, rsi
jmp 0x140001bc3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x80]
call fcn.140003f70
nop
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140003e50
nop
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.140004bb0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001230
lea rdx, [0x140070e40]
lea rcx, [rsp + 0x20]
call fcn.140031624
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Process32First_failed:
add rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400012a0
lea rdx, [0x140070e40]
lea rcx, [rsp + 0x20]
call fcn.140031624
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.CreateToolhelp32Snapshot_failed:
add rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400012a0
lea rdx, [0x140070e40]
lea rcx, [rsp + 0x20]
call fcn.140031624
nop
call fcn.140036ac8
int3
Function at 0x140001da0
Capabilities:
Query service status
Start service

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x140072030]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r8d, 0x20000000
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140001f07
mov r8d, 0xa0000000
mov qword [rsp + 0x90], rbx
lea rdx, str.TrustedInstaller
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x140001f35
lea rax, [rsp + 0x48]
mov r9d, 0x24
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140001f6c
nop dword [rax + rax]
mov ecx, dword [rsp + 0x54]
cmp ecx, 1
jne 0x140001e4f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x140001ec7
mov ecx, dword [rsp + 0x54]
lea eax, [rcx - 2]
cmp eax, 1
jbe 0x140001e90
cmp ecx, 4
jne 0x140001e9a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x6c]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002f880
add rsp, 0x80
pop rdi
ret
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x48]
mov r9d, 0x24
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140001f6c
jmp 0x140001e30
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x30]
lea rax, str.StartService_failed:
add rdx, rax
call fcn.1400012a0
lea rdx, [0x140070e40]
lea rcx, [rsp + 0x30]
call fcn.140031624
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x30]
lea rax, str.OpenSCManager_failed:
add rdx, rax
call fcn.1400012a0
lea rdx, [0x140070e40]
lea rcx, [rsp + 0x30]
call fcn.140031624
int3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x30]
lea rax, str.OpenService_failed:
add rdx, rax
call fcn.1400012a0
lea rdx, [0x140070e40]
lea rcx, [rsp + 0x30]
call fcn.140031624
int3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x30]
lea rax, str.QueryServiceStatusEx_failed:
add rdx, rax
call fcn.1400012a0
lea rdx, [0x140070e40]
lea rcx, [rsp + 0x30]
call fcn.140031624
int3