joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400097a0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400097c0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140009808
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400097b4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400097f5

Function at 0x140009830
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x140021960]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400098e8
mov rdx, qword [0x1400218a0]
lea rcx, [0x1400218a0]
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400098b8
cmp rdx, rcx
jne 0x14000989a
mov qword [rdx], rax
cmp rax, rcx
je 0x14000989f
nop dword [rax]
test rax, rax
je 0x1400098ca
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x140009888
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x1400098ca
mov rdx, rax
jmp 0x140009896
lea rcx, [0x1400219a0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140009906
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x1400098ca
Function at 0x140003504
Capabilities:
Get common file path

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
mov rbp, rdx
mov rdi, rcx
call fcn.14008f940
xor r14d, r14d
test eax, eax
je 0x140003547
cmp qword [rdi - 0x10], r14
jbe 0x14000353f
lea rbx, [rdi + 0x18]
add rbx, qword [rdi - 0x18]
jmp 0x140003542
mov rbx, r14
mov rbx, qword [rbx]
jmp 0x14000354a
mov rbx, r14
test rdi, rdi
jne 0x140003554
mov rax, r14
jmp 0x140003561
mov edx, 0xfffc
mov rcx, rdi
call fcn.1401ca9a8
test rbx, rbx
je 0x1400035f5
cmp dword [rbx + 0x50], r14d
je 0x1400035f5
lea r8, [0x1402509c4]
mov rdx, rax
mov rcx, rdi
call fcn.1400974ac
lea rsi, [0x1402c5b20]
mov ecx, 0x8000
mov rdx, rsi
lea ebx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov qword [rsp + 0x38], r14
mov r8, rsi
mov qword [rsp + 0x30], r14
mov r9d, eax
lea r14, [0x1402c3b20]
mov dword [rsp + 0x28], 0x1000
xor edx, edx
mov qword [rsp + 0x20], r14
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rax, ebx
lea r8, [0x1402509c8]
add rax, rdi
mov ebx, 0x10000
mov edx, ebx
mov qword [rsp + 0x20], rax
mov r9, r14
mov rcx, rsi
call fcn.140001138
jmp 0x140003615
mov ebx, 0x10000
lea rsi, [0x1402c5b20]
mov edx, ebx
lea r8, [0x1402501fc]
mov rcx, rsi
mov r9, rdi
call fcn.140001138
mov rdx, rbx
mov rcx, rsi
call fcn.1401ca9a8
cmp byte [rbp], 0x2e
mov rdx, rax
mov rcx, rsi
jne 0x14000363a
lea r8, [0x1402509d0]
call fcn.1400974ac
jmp 0x140003648
lea r8, [0x1402509c4]
call fcn.1400974ac
inc eax
movsxd rcx, eax
lea r8, [0x1402501fc]
sub rbx, rcx
mov r9, rbp
mov rdx, rbx
add rcx, rsi
call fcn.140001138
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140007cc8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x30
and qword [rbp + 0x38], 0
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x140007cef
and qword [rdx], 0
mov r8, qword [rcx + 0x38]
lea r12, [0x1402c1b20]
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140250bfc]
mov rdx, r12
lea rcx, [rbp + 0x38]
call fcn.1401c9210
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140007ebe
mov edx, 0xfffffff0
lea r8d, [rdx + 0x12]
call fcn.1401c9b7c
mov r9, qword [rbp + 0x38]
lea rcx, [0x1402c4b20]
mov r8d, reloc.WS2_32.dll_recv
lea r15d, [r8 - 0xf]
mov edx, r15d
call fcn.1401caf74
mov rax, qword [0x1402c4b20]
cmp rax, qword [0x1402bdb30]
jne 0x140007eb5
mov rax, qword [0x1402c4b28]
cmp rax, qword [0x1402bdb38]
jne 0x140007eb5
mov rcx, qword [rbp + 0x38]
lea edx, [r15 - 0x15]
mov r8d, r15d
call fcn.1401c9b7c
mov r9, qword [rbp + 0x38]
lea r8d, [r15 + 3]
mov edx, r15d
lea rcx, [rbp + 0x30]
call fcn.1401caf74
cmp rax, 4
jne 0x140007eb5
mov ecx, dword [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x38]
lea edx, [r15 - 5]
sub edx, eax
mov dword [rbp + 0x30], eax
mov r8d, r15d
call fcn.1401c9b7c
movsxd rdx, dword [rbp + 0x30]
mov eax, 0xffffffff
mov rcx, rdx
cmp rdx, rax
jae 0x140007e05
cmp rax, rdx
je 0x140007e05
mov eax, 0xffffffe7
cmp rdx, rax
jae 0x140007e05
add rcx, 0x18
call fcn.1401cb03c
mov edx, dword [rbp + 0x30]
jmp 0x140007e07
xor eax, eax
movsxd rdx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call fcn.14008f710
mov rdi, rax
test rbx, rbx
je 0x140007e23
mov qword [rbx], rax
movsxd r8, dword [rbp + 0x30]
mov rdx, r15
mov r9, qword [rbp + 0x38]
mov rcx, rdi
call fcn.1401caf74
movsxd rcx, dword [rbp + 0x30]
cmp rax, rcx
jne 0x140007eb5
test rbx, rbx
jne 0x140007eb5
mov rcx, qword [rsi + 0x38]
lea rdx, str..msh
and qword [rbp + 0x40], rbx
call fcn.140003504
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
mov r8, rax
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140252018]
mov rdx, r12
lea rcx, [rbp + 0x40]
call fcn.1401c9210
mov r9, qword [rbp + 0x40]
test r9, r9
je 0x140007ead
movsxd r8, dword [rbp + 0x30]
mov rdx, r15
mov rcx, rdi
call fcn.1401ca844
mov rcx, qword [rbp + 0x40]
call fcn.1401c97c0
mov rcx, rdi
call fcn.14008f7f8
mov rcx, qword [rbp + 0x38]
call fcn.1401c97c0
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008074
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1402bcf00]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edi, ecx
xor r9d, r9d
mov ecx, 0xbe0
xor r8d, r8d
xor edx, edx
call fcn.14008f9f4
xor edx, edx
lea rcx, str.Shcore.dll
mov r8d, 0x800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x1400080f0
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x78], rax
test rax, rax
jne 0x1400080f0
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [rbx + 0x70], 0
mov ecx, 0x18
mov dword [rbx + 0x994], 4
call fcn.14008fe48
mov rcx, rax
mov qword [rbx], rax
call fcn.1400984c8
or edi, 0x118
mov qword [rbx + 0x30], rax
xor edx, edx
mov dword [rbx + 0x90], edi
mov r8d, 0x800
lea rcx, str.Ws2_32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
test rax, rax
je 0x14000815c
lea rdx, str.GetHostNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400081a3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
lea rcx, [rbx + 0x94]
mov edx, 0xff
call qword [sym.imp.WS2_32.dll_gethostname]
test rdi, rdi
je 0x14000817c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
movzx edx, byte [rsp + 0x41]
mov ecx, edx
sub ecx, 0x80
je 0x1400081f4
cmp ecx, 0x7f
je 0x1400081eb
mov dword [rbx + 0x9a4], edx
jmp 0x1400081fe
mov edx, 0x104
lea rcx, [rsp + 0x50]
call rax
test eax, eax
jne 0x14000816e
and qword [rsp + 0x38], 0
lea rax, [rbx + 0x94]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
mov dword [rsp + 0x28], 0xff
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x14000816e
and dword [rbx + 0x9a4], 0
jmp 0x1400081fe
mov dword [rbx + 0x9a4], 3
mov rax, qword [rbx]
mov edx, reloc.WS2_32.dll_recv
test rax, rax
lea rcx, [rax + 0x9a8]
mov rax, rbx
cmove rcx, rdx
mov qword [rcx], rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401c2260
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x14000ca64
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, qword [0x1402c04a8]
xor eax, eax
and dword [rsp + 0x30], 0
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f8a
mov dword [0x1402e5cbc], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f03
mov dword [0x1402e5ca4], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f89
mov dword [0x1402e5cac], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f8b
mov dword [0x1402e5d30], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f01
mov dword [0x1402e5c98], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f88
mov dword [0x1402e5cb0], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f86
mov dword [0x1402e5cb8], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f83
mov dword [0x1402e5cc0], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f85
mov dword [0x1402e5ca8], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f82
mov dword [0x1402e5ca0], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f84
mov dword [0x1402e5d34], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f04
mov dword [0x1402e5c9c], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
mov edx, 0x7f02
mov dword [0x1402e5cb4], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000c4ac
lea rcx, [rsp + 0x30]
mov dword [0x1402e5cc4], eax
mov dword [rsp + 0x30], 0x18
call qword [sym.imp.USER32.dll_GetCursorInfo]
mov rcx, qword [rsp + 0x38]
call fcn.14000c4ac
mov ecx, eax
call fcn.14000c3e4
mov ecx, 0x1d
mov dword [reloc.WS2_32.dll_connect], eax
call fcn.1401cb03c
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 5]
call fcn.14008f710
mov ecx, 0x58
mov rbx, rax
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 5
mov word [rbx], ax
call qword [sym.imp.WS2_32.dll_htons]
mov dl, byte [reloc.WS2_32.dll_connect]
xor r8d, r8d
mov byte [rbx + 4], dl
mov rcx, rdi
mov rdx, rbx
mov word [rbx + 2], ax
call fcn.1400968fc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenThread]
and qword [rsp + 0x28], 0
lea r8, [0x14000c930]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov qword [0x1402c0478], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x60]
mov qword [0x1402c0498], rax
add rsp, 0x50
pop rdi
ret
Function at 0x14000df5c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [0x1402c0870], 0
mov rbp, r9
mov ebx, edx
mov rdi, rcx
je 0x14000dfd9
cmp edx, 2
jl 0x14000dfc3
movzx ecx, word [rcx]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0xa
jne 0x14000dfc3
and qword [rsp + 0x28], 0
lea r8, [0x14000d060]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14000dfc3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1402c0870]
mov r8d, ebx
mov rdx, rdi
call fcn.14009a07c
mov eax, ebx
jmp 0x14000dffe
xor esi, esi
jmp 0x14000dfec
add esi, eax
mov edx, ebx
sub edx, esi
movsxd rcx, esi
add rcx, rdi
mov r9, rbp
lea r8, [0x1400018d4]
call fcn.14000d6fc
test eax, eax
jne 0x14000dfdd
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000e29c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x7580
call fcn.1401c27d0
sub rsp, rax
mov rax, qword [0x1402bcf00]
xor rax, rsp
mov qword [rsp + 0x7570], rax
mov rsi, qword [rcx]
xor r15d, r15d
mov rbp, qword [rcx + 8]
mov edi, r15d
mov ebx, r15d
mov dword [rsp + 0x30], r15d
jmp 0x14000e35e
mov rcx, qword [0x1402bdb50]
lea rdx, [rsp + 0x40]
mov r8d, 0x7530
movsxd rax, ebx
sub r8d, ebx
mov qword [rsp + 0x20], r15
add rdx, rax
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000e36d
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14000e36d
cmp dword [0x1402bdb44], r15d
jne 0x14000e36d
add ebx, eax
mov r14d, ebx
jmp 0x14000e32f
add edi, eax
mov edx, ebx
movsxd rax, edi
lea rcx, [rsp + 0x40]
sub edx, edi
add rcx, rax
mov r9, rbp
mov r8, rsi
call fcn.14000d6fc
test eax, eax
jne 0x14000e32d
cmp edi, ebx
mov eax, r15d
cmove ebx, r15d
cmp edi, r14d
cmovne eax, edi
mov edi, eax
cmp dword [0x1402bdb44], r15d
je 0x14000e2e6
jmp 0x14000e377
mov dword [0x1402bdb44], 1
xor eax, eax
mov rcx, qword [rsp + 0x7570]
xor rcx, rsp
call fcn.1401c2260
lea r11, [rsp + 0x7580]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000ef50
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r9
mov r8, rcx
test rdx, rdx
je 0x14000efab
cmp dword [0x1402c04c4], 1
jne 0x14000ef7a
cmp dword [0x1402bdb44], 0
jne 0x14000ef7a
xor eax, eax
jmp 0x14000f02d
mov eax, dword [rsp + 0x60]
lea r9, [0x1400018d4]
and dword [0x1402c04c0], 0
mov dword [0x1402bdb48], eax
mov dword [reloc.WS2_32.dll_accept], 5
mov qword [rsp + 0x60], rdi
add rsp, 0x30
pop rdi
jmp fcn.14000ed48
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0x14]
call fcn.14008f9f4
cmp dword [0x1402c04c4], 1
lea rcx, [0x1400018d4]
mov dword [0x1402c04f0], 1
mov qword [rax], rcx
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
jne 0x14000eff9
cmp dword [0x1402bdb44], 0
jne 0x14000eff9
mov rcx, rax
call fcn.1401ca9a0
jmp 0x14000ef73
and qword [rsp + 0x28], 0
lea r8, [fcn.14000eb4c]
and dword [rsp + 0x20], 0
mov r9, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov qword [0x1402c0500], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x14000f034
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1402c0870]
mov dword [0x1402bdb44], 1
test rbx, rbx
je 0x14000f073
mov rcx, rbx
call fcn.14008f940
test eax, eax
je 0x14000f06b
mov rcx, qword [rbx + 0x50]
mov edx, 0x42b
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
and qword [0x1402c0870], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14000f21c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r15
mov r10d, dword [0x1402c0514]
mov ebp, edx
mov r11d, dword [0x1402c04fc]
mov eax, r10d
cdq
xor r13d, r13d
idiv r11d
mov r15, r8
mov r12d, ecx
mov r9d, r13d
mov ebx, edx
test edx, edx
je 0x14000f267
mov r8d, r11d
sub r8d, edx
add r8d, r10d
jmp 0x14000f26a
mov r8d, r10d
sub r8d, ebp
sub r8d, dword [0x1402c04d8]
test ebx, ebx
je 0x14000f282
mov eax, r11d
sub eax, ebx
add eax, r10d
jmp 0x14000f285
mov eax, r10d
sub eax, ebp
cmp r8d, eax
jge 0x14000f313
mov eax, dword [0x1402c04c8]
cdq
idiv r11d
test edx, edx
je 0x14000f2ab
mov eax, r11d
sub eax, edx
add eax, dword [0x1402c04c8]
jmp 0x14000f2b1
mov eax, dword [0x1402c04c8]
imul eax, r8d
mov rdi, r13
add eax, r12d
imul eax, dword [0x1402c0524]
movsxd rdx, eax
mov eax, dword [0x1402c0524]
add rdx, r15
imul eax, r11d
movsxd rcx, eax
sar rcx, 2
lea rax, [rdx + rcx*4]
lea rcx, [rcx*4 + 3]
shr rcx, 2
cmp rdx, rax
cmova rcx, r13
test rcx, rcx
je 0x14000f30b
imul r9d, r9d, 0x1000193
inc rdi
xor r9d, dword [rdx]
lea rdx, [rdx + 4]
cmp rdi, rcx
jb 0x14000f2f5
inc r8d
jmp 0x14000f274
mov rbx, qword [rsp + 0x18]
mov eax, r9d
mov rbp, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
pop r15
pop r13
ret
Function at 0x14001099c
Capabilities:
Create thread
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1402bcf00]
xor rax, rsp
mov qword [rbp - 8], rax
xor esi, esi
mov r14d, edx
mov ebx, ecx
test ecx, ecx
jne 0x1400109d3
xor eax, eax
jmp 0x140010b5d
cmp ebx, 6
jne 0x1400109f4
lea ecx, [rbx - 4]
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
lea ecx, [rbx - 2]
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov eax, 1
jmp 0x140010b5d
cmp ebx, 7
jne 0x1400109fe
lea ecx, [rbx - 6]
jmp 0x1400109e4
cmp ebx, 8
jne 0x140010a0e
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x1400109ea
cmp ebx, 9
jne 0x140010a44
mov qword [rsp + 0x28], rsi
lea r8, [0x14000d060]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1400109ea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400109ea
cmp ebx, 5
jg 0x1400109cc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x20]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400109cc
lea r8, [rbp - 0x14]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rbp - 0x20]
lea r8, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rbp - 0x18], 1
mov dword [rbp - 0xc], 2
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140010ac0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400109cc
sub ebx, 1
je 0x140010b0f
sub ebx, 1
je 0x140010af7
sub ebx, 1
je 0x140010aed
sub ebx, 1
je 0x140010ae6
cmp ebx, 1
jne 0x140010b51
xor ecx, ecx
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_SetSystemPowerState]
jmp 0x140010b28
mov ecx, 1
jmp 0x140010adb
mov dword [rsp + 0x20], 1
jmp 0x140010afb
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
lea r9d, [rdx + 1]
lea r8d, [rdx + 0x1e]
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
jmp 0x140010b28
mov edx, 0x80000000
test r14d, r14d
je 0x140010b20
mov ecx, 4
jmp 0x140010b22
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x140010b51
mov rcx, qword [rbp - 0x20]
lea r8, [rbp - 0x18]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0xc], esi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, 1
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401c2260
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x140010b80
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rdx
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareOpen_SourceMeshAgent2
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor ecx, ecx
test eax, eax
jne 0x140010bea
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], cx
jne 0x140010bb0
mov rcx, qword [rsp + 0x40]
lea rdx, str.KeyStore
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x1400588e4
Capabilities:
Get disk information
Get disk size

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1402bcf00]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rax, rdx
lea r9, [rsp + 0x30]
mov rbx, rcx
lea rdx, [rsp + 0x50]
mov rcx, rax
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameA]
test eax, eax
je 0x140058a97
cmp byte [rsp + 0x50], 0
je 0x140058a97
mov rcx, rbx
call fcn.14001cf48
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14001ca68
mov esi, 0xfffffffe
lea r8, str.name
mov edx, esi
mov rcx, rbx
call fcn.14001a150
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea r9, [rsp + 0x40]
mov edi, eax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x1400589f6
mov rcx, qword [rsp + 0x38]
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
test rcx, rcx
jns 0x1400589aa
addsd xmm1, qword [0x14029bf30]
mov rcx, rbx
call fcn.14001c898
lea r8, str.size
mov edx, esi
mov rcx, rbx
call fcn.14001a150
mov rax, qword [rsp + 0x40]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x1400589dd
addsd xmm1, qword [0x14029bf30]
mov rcx, rbx
call fcn.14001c898
lea r8, str.free
mov edx, esi
mov rcx, rbx
call fcn.14001a150
sub edi, 2
je 0x140058a3f
sub edi, 1
je 0x140058a36
sub edi, 1
je 0x140058a2d
sub edi, 1
je 0x140058a24
mov rcx, rbx
cmp edi, 1
je 0x140058a1b
lea rdx, str.UNKNOWN
jmp 0x140058a49
lea rdx, str.RAMDISK
jmp 0x140058a49
lea rdx, str.CDROM
jmp 0x140058a46
lea rdx, str.REMOTE
jmp 0x140058a46
lea rdx, str.FIXED
jmp 0x140058a46
lea rdx, str.REMOVABLE
mov rcx, rbx
call fcn.14001ca68
lea r8, [0x140250188]
mov edx, esi
mov rcx, rbx
call fcn.14001a150
mov r9d, 0x18075380
mov dword [rsp + 0x20], 6
xor r8d, r8d
lea rdx, [0x1400588b4]
mov rcx, rbx
call fcn.14001d190
lea r8, str.toString
mov edx, esi
mov rcx, rbx
call fcn.14001a150
mov eax, 1
jmp 0x140058a99
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401c2260
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret