joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019a34
Capabilities:
Move file

Disassembly:
push rdi
mov eax, 0x3110
call fcn.14004d510
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x3128], rbx
mov qword [rsp + 0x3130], rbp
mov qword [rsp + 0x3138], rsi
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x3100], rax
mov rdi, rcx
lea rcx, [rsp + 0xc44]
call fcn.140037b70
lea rcx, [rsp + 0xc68]
call fcn.140037b70
lea rcx, [rsp + 0xc8c]
call fcn.140037b70
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rdi
xor ecx, ecx
call fcn.14001d260
xor esi, esi
cmp al, sil
jne 0x140019ac0
xor al, al
jmp 0x140019c82
cmp word [rsp + 0xcb0], si
je 0x140019c80
lea rcx, [rsp + 0x430]
call fcn.140027fb4
mov rcx, rax
lea rdx, [rsp + 0xcb0]
call fcn.1400380d0
cmp eax, esi
je 0x140019c80
mov rcx, rdi
call fcn.140027fb4
mov rcx, rax
lea rdx, [rsp + 0xcb0]
call fcn.1400380d0
cmp eax, esi
jne 0x140019c80
mov ax, si
mov word [rsp + 0x2100], ax
mov ebx, esi
mov ebp, 0x400
cmp ax, si
jne 0x140019b9e
mov r8, rbp
mov rdx, rdi
lea rcx, [rsp + 0x2100]
call fcn.140036d40
lea rcx, [rsp + 0x2100]
call fcn.140027fb4
mov rcx, rax
mov r9d, ebx
lea r8, str.rtmp_d
mov rdx, rbp
call fcn.14002dd2c
lea rdx, [rsp + 0x2100]
xor ecx, ecx
call fcn.14001b228
cmp al, sil
je 0x140019b7f
mov eax, esi
mov word [rsp + 0x2100], ax
jmp 0x140019b87
mov ax, word [rsp + 0x2100]
add ebx, 0x7b
cmp ebx, 0x2710
jl 0x140019b25
cmp ax, si
jne 0x140019b9e
xor al, al
jmp 0x140019c82
mov r8, rbp
mov rdx, rdi
lea rcx, [rsp + 0x2900]
call fcn.140036d40
lea rcx, [rsp + 0x430]
call fcn.140027fb4
mov rbx, rax
lea rcx, [rsp + 0x2900]
call fcn.140027fb4
movzx ecx, word [rbx]
mov word [rax], cx
add rbx, 2
add rax, 2
cmp cx, si
jne 0x140019bce
lea rdx, [rsp + 0x2100]
lea rcx, [rsp + 0x2900]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, esi
jne 0x140019c02
xor al, al
jmp 0x140019c82
lea rcx, [rsp + 0x14d0]
call fcn.14001a09c
nop
mov bl, sil
mov rdx, rdi
xor ecx, ecx
call fcn.14001b228
cmp al, sil
jne 0x140019c39
mov r9b, 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x14d0]
call fcn.14001a690
mov bl, al
lea rdx, [rsp + 0x2900]
lea rcx, [rsp + 0x2100]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp bl, sil
je 0x140019c6f
lea rcx, [rsp + 0x14d0]
call fcn.14001a114
lea rcx, [rsp + 0x14d0]
call fcn.14001a1cc
nop
lea rcx, [rsp + 0x14d0]
call fcn.14001a478
mov al, 1
jmp 0x140019c82
xor al, al
mov rcx, qword [rsp + 0x3100]
xor rcx, rsp
call fcn.140040860
lea r11, [rsp + 0x3110]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14001a3ac
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
sete al
add rsp, 0x28
ret
Function at 0x14001a4ac
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
mov rbx, rcx
movzx eax, r9b
cmp byte [rcx + 0x1e], r14b
mov dword [rcx + 0xc20], r14d
mov ecx, 0xc0000000
lea r15d, [r14 + 1]
mov ebp, 0x80000000
mov rsi, r8
cmovne eax, r15d
cmp byte [rsp + 0x90], r14b
mov r13d, r15d
cmovne ebp, ecx
cmp al, r14b
mov al, byte [rbx + 0x1d]
lea ecx, [r14 + 3]
mov r12, rdx
cmovne r13d, ecx
neg al
sbb edi, edi
not edi
and edi, 0x8000000
call fcn.14001dc84
cmp eax, r14d
je 0x14001a556
cmp rsi, r14
je 0x14001a556
cmp word [rsi], r14w
je 0x14001a556
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov r8d, r13d
mov edx, ebp
mov rcx, rsi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x14001a578
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov r8d, r13d
mov edx, ebp
mov rcx, r12
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
or r13, 0xffffffffffffffff
mov rdi, rax
cmp rax, r13
jne 0x14001a596
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14001a596
mov dword [rbx + 0xc20], r15d
cmp rdi, r13
mov byte [rbx + 0x1a], r14b
mov dword [rbx + 0x14], r14d
setne bpl
mov byte [rbx + 0x18], r14b
cmp bpl, r14b
je 0x14001a62b
mov qword [rbx + 8], rdi
cmp rsi, r14
je 0x14001a5de
xor eax, eax
mov rcx, r13
mov rdi, rsi
repne scasw ax, word [rdi]
mov rdx, rsi
not rcx
sub rcx, r15
lea r8, [rcx + rcx + 2]
lea rcx, [rbx + 0x420]
call fcn.1400409f0
jmp 0x14001a5e6
mov word [rbx + 0x420], r14w
cmp r12, r14
je 0x14001a60d
xor eax, eax
mov rcx, r13
mov rdi, r12
repne scasb al, byte [rdi]
mov rdx, r12
not rcx
sub rcx, r15
lea r8, [r15 + rcx]
lea rcx, [rbx + 0x1f]
call fcn.1400409f0
jmp 0x14001a61f
lea rdx, [rbx + 0x1f]
mov r8d, 0x1000000
mov rcx, rsi
call fcn.140037e6c
mov rdx, qword [rbx + 8]
mov rcx, rbx
call fcn.14001a0e4
lea r11, [rsp + 0x40]
mov al, bpl
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001a80c
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 rdi, r8
mov rsi, rdx
mov rbx, rcx
mov ebp, 0x4e20
jne 0x14001a84a
cmp r8, rbp
mov ecx, 0xfffffff6
cmova rdi, rbp
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001a8a4
mov rcx, rbx
call fcn.14001a448
test al, al
je 0x14001a88a
cmp rdi, rbp
jbe 0x14001a88a
mov r8, rbp
mov rdx, rsi
mov rcx, rbx
call fcn.14001a80c
jmp 0x14001a8a8
cmp dword [rbx + 0x14], 1
jne 0x14001a89f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x14001a89f
xor eax, eax
jmp 0x14001a8a8
or eax, 0xffffffff
jmp 0x14001a8a8
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 0x14001ab28
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
xor r8d, r8d
mov rbx, rcx
call fcn.14001a8c0
test al, al
je 0x14001ab54
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001aaf4
add rsp, 0x20
pop rbx
ret
Function at 0x14001ab5c
Capabilities:
Write file on windows

