joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d260
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42d506
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42d4fa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x005e0311], 0
jne 0x42d2c2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42d30b
xor edx, edx
jmp 0x42d2ee
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041d840
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42d2c6
add rax, 0x1260
call fcn.0042d0e0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42d492
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42d308
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.004123e0
test rax, rax
jne 0x42d362
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42d308
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42d3a5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42d308
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42d4ed
lea r10, [0x005b2770]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42d42b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42d465
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42d308
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42d4e5
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42d308
cmp rbx, 0x200
ja 0x42d4d7
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00423460
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042d0e0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.0045fb40
mov rax, r8
call fcn.0045fac0
mov rax, r8
mov ecx, 0x40
call fcn.0045fae0
mov edx, 0x200
nop
call fcn.0045fb20
nop
mov qword [rsp + 8], rax
call fcn.00461b00
mov rax, qword [rsp + 8]
jmp fcn.0042d260
Function at 0x44e8c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44ea38
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44e8fc
test r8b, r8b
jne 0x44e8fc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44e90f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44e9f8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44e9e6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44e9dc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44e963
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44e9a6
mov eax, 1
cmp rax, rbx
ja 0x44e995
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045fb80
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44e9d4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44e99d
mov r8d, eax
mov eax, r10d
jmp 0x44e968
mov rcx, rbx
call fcn.0045fac0
xor eax, eax
mov rcx, rbx
call fcn.0045fac0
mov eax, r8d
mov rcx, rbx
call fcn.0045fb80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44ea2e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44e9f1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44e915
mov eax, edx
mov rcx, rbx
call fcn.0045fac0
xor eax, eax
mov rcx, rbx
nop dword [rax]
call fcn.0045fac0
nop
int3
Function at 0x456380
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45643b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00456480]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045d2a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d3e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00456380
Function at 0x45f500
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402bcf
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.00409540
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d3e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402ba0
cmp byte [0x005e0310], 0
je 0x45f515
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45c4e0
jmp 0x402ba0

Function at 0x45f520
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 [0x005e05e0]
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 [0x005e0310], 0
je 0x45f555
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005e08a0]
aesenc xmm0, xmmword [0x005e08b0]
aesenc xmm0, xmmword [0x005e08c0]
movq rax, xmm0
ret
jmp 0x409740

Function at 0x45f560
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 [0x005e05e0]
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 [0x005e0310], 0
je 0x45f596
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005e08a0]
aesenc xmm0, xmmword [0x005e08b0]
aesenc xmm0, xmmword [0x005e08c0]
movq rax, xmm0
ret
jmp 0x4097a0

Function at 0x460ee0
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, [0x005e0820]
mov qword [rsp + 8], rdx
lea r8d, [0x005e0328]
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.0045f440
add rsp, 0x30
ret
Function at 0x475b00
Capabilities:
Hash data using fnv

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x475d80
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x475bc3
mov qword [rsp + 0x90], rax
lea rbx, [0x004d2820]
mov rcx, rax
lea rax, [0x0058c300]
call fcn.0046cb60
test cl, cl
jne 0x475ba2
mov rax, qword [rsp + 0x90]
nop dword [rax + rax]
call fcn.004753e0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x38]
lea rbx, [0x004fbf5d]
nop dword [rax]
call fcn.0044ada0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], rbx
call fcn.00475da0
mov rcx, qword [rsp + 0x90]
xor edx, edx
nop
jmp 0x475bea
lea rdx, [0x004d2560]
cmp rax, rdx
jne 0x475bd8
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
call fcn.0045ae80
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rbx, rdx
lea rcx, [0x004c1d00]
call fcn.0040a1a0
inc rdx
cmp rbx, rdx
jle 0x475c3e
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x475be7
lea rax, [0x0058c300]
lea rbx, [0x004d2820]
lea rdi, [0x004d2560]
call fcn.0046ce00
lea rdx, [0x004d2560]
nop word [rax + rax]
cmp rax, rdx
jne 0x475d70
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
lea rcx, [0x004bdaa0]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rcx
lea rax, [0x004c7720]
call fcn.0040cc60
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
test byte [rcx], al
cmp dword [0x005e05b0], 0
jne 0x475c9e
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x475cad
mov rbx, rax
lea rax, [0x004c7720]
call fcn.00411ce0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
xor edi, edi
xor esi, esi
nop dword [rax]
call fcn.00474e40
call fcn.0045af40
mov rsi, qword [rsp + 0x68]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x90]
mov edx, dword [rcx + 0x10]
mov byte [rsp + 0x2f], 0
mov byte [rsp + 0x2f], 0x2a
xor eax, eax
jmp 0x475d04
movzx r8d, byte [rsp + rax + 0x2f]
inc rax
imul edx, edx, 0x1000193
xor edx, r8d
cmp rax, 1
jl 0x475cf2
mov dword [rsi + 0x10], edx
cmp dword [0x005e05b0], 0
jne 0x475d1c
mov qword [rsi + 0x30], rcx
jmp 0x475d25
lea rdi, [rsi + 0x30]
call fcn.0045f720
lea rax, [0x0058c300]
lea rbx, [0x004d2820]
lea rdi, [0x004d2560]
call fcn.0046ce00
lea rdx, [0x004d2560]
cmp rax, rdx
jne 0x475d61
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
nop
ret
mov rbx, rdx
lea rcx, [0x004c1d00]
call fcn.0040a1a0
mov rbx, rdx
lea rcx, [0x004c1d00]
call fcn.0040a1a0
nop
mov qword [rsp + 8], rax
call fcn.0045d3e0
mov rax, qword [rsp + 8]
jmp fcn.00475b00
Function at 0x140001070
Capabilities:
Get system information on windows
Load ntoskrnl
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
mov dword [rsp + 0x28], 0
xor edi, edi
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001109
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x28]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x28]
lea r9, [rsp + 0x28]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400010c0
test eax, eax
jns 0x140001122
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
jmp 0x140001182
xor ebx, ebx
mov qword [rsp + 0x60], rbp
cmp dword [rdi], ebx
jbe 0x14000116a
lea rsi, [rdi + 0x2e]
movzx ecx, word [rsi]
lea rdx, [0x140003330]
add rcx, 0x30
movsxd rax, ebx
imul rbp, rax, 0x128
add rcx, rbp
add rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000120c
inc ebx
add rsi, 0x128
cmp ebx, dword [rdi]
jb 0x140001131
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
mov rbp, qword [rsp + 0x60]
xor edx, edx
lea rcx, [0x140003340]
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rsp + 0x38]
xor r8d, r8d
mov dword [rsp + 0x20], 0xd38b48ff
mov word [rsp + 0x24], 0x8d4c
mov byte [rsp + 0x26], 5
test eax, eax
je 0x140001233
lea r10, [rdi + 4]
mov r11d, eax
nop dword [rax + rax]
xor eax, eax
lea rcx, [rsp + 0x24]
mov r9, r10
lea rdx, [rsp + 0x20]
sub r9, rcx
movzx ecx, byte [r9 + rdx]
cmp byte [rdx], cl
jne 0x14000122a
cmp eax, 6
je 0x140001227
inc eax
inc rdx
cmp eax, 7
jb 0x1400011f2
jmp 0x14000122a
mov rsi, qword [rdi + rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14000117d
mov r8, r10
inc r10
sub r11, 1
jne 0x1400011e0
mov ebx, dword [r8 + 3]
lea rdx, str.ZwFlushInstructionCache
add ebx, 7
movabs rax, 0xffffffff00000000
add ebx, r8d
mov rcx, rdi
and r8, rax
add rbx, r8
sub rbx, rdi
add rbx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rsi, rdi
lea rcx, [rbx + 0x20]
add rax, rsi
mov qword [r14], rcx
mov qword [r14 + 8], rax
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001bf0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140001340
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
call fcn.1400012a0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
test eax, eax
js 0x140001427
lea r8, str.___
mov dword [rsp + 0x30], 1
mov edx, 5
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x87
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400013c0
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea r8, str.ImagePath
lea rax, [rsp + 0x40]
mov rdx, rbx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
test eax, eax
js 0x140001427
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Type
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140001bf0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x1400024a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400024f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400024f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400024f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400024f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400024f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400024f4
xor al, al
add rsp, 0x28
ret
Function at 0x14000ae20
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000ae5b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae4e
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000af4e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298d0]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140032610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af2f
test al, 0x10
je 0x14000af2f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aed5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14001122b
Capabilities:
Terminate process

