joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140168690
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.14001f940
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x1401686f0
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
cmp qword [rsp + 0x38], 0
je 0x14016876a
mov rcx, qword [0x1402443c8]
xor edx, edx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140168778
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x14016876a
mov rcx, qword [0x1402443c8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
jne 0x140168758
jmp 0x14016876a
Function at 0x140003533
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbp
mov eax, 0x1250
call fcn.140016780
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x11e0], rcx
mov dword [rbp + 0x1b8], 0x1e
mov dword [rbp + 0x1bc], 0
mov dword [rbp - 0x50], 2
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax + 4]
cdqe
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax]
cdqe
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x11e0]
mov edx, dword [rax + 4]
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax]
cmp edx, eax
jle 0x1400035b6
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax + 4]
add eax, 1
mov dword [rbp + 0x11cc], eax
jmp 0x1400035c8
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax]
add eax, 1
mov dword [rbp + 0x11cc], eax
lea rdx, [rbp - 0x50]
mov eax, dword [rbp + 0x11cc]
lea rcx, [rbp + 0x1b8]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov r8d, 0
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_select]
call rax
test eax, eax
jle 0x140003564
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax + 4]
cdqe
lea rdx, [rbp - 0x50]
mov rcx, rax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400036c4
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax + 4]
cdqe
lea rdx, [rbp + 0x1c0]
mov r9d, 0
mov r8d, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x11c8], eax
cmp dword [rbp + 0x11c8], 0
jle 0x14000378a
mov edx, dword [rbp + 0x11c8]
mov rax, qword [rbp + 0x11e0]
lea rcx, [rax + 0x18]
lea rax, [rbp + 0x1c0]
mov r8d, edx
mov rdx, rax
call fcn.140003ee0
mov dword [rbp + 0x11c8], eax
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax]
cdqe
mov ecx, dword [rbp + 0x11c8]
lea rdx, [rbp + 0x1c0]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov dword [rbp + 0x11c8], eax
cmp dword [rbp + 0x11c8], 0
jle 0x14000378d
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax]
cdqe
lea rdx, [rbp - 0x50]
mov rcx, rax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140003564
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax]
cdqe
lea rdx, [rbp + 0x1c0]
mov r9d, 0
mov r8d, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x11c8], eax
cmp dword [rbp + 0x11c8], 0
jle 0x140003790
mov edx, dword [rbp + 0x11c8]
mov rax, qword [rbp + 0x11e0]
lea rcx, [rax + 0x11c]
lea rax, [rbp + 0x1c0]
mov r8d, edx
mov rdx, rax
call fcn.140003ee0
mov dword [rbp + 0x11c8], eax
mov rax, qword [rbp + 0x11e0]
mov eax, dword [rax + 4]
cdqe
mov ecx, dword [rbp + 0x11c8]
lea rdx, [rbp + 0x1c0]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov dword [rbp + 0x11c8], eax
cmp dword [rbp + 0x11c8], 0
jle 0x140003793
jmp 0x140003564
nop
jmp 0x140003794
nop
jmp 0x140003794
nop
jmp 0x140003794
nop
add rsp, 0x1250
pop rbp
ret
Function at 0x140003ee0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push r14
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
mov r9, rcx
mov rbx, rdx
test r8d, r8d
je 0x140003f99
mov esi, dword [rcx + 4]
test esi, esi
je 0x140003f78
movzx esi, byte [rcx + 1]
movzx ecx, byte [rcx]
lea eax, [r8 - 1]
lea r12, [rbx + rax + 1]
nop dword [rax]
lea edi, [rcx + 1]
movzx edx, dil
movzx eax, byte [r9 + rdx + 4]
mov rcx, rdx
lea ebp, [rax + rsi]
movzx r10d, bpl
movzx r14d, byte [r9 + r10 + 4]
mov rsi, r10
mov byte [r9 + rdx + 4], r14b
mov byte [r9 + r10 + 4], al
add al, byte [r9 + rdx + 4]
movzx eax, al
movzx eax, byte [r9 + rax + 4]
xor byte [rbx], al
add rbx, 1
cmp r12, rbx
jne 0x140003f18
mov eax, r8d
mov byte [r9 + 1], bpl
mov byte [r9], dil
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r14
ret
xor eax, eax
mov rcx, rsp
nop dword [rax]
movzx edx, byte [r9 + rax + 8]
mov r11d, eax
mov byte [rcx + rax], dl
add rax, 1
test dl, dl
jne 0x140003f80
test r11d, r11d
jne 0x140003fab
xor eax, eax
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r14
ret
lea rdi, [r9 + 8]
mov rcx, r9
xor eax, eax
mov qword [r9], 0
mov qword [r9 + 0xfc], 0
and rdi, 0xfffffffffffffff8
sub rcx, rdi
add ecx, 0x104
shr ecx, 3
rep stosq qword [rdi], rax
nop dword [rax]
mov byte [r9 + rax + 4], al
add rax, 1
cmp rax, 0x100
jne 0x140003fe0
xor ecx, ecx
xor edi, edi
nop dword [rax]
mov eax, ecx
xor edx, edx
movzx r10d, byte [r9 + rcx + 4]
div r11d
movzx eax, byte [rsp + rdx]
add eax, r10d
add eax, edi
movzx edi, al
movzx eax, al
movzx edx, byte [r9 + rax + 4]
mov byte [r9 + rcx + 4], dl
add rcx, 1
mov byte [r9 + rax + 4], r10b
cmp rcx, 0x100
jne 0x140003ff8
xor ecx, ecx
jmp 0x140003f0c
Function at 0x140007a00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0xb0], xmm8
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xd0], xmm10
movaps xmmword [rsp + 0xe0], xmm11
movdqa xmm9, xmmword [rdx]
movdqa xmm10, xmmword [r8]
mov r13, qword [rsp + 0x160]
mov byte [rsp + 0x80], 0
mov r15, rcx
mov r14d, r9d
call fcn.14001c400
test eax, eax
jne 0x140007c48
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm10
movdqa xmm6, xmm9
lea rbx, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
movaps xmmword [rsp + 0x30], xmm9
mov r8, rbx
call fcn.140017ad0
movdqa xmm8, xmmword [rsp + 0x50]
movaps xmmword [r13], xmm8
cmp r14d, 1
jle 0x140007beb
movdqa xmm11, xmmword [0x14001e4f0]
mov r12d, 1
lea rbp, [rsp + 0x20]
nop dword [rax]
mov edx, r12d
mov rcx, rdi
add r12d, 1
call fcn.14001af90
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
movdqa xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x20], xmm9
movaps xmmword [rsp + 0x30], xmm1
call fcn.1400167c0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
movdqa xmm7, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm7
call fcn.140017ad0
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
movdqa xmm2, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x20], xmm8
movdqa xmm8, xmm6
movaps xmmword [rsp + 0x30], xmm2
call fcn.1400167c0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
movdqa xmm3, xmmword [rsp + 0x40]
movaps xmmword [r13], xmm3
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
call fcn.140018e80
mov r9, rbp
mov r8, rbx
mov rdx, rsi
movdqa xmm6, xmmword [rsp + 0x50]
mov rcx, rdi
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm7
movdqa xmm0, xmm6
pxor xmm0, xmm11
movaps xmmword [rsp + 0x20], xmm0
call fcn.14000fcb0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
movdqa xmm4, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x40], xmm4
call fcn.140017ad0
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
movdqa xmm5, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm5
movdqa xmm1, xmmword [r13]
movaps xmmword [rsp + 0x20], xmm1
call fcn.1400167c0
movdqa xmm8, xmmword [rsp + 0x40]
movaps xmmword [r13], xmm8
cmp r14d, r12d
jne 0x140007ad0
cmp byte [rsp + 0x80], 0
movaps xmmword [r15], xmm6
jne 0x140007c70
movaps xmm6, xmmword [rsp + 0x90]
mov rax, r15
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x60]
mov byte [rsp + 0x80], 1
call fcn.14001c3c0
xor ecx, ecx
call fcn.14001c4c0
jmp 0x140007a74
lea rcx, [rsp + 0x60]
call fcn.14001c550
jmp 0x140007bf9
Function at 0x1400159d0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 fcn.14001c630
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001c630
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140015a40
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14002d0c4]
mov r12, rcx
test ebx, ebx
jle 0x140015b70
mov rax, qword [0x14002d0c8]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140015a8b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140015b15
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140015a70
mov rcx, r12
call fcn.1400164c0
mov rsi, rax
test rax, rax
je 0x140015b92
mov rax, qword [0x14002d0c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1400165f0
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14002d0c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140015b77
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140015b0e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140015b20
add dword [0x14002d0c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14002d0c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140015b0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400159d0
nop dword [rax]
xor ebx, ebx
jmp 0x140015a98
mov rax, qword [0x14002d0c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400159d0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400159d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140016110
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x14002d120]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14002d100]
test rbx, rbx
je 0x14001616c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140016163
test r12, r12
je 0x140016163
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016148
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400164c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140029460]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400164e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400164e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400164e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140016535
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14001652c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400164e0
add rax, 0x28
cmp rax, r9
jne 0x140016518
xor eax, eax
ret