Disassembly:
test r8, r8
je 0x14001ad2e
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rsi, rcx
mov ecx, dword [rcx + 0x14]
mov rbp, r8
mov r14, rdx
test ecx, ecx
je 0x14001abab
sub ecx, 1
je 0x14001ab9c
cmp ecx, 1
jne 0x14001abab
mov ecx, 0xfffffff4
jmp 0x14001aba1
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsi + 8], rax
and dword [rsp + 0x70], 0
cmp dword [rsi + 0x14], 0
je 0x14001ac05
xor ebx, ebx
test rbp, rbp
je 0x14001ac2e
mov r8d, 0x4000
mov eax, ebp
mov rcx, rbp
sub rcx, rbx
sub eax, ebx
lea rdx, [rbx + r14]
cmp rcx, r8
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x70]
cmovb r8d, eax
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete al
test al, al
je 0x14001ac2e
add rbx, 0x4000
cmp rbx, rbp
jb 0x14001abbd
jmp 0x14001ac26
mov rcx, qword [rsi + 8]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, ebp
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete al
test al, al
jne 0x14001ad14
cmp byte [rsi + 0x1c], 0
je 0x14001ad14
cmp dword [rsi + 0x14], 0
jne 0x14001ad14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edi, eax
call fcn.14001a314
lea rcx, [rsi + 0x1f]
mov r12, rax
call fcn.14001b034
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, rbp
jbe 0x14001ac9e
mov rcx, r12
mov ebx, 0xffffffff
sub rcx, rbp
cmp rcx, rbx
ja 0x14001ac9e
lea rax, [r12 + rbp]
cmp rax, rbx
jbe 0x14001ac9e
lea r8, [rsi + 0x420]
lea rdx, [rsi + 0x1f]
lea rcx, [0x140067098]
call fcn.140015dbc
lea r8, [rsi + 0x420]
lea rdx, [rsi + 0x1f]
lea rcx, [0x140067098]
xor r9d, r9d
call fcn.140015e04
test al, al
je 0x14001acf3
mov ecx, dword [rsp + 0x70]
cmp rcx, rbp
jae 0x14001abab
test ecx, ecx
je 0x14001abab
mov rcx, rsi
call fcn.14001a314
mov ecx, dword [rsp + 0x70]
xor r8d, r8d
sub rax, rcx
mov rcx, rsi
mov rdx, rax
call fcn.14001aaf4
jmp 0x14001abab
lea rax, [rsi + 0x420]
lea r9, [rsi + 0x1f]
lea rcx, [0x140067098]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400160ec
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov byte [rsi + 0x10], 1
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x14001afcc
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x438
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea rdx, [rsp + 0x20]
call fcn.140027dd8
mov r11b, byte [rsp + 0x20]
lea rax, [rsp + 0x20]
neg r11b
sbb rcx, rcx
and rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x14001b016
cmp eax, 5
je 0x14001b016
xor eax, eax
jmp 0x14001b01b
mov eax, 1
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140040860
add rsp, 0x438
ret
Function at 0x14001b034
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea rdx, [rsp + 0x60]
mov rbx, rcx
call fcn.140027dd8
cmp qword [0x140064a50], 0
jne 0x14001b09d
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001b091
lea rdx, str.GetDiskFreeSpaceExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064a50], rax
jmp 0x14001b098
mov rax, qword [0x140064a50]
test rax, rax
je 0x14001b0fb
lea rdx, [rsp + 0x60]
mov r8d, 0x400
mov rcx, rbx
call fcn.140028474
mov al, byte [rsp + 0x60]
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
neg al
lea rax, [rsp + 0x60]
sbb rcx, rcx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
and rcx, rax
call qword [0x140064a50]
test eax, eax
je 0x14001b0fb
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x4c]
ja 0x14001b0fb
mov ecx, dword [rsp + 0x30]
shl rax, 0x20
add rax, rcx
jmp 0x14001b14c
mov al, byte [rsp + 0x60]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x38]
neg al
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x40]
sbb rcx, rcx
and rcx, rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x14001b13b
movabs rax, 0x163e00
jmp 0x14001b14c
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
imul eax, dword [rsp + 0x38]
imul rax, rcx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140040860
add rsp, 0x470
pop rbx
ret

Function at 0x14001b168
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x560
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x550], rax
lea rdx, [rsp + 0x150]
call fcn.140027dd8
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor ebx, ebx
lea rcx, [rsp + 0x150]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, ebx
je 0x14001b200
lea rsi, [rsp + 0x40]
lea rdi, [0x1400515bc]
lea ecx, [rbx + 4]
repe cmpsb byte [rsi], byte [rdi]
je 0x14001b1f7
lea rsi, [rsp + 0x40]
lea rdi, str.FAT32
lea ecx, [rbx + 6]
repe cmpsb byte [rsi], byte [rdi]
jne 0x14001b1fc
mov ebx, 1
mov al, bl
jmp 0x14001b202
xor al, al
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.140040860
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001b228
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call fcn.14001dc84
xor ebx, ebx
cmp eax, ebx
je 0x14001b263
cmp rdi, rbx
je 0x14001b263
cmp word [rdi], bx
je 0x14001b263
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
jmp 0x14001b27d
cmp rsi, rbx
je 0x14001b27b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001b27b
mov ebx, 1
mov al, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rdx, rcx
xor ecx, ecx
jmp fcn.14001b228

Function at 0x14001b2cc
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14001dc84
xor ecx, ecx
cmp eax, ecx
je 0x14001b2fc
cmp rbx, rcx
je 0x14001b2fc
cmp word [rbx], cx
je 0x14001b2fc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x14001b305
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b460
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
mov eax, 0x1030
call fcn.14004d510
sub rsp, rax
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14001dc84
xor r13d, r13d
cmp eax, r13d
je 0x14001b4f9
cmp rbx, r13
je 0x14001b4aa
cmp word [rbx], r13w
jne 0x14001b4b5
cmp rdi, r13
je 0x14001b4f9
cmp word [rdi], r13w
je 0x14001b4f9
lea r8, [rsp + 0x820]
mov r9d, 0x400
mov rdx, rbx
mov rcx, rsi
call fcn.140027e80
lea r8, [rsp + 0x20]
mov r9d, 0x400
mov rdx, rdi
mov rcx, rbp
call fcn.140027e80
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x820]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14001b505
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileA]
cmp eax, r13d
setne al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140040860
add rsp, 0x1030
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001b52c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14001dc84
xor esi, esi
cmp eax, esi
je 0x14001b561
cmp rbx, rsi
je 0x14001b561
cmp word [rbx], si
je 0x14001b561
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001b56a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rbx, qword [rsp + 0x30]
cmp eax, esi
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x14001b580
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14001dc84
xor esi, esi
cmp eax, esi
je 0x14001b5b5
cmp rbx, rsi
je 0x14001b5b5
cmp word [rbx], si
je 0x14001b5b5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14001b5be
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov rbx, qword [rsp + 0x30]
cmp eax, esi
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x14001b6a4
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor r13d, r13d
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r12, rcx
cmp rcx, r13
je 0x14001b70c
cmp byte [rcx], r13b
je 0x14001b70c
mov r11, r8
mov r10, rcx
sub r11, rcx
mov al, byte [r10]
mov byte [r11 + r10], al
inc r10
cmp al, r13b
jne 0x14001b6de
mov rcx, r8
call fcn.140027f1c
mov rcx, qword [str.__rar_tmp]
mov qword [rax], rcx
movzx ecx, word [0x1400515e8]
mov word [rax + 8], cx
jmp 0x14001b714
cmp r8, r13
je 0x14001b714
mov byte [r8], r13b
cmp rbx, r13
je 0x14001b75f
cmp word [rbx], r13w
je 0x14001b75f
mov rdx, rdi
mov rcx, rbx
sub rdx, rbx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, r13w
jne 0x14001b728
mov rcx, rdi
lea rbp, [0x1400515c8]
call fcn.140027fb4
movzx ecx, word [rbp]
add rbp, 2
mov word [rax], cx
add rax, 2
cmp cx, r13w
jne 0x14001b748
jmp 0x14001b768
cmp rdi, r13
je 0x14001b768
mov word [rdi], r13w
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, r12
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
jmp fcn.14001b460

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

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 r12
sub rsp, 0x20
mov ebp, r9d
mov sil, r8b
mov rbx, rdx
mov rdi, rcx
call fcn.14001dc84
xor r12d, r12d
cmp eax, r12d
je 0x14001ba22
cmp rbx, r12
je 0x14001ba22
cmp word [rbx], r12w
je 0x14001ba22
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x14001ba32
cmp rdi, r12
je 0x14001ba63
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, r12d
je 0x14001ba4e
cmp sil, r12b
je 0x14001ba4a
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14001b310
xor eax, eax
jmp 0x14001ba68
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14001ba63
cmp eax, 3
mov eax, 1
jne 0x14001ba68
mov eax, 2
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x14001c1a8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x18], rbx
jbe 0x14001c1fb
mov qword [rcx + 0x18], rbx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.140040d24
mov rcx, qword [rdi]
lea eax, [rbx + 0x54]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, ebx
sete al
jmp 0x14001c1fd
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14001fc7c
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 r12
sub rsp, 0xa0
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x90], rax
and dword [rsp + 8], 0
and dword [rsp + 4], 0
and dword [rsp], 0
lea ebp, [r8 - 0x78]
xor r9d, r9d
lea rbx, [rdx + 2]
lea r8, [rsp]
cmp r9d, ebp
jge 0x14001fd4b
mov r10d, dword [r8]
mov ecx, ebp
mov eax, 0x88888889
sub ecx, r9d
lea r12, [rsp + 0x10]
mov rdi, rbx
dec ecx
mul ecx
shr edx, 0xa
lea esi, [rdx + 1]
xor edx, edx
mov r11, rdi
mov cl, byte [r11 - 1]
mov al, byte [r11 - 2]
add rdx, 3
sub al, cl
mov byte [rsp + rdx + 0xe], cl
mov byte [rsp + rdx + 0xd], al
mov al, byte [r11]
add r11, 3
sub al, cl
cmp rdx, 0x78
mov byte [rsp + rdx + 0xf], al
jl 0x14001fcf0
mov ecx, 3
mov al, byte [rsp + rcx + 0x10]
inc rcx
sub al, byte [r12 + rcx - 4]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add r10d, eax
cmp rcx, 0x78
jl 0x14001fd1e
add rdi, 0x780
sub rsi, 1
jne 0x14001fceb
mov dword [r8], r10d
inc r9d
add r8, 4
inc rbx
cmp r9d, 2
jle 0x14001fcc7
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x14001fd74
cmp eax, dword [rsp + 8]
ja 0x14001fd74
xor eax, eax
jmp 0x14001fd7e
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140040860
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 r12
ret

