joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004af98
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18004afb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800494c8
or eax, 0xffffffff
jmp 0x18004afba
xor eax, eax
add rsp, 0x28
ret

Function at 0x18004b8ac
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x18004b6cc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18004b6cc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18004b6cc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18004b6cc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18004b6cc
cmp dword [rcx + 0x84], 0xe
jbe 0x18004b6cc
cmp dword [rcx + 0xf8], esi
je 0x18004b6cc
mov ecx, r14d
call fcn.18004b814
mov ecx, 2
call fcn.180055238
nop
cmp byte [0x1800c8b98], 0
jne 0x18004b796
mov r15d, 1
mov eax, r15d
xchg dword [0x1800c8b88], eax
test ebx, ebx
jne 0x18004b73f
mov rdi, qword [0x1800c5010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1800c8b90]
cmp rcx, rax
je 0x18004b736
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [method.Concurrency::details::stl_critical_section_win7.virtual_32]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1800c8cf8]
jmp 0x18004b74b
cmp ebx, r15d
jne 0x18004b751
lea rcx, [0x1800c8d10]
call fcn.1800536e4
nop
test ebx, ebx
jne 0x18004b768
lea rdx, [0x18008dfc0]
lea rcx, [0x18008df90]
call fcn.180053938
lea rdx, [0x18008dfd0]
lea rcx, [0x18008dfc8]
call fcn.180053938
movzx eax, byte [0x1800c8b98]
test esi, esi
cmove eax, r15d
mov byte [0x1800c8b98], al
jmp 0x18004b796
mov ecx, 2
call fcn.18005528c
test esi, esi
jne 0x18004b7ad
mov ecx, r14d
call fcn.18004b7c8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x18004b65c
Function at 0x180060c3c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x180060adc
call fcn.180049538
mov dword [rax], 0x16
call fcn.18004b58c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180060ac4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180060ac4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x180060b0e
lock or dword [rax + 0x14], 0x10
jmp 0x180060ac4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x180060b2b
mov rcx, qword [rbp + 0x10]
call fcn.180064a84
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18005c058
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.180054300
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x180060b82
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x180060ac4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x180060bee
mov rcx, qword [rbp + 0x10]
call fcn.18005c058
cmp eax, 0xffffffff
je 0x180060bd5
mov rcx, qword [rbp + 0x10]
call fcn.18005c058
cmp eax, 0xfffffffe
je 0x180060bd5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18005c058
movsxd rdi, eax
lea rsi, [0x1800c8f40]
mov rcx, rbx
sar rdi, 6
call fcn.18005c058
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x180060bdc
lea rax, [0x1800c53b0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180060bee
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x180060c24
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180060c20
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180060c20
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x180060ac7
jmp 0x180060a94
Function at 0x18006c470
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18006c483
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.18006ca90
lea rdx, [0x1800c0ca8]
lea rcx, [rsp + 0x20]
call fcn.18004252c
int3

Function at 0x1800781f0
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1800c9738]
xor edx, edx
jmp fcn.18006c470

Function at 0x180078b88
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1800c9738]
jmp fcn.18006c470

Function at 0x1800847fc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1800848b8]
mov r9, qword [r9 + 8]
jmp fcn.1800746c4

Function at 0x180084890
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1800848c8]
mov r9, qword [r9 + 8]
jmp fcn.1800746c4
Function at 0x2c9c000
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x2c9c00d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x2c9c01d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x2c9c005
lea eax, [rcx + 1]
jmp 0x2c9c02b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x2c9c03e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x2c9c024
sub eax, 3
jb 0x2c9c05e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x2c9c0ad
sar eax, 1
movsxd rbp, eax
jb 0x2c9c094
jmp 0x2c9c06c
add ebx, ebx
jne 0x2c9c06a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x2c9c094
inc ecx
add ebx, ebx
jne 0x2c9c07a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x2c9c094
call r11
adc ecx, ecx
add ebx, ebx
jne 0x2c9c08d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x2c9c07c
add ecx, 2
jmp 0x2c9c099
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.02c9bfc2
jmp 0x2c9c00d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2872000]
mov eax, dword [rdi]
or eax, eax
je 0x2c9c109
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x289c000]
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 0x2c9c0b9
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 0x2c9c103
mov qword [rbx], rax
add rbx, 8
jmp 0x2c9c0d9
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 0x2c9c14d
cmp al, 0xef
ja 0x2c9c135
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x2c9c115
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x2c9c124
mov eax, dword [rdi]
add rdi, 4
jmp 0x2c9c124
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 + 0x1af]
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 0x2c9c1a1
sub rsp, 0xffffffffffffff80
jmp 0x46cbe0
Function at 0x140004211
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x140032d58]
mov ebx, 0xff
lea rsi, str.C:Userspseud.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.0_src_baseline.rs
cmp r9, 0x40
jb 0x140004341
mov r14d, 4
sub r14, 1
jb 0x140004236
cmp r9, 0xf
jbe 0x14000436e
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.1400041c6
mov r9, rdx
mov ecx, ebp
jmp 0x140004246
xor edx, edx
cmp r9, rdx
je 0x14000435f
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x140004343
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Userspseud.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.0_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.14001f2a0
int3
Function at 0x140006fd0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140007070
jmp 0x14000705f
jae 0x140007130
cmp r8, 0x201
jae 0x140007070
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1400070c8
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14000709f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001e310
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400070f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140007198
mov r8d, r14d
cmp r15, r8
jne 0x140007050
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400071c5
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000705f
jmp 0x140007070
cmp rsi, r8
jb 0x1400071df
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400098c0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140007181
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140004140
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140007169
jmp 0x140007181
lea rcx, str.internal_error:_entered_unreachable_code_rustc_7cf61ebde7b22796c69757901dd346d0fe70bd97library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.14001f200
jmp 0x1400071f4
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001f650
ud2
Function at 0x14000dff0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140038c70]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000e034
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14000e093
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14000e0a2
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14000e0da
cmp eax, 0x103
je 0x14000e0e4
test eax, eax
js 0x14000e0bf
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14000e0da
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400093d0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140005410
mov ecx, 7
int 0x29
ud2
Function at 0x14000e150
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140038c70]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000e194
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000e1fa
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000e231
test eax, eax
js 0x14000e20b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000e224
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400093d0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140005410
mov ecx, 7
int 0x29
ud2
Function at 0x14001c6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001c71a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
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 0x14001c710
cmp r11, r10
ja 0x14001c7a5
cmp r10, rdx
ja 0x14001c7b7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001c712
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001c6f0
jmp 0x14001c787
ja 0x14001c71a
mov r11, r10
cmp rax, r8
jne 0x14001c6c2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001c78b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001c760
mov r8, r10
sub ecx, r9d
jns 0x14001c77e
jmp 0x14001c78d
cmp r10, rdx
je 0x14001c799
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001c78d
xor al, 1
cmp r8, rdx
jne 0x14001c740
jmp 0x14001c78d
xor eax, eax
jmp 0x14001c78d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14001f0a0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001f6d0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001f650
int3

Function at 0x14001dd60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001ddaa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001ddaa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001ddaa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001ddaa
cmp dword [rcx + 0x84], 0xe
jbe 0x14001ddaa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001ddac
xor al, al
add rsp, 0x28
ret
Function at 0x140004470
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400044af
xor al, al
jmp 0x140004589
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x2a0], rbx
mov rcx, rsi
mov dword [rsp + 0x40], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140004576
nop word [rax + rax]
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x6c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140004560
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140004560
mov r9d, 0x104
lea r8, [rsp + 0x170]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x140004557
lea rax, [rsp + 0x170]
mov r8, rdi
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140004553
inc rax
test ecx, ecx
jne 0x140004540
test edx, edx
je 0x1400045aa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400044e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000f230
mov rsi, qword [rsp + 0x2a8]
add rsp, 0x290
pop rdi
ret
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x20]
call fcn.1400041a0
mov rdi, rax
lea rax, [0x140018c70]
cmp rax, rdi
je 0x140004647
mov rdx, qword [0x140018c88]
cmp rdx, 0xf
jbe 0x140004608
mov rcx, qword [0x140018c70]
inc rdx
cmp rdx, 0x1000
jb 0x140004603
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000467b
mov rcx, r8
call fcn.14000f4cc
movdqa xmm0, xmmword [0x140012e50]
movdqu xmmword [0x140018c80], xmm0
mov byte [0x140018c70], 0
movups xmm0, xmmword [rdi]
movups xmmword [0x140018c70], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x140018c80], xmm1
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140004687
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004682
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004682
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f4cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140004581
Function at 0x140004e10
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0x18], 0xf
mov rbx, rdx
mov rdx, rcx
mov dword [rsp + 0x58], 1
mov rdi, rcx
jbe 0x140004e44
mov rdx, qword [rcx]
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140004f0e
cmp qword [rbx + 0x18], 0xf
jbe 0x140004e8b
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140004f05
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Successfully_set_registry_value_for_key:
call fcn.14000cee0
cmp qword [rdi + 0x18], 0xf
mov r8, qword [rdi + 0x10]
jbe 0x140004ee6
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000e670
lea rdx, [0x14000d2b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov al, 1
jmp 0x140004f4c
lea rdx, str.Failed_to_set_registry_value_for_key:
jmp 0x140004f15
lea rdx, str.Failed_to_open_or_create_registry_key:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000cee0
cmp qword [rdi + 0x18], 0xf
mov r8, qword [rdi + 0x10]
jbe 0x140004f2f
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000e670
lea rdx, [0x14000d2b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000f230
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret