joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007b10
Capabilities:
Enumerate services

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x3178
call fcn.140021bb0
sub rsp, rax
mov qword [rsp + 0x3160], 0xfffffffffffffffe
mov rax, qword [0x14002e260]
xor rax, rsp
mov qword [rsp + 0x3168], rax
lea rax, [rsp + 0x3010]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2fd0
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x3188]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140007d17
mov dword [rsp + 0x3014], 0
jmp 0x140007bac
mov eax, dword [rsp + 0x3014]
add eax, 1
mov dword [rsp + 0x3014], eax
mov eax, dword [rsp + 0x3010]
cmp dword [rsp + 0x3014], eax
jae 0x140007d11
mov edx, dword [rsp + 0x3014]
imul rdx, rdx, 0x30
mov r8d, 0xf01ff
mov rdx, qword [rsp + rdx + 0x40]
mov rcx, qword [rsp + 0x3180]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x3048], rax
cmp qword [rsp + 0x3048], 0
jne 0x140007bfe
xor al, al
jmp 0x140007d19
mov r8d, dword [rsp + 0x3190]
mov rdx, qword [rsp + 0x3048]
mov rcx, qword [rsp + 0x3180]
call fcn.140007b10
mov rcx, qword [rsp + 0x3048]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [rsp + 0x3014]
imul rdx, rdx, 0x30
mov rdx, qword [rsp + rdx + 0x40]
lea rcx, [rsp + 0x3020]
call fcn.140007fb0
nop
cmp qword [rsp + 0x3040], 0x10
jb 0x140007c64
mov rax, qword [rsp + 0x3028]
mov qword [rsp + 0x3108], rax
jmp 0x140007c74
lea rax, [rsp + 0x3028]
mov qword [rsp + 0x3108], rax
lea rax, [rsp + 0x30b0]
mov qword [rsp + 0x30b8], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x3050]
call fcn.140009950
mov rcx, qword [rsp + 0x3108]
call fcn.140015fd0
mov qword [rsp + 0x30e8], rax
mov r8, qword [rsp + 0x30e8]
mov rdx, qword [rsp + 0x3108]
lea rcx, [rsp + 0x3050]
call fcn.14000a980
nop
mov r8d, dword [rsp + 0x3190]
lea rdx, [rsp + 0x3050]
mov rcx, qword [rsp + 0x3180]
call fcn.140007d40
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3050]
call fcn.140009950
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3020]
call fcn.140009950
jmp 0x140007b9b
mov al, 1
jmp 0x140007d19
xor al, al
mov rcx, qword [rsp + 0x3168]
xor rcx, rsp
call fcn.140016780
add rsp, 0x3178
ret
Function at 0x140007d40
Capabilities:
Query service status
Stop service

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov byte [rsp + 0x28], 1
mov rax, qword [rsp + 0x208]
cmp qword [rax + 0x20], 0x10
jb 0x140007d8c
mov rax, qword [rsp + 0x208]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1d8], rax
jmp 0x140007da0
mov rax, qword [rsp + 0x208]
add rax, 8
mov qword [rsp + 0x1d8], rax
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x200]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140007dd0
xor al, al
jmp 0x140007fa4
mov r8, qword [rsp + 0x208]
lea rdx, str.__stopping_service:
lea rcx, [rsp + 0x58]
call fcn.14000d8f0
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov rcx, qword [rsp + 0x1e8]
call fcn.1400019b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.140009950
mov dword [rsp + 0x50], 0
jmp 0x140007e33
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x210]
cmp dword [rsp + 0x50], eax
jae 0x140007f95
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140007e62
mov byte [rsp + 0x28], 0
jmp 0x140007f95
cmp dword [rsp + 0x34], 1
je 0x140007e95
cmp dword [rsp + 0x50], 0
jne 0x140007e93
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140007e93
mov byte [rsp + 0x28], 0
jmp 0x140007f95
jmp 0x140007f12
lea rax, [rsp + 0xf1]
mov qword [rsp + 0xf8], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140009950
lea rcx, str.__stopped
call fcn.140015fd0
mov qword [rsp + 0x128], rax
mov r8, qword [rsp + 0x128]
lea rdx, str.__stopped
lea rcx, [rsp + 0x80]
call fcn.14000a980
nop
lea rcx, [rsp + 0x80]
call fcn.1400019b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x80]
call fcn.140009950
mov byte [rsp + 0x28], 1
jmp 0x140007f95
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x151]
mov qword [rsp + 0x158], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa8]
call fcn.140009950
lea rcx, [0x1400259f0]
call fcn.140015fd0
mov qword [rsp + 0x188], rax
mov r8, qword [rsp + 0x188]
lea rdx, [0x1400259f0]
lea rcx, [rsp + 0xa8]
call fcn.14000a980
nop
lea rcx, [rsp + 0xa8]
call fcn.1400019b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xa8]
call fcn.140009950
jmp 0x140007e28
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [rsp + 0x28]
add rsp, 0x1f8
ret
Function at 0x1400109e0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov qword [rsp + 0x1c0], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x1e0]
call fcn.14000f570
nop
mov rcx, qword [rsp + 0x1e0]
lea rax, vtable.DiasInstall::FirewallPecker_FWAS.0
mov qword [rcx], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x1e0]
add rax, 8
mov qword [rsp + 0x20], rax
lea r9, [0x140026c00]
mov r8d, 1
xor edx, edx
lea rcx, [0x140026bf0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140010b60
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x100], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa8]
call fcn.140009950
lea rcx, str.FirewallPcker_FWAS::FirewallPcker_FWAS__
call fcn.140015fd0
mov qword [rsp + 0x128], rax
mov r8, qword [rsp + 0x128]
lea rdx, str.FirewallPcker_FWAS::FirewallPcker_FWAS__
lea rcx, [rsp + 0xa8]
call fcn.14000a980
nop
lea rax, [rsp + 0x130]
mov qword [rsp + 0x138], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.140009950
lea rcx, str.CoCreateInstance___fail
call fcn.140015fd0
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x160]
lea rdx, str.CoCreateInstance___fail
lea rcx, [rsp + 0xd0]
call fcn.14000a980
nop
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x38]
call fcn.14000eda0
lea rdx, [0x14002c780]
lea rcx, [rsp + 0x38]
call fcn.140017138
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xd0]
call fcn.140009950
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xa8]
call fcn.140009950
nop
mov rax, qword [rsp + 0x1e0]
add rsp, 0x1d8
ret
Function at 0x140019d83
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002e260]
jne 0x14001679a
rol rcx, 0x10
test cx, 0xffff
jne 0x140016796
repz ret
ror rcx, 0x10
jmp 0x140019cdc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14003fc70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14003fd68]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140019d61
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14003fc70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140019d83
mov rax, qword [rsp + 0x88]
mov qword [0x14003fd68], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14003fd08], rax
mov rax, qword [0x14003fd68]
mov qword [0x14003fbe0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14003fcf0], rax
mov dword [0x14003fbd0], 0xc0000409
mov dword [0x14003fbd4], 1
mov rax, qword [0x14002e260]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002e268]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14003fc68], eax
mov ecx, 1
call fcn.14001adc8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140027148]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14003fc68], 0
jne 0x140019e0a
mov ecx, 1
call fcn.14001adc8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14001b388
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14001d528
nop
cmp dword [0x1400401f8], 1
je 0x14001b334
mov dword [0x1400401f4], 1
mov byte [0x1400401f0], r12b
test ebx, ebx
jne 0x14001b320
mov rcx, qword [0x140040c50]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001b30d
mov rcx, qword [0x140040c48]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14001b2ac
call fcn.140017ff4
cmp qword [rdi], rax
jne 0x14001b2ac
jmp 0x14001b292
cmp rdi, rsi
jb 0x14001b30d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140017ff4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140040c50]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140040c48]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001b2eb
cmp r13, rax
je 0x14001b30b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14001b292
lea rdx, [0x1400253b0]
lea rcx, [0x1400253a8]
call fcn.14001b0dc
lea rdx, [0x1400253c0]
lea rcx, [0x1400253b8]
call fcn.14001b0dc
nop
test r12d, r12d
je 0x14001b343
mov ecx, 8
call fcn.14001d428
test r12d, r12d
jne 0x14001b36e
mov dword [0x1400401f8], 1
lea ecx, [r12 + 8]
call fcn.14001d428
mov ecx, r15d
call fcn.14001b070
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001b1fc

Function at 0x14001b394
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001b1fc
Function at 0x14001e98c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140017ff4
xor ebx, ebx
mov rdi, rax
cmp qword [0x140040938], rbx
jne 0x14001ea92
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14001eb67
lea rdx, [0x140028ba0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001eb67
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140040938], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140040940], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140040948], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140040958], rax
test rax, rax
je 0x14001ea89
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140040950], rax
jmp 0x14001ea99
mov rax, qword [0x140040950]
jmp 0x14001eaa0
mov rax, qword [0x140040950]
mov r11, qword [0x140040958]
cmp rax, rdi
je 0x14001eb08
cmp r11, rdi
je 0x14001eb08
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140040958]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14001eb08
test rax, rax
je 0x14001eb08
call rsi
test rax, rax
je 0x14001eb02
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001eb02
test byte [rsp + 0x38], 1
jne 0x14001eb08
bts ebp, 0x15
jmp 0x14001eb46
mov rcx, qword [0x140040940]
cmp rcx, rdi
je 0x14001eb46
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001eb46
call rax
mov rbx, rax
test rax, rax
je 0x14001eb46
mov rcx, qword [0x140040948]
cmp rcx, rdi
je 0x14001eb46
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001eb46
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140040938]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001eb67
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14001eb69
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140044910
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov dword [rsp + 8], 0xffffffff
mov dword [rsp + 0xc], 0
jmp 0x140044942
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x1400449ea
mov eax, dword [rsp + 0xc]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 8]
shr eax, 8
mov dword [rsp + 8], eax
mov dword [rsp + 0x14], 0
jmp 0x140044986
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
jge 0x1400449d5
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x1400449a2
mov dword [rsp + 0x1c], 1
jmp 0x1400449aa
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 0x1c]
mov byte [rsp + 0x18], al
mov eax, dword [rsp + 0x10]
shr eax, 1
mov dword [rsp + 0x10], eax
movzx eax, byte [rsp + 0x18]
test eax, eax
je 0x1400449d3
mov eax, dword [rsp + 0x10]
xor eax, 0xedb88320
mov dword [rsp + 0x10], eax
jmp 0x14004497c
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x140044938
mov eax, dword [rsp + 8]
not eax
add rsp, 0x28
ret
Function at 0x1400011c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14d, [rbp + 4]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x20
mov eax, dword [r15 + rsi]
mov r12d, 0x30
test al, 1
jne 0x140001259
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
lea ecx, [rbp + 1]
lea r8, [rbx + 8]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x140001231
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ecx, 0x10
test al, 2
jne 0x14000127a
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rcx], rbp
mov qword [rsi + rcx + 8], 0xf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rsi + rcx]
mov ebx, r12d
add rbx, rsi
lea r12, str.0123456789ABCDEF
nop dword [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x1400012e5
mov rcx, rbx
call fcn.14000f0e0
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.14000f0e0
mov eax, eax
or rsi, rax
jmp 0x1400012f5
inc rdx
lea rcx, [rsp + 0x28]
call fcn.14000ef30
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000132a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14000131f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001332
mov rcx, rdi
call fcn.14000e860
test r14, r14
jne 0x1400012b0
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000f0e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000f141
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14000f100
mov ecx, dword [r9]
jmp 0x14000f228
cmp ecx, 0x4e0
jb 0x14000f228
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14000f160
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14000f1b0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x14000fdc0
Capabilities:
Parse pe header

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

Disassembly:
xor rdi, rdi
fcmovbe st(0), st(4)
mov r10, rsp
movabs r12, 0x44d86264c40cdcae
and r10w, 0xf9b0
fxsave64 [r10]
mov dil, 0x40
add r10, 8
mov rbx, qword [r10]
dec rdi
xor qword [rbx + rdi*8 + 0x30], r12
test rdi, rdi
jne 0x140004026
push rdx
xchg esp, eax
invalid
Function at 0x14002e0c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14002e13a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14002e130
cmp r10, r11
jb 0x14002e1d3
cmp r10, rdx
ja 0x14002e1e7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14002e132
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14002e110
jmp 0x14002e1a7
ja 0x14002e13a
mov r11, r10
cmp rax, r8
jne 0x14002e0e2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14002e1ab
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14002e180
mov r8, r10
sub ecx, r9d
jns 0x14002e19e
jmp 0x14002e1ad
cmp r10, rdx
je 0x14002e1b9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002e1ad
xor al, 1
cmp r8, rdx
jne 0x14002e160
jmp 0x14002e1ad
xor eax, eax
jmp 0x14002e1ad
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14007d8f0]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140071a80
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140071e60
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140071e50
ud2

Function at 0x140031124
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rsp + 0x20]
and qword [rdi], 0
mov rcx, rdx
xor edx, edx
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rcx, qword [rdi]
test eax, eax
je 0x14003115a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [rsi + 0x18], 2
jmp 0x14003117b
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.140045590
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140031c40
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsi + 0x20]
add rsp, 0x50
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, qword [rcx + 0x50]
test rsi, rsi
je 0x140035ff1
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildErrorkind
lea rsi, [rsp + 0x40]
mov r8d, 0x11
mov rcx, rsi
call fcn.140040240
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140033f3c
cmp qword [rdi + 8], 0
je 0x14003605b
mov r8, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rdi], xmm0
mov rdx, qword [rdi + 8]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.14002e940
mov bl, byte [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rdi
call fcn.1400041c4
test bl, bl
je 0x1400360c5
lea rdx, [0x140083171]
lea rsi, [rsp + 0x40]
mov r8d, 0x11
mov rcx, rsi
call fcn.140040240
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140033f3c
cmp qword [rdi + 8], 0
je 0x1400360ce
mov r8, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rdi], xmm0
mov rdx, qword [rdi + 8]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.14002e940
mov bl, byte [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rdi
call fcn.1400041c4
test bl, bl
jne 0x1400360ce
test rsi, rsi
jne 0x140035fe6
add rsp, 0x70
pop rbx
pop rdi
pop rsi
jmp 0x140031c40