Function at 0x1400202e8
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140020346
lea rdx, str.CreateThread_failed
lea rcx, [0x140067098]
call fcn.140015ed4
lea rcx, [0x140067098]
call fcn.140015b90
lea edx, [rbx + 2]
lea rcx, [0x140067098]
call fcn.140016074
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140026804
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r12d, dword [rsp + 0x60]
xor r11d, r11d
mov eax, r9d
lea ebx, [r11 + 1]
mov r14d, r8d
mov r10d, 0x400
cmp r12d, ebx
mov esi, r11d
mov rbp, rbx
jl 0x140026915
lea eax, [r12 + r12]
lea ecx, [rbx + 7]
sub r14d, eax
mov r8d, r11d
mov edi, r14d
mov r9, rdx
mov r15d, 4
cmp edi, ecx
mov eax, edi
mov r11, r9
cmovg eax, ecx
movsxd r13, eax
add r13, r9
cmp r9, r13
jae 0x1400268b2
lea r12, [r9 + rbp]
mov dl, byte [r12]
mov al, byte [r12 + rbp]
sub al, dl
sub dl, byte [r11]
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 r11
inc r12
add r8d, ecx
cmp r11, r13
jb 0x14002687b
mov ecx, 8
add r9, 0x40
sub edi, 0x40
sub r15, 1
jne 0x140026862
mov r12d, dword [rsp + 0x60]
xor r11d, r11d
cmp r8d, r10d
jge 0x1400268f9
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x2f0]
cmp eax, r11d
je 0x1400268ee
cmp esi, eax
jne 0x1400268ee
mov eax, r10d
lea ecx, [r8 + r8*4]
shl eax, 2
cmp ecx, eax
jge 0x1400268f9
cmp r8d, 0x10
mov esi, ebx
mov r10d, r8d
jl 0x140026911
mov rdx, qword [rsp + 0x48]
inc ebx
inc rbp
cmp ebx, r12d
mov ecx, 8
jle 0x140026853
mov eax, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
imul r10d, eax
cmp r10d, 0xc000
cmovl r11d, esi
mov eax, r11d
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140028594
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x30]
mov edx, 0x1a
xor ecx, ecx
mov byte [rbx], 0
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x14002862e
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x14002862e
cmp byte [rbx], 0
je 0x14002862e
mov rcx, rbx
call fcn.140028440
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
xor edx, edx
repne scasb al, byte [rdi]
mov eax, dword [0x140051a5c]
mov rcx, rbx
mov dword [rdi - 1], eax
movzx eax, word [0x140051a60]
mov word [rdi + 3], ax
mov al, byte [0x140051a62]
mov byte [rdi + 5], al
call fcn.14001b228
test al, al
jne 0x140028647
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001b9d8
test eax, eax
je 0x140028647
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, rbx
call fcn.14002852c
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret