joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180018410
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180065440]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18001853a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180018531
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180018514
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180018514
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180018514
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800184d2
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x180066540]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180018531
jmp 0x180018507
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180018507
mov rcx, qword [0x180066540]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180018531
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180018480
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180018593
cmp dword [rbx + 0xc], esi
jbe 0x180018593
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18001858c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180018cd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180018550
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18001b5e0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180018910
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov r14d, r15d
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180066538], esi
je 0x180018961
cmp rbx, 0x20
jae 0x18001894a
xor ecx, ecx
jmp 0x18001894c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180066538], esi
jne 0x180018940
cmp qword [0x180066540], r14
mov qword [rsp + 0x58], r13
je 0x180018afd
mov ecx, dword [0x180067e1c]
mov ebx, r15d
test ecx, ecx
je 0x18001899f
mov rdx, qword [0x180067e10]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x1800189aa
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180018990
mov r14d, 4
jmp 0x180018b03
cmp ebx, 0xffffffff
je 0x18001899f
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x180018a5b
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180018410
xor edx, edx
mov ecx, ebx
call fcn.180018300
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x180018a4b
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x180018a37
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, ecx
nop word [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180018a28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180018a00
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180066540]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x180018b03
mov rdx, qword [0x180067e10]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180018f30
mov ecx, dword [0x180067e1c]
lea eax, [rcx - 1]
cmp ebx, eax
jae 0x180018aaf
imul rcx, rax, 0x38
mov rax, qword [0x180067e10]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x180067e1c]
mov edx, dword [0x180067e18]
dec ecx
mov eax, edx
mov dword [0x180067e1c], ecx
shr eax, 1
cmp eax, 0x20
jb 0x180018b03
cmp eax, ecx
jb 0x180018b03
mov r8, qword [0x180067e10]
mov eax, edx
mov rcx, qword [0x180066540]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180018b03
shr dword [0x180067e18], 1
mov qword [0x180067e10], rax
jmp 0x180018b03
mov r14d, 2
xchg dword [0x180066538], r15d
mov r13, qword [rsp + 0x58]
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180018e80
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x180018eef
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180018ed8
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180018ecc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180018ea0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x180066540]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180018fb0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180018ff0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180067e00]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18001902e
cmp rsi, r14
jb 0x180019026
cmp rsi, r15
jae 0x180019026
cmp qword [rsi + 8], 0
jne 0x1800191f7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180019011
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800190c2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800190b9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800190b9
cmp dword [rsp + 0x70], 0x10000
je 0x18001913b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800190b9
sub rbx, rbp
cmp rbx, r14
jae 0x180019080
test rsi, rsi
jne 0x1800191a0
cmp rdi, r15
ja 0x1800191df
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800191df
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800191df
cmp dword [rsp + 0x70], 0x10000
je 0x180019171
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800190f2
jmp 0x1800191df
test rbx, rbx
je 0x1800190b9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800191a0
cmp rbx, r14
jae 0x180019060
jmp 0x1800190c2
test rdi, rdi
je 0x1800191df
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800191a0
cmp rdi, r15
jbe 0x1800190d0
jmp 0x1800191df
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800191b0
mov rax, qword [0x180067e00]
mov qword [rsi], rax
mov qword [0x180067e00], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18002bf98
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18002bfc8
xor eax, eax
jmp 0x18002c08b
mov rbp, rbx
cmp word [rax], si
je 0x18002bfed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18002bfd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18002bfd0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180027708
movsxd r14, eax
test eax, eax
jne 0x18002c02b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18002bfc1
mov rcx, r14
call fcn.180027618
mov rdi, rax
test rax, rax
jne 0x18002c044
xor ecx, ecx
call fcn.1800271a0
jmp 0x18002c020
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180027708
test eax, eax
jne 0x18002c075
mov rcx, rdi
call fcn.1800271a0
jmp 0x18002c07f
xor ecx, ecx
call fcn.1800271a0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18002e7cc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180025548
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18002e86d
cmp ebx, dword [rsp + 0x30]
je 0x18002e866
test esi, esi
je 0x18002e866
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18002e841
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18002e84e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18002e82b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18002e852
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18002e86f
mov eax, 1
jmp 0x18002e86f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180031d30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180031d58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180031d58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4db240
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dbc42
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4dbcda
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4dbcbe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dbcb2
cmp qword [rbp - 0x10], 0
je 0x2fc4dbcb2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dbc78
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dbcdb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dbde0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dbe08
mov eax, 0
jmp 0x2fc4dbe56
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dbe31
mov eax, 0
jmp 0x2fc4dbe56
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dbe51
mov eax, 0
jmp 0x2fc4dbe56
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dbe5c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dbeda
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dbed1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dbed1
mov rax, qword [rbp - 8]
jmp 0x2fc4dbeef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dbea4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000100f
Capabilities:
Inject thread

