joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a490
Capabilities:
Check if file exists
Get file attributes

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 rbx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rsi, rcx
cmp rcx, 6
jbe 0x14001a512
call fcn.14003ec54
xor edi, edi
lea r12, [rsi + rbx - 6]
mov ebp, eax
lea r8d, [rdi + rbp]
lea rdx, str._06u
mov rcx, r12
call fcn.14003d080
mov byte [rsi + rbx - 4], 0x2e
call fcn.14001ca94
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001a50f
cmp edi, 0x3e8
je 0x14001a50b
inc edi
jmp 0x14001a4d4
xor eax, eax
jmp 0x14001a512
mov rax, rbx
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 0x14001a530
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x1030
call fcn.140048bf0
sub rsp, rax
mov rax, qword [0x140056850]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, r9
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14001ca94
xor r12d, r12d
cmp eax, r12d
je 0x14001a5b9
cmp rdi, r12
je 0x14001a57a
cmp word [rdi], r12w
jne 0x14001a585
cmp rbx, r12
je 0x14001a5b9
cmp word [rbx], r12w
je 0x14001a5b9
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rbp
call fcn.140026944
lea r8, [rsp + 0x820]
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.140026944
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14001a5c5
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileA]
cmp eax, r12d
setne al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14003d060
add rsp, 0x1030
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001a5ec
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.14001ca94
xor esi, esi
cmp eax, esi
je 0x14001a621
cmp rbx, rsi
je 0x14001a621
cmp word [rbx], si
je 0x14001a621
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001a62a
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 0x14001a640
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.14001ca94
xor esi, esi
cmp eax, esi
je 0x14001a675
cmp rbx, rsi
je 0x14001a675
cmp word [rbx], si
je 0x14001a675
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14001a67e
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 0x14001a7e0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc90
mov rax, qword [0x140056850]
xor rax, rsp
mov qword [rsp + 0xc80], rax
mov rdi, rdx
mov rsi, rcx
call fcn.14001ca94
xor ebx, ebx
cmp eax, ebx
je 0x14001a853
cmp rdi, rbx
je 0x14001a853
cmp word [rdi], bx
je 0x14001a853
lea rdx, [rsp + 0x470]
mov rcx, rdi
call fcn.14001a3c0
lea rcx, [rsp + 0x470]
call fcn.140035710
lea rcx, [rsp + 0x470]
mov word [rsp + rax*2 + 0x472], bx
call fcn.14001a75c
jmp 0x14001a8b0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14001a330
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x60]
lea r8d, [rax + 0x38]
xor edx, edx
repne scasb al, byte [rdi]
not rcx
mov byte [rsp + rcx + 0x60], bl
lea rcx, [rsp + 0x20]
call fcn.14003d524
mov eax, 0x54
lea rcx, [rsp + 0x20]
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp eax, ebx
sete al
mov rcx, qword [rsp + 0xc80]
xor rcx, rsp
call fcn.14003d060
lea r11, [rsp + 0xc90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14001a8d8
Capabilities:
Move file

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 rbx, rdx
mov rdx, r8
mov rdi, r9
sub rdx, rcx
mov rsi, r8
mov rbp, rcx
xor r12d, r12d
mov r10, rcx
mov al, byte [r10]
mov byte [rdx + r10], al
inc r10
cmp al, r12b
jne 0x14001a909
mov rcx, r8
call fcn.140026980
mov rcx, qword [str.__rar_tmp]
mov qword [rax], rcx
movzx ecx, word [0x14004c528]
mov word [rax + 8], cx
mov word [rdi], r12w
cmp rbx, r12
je 0x14001a966
cmp word [rbx], r12w
je 0x14001a966
mov rdx, rbx
mov rcx, rdi
call fcn.140035728
mov rcx, rdi
call fcn.140026a18
lea rdx, [0x14004c508]
mov rcx, rax
call fcn.140035728
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, 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 r12
jmp fcn.14001a530

Function at 0x14001aa0c
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.14001ca94
xor r12d, r12d
cmp eax, r12d
je 0x14001aa56
cmp rbx, r12
je 0x14001aa56
cmp word [rbx], r12w
je 0x14001aa56
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x14001aa61
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, r12d
je 0x14001aa7d
cmp sil, r12b
je 0x14001aa79
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14001a2cc
xor eax, eax
jmp 0x14001aa97
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14001aa92
cmp eax, 3
mov eax, 1
jne 0x14001aa97
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 0x14001ea0c
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 [0x140056850]
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 0x14001eadb
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 0x14001ea80
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 0x14001eaae
add rdi, 0x780
sub rsi, 1
jne 0x14001ea7b
mov dword [r8], r10d
inc r9d
add r8, 4
inc rbx
cmp r9d, 2
jle 0x14001ea57
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x14001eb04
cmp eax, dword [rsp + 8]
ja 0x14001eb04
xor eax, eax
jmp 0x14001eb0e
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14003d060
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 0x14001f078
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 0x14001f0d6
lea rdx, str.CreateThread_failed
lea rcx, [0x140060e68]
call fcn.1400153cc
lea rcx, [0x140060e68]
call fcn.140015104
lea edx, [rbx + 2]
lea rcx, [0x140060e68]
call fcn.140015614
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140025594
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 0x1400256a5
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 0x140025642
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 0x14002560b
mov ecx, 8
add r9, 0x40
sub edi, 0x40
sub r15, 1
jne 0x1400255f2
mov r12d, dword [rsp + 0x60]
xor r11d, r11d
cmp r8d, r10d
jge 0x140025689
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x2f0]
cmp eax, r11d
je 0x14002567e
cmp esi, eax
jne 0x14002567e
mov eax, r10d
lea ecx, [r8 + r8*4]
shl eax, 2
cmp ecx, eax
jge 0x140025689
cmp r8d, 0x10
mov esi, ebx
mov r10d, r8d
jl 0x1400256a1
mov rdx, qword [rsp + 0x48]
inc ebx
inc rbp
cmp ebx, r12d
mov ecx, 8
jle 0x1400255e3
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 0x140026f58
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 0x140026ff2
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x140026ff2
cmp byte [rbx], 0
je 0x140026ff2
mov rcx, rbx
call fcn.140026e30
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
xor edx, edx
repne scasb al, byte [rdi]
mov eax, dword [0x14004c9ac]
mov rcx, rbx
mov dword [rdi - 1], eax
movzx eax, word [0x14004c9b0]
mov word [rdi + 3], ax
mov al, byte [0x14004c9b2]
mov byte [rdi + 5], al
call fcn.14001a208
test al, al
jne 0x14002700b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001aa0c
test eax, eax
je 0x14002700b
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, rbx
call fcn.140026f24
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
Function at 0x140027028
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
mov byte [rcx], 0
lea rdx, str.SoftwareWinRARPaths
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002709b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.AppData
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [rbx], 0
je 0x1400270ae
xor edx, edx
mov rcx, rbx
call fcn.14001a208
test al, al
jne 0x1400270b6
mov rcx, rbx
call fcn.140026f58
add rsp, 0x30
pop rbx
ret
Function at 0x14002f8d0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x140056850]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, rcx
je 0x14002f90a
mov rdx, rcx
mov rcx, rbx
call fcn.1400342f0
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareWinRARGeneral
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002fa07
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
mov eax, 0x3ff
lea r9, [rsp + 0x40]
not rcx
lea rdx, str.LanguageFolder
xor r8d, r8d
dec rcx
sub eax, ecx
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x450]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002f9fc
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x450]
mov r8d, 0x400
mov byte [rsp + 0x50], al
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rcx, [rsp + 0x50]
call fcn.140026e30
mov rcx, rsi
call fcn.140026980
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
mov r11, rax
xor eax, eax
repne scasb al, byte [rdi]
xor r9d, r9d
mov dl, byte [r11 + r9]
inc r9
mov byte [rdi + r9 - 2], dl
test dl, dl
jne 0x14002f9cc
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.14001a208
test al, al
je 0x14002f9fc
lea rdx, [rsp + 0x50]
mov r8, rbp
mov rcx, rbx
call fcn.1400342f0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14003d060
mov rbx, qword [rsp + 0x898]
add rsp, 0x860
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002fbe8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140056850]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x20
call fcn.14003d1f0
xor r11d, r11d
xor r10d, r10d
xor edx, edx
xor r8d, r8d
xor r9d, r9d
cmp r9, 0x28
jg 0x14002fc6f
cmp rdx, 4
jge 0x14002fc56
lea rbx, [rsp + rdx*4 + 0x20]
cmp r8, 4
jge 0x14002fc5a
mov eax, dword [rbx]
lea rcx, [r9 + r8]
inc rdx
add rbx, 4
inc r10d
inc r8
cmp rdx, 4
mov dword [rdi + rcx*4 + 0x14], eax
jl 0x14002fc33
cmp r8, 4
jne 0x14002fc69
inc r11d
add r9, 4
xor r10d, r10d
xor r8d, r8d
cmp rdx, 4
jl 0x14002fc22
movsxd r8, r11d
movsxd r9, r10d
cmp r8, 0xa
jg 0x14002fd3e
lea r11, [0x140065ae0]
lea rbx, [0x140065c00]
movzx eax, byte [rsp + 0x2d]
mov cl, byte [rsp + 0x20]
lea rdx, [rsp + 0x24]
xor cl, byte [rax + rbx]
movzx eax, byte [rsp + 0x2e]
mov r10d, 3
mov al, byte [rax + rbx]
xor cl, byte [r11]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x2f]
mov byte [rsp + 0x20], cl
mov al, byte [rax + rbx]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x2c]
mov al, byte [rax + rbx]
xor byte [rsp + 0x23], al
inc r11
xor ecx, ecx
mov al, byte [rdx + rcx - 4]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 4
jl 0x14002fcd4
add rdx, 4
sub r10, 1
jne 0x14002fcd2
xor edx, edx
cmp r8, 0xa
jg 0x14002fd3e
cmp rdx, 4
jge 0x14002fd22
lea r10, [rsp + rdx*4 + 0x20]
cmp r9, 4
jge 0x14002fd26
mov eax, dword [r10]
lea rcx, [r9 + r8*4]
inc rdx
add r10, 4
inc r9
cmp rdx, 4
mov dword [rdi + rcx*4 + 0x14], eax
jl 0x14002fd01
cmp r9, 4
jne 0x14002fd2e
inc r8
xor r9d, r9d
cmp rdx, 4
jl 0x14002fcf0
cmp r8, 0xa
jle 0x14002fc8d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003d060
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14002fd58
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rax, qword [0x140056850]
xor rax, rsp
mov qword [rsp + 0x10], rax
lea r10, [rcx + 0x24]
mov r11d, 9
lea r13, [0x140000000]
xor r9d, r9d
lea rsi, [rsp + r9]
lea rdi, [r10 + 2]
mov ebp, 4
movzx eax, byte [rdi + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [rdi - 1]
mov r8b, byte [rdx + r13 + 0x62ae0]
lea rcx, [r9 + rax*4]
movzx eax, byte [rdi - 2]
xor r8b, byte [rcx + r13 + 0x632e0]
lea rcx, [r9 + rax*4]
movzx eax, byte [rdi]
xor r8b, byte [rcx + r13 + 0x636e0]
lea rcx, [r9 + rax*4]
add rdi, 4
xor r8b, byte [rcx + r13 + 0x62ee0]
mov byte [rsi], r8b
add rsi, 4
sub rbp, 1
jne 0x14002fd9a
inc r9
cmp r9, 4
jl 0x14002fd8d
movdqu xmm0, xmmword [rsp]
movdqu xmmword [r10], xmm0
add r10, 0x10
sub r11, 1
jne 0x14002fd8a
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.14003d060
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x140030a90
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
jmp 0x140030a90
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rax, qword [0x140056850]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test r8, r8
jne 0x140030ac2
xor eax, eax
jmp 0x140030b6a
mov eax, dword [rdx]
mov r8, rbx
shr rsi, 4
xor eax, dword [rcx + 4]
mov dword [rsp + 0x20], eax
mov eax, dword [rdx + 4]
xor eax, dword [rcx + 8]
mov dword [rsp + 0x24], eax
mov eax, dword [rdx + 8]
xor eax, dword [rcx + 0xc]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 0xc]
lea rdx, [rsp + 0x20]
xor eax, dword [rcx + 0x10]
mov dword [rsp + 0x2c], eax
call fcn.14002fe28
lea r12, [rsi - 1]
add rbp, 0x10
test r12, r12
je 0x140030b4c
mov eax, dword [rbx]
add rbx, 0x10
lea rdx, [rsp + 0x20]
xor eax, dword [rbp]
mov r8, rbx
mov rcx, rdi
mov dword [rsp + 0x20], eax
mov eax, dword [rbx - 0xc]
xor eax, dword [rbp + 4]
mov dword [rsp + 0x24], eax
mov eax, dword [rbx - 8]
xor eax, dword [rbp + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx - 4]
xor eax, dword [rbp + 0xc]
mov dword [rsp + 0x2c], eax
call fcn.14002fe28
add rbp, 0x10
sub r12, 1
jne 0x140030b07
mov eax, dword [rbx]
shl rsi, 4
mov dword [rdi + 4], eax
mov eax, dword [rbx + 4]
mov dword [rdi + 8], eax
mov eax, dword [rbx + 8]
mov dword [rdi + 0xc], eax
mov eax, dword [rbx + 0xc]
mov dword [rdi + 0x10], eax
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003d060
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140030b84
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
jmp 0x140030b84
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140056850]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x140030c8a
test rbx, rbx
je 0x140030c8a
movdqu xmm0, xmmword [rcx + 4]
shr rbx, 4
mov qword [rsp + 0x20], rbx
mov r12, rbx
movdqu xmmword [rsp + 0x28], xmm0
test rbx, rbx
je 0x140030c7c
mov r13d, dword [r11 - 0x54]
mov r14d, dword [r11 - 0x58]
mov r15d, dword [r11 - 0x5c]
mov ebx, dword [rsp + 0x28]
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call fcn.140030258
mov r11d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
xor r11d, ebx
mov ebx, dword [rsi]
xor edx, r15d
mov r15d, dword [rsi + 4]
xor ecx, r14d
mov r14d, dword [rsi + 8]
xor eax, r13d
mov r13d, dword [rsi + 0xc]
mov dword [rbp], r11d
mov dword [rbp + 4], edx
mov dword [rbp + 8], ecx
mov dword [rbp + 0xc], eax
add rbp, 0x10
add rsi, 0x10
sub r12, 1
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], eax
jne 0x140030bf7
mov dword [rsp + 0x28], ebx
mov rbx, qword [rsp + 0x20]
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x2c], r15d
movdqu xmm0, xmmword [rsp + 0x28]
shl rbx, 4
movdqu xmmword [rdi + 4], xmm0
mov rax, rbx
jmp 0x140030c8c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003d060
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140033d54
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x1400349dc
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140034a42
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret
Function at 0x14003ebb4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400437d0
nop
cmp dword [0x140066408], 1
je 0x14003eb60
mov dword [0x140066404], 1
mov byte [0x140066400], r12b
test ebx, ebx
jne 0x14003eb4c
mov rcx, qword [0x1400684c0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003eb39
mov rcx, qword [0x1400684b8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14003ead8
call fcn.140040a20
cmp qword [rdi], rax
jne 0x14003ead8
jmp 0x14003eabe
cmp rdi, rsi
jb 0x14003eb39
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140040a20
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400684c0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400684b8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14003eb17
cmp r13, rax
je 0x14003eb37
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14003eabe
lea rdx, [0x14004b5b8]
lea rcx, [0x14004b5a0]
call fcn.14003e908
lea rdx, [0x14004b5c8]
lea rcx, [0x14004b5c0]
call fcn.14003e908
nop
test r12d, r12d
je 0x14003eb6f
mov ecx, 8
call fcn.1400436d0
test r12d, r12d
jne 0x14003eb9a
mov dword [0x140066408], 1
lea ecx, [r12 + 8]
call fcn.1400436d0
mov ecx, r15d
call fcn.14003e89c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14003ea28

Function at 0x14003ebc0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14003ea28

Function at 0x14003ed20
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x14003ed36
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14003ed38
xor eax, eax
test eax, eax
je 0x14003ed48
mov ecx, eax
call fcn.14003f514
or eax, 0xffffffff
jmp 0x14003ed4a
xor eax, eax
add rsp, 0x28
ret

Function at 0x14003f2b0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14003f2c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14003f2c8
xor eax, eax
test eax, eax
je 0x14003f2d8
mov ecx, eax
call fcn.14003f514
or eax, 0xffffffff
jmp 0x14003f2da
xor eax, eax
add rsp, 0x28
ret