joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400caca8
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400cacda
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
test eax, eax
setne dil
test eax, eax
jne 0x1400cad84
mov qword [rbp - 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], si
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1400e1294
test al, al
je 0x1400cad37
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cad73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cad6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cada8
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], si
mov al, dil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
call fcn.1401b4fa4
int3

Function at 0x1400cadb0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400cade2
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
setne dil
test eax, eax
jne 0x1400cae8c
mov qword [rbp - 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], si
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1400e1294
test al, al
je 0x1400cae3f
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne dil
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cae7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cae76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400caeb0
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], si
mov al, dil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
call fcn.1401b4fa4
int3
Function at 0x1400cb2d8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x68
cmp qword [rcx + 0x18], 0
jbe 0x1400cb32d
and qword [rcx + 0x18], 0
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov eax, 0x54
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
mov rax, qword [rcx]
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], 3
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
jmp 0x1400cb32f
mov al, 1
add rsp, 0x68
ret

Function at 0x1400cb334
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400cb366
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400cb409
xor esi, esi
mov qword [rbp - 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], si
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1400e1294
test al, al
je 0x1400cb3bc
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cb3f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb3f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb42c
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], si
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
call fcn.1401b4fa4
int3
Function at 0x1400cb434
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
lea rdx, [rbp - 0x28]
call fcn.1400e0f04
mov qword [rbp - 0x40], rdi
cmp qword [rbp - 0x18], rdi
jne 0x1400cb489
mov ecx, edi
jmp 0x1400cb497
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1400cb4c3
mov eax, dword [rbp - 0x3c]
cmp eax, dword [rbp - 0x34]
ja 0x1400cb4c3
mov ebx, eax
shl rbx, 0x20
mov eax, dword [rbp - 0x40]
add rbx, rax
jmp 0x1400cb4c6
mov rbx, rdi
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400cb502
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb4fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb533
call fcn.1401addcc
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401b4fa4
int3

Function at 0x1400cb834
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rdx, [rsp + 0x40]
call fcn.1400e0bd0
cmp qword [rsp + 0x50], rdi
jne 0x1400cb898
mov ecx, edi
jmp 0x1400cb8a9
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400cb905
lea rdx, [0x1401ec318]
lea rcx, [rsp + 0x60]
call fcn.1401ba838
test eax, eax
je 0x1400cb901
lea rdx, str.FAT32
lea rcx, [rsp + 0x60]
call fcn.1401ba838
test eax, eax
jne 0x1400cb905
mov bl, 1
jmp 0x1400cb908
mov bl, dil
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400cb946
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb941
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb97f
call fcn.1401addcc
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov al, bl
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401b4fa4
int3
Function at 0x1400cb994
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
lea rdx, [rbp - 0x30]
call fcn.1400e0bd0
cmp qword [rbp - 0x20], rdi
jne 0x1400cb9e5
mov ecx, edi
jmp 0x1400cb9f3
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x1400cba06
cmp eax, 5
mov bl, dil
jne 0x1400cba08
mov bl, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cba44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cba3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cba72
call fcn.1401addcc
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
call fcn.1401b4fa4
int3

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15d, r8d
mov r14b, dl
mov rdi, rcx
call fcn.1400e0a1c
cmp ax, 0x2e
je 0x1400cbda2
cmp ax, 0x20
je 0x1400cbda2
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400cbd8c
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
xor ebx, ebx
test eax, eax
jne 0x1400cbe4d
jmp 0x1400cbda6
xor ebx, ebx
mov esi, ebx
mov rcx, rdi
call fcn.1400cb334
cmp eax, 0xffffffff
jne 0x1400cbe61
mov qword [rbp - 0x30], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], bx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400e1294
test al, al
je 0x1400cbdfc
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cbe38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cbe33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cbe9c
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], bx
test esi, esi
je 0x1400cbe61
test r14b, r14b
je 0x1400cbe5d
mov edx, r15d
mov rcx, rdi
call fcn.1400cc588
xor eax, eax
jmp 0x1400cbe7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400cbe77
cmp eax, 3
sete bl
lea eax, [rbx + 1]
jmp 0x1400cbe7c
mov eax, 2
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b4fa4
int3
Function at 0x1400cc15c
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 [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1400cc18f
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1400cc199
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
xor r14d, r14d
test eax, eax
setne sil
test eax, eax
jne 0x1400cc2c6
mov qword [rbp - 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], r14w
mov qword [rbp - 0x50], r14
movdqu xmmword [rbp - 0x40], xmm0
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400e1294
test al, al
je 0x1400cc229
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.1400e1294
test al, al
je 0x1400cc229
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 0x1400cc26a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, rbx
jb 0x1400cc265
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cc2f0
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cc2b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rbx
jb 0x1400cc2af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cc2ea
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
mov al, sil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
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.1401b4fa4
nop
call fcn.1401b4fa4
nop
int3
Function at 0x1400cc588
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov esi, edx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400cc5ba
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r14d, r14d
test eax, eax
setne dil
test eax, eax
jne 0x1400cc669
mov qword [rbp - 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], r14w
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1400e1294
test al, al
je 0x1400cc61b
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne dil
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cc657
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc652
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cc68d
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
mov al, dil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1401b4fa4
int3
Function at 0x1400cf940
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor bl, bl
cmp byte [0x14023bdc0], bl
jne 0x1400cf9a5
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 0xa
ja 0x1400cf994
jne 0x1400cf996
cmp dword [rsp + 0x2c], 0x55f0
jb 0x1400cf996
call fcn.1400cf9c8
test al, al
jne 0x1400cf996
mov bl, 1
mov byte [0x14023bdc1], bl
mov byte [0x14023bdc0], 1
jmp 0x1400cf9ab
mov bl, byte [0x14023bdc1]
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401adee0
add rsp, 0x150
pop rbx
ret
Function at 0x1400d33d4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [rsp + 0x80]
mov r12, rdx
mov eax, r8d
movsxd rbx, r8d
cdq
xor r10d, r10d
idiv r9d
mov dword [rsp + 0x70], r10d
mov rdi, rcx
mov ebp, eax
test r9d, r9d
jle 0x1400d3485
movsxd r11, r9d
xor esi, esi
mov qword [rsp + 0x60], r11
xor r13d, r13d
mov r14d, r9d
cmp ebp, 0x1d00
jle 0x1400d3449
movsxd rdx, r10d
lea rcx, [rdi + 0x81a0]
add rdx, r15
mov r8d, 5
call fcn.1400def4c
mov r10d, dword [rsp + 0x70]
mov r11, qword [rsp + 0x60]
xor r8b, r8b
mov rdx, rsi
cmp rsi, rbx
jge 0x1400d347c
mov cl, byte [rdx + r12]
inc r10d
mov rax, qword [rdi + 0x8198]
sub r8b, cl
add rdx, r11
mov byte [rax + r13], r8b
inc r13
mov r8b, cl
cmp rdx, rbx
jl 0x1400d3454
mov dword [rsp + 0x70], r10d
inc rsi
sub r14, 1
jne 0x1400d341f
cmp ebp, 0x1d00
jle 0x1400d34a3
lea rdx, [rbx + r15]
mov r8d, 5
lea rcx, [rdi + 0x81a0]
call fcn.1400def4c
mov rdx, qword [rdi + 0x8198]
mov r8, rbx
mov rcx, r12
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1401aff80

Function at 0x1400d3b2c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov edi, dword [rsp + 0x70]
xor ecx, ecx
mov r13d, r9d
mov esi, r8d
mov r10d, 0x400
lea r11d, [rcx + 1]
cmp edi, r11d
jl 0x1400d3c26
mov r13, qword [rsp + 0x58]
lea eax, [rdi + rdi]
sub esi, eax
lea edx, [rcx + 8]
mov ebp, r11d
xor r8d, r8d
mov dword [rsp], r11d
xor ebx, ebx
mov dword [rsp + 8], ecx
mov r12d, r10d
mov r9, r13
mov eax, esi
mov rdi, r9
sub eax, ebx
cmp eax, edx
cmova eax, edx
mov r14d, eax
add r14, r9
cmp r9, r14
jae 0x1400d3bdc
lea r15, [r9 + rbp]
mov dl, byte [r15]
mov al, byte [r15 + rbp]
sub al, dl
sub dl, byte [rdi]
movsx ecx, al
movsx eax, dl
sub eax, ecx
mov ecx, 0x20
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovl ecx, eax
inc rdi
add r8d, ecx
inc r15
cmp rdi, r14
jb 0x1400d3ba7
mov edx, 8
add ebx, 0x40
add r9, 0x40
cmp ebx, 0x100
jb 0x1400d3b8c
mov edi, dword [rsp + 0x70]
cmp r8d, r10d
jge 0x1400d3c00
mov ecx, r11d
mov r10d, r8d
cmp r8d, 0x10
jb 0x1400d3c21
mov ecx, dword [rsp]
inc r11d
inc rbp
mov r10d, r8d
cmp r8d, r12d
cmovge ecx, dword [rsp + 8]
cmovge r10d, r12d
cmp r11d, edi
jle 0x1400d3b79
mov r13d, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
imul r10d, r13d
cmp r10d, 0xc000
sbb eax, eax
and eax, ecx
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400db420
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r10d, dword [rsp + 0x80]
lea rax, [0x14022e1a8]
and dword [r9], 0
mov r15, rdx
and dword [r9 + 0x44], 0
xor r11d, r11d
mov r13d, dword [rsp + 0x88]
mov rbx, rcx
mov qword [r9 + 0x28], rax
movsxd r12, r8d
mov qword [r9 + 0x50], rdx
mov eax, r12d
cdq
mov dword [r9 + 0x30], 0x1d
idiv r10d
mov dword [r9 + 0x48], r12d
mov byte [r9 + 4], 1
mov r14d, eax
mov dword [r9 + 8], r10d
mov dword [rsp + 0x80], r11d
test r10d, r10d
jle 0x1400db52a
xor edi, edi
movsxd rax, r10d
xor r9d, r9d
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], r9
mov ebp, r10d
cmp r14d, 0x1d00
jle 0x1400db4d9
lea edx, [r11 + r13]
mov r8d, 5
lea rcx, [rbx + 0x1a640]
call fcn.1400def4c
mov r9, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x80]
xor r8b, r8b
mov rdx, rdi
cmp rdi, r12
jge 0x1400db521
mov r13, qword [rsp + 0x68]
mov cl, byte [rdx + r15]
inc r11d
mov rax, qword [rbx + 0x1a5e8]
sub r8b, cl
add rdx, r13
mov byte [r9 + rax], r8b
inc r9
mov r8b, cl
cmp rdx, r12
jl 0x1400db4e9
mov r13d, dword [rsp + 0x88]
mov dword [rsp + 0x80], r11d
mov qword [rsp + 0x60], r9
inc rdi
sub rbp, 1
jne 0x1400db4ad
cmp r14d, 0x1d00
jle 0x1400db549
lea edx, [r12 + r13]
mov r8d, 5
lea rcx, [rbx + 0x1a640]
call fcn.1400def4c
mov rdx, qword [rbx + 0x1a5e8]
mov r8, r12
mov rcx, r15
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1401aff80