Disassembly:
jmp 0x1400132d0
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 0x1400112bc
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014620
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014640
xor al, al
jmp 0x1400146c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014653
xor al, al
jmp 0x1400146c1
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 0x14001467d
xor al, al
jmp 0x1400146c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014691
xor al, al
jmp 0x1400146c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400146a3
xor al, al
jmp 0x1400146c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400146bf
xor al, al
jmp 0x1400146c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data
Write file on windows

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140001128
mov qword [rsp + 0x60], rbx
mov ecx, 1
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x30], 0
lea rcx, str.output.txt
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001113
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140001091
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, 0xd
lea ecx, [rdx - 0xb]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, str.Hello_world
mov edx, 0xd
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001150
add rsp, 0x58
ret

Function at 0x140001a2c
Capabilities:
Parse pe header

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

Disassembly:
push rsi
sub rsp, 0x150
mov rax, qword [0x140058848]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov r8d, 2
xor ecx, ecx
movabs r9, 0xcccccccccccccccd
lea r10, [0x140057048]
mov rax, rcx
mul r9
mov rsi, rdx
mov rax, r8
mul r9
shr rdx, 2
lea eax, [rdx + rdx*4]
add eax, 0xfffffffe
cmp eax, ecx
je 0x140001f55
shr rsi, 2
lea rax, [rsi + rsi*4]
cmp eax, ecx
je 0x140001f4b
mov eax, dword [0x140057048]
add eax, ecx
imul eax, eax, 0x143fd
add eax, 0x1bdf7
bt eax, 0x10
jb 0x140001f55
mov al, byte [rcx + r10 + 0xe]
mov byte [rcx + r10 + 4], al
inc rcx
inc r8
cmp rcx, 0xa
jne 0x140001f09
mov ecx, 2
xor esi, esi
mov r8d, 0xcccccccd
lea r10, [0x140057060]
mov rax, rcx
mul r9
shr rdx, 2
lea eax, [rdx + rdx*4]
add eax, 0xfffffffe
cmp eax, esi
je 0x140001fbf
mov eax, esi
imul rax, r8
shr rax, 0x22
lea eax, [rax + rax*4]
neg eax
add eax, esi
je 0x140001fb5
mov eax, dword [0x140057060]
add eax, esi
imul eax, eax, 0x143fd
add eax, 0x1bdf7
bt eax, 0x10
jb 0x140001fbf
mov al, byte [rsi + r10 + 0x13]
mov byte [rsi + r10 + 4], al
inc rsi
inc rcx
cmp rsi, 0xf
jne 0x140001f75
lea rcx, str.__S____BL____I
lea rdx, [0x14003b445]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rsi, [rsp + 0x40]
mov r8d, 0x104
mov rcx, rsi
xor edx, edx
call fcn.140007030
mov rcx, rsi
call fcn.140001e1c
mov rcx, rsi
xor edx, edx
call qword [0x14005d8a8]
test eax, eax
je 0x1400020e8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x40]
mov edx, 0xc0000000
mov r8d, 3
xor r9d, r9d
call qword [0x14005d7a0]
cmp rax, 0xffffffffffffffff
je 0x1400020e8
mov rsi, rax
mov edx, 0x280000
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call qword [0x14005d790]
mov qword [0x14005d940], rax
mov qword [rsp + 0x20], 0
lea r9, [0x14005d948]
mov rcx, rsi
mov rdx, rax
mov r8d, 0x280000
call qword [0x14005d7b0]
test eax, eax
je 0x1400020dd
mov dword [0x14005c240], 1
mov r8d, dword [0x14005d948]
mov rdx, qword [0x14005d940]
mov rcx, qword [0x1400587d0]
lea rax, [0x14005d94c]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
call qword [0x14005d778]
call fcn.14000109c
call qword [0x14005d940]
mov ecx, 0x29
jmp 0x1400020e2
mov ecx, 0x2a
call qword [0x14005d7e0]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140017520
nop
add rsp, 0x150
pop rsi
ret