joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b6a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x47b774
jb 0x47b7d3
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.0047b580
aeskeygenassist xmm1, xmm0, 1
call fcn.0047b5a0
aeskeygenassist xmm1, xmm2, 2
call fcn.0047b580
aeskeygenassist xmm1, xmm0, 2
call fcn.0047b5a0
aeskeygenassist xmm1, xmm2, 4
call fcn.0047b580
aeskeygenassist xmm1, xmm0, 4
call fcn.0047b5a0
aeskeygenassist xmm1, xmm2, 8
call fcn.0047b580
aeskeygenassist xmm1, xmm0, 8
call fcn.0047b5a0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0047b580
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0047b5a0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0047b580
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0047b5a0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0047b580
jmp 0x47b841
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.0047b4e0
aeskeygenassist xmm1, xmm2, 2
call fcn.0047b540
aeskeygenassist xmm1, xmm2, 4
call fcn.0047b4e0
aeskeygenassist xmm1, xmm2, 8
call fcn.0047b540
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0047b4e0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0047b540
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0047b4e0
aeskeygenassist xmm1, xmm2, 0x80
call fcn.0047b540
jmp 0x47b841
aeskeygenassist xmm1, xmm0, 1
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 2
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 4
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 8
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.0047b4a0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.0047b4a0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x47b84e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x481600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4816ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403b80
xorps xmm15, xmm15
mov r14, qword [0x00946258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4816af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004bc1c0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044a160
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.004823a0
inc rbx
cmp rcx, rbx
jae 0x48169e
mov edi, 1
lea rsi, [0x004bc1c0]
call fcn.0044a240
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00861738]
lea rsi, [0x00860f18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461d60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00481600
Function at 0x4a6a60
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4a6a77
inc rax
cmp rax, 4
jge 0x4a6a8f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4a6a74
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4a6aa0
inc rax
cmp rax, 4
jge 0x4a6aae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4a6ad7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4a6abb
jmp 0x4a6a9d
Function at 0x180018770
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x23
syscall
ret
Function at 0x140001000
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, 0x5a4d
mov ebp, r8d
mov r14d, edx
mov rdi, rcx
cmp word [rcx], ax
jne 0x1400010ff
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400010ff
mov ecx, 0x8664
cmp word [rax + 4], cx
jne 0x1400010ff
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x1400010ff
cmp dword [rax + 0x84], 0
jbe 0x1400010ff
cmp dword [rax + 0x8c], 0
je 0x1400010ff
mov ecx, dword [rax + 0x88]
add rcx, rdi
je 0x1400010ff
mov ebx, dword [rcx + 0x20]
xor r11d, r11d
mov r15d, dword [rcx + 0x24]
add rbx, rdi
mov r12d, dword [rcx + 0x1c]
add r15, rdi
mov esi, dword [rcx + 0x18]
add r12, rdi
test esi, esi
je 0x1400010ff
nop word [rax + rax]
mov r10d, dword [rbx]
mov r9d, r14d
add r10, rdi
xor eax, eax
nop dword [rax + rax]
movsx ecx, byte [rax + r10]
movzx edx, cl
lea ecx, [rdx - 0x61]
cmp ecx, 0x19
lea r8d, [rdx - 0x20]
cmova r8d, edx
xor r9d, r8d
rol r9d, 8
add r9d, r8d
test r8d, r8d
je 0x1400010ee
inc rax
cmp rax, 0xffffffffffffffff
jne 0x1400010c0
cmp r9d, ebp
je 0x14000111c
inc r11d
add rbx, 4
cmp r11d, esi
jb 0x1400010b0
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
movzx ecx, word [r15 + r11*2]
mov eax, dword [r12 + rcx*4]
add rax, rdi
jmp 0x140001101
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x1400044b0]
mov rbp, qword [sym.imp.x64_ucrt_ruby320.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x1400044c0]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140007008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x140004410]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.140001920
mov rcx, qword [0x140004550]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x1400044a0]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140001730
mov ebx, dword [0x140007028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r12, qword [0x140007020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x140007020], rbp
call fcn.140001530
mov rax, qword [0x140004430]
mov r8, qword [0x140007018]
mov ecx, dword [0x140007028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140007020]
call fcn.1400029b0
mov ecx, dword [0x14000700c]
mov dword [0x140007010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140007008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x1400044c0]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call fcn.140002700
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x1400044f0]
mov rcx, qword [0x1400044e0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x140007010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140004510]
mov rcx, qword [0x140004500]
mov dword [rsi], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
sub rsp, 0x28
mov rax, qword [0x140004450]
mov dword [rax], 1
call fcn.140001180
nop
nop
add rsp, 0x28
ret
Function at 0x14000ce70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
mov r14, r8
mov rdi, rdx
mov qword [r8], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000cebc
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14000cf8a
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call fcn.140042a80
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rbp, qword [rsp + 0x58]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x14000cf66
lea rax, vtable.Gdiplus::Bitmap.0
lea rdx, [rsp + 0x50]
mov rcx, rbp
mov qword [rbx], rax
mov qword [rsp + 0x50], 0
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov rcx, qword [rsp + 0x50]
mov dword [rbx + 0x10], eax
mov qword [rbx + 8], rcx
jmp 0x14000cf68
xor ebx, ebx
mov rcx, rsi
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d240
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400a4650]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x24], esi
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rsi
mov word [rcx], si
xor r8d, r8d
lea rdx, [0x14008bba8]
call fcn.140006150
mov dword [rsp + 0x24], 1
mov word [rsp + 0x50], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.140044ad0
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000d393
cmp eax, 0x104
je 0x14000d393
mov dword [rsp + 0x20], esi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test eax, eax
je 0x14000d393
mov ecx, ebp
call fcn.140023bb4
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rsi
mov r8d, ebp
xor edx, edx
mov rcx, rax
call fcn.140044ad0
mov dword [rsp + 0x28], esi
mov r9, rbx
mov r8d, ebp
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000d386
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductName
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000d386
mov rdx, qword [rsp + 0x30]
cmp word [rdx], si
je 0x14000d37a
or rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x14000d370
mov r8, rsi
mov rcx, r14
call fcn.140006150
nop
test rbx, rbx
je 0x14000d393
mov rcx, rbx
call fcn.1400439bc
mov rax, r14
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400429e0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14000d3c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rax, qword [0x1400a4650]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x50], bx
je 0x14000d43e
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000d434
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140006150
mov dword [rsp + 0x30], 1
mov r8d, 0xd
lea rdx, str.FLiNGTrainer
mov rcx, rdi
call fcn.140003450
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400429e0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140013fc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movsxd rbx, edx
cmp ebx, 0xff
jge 0x140014006
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea r8, [0x1400ae2c0]
movzx edx, ax
shr edx, 0xf
and dl, 1
je 0x140013fff
cmp byte [rbx + r8], 0
jne 0x140013fff
mov byte [rbx + r8], 1
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rax, rbx
mov byte [rbx + r8], dl
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140014750
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400a4650]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001480a
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400147ff
mov rcx, qword [rsp + 0x30]
xor eax, eax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x38]
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400429e0
add rsp, 0x60
pop rbx
ret

