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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rsp + 0x60], rax
test cl, cl
jne 0x14000ab86
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.1400064a0
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 0x14000ad10
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 0x14000ad05
mov ecx, dword [rsp + 0x30]
shr rcx, 1
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.14004834c
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 0x14000acf8
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 0x14000ac62
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400066a0
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 0x14000acb3
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.14000ad40
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000acf8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000acf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000acf3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048300
mov rcx, rdi
call fcn.140048300
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400482e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
movzx ecx, dl
jmp 0x14000ab20
Function at 0x1400418c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x28
test dl, dl
jne 0x140041914
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.1400064a0
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.140004f00
Function at 0x1400420a0
Capabilities:
Enumerate processes

Disassembly:
push rdi
sub rsp, 0x160
mov rax, qword [0x140071040]
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.140003d60
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 0x14004214c
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.14001f650
jmp 0x1400421fb
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 0x1400421ea
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 0x14004219e
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 0x1400421d3
inc ebx
cmp ebx, 1
jle 0x1400421b1
lea rcx, str.___Multiple_processes_detected._The_scan_might_take_a_while._n
call fcn.140003d60
mov r8d, dword ds:[rsp + 0x28]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x1400421d3
mov rcx, rax
call fcn.14001f6a0
lea rdx, ds:[rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140042170
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.1400482e0
add rsp, 0x160
pop rdi
ret
Function at 0x1400426a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x258
mov rax, qword [0x140071040]
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.140003d60
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 0x1400427bd
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 0x1400427a7
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
cmp eax, 0x3f
jne 0x1400427b2
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.140003d60
lea rcx, str.____To_do_so__go_to_the_minecraft_window_and_check_Options___Controls_and_check__Attack_._n
call fcn.140003d60
jmp 0x1400427b2
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.1400482e0
add rsp, 0x258
ret
Function at 0x140044340
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.140048308
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 0x140045d60
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140071040]
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, [0x140074b58]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [0x140074b58], rbx
mov qword [0x140074b60], rbx
lea ecx, ds:[rbx + 0x60]
call fcn.140048308
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140074b58], 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, [0x140060d28]
lea rcx, [rsp + 0x40]
call fcn.1400066a0
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 0x140045e85
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140046220
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140045e70
lea rdx, [rsp + 0x60]
call fcn.140007ce0
inc bx
cmp bx, 0x5a
jbe 0x140045e12
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140045ed3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045ece
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045ece
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048300
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400482e0
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret
Function at 0x140045f20
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 [0x140071040]
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 [0x140074b50], ecx
jle 0x140045fa5
lea rcx, [0x140074b50]
call fcn.140048434
cmp dword [0x140074b50], 0xffffffff
nop
jne 0x140045fa5
call fcn.140045d60
lea rcx, [0x14004d890]
call fcn.1400486d4
nop
lea rcx, [0x140074b50]
call fcn.1400483c8
mov rbx, qword [0x140074b58]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140046059
nop dword [rax]
lea rsi, [rbx + 0x20]
lea r9, [rsi + 0x20]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x140045fd6
mov r9, qword [r9]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140045fe5
mov rcx, qword [rdi]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.1400087c0
test rax, rax
je 0x14004608a
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14004602b
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140046026
cmp rbx, qword [rax + 0x10]
jne 0x140046026
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140046013
mov rbx, rax
jmp 0x14004604f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14004604f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140046040
cmp byte [rbx + 0x19], 0
je 0x140045fc0
mov rdx, rdi
mov rcx, rbp
call fcn.140005560
mov rax, rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400482e0
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 ds:[rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp qword [rdi + 0x10], rcx
jb 0x140046177
lfence
mov rax, qword [rdi + 0x10]
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rdi + 0x18], 7
jbe 0x1400460cc
mov rdi, qword [rdi]
lea rdx, [rdi + rcx*2]
lea rcx, [rsp + 0x40]
call fcn.1400066a0
nop
mov r9, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x1400460e9
mov rsi, qword [rsi]
mov r8, rsi
lea rcx, [rsp + 0x40]
call fcn.140015540
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 0x140046065
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004616d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004616d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048300
jmp 0x140046065
call fcn.140007f60
int3
Function at 0x140046be0
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 0x140046c15
lfence
jmp 0x140046ddb
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 0x140046c5f
lfence
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x140046ddb
mov qword [rsp + 0x20], rdi
lea r9, [0x14004f480]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14004f490]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
lfence
test eax, eax
js 0x140046c52
mov r15, qword [rdi]
mov rax, qword [r15]
mov rbp, qword [rax + 0x18]
mov ecx, 0x18
call fcn.140048308
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140046cd4
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 0x140046dff
jmp 0x140046cd7
mov rbx, r12
mov qword ds:[rsp + 0x90], rbx
test rbx, rbx
je 0x140046df4
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 [0x14004ed88]
mov ebp, eax
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x140046d56
mov rcx, qword [rbx]
test rcx, rcx
je 0x140046d36
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140046d49
nop
call fcn.140048300
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.140048300
lfence
test ebp, ebp
jns 0x140046d77
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14004ed88]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
jmp 0x140046ddb
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 0x140046dd9
lfence
mov rcx, qword [r14]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x14004ed88]
mov rcx, qword [rdi]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x14004ed88]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x140046ddb
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.140048090
nop
mov ecx, 0x8007000e
call fcn.140048090
int3
Function at 0x140047268
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 0x1400472a2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400472a7
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 0x1400472f0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004f310]
cmp byte [rcx + rax], 0
je 0x1400472f0
dec r8
sub rdx, 1
jne 0x1400472d6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140047a48
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140047380
mov ebx, eax
test eax, eax
jne 0x140047a78
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140047adb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140047ad2
test al, 0x10
je 0x140047ad2
bt eax, 0xa
jae 0x140047acb
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140047aec
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140047ac7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140047ac7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140047ad2
and dword [rsp + 0x3c], 0
jmp 0x140047ad7
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400491d4
Capabilities:
Parse pe header

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

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, edx
mov rdx, r8
mov r8, r9
call sub.kernel32.dll_GetComputerNameExA
mov rcx, rsi
mov edx, eax
add rsp, 0x20
pop rsi
jmp 0x14002714f

