joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7cd69ad78
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, qword [rbp + 0x190]
mov rax, r8
mov rsi, qword [rbp + 0x198]
mov r8d, 0x40
mov r14, qword [rbp + 0x1a0]
cmp r9, r8
mov r12, rdx
mov r15, rcx
cmovb r8, r9
lea rcx, [rbp + 0xb0]
mov rdx, rax
mov rbx, r9
call fcn.7ff7cd6c32a0
cmp rbx, 0x44
jae 0x7ff7cd69afcd
lea rax, [rbx + 1]
mov byte [rbp + rbx + 0xb0], 0
cmp rax, 0x44
jae 0x7ff7cd69afcd
mov byte [rbp + rax + 0xb0], 0
lea rax, [rbx + 2]
cmp rax, 0x44
jae 0x7ff7cd69afcd
and qword [rsp + 0x40], 0
lea r9, [rbx + 4]
and qword [rsp + 0x38], 0
lea r8, [rbp + 0xb0]
and qword [rsp + 0x30], 0
mov rdx, r12
and qword [rsp + 0x28], 0
mov rcx, r15
mov byte [rbp + rax + 0xb0], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov byte [rbp + rbx + 0xb3], 1
call fcn.7ff7cd69aa5c
mov ebx, 0x20
lea rdx, [rbp + 0x68]
mov r8d, ebx
lea rcx, [rbp + 0x88]
call fcn.7ff7cd6c32a0
mov eax, dword [rbp + 0x1a8]
dec eax
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rsi
lea rdi, [rbp + 0x40]
mov qword [rbp + 0x60], r14
lea rsi, [rbp + 0x50]
mov dword [rbp + 0x40], eax
lea r14d, [rbx - 0x1d]
mov dword [rbp + 0x44], 0x10
mov dword [rbp + 0x48], 0x10
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x50], 0
cmp dword [rdi], 0
jbe 0x7ff7cd69af4e
mov ebx, dword [rdi]
lea rax, [rsp + 0x50]
mov r9d, 0x20
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x68]
lea rax, [rsp + 0x60]
mov rdx, r12
mov qword [rsp + 0x38], rax
mov rcx, r15
lea rax, [rsp + 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
call fcn.7ff7cd69aa5c
mov r8d, 0x20
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x68]
call fcn.7ff7cd6c32a0
xor eax, eax
lea ecx, [rax + 2]
movdqu xmm0, xmmword [rbp + rax + 0x88]
movdqu xmm1, xmmword [rbp + rax + 0x68]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x78], xmm1
sub rcx, 1
jne 0x7ff7cd69af1e
sub rbx, 1
jne 0x7ff7cd69aebb
lea ebx, [rcx + 0x20]
mov rcx, qword [rsi]
lea rdx, [rbp + 0x88]
mov r8, rbx
call fcn.7ff7cd6c32a0
add rdi, 4
add rsi, 8
sub r14, 1
jne 0x7ff7cd69aeb0
lea edx, [r14 + 0x44]
lea rcx, [rbp + 0xb0]
call fcn.7ff7cd6ab88c
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.7ff7cd6ab88c
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.7ff7cd6ab88c
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.7ff7cd6ab88c
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.7ff7cd6c1f80
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.7ff7cd6c2284
int3
Function at 0x7ff7cd6a22f0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x14], 0
mov rbx, rcx
jne 0x7ff7cd6a2327
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x7ff7cd6a2313
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x7ff7cd6d8518]
cmp byte [rbx + 0x21], 0
je 0x7ff7cd6a2327
lea rcx, [rbx + 0x40]
add rsp, 0x20
pop rbx
jmp fcn.7ff7cd6a31cc
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x7ff7cd6a2330
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x14], 1
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jne 0x7ff7cd6a2362
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x7ff7cd6a23df
mov rcx, rbx
call fcn.7ff7cd6a24a0
test al, al
je 0x7ff7cd6a23a5
mov r8d, 0x4e20
cmp rsi, r8
jbe 0x7ff7cd6a23a5
mov rdx, rbp
mov rcx, rbx
call fcn.7ff7cd6a2330
jmp 0x7ff7cd6a23e3
cmp dword [rbx + 0x14], 1
jne 0x7ff7cd6a23ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x7ff7cd6a23ba
xor eax, eax
jmp 0x7ff7cd6a23e3
cmp dword [rbx + 0x14], 0
jne 0x7ff7cd6a23da
mov edi, 0x8000
cmp rsi, rdi
jbe 0x7ff7cd6a23da
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x7ff7cd6a23da
mov r8d, edi
jmp 0x7ff7cd6a2398
or eax, 0xffffffff
jmp 0x7ff7cd6a23e3
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x7ff7cd6a274c
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
xor r8d, r8d
mov rbx, rcx
call fcn.7ff7cd6a2788
test al, al
je 0x7ff7cd6a2780
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [0x7ff7cd6d8518]
add rsp, 0x20
pop rbx
ret

Function at 0x7ff7cd6a2c70
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x7ff7cd6a2cf0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov r15, rdx
mov rdi, rcx
test r8, r8
jne 0x7ff7cd6a2d23
mov al, 1
jmp 0x7ff7cd6a2eb9
lea r14, [rcx + 8]
cmp dword [rcx + 0x14], 1
jne 0x7ff7cd6a2d3b
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [r14], rax
mov r13d, 0x4000
xor bpl, bpl
and dword [rsp + 0x30], 0
cmp dword [rdi + 0x14], 0
je 0x7ff7cd6a2d96
xor ebx, ebx
test rsi, rsi
je 0x7ff7cd6a2dbf
mov rcx, rsi
sub rcx, rbx
mov eax, esi
sub eax, ebx
mov r8d, r13d
cmp rcx, r13
cmovb r8d, eax
lea rdx, [r15 + rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bpl
test eax, eax
je 0x7ff7cd6a2db6
add rbx, r13
cmp rbx, rsi
jb 0x7ff7cd6a2d56
jmp 0x7ff7cd6a2db6
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bpl
test bpl, bpl
jne 0x7ff7cd6a2eb2
cmp byte [rdi + 0x22], 0
je 0x7ff7cd6a2eb2
cmp dword [rdi + 0x14], 0
jne 0x7ff7cd6a2eb2
xor r8d, r8d
lea rdx, [rdi + 0x40]
lea rcx, [0x7ff7cd6ee9e0]
call fcn.7ff7cd69b510
test al, al
je 0x7ff7cd6a2e2e
mov ecx, dword [rsp + 0x30]
cmp rcx, rsi
jae 0x7ff7cd6a2d41
test ecx, ecx
je 0x7ff7cd6a2d41
mov rbx, qword [rdi]
mov rcx, rdi
mov rax, qword [rbx + 0x28]
call qword [0x7ff7cd6d8518]
mov ecx, dword [rsp + 0x30]
sub rax, rcx
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
mov rax, qword [rbx + 0x20]
call qword [0x7ff7cd6d8518]
jmp 0x7ff7cd6a2d41
and qword [rsp + 0x38], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rcx, [0x7ff7cd6d89d4]
call fcn.7ff7cd6c75dc
mov r8, rax
lea rdx, [0x7ff7cd6d89d4]
lea rcx, [rsp + 0x38]
call fcn.7ff7cd69129c
nop
lea r8, [rdi + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [0x7ff7cd6ee9e0]
call fcn.7ff7cd69bcc0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x7ff7cd6a2eb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a2ead
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a2ed5
call fcn.7ff7cd6c1e6c
mov byte [rdi + 0x10], 1
mov al, bpl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7cd6c1f80
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6a30e0
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x7ff7cd6a310b
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
test eax, eax
setne dil
test eax, eax
jne 0x7ff7cd6a31a5
mov qword [rsp + 0x20], rsi
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.7ff7cd6a6780
test al, al
je 0x7ff7cd6a3167
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x7ff7cd6a31a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a31a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a31c5
call fcn.7ff7cd6c1e6c
mov al, dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff7cd6c1f80
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.7ff7cd6c7564
int3

Function at 0x7ff7cd6a31cc
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x7ff7cd6a31f7
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
setne dil
test eax, eax
jne 0x7ff7cd6a3291
mov qword [rsp + 0x20], rsi
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.7ff7cd6a6780
test al, al
je 0x7ff7cd6a3253
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x7ff7cd6a3291
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a328c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a32b1
call fcn.7ff7cd6c1e6c
mov al, dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff7cd6c1f80
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6a32cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x7ff7cd6a32f7
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x7ff7cd6a338a
xor esi, esi
mov qword [rsp + 0x20], rsi
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.7ff7cd6a6780
test al, al
je 0x7ff7cd6a334c
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x7ff7cd6a338a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a3385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a33a9
call fcn.7ff7cd6c1e6c
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff7cd6c1f80
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.7ff7cd6c7564
int3

Function at 0x7ff7cd6a3694
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14d, r8d
mov bpl, dl
mov rdi, rcx
call fcn.7ff7cd6a61ac
cmp ax, 0x2e
je 0x7ff7cd6a36f2
cmp ax, 0x20
je 0x7ff7cd6a36f2
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x7ff7cd6a36dc
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
xor ebx, ebx
test eax, eax
jne 0x7ff7cd6a378d
jmp 0x7ff7cd6a36f6
xor ebx, ebx
mov esi, ebx
mov rcx, rdi
call fcn.7ff7cd6a32cc
cmp eax, 0xffffffff
jne 0x7ff7cd6a37a1
mov qword [rsp + 0x20], rbx
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], bx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.7ff7cd6a6780
test al, al
je 0x7ff7cd6a374b
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x7ff7cd6a3789
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a3784
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a37de
call fcn.7ff7cd6c1e6c
test esi, esi
je 0x7ff7cd6a37a1
test bpl, bpl
je 0x7ff7cd6a379d
mov edx, r14d
mov rcx, rdi
call fcn.7ff7cd6a3d44
xor eax, eax
jmp 0x7ff7cd6a37bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x7ff7cd6a37b7
cmp eax, 3
sete bl
lea eax, [rbx + 1]
jmp 0x7ff7cd6a37bc
mov eax, 2
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff7cd6c1f80
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6a3990
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x7ff7cd6a39c3
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x7ff7cd6a39cd
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
xor r14d, r14d
test eax, eax
setne sil
test eax, eax
jne 0x7ff7cd6a3ad7
mov qword [rbp - 0x30], r14
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
mov qword [rbp - 0x50], r14
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.7ff7cd6a6780
test al, al
je 0x7ff7cd6a3a50
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.7ff7cd6a6780
test al, al
je 0x7ff7cd6a3a50
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne sil
mov ebx, 0x1000
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x7ff7cd6a3a8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, rbx
jb 0x7ff7cd6a3a88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a3b01
call fcn.7ff7cd6c1e6c
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x7ff7cd6a3ad7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rbx
jb 0x7ff7cd6a3ad2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a3afb
call fcn.7ff7cd6c1e6c
mov al, sil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.7ff7cd6c1f80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.7ff7cd6c7564
nop
call fcn.7ff7cd6c7564
nop
int3
Function at 0x7ff7cd6a3d44
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, edx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x7ff7cd6a3d6e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebp, ebp
test eax, eax
setne dil
test eax, eax
jne 0x7ff7cd6a3e0a
mov qword [rsp + 0x20], rbp
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], bp
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.7ff7cd6a6780
test al, al
je 0x7ff7cd6a3dcc
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x7ff7cd6a3e0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a3e05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a3e2a
call fcn.7ff7cd6c1e6c
mov al, dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff7cd6c1f80
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6a40cc
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
cmp rcx, 0xffffffffffffffff
jne 0x7ff7cd6a41e2
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x7ff7cd6a4116
mov rcx, qword [rdx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff7cd6a4203
mov qword [rsp + 0x20], r14
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r14w
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.7ff7cd6a6780
test al, al
je 0x7ff7cd6a4177
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x7ff7cd6a41b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a41b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a4325
call fcn.7ff7cd6c1e6c
cmp rsi, 0xffffffffffffffff
jne 0x7ff7cd6a4203
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
test ecx, 0xffffffee
jne 0x7ff7cd6a41d8
cmp eax, 0x13
mov al, r14b
jne 0x7ff7cd6a41da
mov al, 1
mov byte [rbx + 0x64], al
jmp 0x7ff7cd6a42fb
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x7ff7cd6a4203
or rsi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x7ff7cd6a41da
cmp rbx, rdi
je 0x7ff7cd6a4221
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x7ff7cd6a4215
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.7ff7cd6920b0
mov qword [rsp + 0x20], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x6c]
call fcn.7ff7cd6c75dc
mov r8, rax
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.7ff7cd69129c
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.7ff7cd6a7da4
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x7ff7cd6a429c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a4297
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a431f
call fcn.7ff7cd6c1e6c
mov ecx, dword [rsp + 0x5c]
shl rcx, 0x20
mov eax, dword [rsp + 0x60]
add rcx, rax
mov qword [rbx + 0x20], rcx
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x28], eax
mov rax, qword [rsp + 0x44]
mov qword [rbx + 0x48], rax
mov rax, qword [rsp + 0x4c]
mov qword [rbx + 0x50], rax
mov rax, qword [rsp + 0x54]
mov qword [rbx + 0x58], rax
lea rcx, [rbx + 0x30]
lea rdx, [rsp + 0x54]
call fcn.7ff7cd6aee5c
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x44]
call fcn.7ff7cd6aee5c
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x4c]
call fcn.7ff7cd6aee5c
mov dword [rbx + 0x60], r14d
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.7ff7cd6c1f80
add rsp, 0x2a0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.7ff7cd6c7564
int3
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6a4c24
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor bl, bl
cmp byte [0x7ff7cd6ee9f8], bl
jne 0x7ff7cd6a4c89
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 0xa
ja 0x7ff7cd6a4c78
jne 0x7ff7cd6a4c7a
cmp dword [rsp + 0x2c], 0x55f0
jb 0x7ff7cd6a4c7a
call fcn.7ff7cd6a4cac
test al, al
jne 0x7ff7cd6a4c7a
mov bl, 1
mov byte [0x7ff7cd6ee9f9], bl
mov byte [0x7ff7cd6ee9f8], 1
jmp 0x7ff7cd6a4c8f
mov bl, byte [0x7ff7cd6ee9f9]
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.7ff7cd6c1f80
add rsp, 0x150
pop rbx
ret
Function at 0x7ff7cd6a6050
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x7ff7cd6a6108
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.7ff7cd6913a4
nop
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rcx, rdx
sar rcx, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.7ff7cd6c75dc
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call fcn.7ff7cd6920b0
test edi, edi
setne bl
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x7ff7cd6a6106
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6a6101
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6a6118
call fcn.7ff7cd6c1e6c
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.7ff7cd6c7564
int3