Function at 0x140016540
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140029460]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140016560
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140016568
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140016560
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1400165f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140029460]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140016610
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140016618
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x1807ff058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1807ff1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1807ff089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807ff06f
add dl, dl
jne 0x1807ff096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807ff0f6
xor eax, eax
add dl, dl
jne 0x1807ff0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807ff1ad
add dl, dl
jne 0x1807ff0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807ff0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807ff0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807ff0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807ff0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807ff07e
mov eax, 1
add dl, dl
jne 0x1807ff106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807ff113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807ff0fb
sub eax, ebx
mov ebx, 1
jne 0x1807ff14c
mov ecx, 1
add dl, dl
jne 0x1807ff12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807ff13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807ff123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807ff07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807ff168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807ff175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807ff15d
cmp eax, 0x7d00
jae 0x1807ff19b
cmp eax, 0x500
jb 0x1807ff196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807ff07e
cmp eax, 0x7f
ja 0x1807ff19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807ff07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807ff1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1807ff07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003960
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400fe080]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400039de
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400039de
nop
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400039da
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400039b0
jmp 0x1400039de
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, dword [0x1400ff588]
je 0x140003ac8
mov rax, qword [0x1400ffcc0]
cmp rax, qword [0x1400ffcc8]
je 0x140003a0a
mov qword [0x1400ffcc8], rax
mov rax, qword [0x1400ffc78]
cmp rax, qword [0x1400ffc80]
je 0x140003a21
mov qword [0x1400ffc80], rax
mov rax, qword [0x1400ffcd8]
cmp rax, qword [0x1400ffce0]
je 0x140003a38
mov qword [0x1400ffce0], rax
mov rax, qword [0x1400ffcf0]
cmp rax, qword [0x1400ffcf8]
je 0x140003a4f
mov qword [0x1400ffcf8], rax
mov rax, qword [0x1400ffc30]
cmp rax, qword [0x1400ffc38]
je 0x140003a66
mov qword [0x1400ffc38], rax
mov rax, qword [0x1400ffc48]
cmp rax, qword [0x1400ffc50]
je 0x140003a7d
mov qword [0x1400ffc50], rax
mov rax, qword [0x1400ffc18]
cmp rax, qword [0x1400ffc20]
je 0x140003a94
mov qword [0x1400ffc20], rax
mov rax, qword [0x1400ffc60]
cmp rax, qword [0x1400ffc68]
je 0x140003aab
mov qword [0x1400ffc68], rax
mov rax, qword [0x1400ffc90]
cmp rax, qword [0x1400ffc98]
je 0x140003ac2
mov qword [0x1400ffc98], rax
mov dword [0x1400ff588], ebx
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400c7c00
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x140003af0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400fe080]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140003ba8
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140003ba8
mov qword [rsp + 0x178], rbx
nop dword [rax]
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140003b8e
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140003b8e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140003b50
mov rbx, qword [rsp + 0x178]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400c7c00
mov rsi, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x140005550
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1400fe080]
xor rax, rsp
mov qword [rbp + 0x47], rax
movdqa xmm0, xmmword [0x1400eabc0]
movdqu xmmword [rbp - 0x11], xmm0
movdqa xmm1, xmmword [0x1400eaaa0]
movdqu xmmword [rbp - 1], xmm1
movdqa xmm0, xmmword [0x1400eaa30]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], 0x17737117
mov word [rbp + 0x23], 0x171
xor eax, eax
mov byte [rbp + 0x25], al
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp - 0x11]
xor byte [rbp + rcx - 0x10], al
inc rcx
cmp rcx, 0x35
jb 0x1400055c0
mov byte [rbp + 0x25], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
lea rax, [rbp - 0x10]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x1400055f1
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x27]
call fcn.140003110
nop
movdqa xmm0, xmmword [0x1400eb3c0]
movdqu xmmword [rbp - 0x49], xmm0
movdqa xmm1, xmmword [0x1400eb240]
movdqu xmmword [rbp - 0x39], xmm1
movdqa xmm0, xmmword [0x1400eb1e0]
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x19], 0x74101274
mov word [rbp - 0x15], 0x6212
xor eax, eax
mov byte [rbp - 0x13], al
movzx eax, byte [rbp - 0x49]
xor byte [rbp + rbx - 0x48], al
inc rbx
cmp rbx, 0x35
jb 0x140005641
mov byte [rbp - 0x13], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lea rax, [rbp - 0x48]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140005670
mov r8, rdi
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x11]
call fcn.140003110
nop
cmp byte [0x1400ff58e], 0
je 0x1400056c5
lea r8, [0x1400ffcc0]
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x27]
call fcn.1400045c0
mov byte [0x1400ff58d], 0
mov byte [0x1400ff599], 0
mov byte [0x1400ff59f], 0
mov byte [0x1400ff570], 0
jmp 0x1400056d6
lea rdx, [rbp + 0x27]
lea rcx, [0x1400ffcc0]
call fcn.140004e40
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x140005715
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000570f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000570f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7c28
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x140005753
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000574e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000574e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7c28
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400c7c00
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret