joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180033030
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.180032e20
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180033107
mov dword [rsp + 0x20], 0
jmp 0x1800330a4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180033107
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180033105
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.180032c00
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18003309a
add rsp, 0x30
pop rdi
ret

Function at 0x180033120
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800331c4
mov dword [rsp + 0x20], 0
jmp 0x18003315d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800331ad
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800331ab
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180033153
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x180085de8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x1800331d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x18008b480]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180033254
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18003327d
mov eax, 0xa
jmp 0x1800333b7
cmp dword [rsp + 0x88], 0
je 0x1800332eb
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800332e9
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x180033337
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18003331b
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.18003da10
jmp 0x180033337
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.18003da10
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1800667b0]
call fcn.18003b0d0
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1800348a0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18003490e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18003490e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18003490e
xor eax, eax
jmp 0x180034955
mov dword [rsp], 1
jmp 0x18003491f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180034950
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18003494e
xor eax, eax
jmp 0x180034955
jmp 0x180034917
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x1800370d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800372f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800371d7
mov rax, qword [0x1800843a8]
cmp qword [rsp + 0x20], rax
jb 0x180037134
mov rax, qword [0x1800843b0]
cmp qword [rsp + 0x20], rax
ja 0x180037134
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800370f6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18003e0c0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180037163
jmp 0x1800371d7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800371ba
cmp qword [rsp + 0x48], 0x10000
jb 0x1800371ba
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800371a8
mov rax, qword [rsp + 0x28]
jmp 0x1800371d9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800371d2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800372f0
mov qword [rsp + 0x20], rax
jmp 0x1800370f6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800371e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180037330
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800372e3
mov rax, qword [0x1800843a8]
cmp qword [rsp + 0x20], rax
jb 0x18003723b
mov rax, qword [0x1800843b0]
cmp qword [rsp + 0x20], rax
ja 0x18003723b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800371fd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18003e0c0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18003726a
jmp 0x1800372e3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800372c1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800372c1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800372af
mov rax, qword [rsp + 0x28]
jmp 0x1800372e5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800372de
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180037330
mov qword [rsp + 0x20], rax
jmp 0x1800371fd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180041f60
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x180041e37
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180041e37
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180041e37
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180041e37
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180041e37
cmp dword [rcx + 0x84], 0xe
jbe 0x180041e37
cmp dword [rcx + 0xf8], 0
je 0x180041e37
mov ecx, ebx
call fcn.180041ed8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.180041cc8
cmp dword [rbp + 0x20], 0
je 0x180041e84
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180041e8c
int3
xor r8d, r8d
xor edx, edx
jmp 0x180041dd0
Function at 0x1400015ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x40
mov rcx, qword [rcx]
lea rax, [r11 + 8]
mov rbx, r8
mov qword [r11 - 0x18], rax
mov edi, r9d
mov qword [r11 - 0x20], rbx
and qword [r11 - 0x28], 0
mov r8, rdx
mov r9d, 0x20000018
mov dword [rsp + 0x50], 4
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x140001631
mov dword [rbx], edi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000189c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x70]
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400018d3
call fcn.14000bc60
and qword [rbx], 0
lea rax, [rsp + 0x70]
mov dword [rsp + 0x50], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
and qword [rsp + 0x30], 0
mov r8, rdi
and qword [rsp + 0x28], 0
mov edx, esi
and qword [rsp + 0x20], 0
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x140001956
mov ecx, dword [rsp + 0x70]
call fcn.14000bca4
lea rcx, [rsp + 0x70]
mov qword [rbx], rax
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r8, rdi
and qword [rsp + 0x28], 0
mov edx, esi
and qword [rsp + 0x20], 0
mov rcx, rbp
mov dword [rsp + 0x50], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov eax, dword [rsp + 0x70]
jmp 0x140001958
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140008eb8
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rdi, rcx
xor r15d, r15d
mov dword [rcx], r15d
mov byte [rcx + 4], 0xff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx + 8], xmm0
mov qword [rcx + 0x18], rax
lea rbx, [rcx + 0x20]
mov qword [rbx], r15
lea r14, [rcx + 0x28]
mov qword [r14], r15
lea rsi, [rcx + 0x30]
mov qword [rsi], r15
mov qword [rcx + 0x38], r15
mov word [rcx + 0x40], r15w
mov byte [rcx + 0x42], r15b
mov qword [rcx + 0x48], r15
mov qword [rcx + 0x50], r15
mov qword [rcx + 0x58], r15
mov qword [rcx + 0x60], r15
mov qword [rcx + 0x68], r15
mov qword [rcx + 0x70], r15
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x80], r15
mov qword [rcx + 0x88], r15
mov qword [rcx + 0x90], r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [0x140024718]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x140024708]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTWMI
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTMicrosoftWindowsStorage
call qword [rax + 0x18]
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MSFT_PhysicalDisk
call qword [rax + 0x90]
test eax, eax
jne 0x140009036
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTMicrosoftWindowsStorageProviders_v2
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTLibreHardwareMonitor
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rax, rdi
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000a8f4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rbx, qword [0x140033e80]
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x14000a9a9
mov r8d, 0x104
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
and dword [rsp + 0x24], 0
lea rax, str.runas
and qword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rbp - 0x78], rax
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 1
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x14000a9a5
test rbx, rbx
je 0x14000a9bc
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageA]
xor al, al
jmp 0x14000a9ab
mov al, 1
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x1a0
pop rbp
ret
mov ecx, 1
call fcn.140017f68
int3
Function at 0x14000ba50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov dil, dl
mov rbx, rcx
mov rdx, rcx
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test eax, eax
jne 0x14000ba81
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test eax, eax
je 0x14000baa7
test dil, dil
je 0x14000baa5
and qword [rsp + 0x28], 0
lea r8, [0x14000aae0]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140017fb0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140017ddc
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400f1050]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400f1060]
mov dword [rax], 1
mov rax, qword [0x1400f1070]
mov dword [rax], 1
mov rax, qword [0x1400f1040]
mov dword [rax], 1
mov rax, qword [0x1400f0eb0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400f1030]
mov dword [0x14011b020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400f0fe0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400f0fc0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400f02e0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x1400016aa
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea r9, [0x1400ed0c0]
lea r8, [rdx + 0x10]
xor ecx, ecx
mov al, byte [rdx + rcx]
mov r10, rax
shr al, 4
and eax, 0xf
and r10d, 0xf
shl rax, 4
add rax, r9
mov al, byte [rax + r10]
mov byte [rdx + rcx], al
inc rcx
cmp rcx, 4
jne 0x1400016b7
add rdx, 4
cmp r8, rdx
jne 0x1400016b5
ret

Function at 0x14000181e
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
xor eax, eax
lea r9, [r8 + rcx]
mov r10b, byte [r9 + rax*4]
xor byte [rdx + rax], r10b
inc rax
cmp rax, 4
jne 0x140001826
inc rcx
add rdx, 4
cmp rcx, 4
jne 0x140001820
ret

Function at 0x140001938
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
xor ecx, ecx
lea r9, [0x1400ed0c0]
mov al, byte [rdx + rcx]
mov r8, rax
shr al, 4
and eax, 0xf
and r8d, 0xf
shl rax, 4
add rax, r9
mov al, byte [rax + r8]
mov byte [rdx + rcx], al
inc rcx
cmp rcx, 4
jne 0x140001941
ret

Function at 0x140001982
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, byte [rdx + rax]
xor cl, byte [r8 + rax]
mov byte [r9 + rax], cl
inc rax
cmp rax, 4
jne 0x140001984
ret

Function at 0x140001bb2
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea r9, [0x1400ecfc0]
lea r8, [rdx + 0x10]
xor ecx, ecx
mov al, byte [rdx + rcx]
mov r10, rax
shr al, 4
and eax, 0xf
and r10d, 0xf
shl rax, 4
add rax, r9
mov al, byte [rax + r10]
mov byte [rdx + rcx], al
inc rcx
cmp rcx, 4
jne 0x140001bbf
add rdx, 4
cmp r8, rdx
jne 0x140001bbd
ret
Function at 0x140001bf0
Capabilities:
Encode data using xor

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x10
mov rbx, rsp
mov rax, rdx
lea rcx, [rsp + 0x10]
mov rdx, rbx
mov dword [rdx], 0
add rdx, 4
cmp rcx, rdx
jne 0x140001c08
xor edx, edx
lea rsi, [0x1400ec090]
lea rdi, [rax + 0x10]
lea rbp, [0x1400ec0c0]
lea r11, [rdx + rsi]
mov r8, rax
movzx ecx, byte [r11]
lea r10, [rbx + rdx]
xor r9d, r9d
shl rcx, 8
add rcx, rbp
movzx r12d, byte [r8 + r9]
inc r9
mov r12b, byte [rcx + r12]
xor byte [r10], r12b
inc r10
cmp r9, 4
jne 0x140001c44
add r8, 4
inc r11
cmp rdi, r8
jne 0x140001c32
add rdx, 4
cmp rdx, 0x10
jne 0x140001c2b
movaps xmm0, xmmword [rsp]
movups xmmword [rax], xmm0
add rsp, 0x10
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002212
Capabilities:
Encode data using xor
Get memory capacity
Get system information on windows

Disassembly:
push rdi
push rsi
sub rsp, 0xe8
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x90], 1
ja 0x140002237
mov al, 1
jmp 0x140002319
mov dword [rsp + 0xa0], 0x40
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, 0xffffffff
cmp qword [rsp + 0xa8], rax
jbe 0x140002230
lea rax, [rsp + 0x48]
lea rdi, [rsp + 0x48]
mov ecx, 0x26
mov edx, 0x32
lea rsi, [0x1400ec060]
rep movsb byte [rdi], byte [rsi]
mov rsi, rax
xor word [rax], dx
inc edx
add rax, 2
cmp dx, 0x45
jne 0x14000227f
xor r9d, r9d
xor edx, edx
mov r8d, 3
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70000
mov rcx, rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x18
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x54]
imul rax, qword [rsp + 0x48]
mov edx, dword [rsp + 0x58]
imul rax, rdx
mov edx, dword [rsp + 0x5c]
imul rax, rdx
movabs rdx, 0x18ffffffff
cmp rax, rdx
setle al
add rsp, 0xe8
pop rsi
pop rdi
ret