joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009d360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14009d3ea
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14009d3e0
cmp r10, r11
jb 0x14009d466
cmp r10, rdx
ja 0x14009d478
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14009d3e2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14009d3c0
jmp 0x14009d447
ja 0x14009d3ea
mov r11, r10
cmp rax, r8
jne 0x14009d387
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14009d44b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14009d420
mov r8, r10
sub ecx, r9d
jns 0x14009d43e
jmp 0x14009d44d
cmp r10, rdx
je 0x14009d45a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14009d44d
xor al, 1
cmp r8, rdx
jne 0x14009d400
jmp 0x14009d44d
xor eax, eax
jmp 0x14009d44d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x1406779c8]
call sym.core::option::unwrap_failed::h38ae581b954ce070
lea r8, [0x1406779e0]
mov rcx, r11
mov rdx, r10
call sym.core::slice::index::slice_index_order_fail::h786748ba81f41b02
lea r8, [0x1406779e0]
mov rcx, r10
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
int3
Function at 0x1400a3cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movzx eax, byte [rcx]
mov ecx, dword [rdx + 0x34]
test cl, 0x10
jne 0x1400a3d22
test cl, 0x20
jne 0x1400a3d64
mov r8d, eax
sar r8b, 7
mov ecx, eax
xor cl, r8b
sub cl, r8b
cmp cl, 0x64
jb 0x1400a3dd5
add cl, cl
add cl, 0x38
movzx ecx, cl
lea r8, [0x140676d96]
movzx ecx, word [rcx + r8]
mov word [rbp - 0x23], cx
mov r8d, 0x24
mov cl, 1
jmp 0x1400a3de0
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax + rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x57]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x1400a3d30
jmp 0x1400a3da2
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x37]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x1400a3d70
mov ecx, pe_nt_image_headers64
sub rcx, r8
cmp rcx, 0x81
jae 0x1400a3e41
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
lea r8, [0x140676d92]
mov r9d, 2
mov rcx, rdx
mov dl, 1
jmp 0x1400a3e31
mov r8d, 0x26
cmp cl, 0xa
jae 0x1400a3dea
or cl, 0x30
mov byte [rbp + r8 - 0x48], cl
jmp 0x1400a3e03
movzx ecx, cl
lea r8, [0x140676d96]
movzx ecx, word [r8 + rcx*2]
mov word [rbp - 0x23], cx
mov r8d, 0x25
lea rcx, [r8 + rbp]
add rcx, 0xffffffffffffffb8
mov r9d, 0x27
sub r9, r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rcx
not al
shr al, 7
mov r8d, 1
mov rcx, rdx
mov edx, eax
xor r9d, r9d
call sym.core::fmt::Formatter::pad_integral::h9400909576b89ecc
nop
add rsp, 0xb8
pop rsi
pop rbp
ret
lea r8, str.librarycore_src_fmt_num.rs
mov edx, pe_nt_image_headers64
call sym.core::slice::index::slice_start_index_len_fail::h8d3d56967d6340e8
int3
Function at 0x1400aaa70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400aaae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140696204]
mov rbx, rcx
test esi, esi
jle 0x1400aac10
mov rax, qword [0x140696208]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400aab2b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400aabb5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400aab10
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400aac32
mov rax, qword [0x140696208]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140696208]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400aac17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400aabae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400aabc0
add dword [0x140696204], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140696208]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400aabae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400aab38
mov rax, qword [0x140696208]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400ab1c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140696260]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140696240]
test rbx, rbx
je 0x1400ab21c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400ab213
test eax, eax
jne 0x1400ab213
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400ab1f8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400ab430
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400ab448
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400ab450
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400ab460
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400ab4ad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400ab4a4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400ab4af
add rax, 0x28
cmp rax, r9
jne 0x1400ab490
xor eax, eax
ret

Function at 0x1400ab4b0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400ab540
mov rdx, qword [0x140682ae0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400ab52e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400ab52e
cmp word [rax + 0x18], 0x20b
jne 0x1400ab52e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400ab540
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400ab519
add rbx, 0x28
cmp rbx, rdi
je 0x1400ab540
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400ab510
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400ab550
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140682ae0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400ab570
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400ab578
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400ab570
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400ab5cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400ab5c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400ab570
add rax, 0x28
cmp rax, r9
jne 0x1400ab5b0
xor eax, eax
ret

Function at 0x1400ab5d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140682ae0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400ab5ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400ab5f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400ab5ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400ab610
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140682ae0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400ab630
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400ab638
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400ab630
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400ab680
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400ab677
test rcx, rcx
je 0x1400ab630
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400ab668
xor eax, eax
ret

Function at 0x1400ab690
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140682ae0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400ab6af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400ab6b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400ab6d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140682ae0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400ab6f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400ab6f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400ab6f0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400ab6f0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400ab744
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400ab750
add rdx, 0x28
cmp rdx, r9
jne 0x1400ab730
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400ab760
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140682ae0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400ab782
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400ab790
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400ab782
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400ab782
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400ab782
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400ab7e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400ab7f8
add rdx, 0x28
cmp r10, rdx
jne 0x1400ab7d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400ab807
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400ab817
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400ab7ee
test ecx, ecx
jg 0x1400ab800
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14080b0c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14080b0cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14080b0dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14080b0c5
lea eax, [rcx + 1]
jmp 0x14080b0eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14080b0fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14080b0e4
sub eax, 3
jb 0x14080b11e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14080b16d
sar eax, 1
movsxd rbp, eax
jb 0x14080b154
jmp 0x14080b12c
add ebx, ebx
jne 0x14080b12a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14080b154
inc ecx
add ebx, ebx
jne 0x14080b13a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14080b154
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14080b14d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14080b13c
add ecx, 2
jmp 0x14080b159
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14080b082
jmp 0x14080b0cd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x808000]
mov eax, dword [rdi]
or eax, eax
je 0x14080b1cd
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x824d24]
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 0x14080b17d
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 0x14080b1c7
mov qword [rbx], rax
add rbx, 8
jmp 0x14080b19d
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 0x14080b211
cmp al, 0xef
ja 0x14080b1f9
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14080b1d9
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14080b1e8
mov eax, dword [rdi]
add rdi, 4
jmp 0x14080b1e8
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 + 0x23f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14080b265
sub rsp, 0xffffffffffffff80
jmp 0x14007caa4
Function at 0x14007aa20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov eax, 0x52e4fa74
mov dword [rsp + 0x78], 0x840152
mov word [rsp + 0x6c], 0x2ab0
mov qword [rsp + 0x60], 0x6a769e9a
mov dword [rsp + 0x5c], 0x52e4fa74
mov r9d, dword [rsp + 0x78]
imul r10d, r9d, 0x508bb3c6
mov dword [rsp + 0x78], r10d
mov r11w, word [rsp + 0x6c]
mov si, r11w
and si, 0x993
mov word [rsp + 0x6e], si
mov si, r11w
add si, 0xfca2
mov rdi, qword [rsp + 0x70]
mov rbx, rdi
xor rbx, 0x30b84f19
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x4e], si
mov r10d, dword [rsp + 0x5c]
mov si, r11w
xor si, 0xffff
mov word [rsp + 0x6e], si
sub eax, r10d
cmp r8d, eax
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x1c], r8d
mov qword [rsp + 0x10], rcx
mov qword [rsp + 8], rdi
mov dword [rsp + 4], r9d
mov word [rsp + 2], r11w
je 0x14007acb4
jmp 0x14007ac77
lea rax, [0x140088fe2]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x60]
add rcx, 0xffffffffbece9712
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x60]
add r8, 0xffffffffd67e906f
xor rdx, 0x6a09c784
mov dword [rsp + 0x78], 0x11564423
mov r9w, word [rsp + 0x4e]
mov r10, qword [rsp + 0x60]
mov word [rsp + 0x6e], 0x9df3
xor r10, 0x6a769e95
mov r11d, dword [rsp + 4]
mov dword [rsp + 0x78], r11d
mov word [rsp + 0x36], r9w
xor r11d, 0x2532f2fe
mov rsi, qword [rsp + 0x38]
mov dword [rsp + 0x78], r11d
and rsi, r10
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 8]
xor rcx, 0x1787917f
mov qword [rsp + 0x70], rcx
mov r9w, word [rsp + 2]
sub r9w, r9w
mov rcx, qword [rsp + 0x28]
mov word [rsp + 0x6e], r9w
mov bl, byte [rsp + 0x7f]
xor bl, 0xff
mov byte [rsp + 0x7f], bl
mov bl, byte [rax + rsi]
mov byte [rsp + 0x5b], bl
mov qword [rsp + 0x70], 0x763bfb1
mov qword [rsp + 0x50], r8
cmp rdx, rcx
je 0x14007aad8
jmp 0x14007ac4a
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov dl, byte [rcx + rax]
mov r8b, byte [rsp + 0x5b]
mov rax, qword [rsp + 0x60]
xor rax, 0x6a769e9b
mov word [rsp + 0x6e], 0x2074
mov r9, qword [rsp + 0x38]
sub dl, r8b
mov r10w, word [rsp + 2]
and r10w, 0x4baa
mov word [rsp + 0x6e], r10w
mov r11, qword [rsp + 0x10]
mov byte [r11 + r9], dl
mov r9, qword [rsp + 8]
xor r9, 0x3c35a189
mov qword [rsp + 0x70], r9
add rax, qword [rsp + 0x38]
mov dword [rsp + 0x78], 0x8b627bb0
mov r9, qword [rsp + 0x40]
mov dl, byte [rsp + 0x7f]
or dl, byte [rsp + 0x7f]
mov byte [rsp + 0x7f], dl
mov r10w, word [rsp + 2]
add r10w, 0xd46b
mov word [rsp + 0x6e], r10w
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x78], 0x1ce96fa5
cmp rax, r9
je 0x14007acb4
jmp 0x14007aad8
mov ax, word [rsp + 2]
or ax, 0xe359
mov cx, word [rsp + 0x6c]
add cx, 0xcfd0
mov word [rsp + 0x6e], ax
mov ax, word [rsp + 0x36]
mov word [rsp + 0x6e], 0x5175
cmp cx, ax
ja 0x14007abab
mov rax, qword [rsp + 0x60]
add rax, 0xffffffff95896166
mov ecx, dword [rsp + 4]
imul edx, ecx, 0x7cb77c2a
mov r8d, dword [rsp + 0x1c]
mov r9d, r8d
mov r10d, r9d
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x40], r10
mov r10, qword [rsp + 8]
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x50], rax
jmp 0x14007aad8
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400046a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [section..rdata]
test rax, rax
je 0x1400046ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400046ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400046ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400046ea
cmp dword [rcx + 0x84], 0xe
jbe 0x1400046ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400046ec
xor al, al
add rsp, 0x28
ret
Function at 0x140032520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call fcn.14001d0e4
jmp fcn.1400d378a
Function at 0x1400d378a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbp
sar r10w, 0xa2
push rdi
sub rsp, 0x30
mov r10b, r10b
mov r10d, r9d
xadd dil, bpl
shr r11d, 0x84
test r12w, 0x8e30
mov r11, r8
rcr bp, cl
movsx edi, bp
shl dil, cl
mov rbp, rdx
mov rdi, rcx
test di, 0x8924
clc
test r9d, r9d
jmp 0x1400d37cd
jne 0x1400d3990
mov rax, qword [rsp + 0x70]
test r9b, dl
movzx rdx, si
xor cl, r12b
mov qword [rsp + 0x48], rsi
mov rsi, qword [rsp + 0x60]
sal r9b, cl
rol cx, 0xba
mov qword [rsp + 0x28], rax
cqo
mov rax, qword [rsp + 0x68]
mov r9, rsi
btr ecx, 0x24
sub r8d, r8d
movsxd rdx, esp
movsx cx, r10b
setns ch
mov rdx, r11
movsxd rcx, r8d
setge ch
jmp 0x1400d3822
mov rcx, rbp
jmp 0x1400d384c
mov qword [rsp + 0x20], rax
jmp 0x1400d3856
mov qword [rsp + 0x50], r12
call qword [rdi + 0xa8]
mov r12d, eax
test eax, eax
jmp 0x1400d386b
js 0x1400d3951
mov qword [rsp + 0x40], rbx
jmp 0x1400d3882
mov rbx, qword [rdi + 0x10]
mov rcx, rbx
jmp 0x1400d388e
call qword [0x140040110]
mov rdx, qword [rdi + 0x10]
adc r9b, 0x2e
test r8b, 0xb5
sub r8d, r8d
and r9d, 0xfd9dfbbe
mov r9, qword [rdx + 0x38]
cmp r12d, esi
jmp 0x1400d38bb
test r9, r9
je 0x1400d393f
mov rdx, qword [rdx + 0x28]
movsx rcx, r14w
mov rcx, qword [rdx]
clc
cmp dword [rcx + 0x10], 2
jmp 0x1400d38d9
jne 0x1400d38fb
cmp qword [rcx + 8], rbp
jne 0x1400d38fb
mov rax, qword [rsi + 8]
cmp qword [rcx], rax
jmp 0x1400d38f5
je 0x1400d391d
inc r8
stc
add rdx, 8
clc
cmp r9w, 0xea24
cmp r8, r9
jmp 0x1400d3912
jb 0x1400d38cc
jmp 0x1400d393f
bt dword [rcx + 0x20], 0x18
jmp 0x1400d3927
jae 0x1400d393f
mov dword [rsi + 0x28], 0x1000000
mov ch, 0xba
cmovl cx, cx
movzx rcx, r14w
mov rcx, rbx
call qword [fcn.140040118]
mov rbx, qword [rsp + 0x40]
ror sil, 0x34
mov rsi, qword [rsp + 0x48]
test rsi, rbp
and al, r11b
mov eax, r12d
bswap rdi
sub r12b, 0xa0
rcl r12b, cl
mov r12, qword [rsp + 0x50]
sal dil, cl
mov rbp, qword [rsp + 0x58]
add dil, 0xbf
add rsp, 0x30
movsx rdi, dx
movzx edi, dx
setle dil
pop rdi
jmp 0x1400d398f
ret
mov rax, qword [rsp + 0x70]
mov r8b, al
mov r9, qword [rsp + 0x60]
sets dl
mov r8d, r10d
mov qword [rsp + 0x28], rax
xchg rcx, rax
mov rax, qword [rsp + 0x68]
xchg edx, edx
movzx ecx, dx
mov rdx, r11
mov rcx, rbp
mov qword [rsp + 0x20], rax
jmp 0x1400d39c4
call qword [rdi + 0xa8]
mov rbp, qword [rsp + 0x58]
xchg dil, dil
bts di, sp
add rsp, 0x30
cmovns di, r11w
pop rdi
jmp 0x1400d39e5
ret
Function at 0x140003b60
Capabilities:
Modify service

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x60
mov ebx, edx
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x140003d0a
lea rdx, [0x140046298]
mov r8d, 2
mov rcx, rax
mov qword [rsp + 0x80], rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x140003cf9
test ebx, ebx
je 0x140003c13
dec ebx
je 0x140003bc1
dec ebx
jne 0x140003cf0
xor eax, eax
or r9d, 0xffffffff
lea rcx, str.LocalSystem
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
lea rcx, str.SENS
or r8d, r9d
or edx, r9d
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rcx, str.ProfSvc_Group
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x140003cd6
mov qword [rsp + 0x88], r14
lea r14, [rdi + 0xaa8]
mov r8d, 0x400
mov rdx, r14
mov ecx, 0x66
call fcn.140002f60
lea rbx, [rdi + 0x2a8]
mov r8d, 0x400
mov rdx, rbx
mov ecx, 0x65
call fcn.140002f60
lea r8, [rsp + 0x90]
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x90], rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x140003c87
lea r8, str.Failed_to_change_the_description_of_service
lea rdx, [0x14002e8a0]
mov rcx, rdi
call fcn.140005ac0
xor eax, eax
mov qword [rsp + 0x50], r14
lea rcx, str.SENS
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rcx, str.ProfSvc_Group
or r9d, 0xffffffff
mov qword [rsp + 0x28], rcx
lea r8d, [rax + 2]
mov rcx, rsi
or edx, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov r14, qword [rsp + 0x88]
test eax, eax
jne 0x140003cf0
lea r8, str.Failed_to_change_the_service_config
lea rdx, [0x14002e8a0]
mov rcx, rdi
call fcn.140005ac0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x80]
xor eax, eax
add rsp, 0x60
pop rdi
pop rbp
pop rbx
ret

Function at 0x140004520
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000454e
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400072c0
cmp byte [0x1400461c0], 0
jne 0x140004599
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004589
lea rdx, [0x14002e008]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1400461c0], 1
mov qword [0x1400461b8], rax
jmp 0x1400045a0
mov rax, qword [0x1400461b8]
mov byte [0x1400461c0], 1
jmp 0x1400045a0
mov rax, qword [0x1400461b8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400045bf
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]