Function at 0x14002b475
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r15, qword [rcx]
cmp r15, 2
je 0x14002b564
mov rsi, rcx
cmp byte [rcx + 0x60], 0
je 0x14002b4b3
mov rdi, qword [rsi + 0x30]
mov rcx, rdi
mov edx, 1
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x14002b4b9
mov byte [rsi + 0x60], 0
xor ebx, ebx
jmp 0x14002b4ed
mov rdi, qword [rsi + 0x30]
jmp 0x14002b4fa
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp eax, 5
jne 0x14002b4e5
lea r14, [rsp + 0x20]
mov rcx, r14
mov rdx, rdi
call fcn.1400a5bc5
cmp dword [r14], 0
je 0x14002b4ab
lea rcx, [rsp + 0x28]
call fcn.1400849d8
shl rbx, 0x20
or rbx, 2
lea rcx, [rsp + 0x20]
mov qword [rcx], rbx
call fcn.1400aca16
mov rcx, rdi
call fcn.14002b5bf
mov rcx, qword [rsi + 0x38]
call fcn.14002b5bf
test r15, r15
je 0x14002b519
mov rcx, qword [rsi + 8]
call fcn.14002b5bf
cmp qword [rsi + 0x10], 0
je 0x14002b529
mov rcx, qword [rsi + 0x18]
call fcn.14002b5bf
cmp qword [rsi + 0x20], 0
je 0x14002b539
mov rcx, qword [rsi + 0x28]
call fcn.14002b5bf
cmp qword [rsi + 0x40], 0
je 0x14002b564
lea rdi, [rsi + 0x48]
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
call fcn.1400ad0cc
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14002b5c4
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140039498
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret

Function at 0x1400397a4
Capabilities:
Hash data using sha256

Disassembly:
mov rcx, qword [rcx]
mov r8d, 1
jmp 0x1400824fd