Function at 0x140018560
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x28], rdx
xor ecx, ecx
mov qword [rsp + 0x24], rax
mov qword [rsp + 0x2c], rax
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x60], 0
lea rcx, [rsp + 0x20]
je 0x1400185c9
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov qword [rbx], 0x1000
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov qword [rbx], 0x1000
add rsp, 0x50
pop rbx
ret
Function at 0x140019ee0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x40
mov rax, qword [rcx + 0x28]
mov rbx, rdx
mov rsi, rcx
test rax, rax
je 0x140019f3c
mov rcx, qword [rax + 0x80]
test rcx, rcx
jne 0x140019f49
cmp qword [0x1400ae418], 8
lea r8, [0x1400ae400]
lea rdx, [0x1400ae5c0]
cmovae r8, qword [0x1400ae400]
cmp qword [0x1400ae5d8], 8
cmovae rdx, qword [0x1400ae5c0]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x800
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x20], 0x40
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor dil, dil
mov rbp, rax
test rax, rax
je 0x14001a046
cmp qword [rbx + 0x18], 8
mov r9, qword [rbx + 0x10]
jb 0x140019f8c
mov rbx, qword [rbx]
mov rcx, qword [rsi + 0x28]
lea r9, [r9*2 + 2]
mov r8, rbx
mov rcx, qword [rcx + 0x80]
mov rdx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001a024
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14008e668]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x30], 0
mov rcx, qword [rcx + 0x80]
mov r9, rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x14001a024
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x14001a046
mov rcx, qword [rcx + 0x80]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
movzx eax, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x14001c4b0
Capabilities:
Enumerate processes

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x1400a4650]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r14, rcx
xor r12d, r12d
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
mov dword [rsp + 0x20], 0x238
mov esi, r12d
mov ebx, r12d
call fcn.140044ad0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c522
cmp qword [r14 + 0x18], 8
jb 0x14001c51b
mov rcx, qword [r14]
call fcn.1400429c0
xor eax, eax
jmp 0x14001c69b
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14001c681
mov qword [rsp + 0x2f8], rbp
mov qword [rsp + 0x300], rdi
mov rcx, r14
call fcn.1400062a0
lea rcx, [rsp + 0x4c]
mov rdx, rax
call fcn.140044454
test eax, eax
jne 0x14001c65b
test esi, esi
je 0x14001c657
mov r8d, dword [rsp + 0x28]
xor eax, eax
xor edx, edx
mov ecx, 0x410
mov rdi, r12
mov dword [rsp + 0x260], 0x48
mov qword [rsp + 0x264], rax
mov qword [rsp + 0x26c], rax
mov qword [rsp + 0x274], rax
mov qword [rsp + 0x27c], rax
mov qword [rsp + 0x284], rax
mov qword [rsp + 0x28c], rax
mov qword [rsp + 0x294], rax
mov qword [rsp + 0x29c], rax
mov dword [rsp + 0x2a4], eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14001c609
lea rdx, [rsp + 0x260]
mov r8d, 0x48
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
mov rcx, rbp
test eax, eax
cmovne rdi, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
jne 0x14001c64f
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14001c64f
lea r8d, [rbx + 0x48]
lea rdx, [rsp + 0x260]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
mov rcx, rbp
test eax, eax
cmovne rbx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, rbx
jbe 0x14001c65b
mov rbx, rdi
mov esi, dword [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14001c548
mov rdi, qword [rsp + 0x300]
mov rbp, qword [rsp + 0x2f8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [r14 + 0x18], 8
jb 0x14001c699
mov rcx, qword [r14]
call fcn.1400429c0
mov eax, esi
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r12
mov word [r14], r12w
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400429e0
add rsp, 0x2c0
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
Function at 0x14001c6d0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1400a4650]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r14d, r8d
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
xor r8d, r8d
lea rdx, [0x14008bba8]
lea rcx, [rsp + 0x48]
call fcn.140006150
nop
test r14d, r14d
je 0x14001c835
mov ebx, r12d
nop dword [rax]
mov edx, r14d
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c792
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x14001c835
inc ebx
cmp ebx, 0x64
jl 0x14001c760
jmp 0x14001c835
mov dword [rsp + 0x70], 0x438
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14001c82c
mov rcx, r15
call fcn.1400062a0
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.140044454
test eax, eax
je 0x14001c7d8
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x14001c7a8
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x40], rax
cmp word [rbp + 0x1a0], 0
jne 0x14001c801
mov r8, r12
jmp 0x14001c81b
lea rax, [rbp + 0x1a0]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001c810
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x48]
call fcn.140006150
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov rax, qword [rsp + 0x38]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
lea rcx, [rsi + 0x18]
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r12
mov word [rcx], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.140005d90
nop
cmp qword [rsp + 0x60], 8
jb 0x14001c887
mov rcx, qword [rsp + 0x48]
call fcn.1400429c0
mov rax, rsi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400429e0
add rsp, 0x4c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001cd60
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1400a4650]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 0x28]
xor edi, edi
mov qword [r11 - 0x68], rdi
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x78], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x14001ce58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400072d0
nop
mov r8, rax
lea rdx, [0x1400ae600]
lea rcx, [rsp + 0x48]
call fcn.140015aa0
lea r8, [0x1400ae400]
cmp qword [0x1400ae418], 8
cmovae r8, qword [0x1400ae400]
cmp qword [rax + 0x18], 8
jb 0x14001ce0c
mov rax, qword [rax]
xor r9d, r9d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp qword [rsp + 0x60], 8
jb 0x14001ce2c
mov rcx, qword [rsp + 0x48]
call fcn.1400429c0
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp qword [rsp + 0x80], 8
jb 0x14001ce54
mov rcx, qword [rsp + 0x68]
call fcn.1400429c0
xor al, al
jmp 0x14001ce78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400429e0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret