joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a48c
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 0x14001a529
call fcn.14003eca4
xor edi, edi
lea r12, [rsi + rbx - 6]
mov ebp, eax
lea r8d, [rdi + rbp]
mov eax, 0x431bde83
imul r8d
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov rcx, r12
imul edx, edx, 0xf4240
sub r8d, edx
lea rdx, str._06u
call fcn.14003d0d0
mov byte [rsi + rbx - 4], 0x2e
call fcn.14001caa0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001a526
cmp edi, 0x3e8
je 0x14001a522
inc edi
jmp 0x14001a4d0
xor eax, eax
jmp 0x14001a529
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 0x14001a544
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x1030
call fcn.140048c40
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.14001caa0
xor r12d, r12d
cmp eax, r12d
je 0x14001a5cd
cmp rdi, r12
je 0x14001a58e
cmp word [rdi], r12w
jne 0x14001a599
cmp rbx, r12
je 0x14001a5cd
cmp word [rbx], r12w
je 0x14001a5cd
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rbp
call fcn.140026950
lea r8, [rsp + 0x820]
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.140026950
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14001a5d9
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.14003d0b0
add rsp, 0x1030
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001a600
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.14001caa0
xor esi, esi
cmp eax, esi
je 0x14001a635
cmp rbx, rsi
je 0x14001a635
cmp word [rbx], si
je 0x14001a635
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001a63e
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 0x14001a654
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.14001caa0
xor esi, esi
cmp eax, esi
je 0x14001a689
cmp rbx, rsi
je 0x14001a689
cmp word [rbx], si
je 0x14001a689
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14001a692
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 0x14001a7f4
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.14001caa0
xor ebx, ebx
cmp eax, ebx
je 0x14001a867
cmp rdi, rbx
je 0x14001a867
cmp word [rdi], bx
je 0x14001a867
lea rdx, [rsp + 0x470]
mov rcx, rdi
call fcn.14001a3bc
lea rcx, [rsp + 0x470]
call fcn.140035758
lea rcx, [rsp + 0x470]
mov word [rsp + rax*2 + 0x472], bx
call fcn.14001a770
jmp 0x14001a8c4
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14001a32c
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.14003d574
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.14003d0b0
lea r11, [rsp + 0xc90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14001a8ec
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 0x14001a91d
mov rcx, r8
call fcn.14002698c
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 0x14001a97a
cmp word [rbx], r12w
je 0x14001a97a
mov rdx, rbx
mov rcx, rdi
call fcn.140035770
mov rcx, rdi
call fcn.140026a24
lea rdx, [0x14004c508]
mov rcx, rax
call fcn.140035770
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.14001a544

Function at 0x14001aa20
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.14001caa0
xor r12d, r12d
cmp eax, r12d
je 0x14001aa6a
cmp rbx, r12
je 0x14001aa6a
cmp word [rbx], r12w
je 0x14001aa6a
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x14001aa75
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, r12d
je 0x14001aa91
cmp sil, r12b
je 0x14001aa8d
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14001a2c8
xor eax, eax
jmp 0x14001aaab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14001aaa6
cmp eax, 3
mov eax, 1
jne 0x14001aaab
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 0x14001ea18
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 0x14001eae7
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 0x14001ea8c
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 0x14001eaba
add rdi, 0x780
sub rsi, 1
jne 0x14001ea87
mov dword [r8], r10d
inc r9d
add r8, 4
inc rbx
cmp r9d, 2
jle 0x14001ea63
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x14001eb10
cmp eax, dword [rsp + 8]
ja 0x14001eb10
xor eax, eax
jmp 0x14001eb1a
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14003d0b0
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 0x14001f084
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 0x14001f0e2
lea rdx, str.CreateThread_failed
lea rcx, [0x140060e68]
call fcn.1400153c8
lea rcx, [0x140060e68]
call fcn.140015100
lea edx, [rbx + 2]
lea rcx, [0x140060e68]
call fcn.140015610
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400255a0
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 0x1400256b1
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 0x14002564e
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 0x140025617
mov ecx, 8
add r9, 0x40
sub edi, 0x40
sub r15, 1
jne 0x1400255fe
mov r12d, dword [rsp + 0x60]
xor r11d, r11d
cmp r8d, r10d
jge 0x140025695
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x2f0]
cmp eax, r11d
je 0x14002568a
cmp esi, eax
jne 0x14002568a
mov eax, r10d
lea ecx, [r8 + r8*4]
shl eax, 2
cmp ecx, eax
jge 0x140025695
cmp r8d, 0x10
mov esi, ebx
mov r10d, r8d
jl 0x1400256ad
mov rdx, qword [rsp + 0x48]
inc ebx
inc rbp
cmp ebx, r12d
mov ecx, 8
jle 0x1400255ef
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 0x140026f64
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 0x140026ffe
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x140026ffe
cmp byte [rbx], 0
je 0x140026ffe
mov rcx, rbx
call fcn.140026e3c
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.14001a204
test al, al
jne 0x140027017
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001aa20
test eax, eax
je 0x140027017
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, rbx
call fcn.140026f30
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 0x140027034
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 0x1400270a7
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 0x1400270ba
xor edx, edx
mov rcx, rbx
call fcn.14001a204
test al, al
jne 0x1400270c2
mov rcx, rbx
call fcn.140026f64
add rsp, 0x30
pop rbx
ret
Function at 0x14002f8dc
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 0x14002f916
mov rdx, rcx
mov rcx, rbx
call fcn.140034338
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 0x14002fa13
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 0x14002fa08
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.140026e3c
mov rcx, rsi
call fcn.14002698c
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 0x14002f9d8
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.14001a204
test al, al
je 0x14002fa08
lea rdx, [rsp + 0x50]
mov r8, rbp
mov rcx, rbx
call fcn.140034338
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14003d0b0
mov rbx, qword [rsp + 0x898]
add rsp, 0x860
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002fae4
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x4d0
mov rax, qword [0x140056850]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call fcn.14002f8a8
test rbx, rbx
je 0x14002fb35
lea r8, [rsp + 0xc0]
sub r8, rbx
mov al, byte [rbx]
mov byte [r8 + rbx], al
inc rbx
test al, al
jne 0x14002fb26
jmp 0x14002fb4b
lea rdx, [rsp + 0xc0]
mov r8d, 0x400
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0xc0]
call fcn.14002698c
mov rcx, qword [str.rarlng.dll]
lea rdx, [rsp + 0xc0]
mov qword [rax], rcx
movzx ecx, word [0x14004cdd0]
mov r8d, 0x400
mov word [rax + 8], cx
mov cl, byte [0x14004cdd2]
mov byte [rax + 0xa], cl
lea rcx, [rsp + 0xc0]
call fcn.14002f8dc
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov r8d, 2
cmp dword [rsp + 0x30], r8d
jne 0x14002fbd3
cmp dword [rsp + 0x24], 5
ja 0x14002fbc1
jne 0x14002fbd3
cmp dword [rsp + 0x28], 1
jbe 0x14002fbd3
lea rcx, [rsp + 0xc0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x14002fbe1
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov qword [0x140060e60], rax
setne cl
mov byte [rdi], cl
mov rax, qword [0x140060e60]
test cl, cl
cmove rax, rsi
mov qword [0x140060e58], rsi
mov qword [0x140060e60], rax
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.14003d0b0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002fc30
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.14003d240
xor r11d, r11d
xor r10d, r10d
xor edx, edx
xor r8d, r8d
xor r9d, r9d
cmp r9, 0x28
jg 0x14002fcb7
cmp rdx, 4
jge 0x14002fc9e
lea rbx, [rsp + rdx*4 + 0x20]
cmp r8, 4
jge 0x14002fca2
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 0x14002fc7b
cmp r8, 4
jne 0x14002fcb1
inc r11d
add r9, 4
xor r10d, r10d
xor r8d, r8d
cmp rdx, 4
jl 0x14002fc6a
movsxd r8, r11d
movsxd r9, r10d
cmp r8, 0xa
jg 0x14002fd86
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 0x14002fd1c
add rdx, 4
sub r10, 1
jne 0x14002fd1a
xor edx, edx
cmp r8, 0xa
jg 0x14002fd86
cmp rdx, 4
jge 0x14002fd6a
lea r10, [rsp + rdx*4 + 0x20]
cmp r9, 4
jge 0x14002fd6e
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 0x14002fd49
cmp r9, 4
jne 0x14002fd76
inc r8
xor r9d, r9d
cmp rdx, 4
jl 0x14002fd38
cmp r8, 0xa
jle 0x14002fcd5
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003d0b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14002fda0
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 0x14002fde2
inc r9
cmp r9, 4
jl 0x14002fdd5
movdqu xmm0, xmmword [rsp]
movdqu xmmword [r10], xmm0
add r10, 0x10
sub r11, 1
jne 0x14002fdd2
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.14003d0b0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x140030ad8
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
jmp 0x140030ad8
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 0x140030b0a
xor eax, eax
jmp 0x140030bb2
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.14002fe70
lea r12, [rsi - 1]
add rbp, 0x10
test r12, r12
je 0x140030b94
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.14002fe70
add rbp, 0x10
sub r12, 1
jne 0x140030b4f
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.14003d0b0
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140030bcc
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
jmp 0x140030bcc
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 0x140030cd2
test rbx, rbx
je 0x140030cd2
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 0x140030cc4
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.1400302a0
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 0x140030c3f
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 0x140030cd4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003d0b0
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 0x140033d9c
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 0x140034a24
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 0x140034a8a
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