Disassembly:
jmp 0x140001550
sub rsp, 0x68
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x54], ecx
mov r8d, dword [rsp + 0x54]
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000158d
mov dword [rsp + 0x64], 0
jmp 0x1400016d9
mov rcx, qword [rsp + 0x58]
call sub.ucrtbased.dll_strlen
mov r8, rax
add r8, 1
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov edx, eax
mov r9d, 0x1000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400015e4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 0
jmp 0x1400016d9
mov rcx, qword [rsp + 0x58]
call sub.ucrtbased.dll_strlen
mov r9, rax
add r9, 1
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8d, edx
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
mov rdx, r8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140001690
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov r8d, eax
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 0
jmp 0x1400016d9
mov rcx, qword [rsp + 0x38]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov r8d, eax
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 1
mov eax, dword [rsp + 0x64]
add rsp, 0x68
ret

Function at 0x140001127
Capabilities:
Terminate process

Disassembly:
jmp 0x1400031b0
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]
nop
add rsp, 0x28
ret
Function at 0x140001163
Capabilities:
Parse pe header

Disassembly:
jmp 0x140004500
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140004520
xor al, al
jmp 0x1400045a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140004533
xor al, al
jmp 0x1400045a1
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 0x14000455d
xor al, al
jmp 0x1400045a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140004571
xor al, al
jmp 0x1400045a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140004583
xor al, al
jmp 0x1400045a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14000459f
xor al, al
jmp 0x1400045a1
mov al, 1
add rsp, 0x38
ret

Function at 0x1400011a4
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140001440
sub rsp, 0x288
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x48]
xor edx, edx
mov r8d, 0x238
call sub.VCRUNTIME140D.dll_memset
mov dword [rsp + 0x48], 0x238
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x28], rax
jne 0x1400014b0
mov dword [rsp + 0x44], 0
jmp 0x14000152b
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 0
je 0x140001518
jmp 0x1400014cd
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x48]
add rcx, 0x2c
call sub.ucrtbased.dll_strcmp
cmp eax, 0
jne 0x1400014f6
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x34], eax
jmp 0x140001513
jmp 0x1400014fb
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 0
jne 0x1400014cd
jmp 0x140001518
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140001109
mov eax, dword [rsp + 0x24]
add rsp, 0x288
ret
Function at 0x140001440
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140001440
sub rsp, 0x288
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x48]
xor edx, edx
mov r8d, 0x238
call sub.VCRUNTIME140D.dll_memset
mov dword [rsp + 0x48], 0x238
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x28], rax
jne 0x1400014b0
mov dword [rsp + 0x44], 0
jmp 0x14000152b
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 0
je 0x140001518
jmp 0x1400014cd
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x48]
add rcx, 0x2c
call sub.ucrtbased.dll_strcmp
cmp eax, 0
jne 0x1400014f6
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x34], eax
jmp 0x140001513
jmp 0x1400014fb
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 0
jne 0x1400014cd
jmp 0x140001518
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140001109
mov eax, dword [rsp + 0x24]
add rsp, 0x288
ret
Function at 0x140001550
Capabilities:
Create thread
Inject thread

Disassembly:
jmp 0x140001550
sub rsp, 0x68
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x54], ecx
mov r8d, dword [rsp + 0x54]
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000158d
mov dword [rsp + 0x64], 0
jmp 0x1400016d9
mov rcx, qword [rsp + 0x58]
call sub.ucrtbased.dll_strlen
mov r8, rax
add r8, 1
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov edx, eax
mov r9d, 0x1000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400015e4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 0
jmp 0x1400016d9
mov rcx, qword [rsp + 0x58]
call sub.ucrtbased.dll_strlen
mov r9, rax
add r9, 1
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8d, edx
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
mov rdx, r8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140001690
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov r8d, eax
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 0
jmp 0x1400016d9
mov rcx, qword [rsp + 0x38]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov r8d, eax
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 1
mov eax, dword [rsp + 0x64]
add rsp, 0x68
ret