Function at 0x1400dba64
Capabilities:
Encode data using xor

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, 0xa0
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor r9d, r9d
lea eax, [r8 - 0x78]
lea r8, [rsp + 0x10]
mov qword [rsp + 4], r9
sub r8, rdx
mov dword [rsp], r9d
sub r8, 2
movsxd rbp, eax
lea edi, [r9 + 3]
mov r14, rdx
mov r10, r9
cmp r9, rbp
jge 0x1400dbb2a
mov r11d, dword [rsp + r9*4]
mov rbx, r8
lea rdx, [r14 + 2]
mov esi, 0x28
add rdx, r10
mov cl, byte [rdx - 1]
mov al, byte [rdx - 2]
sub al, cl
mov byte [rbx + rdx + 1], cl
mov byte [rbx + rdx], al
mov al, byte [rdx]
lea rdx, [rdx + 3]
sub al, cl
mov byte [rbx + rdx - 1], al
sub rsi, 1
jne 0x1400dbad3
lea ecx, [rsi + 3]
mov al, byte [rsp + rcx + 0x10]
sub al, byte [rsp + rcx + 0xd]
inc rcx
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add r11d, eax
cmp rcx, 0x78
jl 0x1400dbaf7
add r10, 0x780
sub rbx, 0x780
cmp r10, rbp
jl 0x1400dbac7
mov dword [rsp + r9*4], r11d
inc r9
dec r8
sub rdi, 1
jne 0x1400dbab8
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x1400dbb4b
cmp eax, dword [rsp + 8]
ja 0x1400dbb4b
xor eax, eax
jmp 0x1400dbb55
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400dc344
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov esi, dword [rsp + 0x70]
xor r11d, r11d
mov eax, r9d
mov ebp, r8d
mov ecx, r11d
mov r10d, 0x400
lea ebx, [r11 + 1]
cmp esi, ebx
jl 0x1400dc451
lea eax, [rsi + rsi]
mov r15d, ebx
sub ebp, eax
mov r12d, 4
mov dword [rsp + 0xc], r10d
mov r8d, r11d
mov dword [rsp], ebx
mov dword [rsp + 8], ecx
mov edi, ebp
mov dword [rsp + 4], r10d
mov r9, rdx
lea r11d, [r12 + 4]
cmp edi, r11d
mov eax, edi
mov rsi, r9
cmovg eax, r11d
movsxd r14, eax
add r14, r9
cmp r9, r14
jae 0x1400dc3fc
lea r13, [r9 + r15]
mov dl, byte [r13]
mov al, byte [r15 + r13]
sub al, dl
sub dl, byte [rsi]
movsx ecx, al
movsx eax, dl
sub eax, ecx
mov ecx, 0x20
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovl ecx, eax
inc rsi
add r8d, ecx
inc r13
cmp rsi, r14
jb 0x1400dc3cb
add r9, 0x40
sub edi, 0x40
sub r12, 1
jne 0x1400dc3b0
mov esi, dword [rsp + 0x70]
xor r11d, r11d
cmp r8d, r10d
jge 0x1400dc420
mov ecx, ebx
mov r10d, r8d
cmp r8d, 0x10
jl 0x1400dc44d
mov ecx, dword [rsp]
inc ebx
mov rdx, qword [rsp + 0x58]
inc r15
cmp r8d, dword [rsp + 4]
mov r10d, r8d
cmovge ecx, dword [rsp + 8]
cmp r8d, dword [rsp + 0xc]
cmovge r10d, dword [rsp + 0xc]
cmp ebx, esi
jle 0x1400dc38c
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
imul r10d, eax
cmp r10d, 0xc000
cmovl r11d, ecx
mov eax, r11d
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e063c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov sil, dl
mov rbx, rcx
call fcn.140116a70
xor ebp, ebp
test al, al
je 0x1400e0701
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x1400e0675
mov rax, qword [rbx]
mov qword [rbx + 0x10], rbp
lea r8, [rsp + 0x50]
mov edx, 0x1a
mov word [rax], bp
xor ecx, ecx
mov dil, bpl
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x1400e06e7
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1400e29f8
test al, al
je 0x1400e06e7
cmp qword [rbx + 0x10], rbp
je 0x1400e06e7
mov rcx, rbx
call fcn.1400df0fc
mov r8d, 6
lea rdx, [0x1401da520]
mov rcx, rbx
call fcn.140006c14
mov rcx, rbx
call fcn.1400cb2c4
mov dil, al
test al, al
jne 0x1400e06e7
test sil, sil
je 0x1400e06e7
mov rcx, rbx
call fcn.1400caaf0
mov dil, al
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f0cf3.0]
mov al, dil
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret