joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400345f8
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x14000b008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000b008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000b008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000b008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x141f7a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141f7a1df
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 0x141f7a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f7a06f
add dl, dl
jne 0x141f7a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f7a0f6
xor eax, eax
add dl, dl
jne 0x141f7a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f7a1ad
add dl, dl
jne 0x141f7a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f7a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f7a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f7a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141f7a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141f7a07e
mov eax, 1
add dl, dl
jne 0x141f7a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f7a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f7a0fb
sub eax, ebx
mov ebx, 1
jne 0x141f7a14c
mov ecx, 1
add dl, dl
jne 0x141f7a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f7a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f7a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f7a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141f7a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f7a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f7a15d
cmp eax, 0x7d00
jae 0x141f7a19b
cmp eax, 0x500
jb 0x141f7a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f7a07e
cmp eax, 0x7f
ja 0x141f7a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f7a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141f7a1d2
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 0x141f7a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011244
Capabilities:
Terminate process

Disassembly:
jmp 0x140013900
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112d5
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140012270
push rbp
push rsi
push rdi
sub rsp, 0x450
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x1400240f2]
call fcn.1400113ed
lea rax, [rbp + 0x10]
lea rcx, [0x14001ad10]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x215
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x215
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x248], rax
mov r8d, 0x215
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x248]
call fcn.140011203
lea rax, [rbp + 0x264]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x248]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x288], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, str.finished__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ac50]
call fcn.14001137a
mov eax, edi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400111fe
lea rsp, [rbp + 0x420]
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400112df
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c70
xor al, al
jmp 0x140014cf1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c83
xor al, al
jmp 0x140014cf1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014cad
xor al, al
jmp 0x140014cf1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014cc1
xor al, al
jmp 0x140014cf1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014cd3
xor al, al
jmp 0x140014cf1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014cef
xor al, al
jmp 0x140014cf1
mov al, 1
add rsp, 0x38
ret
Function at 0x180001db0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x1800a2088]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov dword [rsp + 0x20], 0x6a09e667
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r8, [r8*8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov qword [rsp + 0x3c], 0x5be0cd19
call fcn.180001e70
mov r9b, 1
lea rcx, [rsp + 0x20]
mov r8b, 0x81
mov rdx, rbx
call fcn.180001b50
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800474a0
add rsp, 0xb0
pop rbx
ret
Function at 0x18001d0e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x48
test ecx, ecx
jle 0x18001d1c4
mov qword [rsp + 0x40], rbx
movsxd rbx, ecx
cmp ecx, 0x64
jle 0x18001d154
imul rax, rbx, 0xfffffffffffffff6
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x58], rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
xor r9d, r9d
lea rdx, [rsp + 0x58]
mov rbx, rax
xor r8d, r8d
xor eax, eax
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rcx, [rsp + 0x68]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x18007658c]
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x60]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x68]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x18001d177
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x180033d10
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x18
mov rax, qword [0x1800a2088]
xor rax, rsp
mov qword [rsp + 8], rax
mov r10, r9
mov r9d, edx
mov r11, rcx
test edx, edx
jne 0x180033d44
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1800474a0
add rsp, 0x18
ret
mov rcx, qword [r8]
mov qword [rsp], rcx
movzx eax, cl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [rsp + 1]
xor edx, eax
movzx eax, byte [rsp + 2]
imul r8d, edx, 0x1000193
xor r8d, eax
movzx eax, byte [rsp + 3]
imul edx, r8d, 0x1000193
xor edx, eax
movzx eax, byte [rsp + 4]
imul r8d, edx, 0x1000193
xor r8d, eax
movzx eax, byte [rsp + 5]
imul edx, r8d, 0x1000193
xor edx, eax
movzx eax, byte [rsp + 6]
imul r8d, edx, 0x1000193
xor r8d, eax
movzx eax, byte [rsp + 7]
imul edx, r8d, 0x1000193
xor edx, eax
imul r8d, edx, 0x1000193
xor edx, edx
mov eax, r8d
div r9d
mov rax, qword [r11 + rdx*8]
lea rdx, [r11 + rdx*8]
test rax, rax
je 0x180033de4
cmp qword [rax + 8], rcx
je 0x180033de4
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x180033dd3
test r10, r10
je 0x180033dec
mov dword [r10], r8d
mov rax, rdx
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1800474a0
add rsp, 0x18
ret

Function at 0x180034550
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x180034686
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov qword [rsp + 0x10], rbp
mov rdi, r8
lea rbp, [0x18007d260]
mov rsi, rdx
mov r11, rcx
xor ebx, ebx
nop dword [rax + rax]
movzx r8d, byte [rbx + rsi]
movzx r10d, byte [r11 + 0x40]
movzx eax, r8b
xor al, byte [r11 + r10]
lea r9, [r11 + r10]
mov byte [r9 + 0x20], al
mov ecx, r8d
mov byte [r9 + 0x10], r8b
movzx eax, byte [r11 + 0x41]
xor rcx, rax
movzx eax, byte [r9 + 0x30]
movzx edx, byte [rcx + rbp]
xor edx, eax
lea eax, [r10 + 1]
and eax, 0xf
mov byte [r9 + 0x30], dl
mov byte [r11 + 0x41], dl
mov byte [r11 + 0x40], al
test al, al
jne 0x18003466a
xor dl, dl
xor r8b, r8b
nop dword [rax]
nop dword [rax + rax]
lea rax, [r11 + 1]
mov r9d, 8
nop word [rax + rax]
movzx ecx, dl
lea rax, [rax + 6]
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 7]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 7], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 6]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 6], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 5]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 5], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 4]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 4], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 3]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 3], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 2]
xor edx, ecx
mov byte [rax - 2], dl
sub r9, 1
jne 0x1800345f0
add dl, r8b
inc r8b
cmp r8b, 0x12
jb 0x1800345e0
inc rbx
cmp rbx, rdi
jb 0x180034580
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
Function at 0x180034690
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, byte [rcx + 0x40]
lea r11, [0x18007d260]
lea r8, [rcx + r9]
movzx eax, dl
mov byte [r8 + 0x10], dl
mov r10, rcx
xor al, byte [r8]
mov byte [r8 + 0x20], al
movzx eax, byte [rcx + 0x41]
movzx edx, dl
xor rdx, rax
movzx eax, byte [r8 + 0x30]
movzx ecx, byte [rdx + r11]
xor ecx, eax
lea eax, [r9 + 1]
and eax, 0xf
mov byte [r8 + 0x30], cl
mov byte [r10 + 0x41], cl
mov byte [r10 + 0x40], al
test al, al
jne 0x180034780
xor dl, dl
xor r8b, r8b
nop word [rax + rax]
lea rax, [r10 + 1]
mov r9d, 8
nop word [rax + rax]
movzx ecx, dl
lea rax, [rax + 6]
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 7]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 7], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 6]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 6], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 5]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 5], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 4]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 4], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 3]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 3], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 2]
xor edx, ecx
mov byte [rax - 2], dl
sub r9, 1
jne 0x180034700
add dl, r8b
inc r8b
cmp r8b, 0x12
jb 0x1800346f0
ret
Function at 0x1800451a0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, eax
test eax, eax
jne 0x1800451be
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
xor edx, edx
cmp rcx, rbx
cmovb ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14077f6e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14077f6f0]
mov dword [rax], 1
mov rax, qword [0x14077f700]
mov dword [rax], 1
mov rax, qword [0x14077f660]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14077f6d0]
mov dword [0x14078e00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14077f7b0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14077f790]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14077f640]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001f50
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push rsi
sub rsp, 0xa0
mov rsi, r8
mov rax, rcx
mov rcx, qword [0x1400a9008]
movzx ecx, byte [rcx]
cmp cl, 1
jne 0x140001f80
mov rcx, rax
mov r8, rsi
add rsp, 0xa0
pop rsi
jmp sym._ZN71__LT_aes..autodetect..Aes128_u20_as_u20_cipher..block..BlockDecrypt_GT_20decrypt_with_backend5inner17h92db54cefd9256cfE.l
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x20]
mov rdx, rax
call sym.aes::soft::fixslice::aes128_decrypt::h99e63081ab0bfb54
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
add rsp, 0xa0
pop rsi
ret
Function at 0x140002710
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x1400040c0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x38]
mov rdx, r9
call sym.__alloc::string::String_as_winreg::types::ToRegValue_::to_reg_value::h1b878278b62b3f6a
mov rbx, qword [rbx]
add rsi, rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x80], 0
mov dword [rsp + 0x88], 1
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x70]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17hab1517ed41
movzx r9d, byte [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call sub.ADVAPI32.dll_RegSetValueExW
mov ebx, eax
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14000415c
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140004174
mov r8d, 1
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, rbx
shl rcx, 0x20
or rcx, 2
xor eax, eax
test ebx, ebx
cmovne rax, rcx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140005320
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x140005394
movsxd rax, dword [rdx + 0x3c]
test rax, rax
je 0x14000539a
cmp eax, 0x40
jb 0x140005409
cmp rax, r8
ja 0x14000541d
movzx r8d, word [rax + rdx + 0x18]
cmp r8d, 0x10b
je 0x1400053a0
cmp r8d, 0x20b
jne 0x1400053d0
mov r9b, 2
cmp dword [rdx + rax], 0x4550
jne 0x1400053cb
lea r8, [rdx + rax]
movzx r10d, word [r8 + 4]
mov r9b, 3
cmp r10d, 0x8664
jne 0x1400053cb
mov r10d, 1
mov r9b, 4
test byte [r8 + 0x16], 2
je 0x1400053cb
jmp 0x1400053e6
xor eax, eax
mov byte [rcx], al
jmp 0x1400053d3
mov al, 1
mov byte [rcx], al
jmp 0x1400053d3
mov r9b, 2
cmp dword [rdx + rax], 0x4550
jne 0x1400053cb
lea r8, [rdx + rax]
movzx r10d, word [r8 + 4]
mov r9b, 3
cmp r10d, 0x14c
jne 0x1400053cb
mov r9b, 4
test byte [r8 + 0x16], 2
jne 0x1400053e3
mov byte [rcx], r9b
jmp 0x1400053d3
mov byte [rcx], 5
mov qword [rcx + 0x18], 2
mov rax, rcx
add rsp, 0x28
ret
xor r10d, r10d
add rax, 0xffffffffffffffc0
mov qword [rcx], rdx
add rdx, 0x40
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r10
mov qword [rcx + 0x20], r8
mov rax, rcx
add rsp, 0x28
ret
lea r8, [0x14075a8f8]
mov ecx, 0x40
mov rdx, rax
call dbg.slice_index_order_fail
lea r9, [0x14075a8f8]
mov rcx, rax
mov rdx, r8
mov r8, r9
call dbg.slice_end_index_len_fail
int3
Function at 0x140005440
Capabilities:
Parse pe header

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x1400054cc
movsxd rax, dword [rdx + 0x3c]
test rax, rax
je 0x1400054d1
cmp eax, 0x40
jb 0x1400055a6
cmp rax, r8
ja 0x1400055ba
movzx r10d, word [rax + rdx + 0x18]
cmp r10d, 0x20b
je 0x1400054d6
mov r9b, 5
cmp r10d, 0x10b
jne 0x140005500
mov r9b, 2
cmp dword [rdx + rax], 0x4550
jne 0x140005500
lea rsi, [rdx + rax]
movzx r10d, word [rsi + 4]
mov r9b, 3
cmp r10d, 0x14c
jne 0x140005500
mov r9b, 4
test byte [rsi + 0x16], 2
je 0x140005500
lea r9, [rax + 0xf8]
cmp r9, r8
ja 0x1400055cf
lea r10, [rsi + 4]
xor edi, edi
jmp 0x140005532
xor r9d, r9d
jmp 0x140005500
mov r9b, 1
jmp 0x140005500
mov r9b, 2
cmp dword [rdx + rax], 0x4550
jne 0x140005500
lea rsi, [rdx + rax]
movzx r10d, word [rsi + 4]
mov r9b, 3
cmp r10d, 0x8664
jne 0x140005500
mov r9b, 4
test byte [rsi + 0x16], 2
jne 0x140005519
mov byte [rcx], r9b
mov qword [rcx + 0x18], 2
mov rax, rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r9, [rax + 0x108]
cmp r9, r8
ja 0x1400055cf
lea r10, [rsi + 4]
mov edi, 1
mov r11, r8
sub r11, r9
movzx r14d, word [r10 + 2]
lea r10, [r14*8]
lea r10, [r10 + r10*4]
mov rbx, r11
sub rbx, r10
jb 0x1400055e4
add rax, 0xffffffffffffffc0
lea r11, [rdx + 0x40]
add r9, rdx
add r10, r9
mov ebp, r14d
shr ebp, 8
mov qword [rcx], rdx
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], r9
mov byte [rcx + 0x30], r14b
mov dword [rcx + 0x31], ebp
mov byte [rcx + 0x37], 0
mov word [rcx + 0x35], 0
mov qword [rcx + 0x38], r10
mov qword [rcx + 0x40], rbx
mov qword [rcx + 0x48], rdx
mov qword [rcx + 0x50], r8
jmp 0x14000550b
lea r8, [0x14075a8f8]
mov ecx, 0x40
mov rdx, rax
call dbg.slice_index_order_fail
lea r9, [0x14075a8f8]
mov rcx, rax
mov rdx, r8
mov r8, r9
call dbg.slice_end_index_len_fail
lea rax, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemexec_0.2.0_srcpeparserpe.rs
mov rcx, r9
mov rdx, r8
mov r8, rax
call dbg.slice_start_index_len_fail
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemexec_0.2.0_srcpeparser_section.rs
mov rcx, r10
mov rdx, r11
call dbg.slice_start_index_len_fail
int3
Function at 0x140005e20
Capabilities:
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x1060
call dbg.___chkstk_ms
sub rsp, rax
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx]
mov ebx, dword [rdx + 8]
mov r14, qword [rax]
mov dword [rsp + 0x44], 0x800
lea r15, [rsp + 0x60]
mov r8d, 0x1000
mov rcx, r15
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x44]
mov rcx, r14
mov edx, ebx
mov r8, r15
call sub.ADVAPI32.dll_RegEnumKeyExW
test eax, eax
je 0x140005e9d
cmp eax, 0x103
jne 0x140005ed5
movabs rax, 0x8000000000000000
or rax, 1
mov qword [rsi], rax
jmp 0x140005f08
mov r8d, dword [rsp + 0x44]
cmp r8, 0x801
jae 0x140005f1a
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call dbg.from_utf16
mov rcx, qword [rsp + 0x48]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x140005ee9
mov rax, qword [rsp + 0x50]
jmp 0x140005ef3
movabs rcx, 0x8000000000000000
shl rax, 0x20
or rax, 2
jmp 0x140005ef8
movabs rax, 0x900000002
mov rdx, qword [rsp + 0x58]
inc ebx
mov dword [rdi + 8], ebx
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdx
mov rax, rsi
add rsp, 0x1060
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinreg_0.9.0_srclib.rs
mov edx, 0x800
mov rcx, r8
mov r8, rax
call dbg.slice_end_index_len_fail
int3
Function at 0x14000ff20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret