joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a11c0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x18012e760]
xor rax, rsp
mov qword [rsp + 0x460], rax
movzx ebp, r8b
mov ebx, edx
mov rdi, rcx
test r8b, r8b
je 0x1800a1219
mov rcx, qword [rcx + 0xc8]
test rcx, rcx
je 0x1800a1219
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QSocketNotifier::isEnabled_void_const___ptr64]
test al, al
je 0x1800a1219
mov rcx, qword [rdi + 0xc8]
xor edx, edx
mov sil, 1
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QSocketNotifier::setEnabled_bool____ptr64]
jmp 0x1800a121c
xor sil, sil
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rdi + 0xc0]
mov eax, 0x10624dd3
imul ebx
mov ecx, ebx
mov dword [rsp + 0x40], 1
sar edx, 6
mov eax, edx
mov qword [rsp + 0x48], r8
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub ecx, eax
imul eax, ecx, 0x3e8
xor ecx, ecx
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
test bpl, bpl
je 0x1800a1297
test ebx, ebx
lea rdx, [rsp + 0x40]
cmovs rax, rcx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
jmp 0x1800a12ea
mov qword [rsp + 0x258], r8
lea r9, [rsp + 0x250]
test ebx, ebx
mov dword [rsp + 0x250], 1
lea r8, [rsp + 0x40]
cmovs rax, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jle 0x1800a12ea
mov rcx, qword [rdi + 0xc0]
lea rdx, [rsp + 0x250]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1800a12ea
dec ebx
test sil, sil
je 0x1800a12fe
mov rcx, qword [rdi + 0xc8]
mov dl, 1
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QSocketNotifier::setEnabled_bool____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800d83b0
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800a1830
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov rdi, r8
mov rbx, qword [rcx + 8]
mov rsi, rdx
call qword [rax + 0x70]
test al, al
jne 0x18009f30a
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::write___was_called_on_an_uninitialized_socket_device
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rbx + 0x80], 3
je 0x18009f34a
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::write___was_not_called_in_QAbstractSocket::ConnectedState
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x1800a1830
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14, qword [rcx + 8]
xor r12d, r12d
mov edi, r12d
mov rsi, r8
mov r15, rdx
mov rbp, rcx
mov rbx, r8
mov r13d, 0xc000
nop dword [rax + rax]
mov rcx, qword [rbp + 0xc0]
lea rax, [rdi + r15]
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], r12
lea rdx, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x80], r12d
call qword [sym.imp.WS2_32.dll_WSASend]
mov ecx, eax
mov eax, dword [rsp + 0x80]
add rdi, rax
cmp ecx, 0xffffffff
je 0x1800a18eb
cmp rdi, rsi
jne 0x1800a1870
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1800a18ca
cmp eax, 0x2747
jne 0x1800a1911
mov rbx, rsi
sub rbx, rdi
cmp rbx, r13
cmovg rbx, r13
jmp 0x1800a1870
add eax, 0xffffd8bb
cmp eax, 1
ja 0x1800a18ca
mov edx, 7
mov rcx, rbp
lea r8d, [rdx + 0xd]
call fcn.18009e750
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0xa0]
or rax, 0xffffffffffffffff
jmp 0x1800a18cd
Function at 0x1800a1ce0
Capabilities:
Set socket configuration

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1800a1ce0
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x60
mov rdi, rcx
mov ebx, edx
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
call qword [rax + 0x70]
test al, al
je 0x1800a1de8
test ebx, ebx
je 0x1800a1d83
cmp ebx, 3
je 0x1800a1de8
cmp ebx, 0xb
je 0x1800a1de8
cmp ebx, 0xe
je 0x1800a1de8
mov edx, dword [rdi + 0x88]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x88]
mov ecx, ebx
call fcn.18009f430
mov r8d, dword [rsp + 0x70]
cmp r8d, 0xffffffff
je 0x1800a1de8
mov edx, dword [rsp + 0x88]
lea r9, [rsp + 0x80]
mov rcx, qword [rdi + 0xc0]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1800a1de2
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov eax, dword [rsp + 0x80]
lea r8, [rsp + 0x88]
mov rcx, qword [rdi + 0xc0]
mov r9d, 4
mov dword [rsp + 0x88], eax
mov edx, 0x8004667e
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x1800a1d76
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor al, al
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1800a6f40
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
cmp r8d, 8
ja case.default.0x1800a6f6b
movsxd rax, r8d
lea rcx, [0x180000000]
mov r8d, dword [rcx + rax*4 + 0xa6fe8]
add r8, rcx
jmp r8
lea rdx, str.Organization
jmp 0x1800a6fbd
lea rdx, str.CommonName
jmp 0x1800a6fbd
lea rdx, str.CountryName
jmp 0x1800a6fbd
lea rdx, str.LocalityName
jmp 0x1800a6fbd
lea rdx, str.OrganizationalUnitName
jmp 0x1800a6fbd
lea rdx, str.StateOrProvinceName
jmp 0x1800a6fbd
lea rdx, str.DistinguishedNameQualifier
jmp 0x1800a6fbd
lea rdx, str.SerialNumber
jmp 0x1800a6fbd
lea rdx, str.EmailAddress
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rax, qword [rbx]
mov rcx, rbx
mov qword [rdi], rax
inc dword [rax + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1800d1b80
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r11, rdx
sub r11, rcx
cmp rcx, rdx
cmova r11, r10
test r11, r11
je 0x1800d1c3a
cmp r11, 0x20
jb 0x1800d1c0c
lea rdx, [r9 - 1]
lea rax, [r8 - 1]
add rdx, r11
add rax, r11
cmp r9, rax
ja 0x1800d1bb7
cmp rdx, r8
jae 0x1800d1c0c
lea rax, [rcx - 1]
add rax, r11
cmp r9, rax
ja 0x1800d1bc8
cmp rdx, rcx
jae 0x1800d1c0c
mov rax, r11
and rax, 0xffffffffffffffe0
nop
movdqu xmm0, xmmword [r8]
add r10, 0x20
movdqu xmm1, xmmword [rcx]
pxor xmm1, xmm0
movdqu xmmword [r9], xmm1
movdqu xmm1, xmmword [rcx + 0x10]
add rcx, 0x20
movdqu xmm0, xmmword [r8 + 0x10]
add r8, 0x20
pxor xmm1, xmm0
movdqu xmmword [r9 + 0x10], xmm1
add r9, 0x20
cmp r10, rax
jne 0x1800d1bd0
cmp r10, r11
je 0x1800d1c3a
sub rcx, r9
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r9]
inc r10
xor al, byte [r8]
lea r8, [r8 + 1]
mov byte [r9], al
inc r9
cmp r10, r11
jne 0x1800d1c20
mov rax, r9
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400054e0]
mov dword [rax], 1
mov rax, qword [0x1400054f0]
mov dword [rax], 1
mov rax, qword [0x140005500]
mov dword [rax], 1
mov rax, qword [0x1400054a0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001ab0
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 0x140002782
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x14000281a
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x1400027fe
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 0x1400027f2
cmp qword [rbp - 0x10], 0
je 0x1400027f2
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 0x1400027b8
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000281b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.100174000
add rsp, 0x28
jmp 0x10000bae0
Function at 0x140001400
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x20
xor eax, eax
lea rdi, [0x14001d8c0]
mov ecx, 0x28
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea rdx, [0x14001d8c0]
call qword [sym.imp.KERNEL32.dll_HeapWalk]
test eax, eax
je 0x140001493
test byte [0x14001d8ce], 4
je 0x140001479
mov edi, dword [0x14001d8c8]
xor ecx, ecx
mov r8, qword [0x14001d8c0]
mov r9, qword [0x14001c008]
mov r10, qword [0x14001d940]
test rdi, rdi
je 0x140001479
nop dword [rax + rax]
xor edx, edx
mov rax, rcx
div r9
movzx eax, byte [rdx + r10]
xor byte [rcx + r8], al
inc rcx
cmp rcx, rdi
jb 0x140001460
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea rdx, [0x14001d8c0]
call qword [sym.imp.KERNEL32.dll_HeapWalk]
test eax, eax
jne 0x140001430
add rsp, 0x20
pop rdi
ret

Function at 0x1400014a0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14001ced8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, edx
mov ebp, ecx
xor edx, edx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000155c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140001553
mov qword [rsp + 0x60], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x140001535
mov r8d, dword [rsp + 0x28]
cmp r8d, esi
je 0x140001535
cmp dword [rsp + 0x2c], ebp
jne 0x140001535
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140001535
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1400014f7
mov rbx, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400032f0
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140001580
Capabilities:
Enumerate threads
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14001ced8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, edx
mov ebp, ecx
xor edx, edx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000163c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140001633
mov qword [rsp + 0x60], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x140001615
mov r8d, dword [rsp + 0x28]
cmp r8d, esi
je 0x140001615
cmp dword [rsp + 0x2c], ebp
jne 0x140001615
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140001615
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1400015d7
mov rbx, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400032f0
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400017f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14001ced8]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14000187d
mov qword [rsp + 0x178], rsi
xor esi, esi
nop word [rax + rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140001865
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140001840
jmp 0x14000186a
mov esi, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rsi, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400032f0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x140001f20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14001ced8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x6f746544
mov dword [rsp + 0x34], 0x6574616e
mov dword [rsp + 0x38], 0x6578652e
mov byte [rsp + 0x3c], 0
call fcn.1400017f0
movdqa xmm0, xmmword [0x1400125a0]
lea rcx, [rsp + 0x40]
movdqu xmmword [rsp + 0x40], xmm0
mov ebx, eax
mov word [rsp + 0x50], 0x65
call fcn.1400017f0
xor edx, edx
test eax, eax
mov ecx, edx
mov eax, edx
sete cl
cmp dword [0x14001d938], 2
seta al
and eax, ecx
test ebx, ebx
cmove edx, eax
test edx, edx
je 0x140001ff7
xor ecx, ecx
mov eax, 1
cpuid
test ecx, ecx
js 0x140001ff7
call fcn.140006eb4
mov ebx, eax
call fcn.140006eb4
sub eax, ebx
cmp eax, 0x7d0
jl 0x140001fb1
mov r9d, 0x10
lea r8, str.Microsoft_Office
lea rdx, str.Word
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140006eb4
mov ebx, eax
call fcn.140006eb4
sub eax, ebx
cmp eax, 0x1388
jl 0x140001fe2
call fcn.140001ab0
jmp 0x140002013
mov r9d, 0x10
lea r8, str.Microsoft_Office
lea rdx, str.Word
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400032f0
add rsp, 0x60
pop rbx
ret
Function at 0x1400076b4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400074d8
Function at 0x140025210
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002521d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002522d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140025215
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140025245
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140025232
sub eax, 3
jb 0x14002525f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140025296
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140025286
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140025284
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140025273
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400251d2
jmp 0x14002521d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xe000
mov dl, 3
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400252e6
cmp rsi, rcx
jae 0x1400252ee
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400252cd
cmp al, 0x8f
ja 0x1400252cd
cmp byte [rsi - 2], 0xf
je 0x1400252d3
sub al, 0xe8
cmp al, 1
ja 0x1400252b7
cmp rsi, rcx
jae 0x1400252ee
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400252bd
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400252ee
lodsb al, byte [rsi]
jmp 0x1400252cd
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x22000]
mov eax, dword [rdi]
or eax, eax
je 0x14002534b
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x251e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400252fb
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140025345
mov qword [rbx], rax
add rbx, 8
jmp 0x14002531b
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140025385
cmp al, 0xef
ja 0x140025377
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140025357
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140025366
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400253d9
sub rsp, 0xffffffffffffff80
jmp 0x14000ddb4
Function at 0x140007b88
Capabilities:
Parse pe header

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

Function at 0x14000ec08
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000ea04