Function at 0x7ff7cd6a7cd8
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x7ff7cd6a7ce6
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x7ff7cd6aa8e8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbp, str.cw
mov ecx, edi
lea rsi, [0x7ff7cd690000]
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
mov byte [rax + rsi + 0x62a20], cl
inc ecx
cmp ecx, 0x100
jl 0x7ff7cd6aa911
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x63721], r9b
mov byte [rsi + rdi*4 + 0x63720], r9b
mov byte [rsi + rdi*4 + 0x63323], r9b
mov byte [rsi + rdi*4 + 0x63320], r9b
mov byte [rsi + rdi*4 + 0x62f23], r9b
mov byte [rsi + rdi*4 + 0x62f22], r9b
mov byte [rsi + rdi*4 + 0x62b22], r9b
mov byte [rsi + rdi*4 + 0x62b21], r9b
call fcn.7ff7cd6ab0ec
mov dl, 3
mov byte [rsi + rdi*4 + 0x63723], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x63322], al
mov byte [rsi + rdi*4 + 0x62f21], al
mov byte [rsi + rdi*4 + 0x62b20], al
call fcn.7ff7cd6ab0ec
movzx r9d, byte [rdi + rsi + 0x62a20]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x63722], al
mov byte [rsi + rdi*4 + 0x63321], al
mov byte [rsi + rdi*4 + 0x62f20], al
mov byte [rsi + rdi*4 + 0x62b23], al
call fcn.7ff7cd6ab0ec
mov dl, 9
mov byte [rsi + rdi*4 + 0x64722], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x64321], al
mov byte [rsi + rdi*4 + 0x63f20], al
mov byte [rsi + rdi*4 + 0x63b23], al
mov byte [rsi + r9*4 + 0x65722], al
mov byte [rsi + r9*4 + 0x65321], al
mov byte [rsi + r9*4 + 0x64f20], al
mov byte [rsi + r9*4 + 0x64b23], al
call fcn.7ff7cd6ab0ec
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x64720], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x64323], al
mov byte [rsi + rdi*4 + 0x63f22], al
mov byte [rsi + rdi*4 + 0x63b21], al
mov byte [rsi + r9*4 + 0x65720], al
mov byte [rsi + r9*4 + 0x65323], al
mov byte [rsi + r9*4 + 0x64f22], al
mov byte [rsi + r9*4 + 0x64b21], al
call fcn.7ff7cd6ab0ec
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x64721], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x64320], al
mov byte [rsi + rdi*4 + 0x63f23], al
mov byte [rsi + rdi*4 + 0x63b22], al
mov byte [rsi + r9*4 + 0x65721], al
mov byte [rsi + r9*4 + 0x65320], al
mov byte [rsi + r9*4 + 0x64f23], al
mov byte [rsi + r9*4 + 0x64b22], al
call fcn.7ff7cd6ab0ec
mov byte [rsi + rdi*4 + 0x64723], al
mov byte [rsi + rdi*4 + 0x64322], al
mov byte [rsi + rdi*4 + 0x63f21], al
mov byte [rsi + rdi*4 + 0x63b20], al
inc rdi
mov byte [rsi + r9*4 + 0x65723], al
mov byte [rsi + r9*4 + 0x65322], al
mov byte [rsi + r9*4 + 0x64f21], al
mov byte [rsi + r9*4 + 0x64b20], al
cmp rdi, 0x100
jl 0x7ff7cd6aa928
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret