joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006c00
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1f60]
mov eax, 0x2060
call fcn.14000a950
sub rsp, rax
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rbp + 0x1f50], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, rcx
je 0x140006c46
mov rdx, rcx
mov rcx, rbx
call fcn.140007288
lea rax, [rsp + 0x38]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWinRARGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r15d, r15d
test eax, eax
jne 0x140006d32
mov rcx, rdi
call fcn.14000e980
mov ecx, 0x7ff
lea r9, [rsp + 0x40]
sub ecx, eax
lea rdx, str.LanguageFolder
add ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x30], ecx
lea rax, [rbp + 0xf50]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006d27
mov r8d, 0x800
mov word [rsp + 0x50], r15w
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, 0x800
lea rcx, [rsp + 0x50]
call fcn.14000575c
mov rcx, rdi
call fcn.140005db4
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r8d, 0x800
call fcn.140007240
lea rcx, [rsp + 0x50]
call fcn.14000499c
test al, al
je 0x140006d27
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140007288
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.14000a9c0
add rsp, 0x2060
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140006d50
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1050]
mov eax, 0x1150
call fcn.14000a950
sub rsp, rax
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call fcn.140006f28
test rsi, rsi
je 0x140006d9f
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.14000e964
jmp 0x140006db1
mov r8d, 0x800
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x800
lea rdx, str.rarlng.dll
lea rcx, [rbp + 0x40]
call fcn.140005e40
mov r8d, 0x800
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140006c00
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r8d, 2
cmp dword [rsp + 0x30], r8d
jne 0x140006e18
cmp dword [rsp + 0x24], 5
ja 0x140006e0a
jne 0x140006e18
cmp word [rbp + 0x34], r8w
jb 0x140006e18
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x140006e22
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x140030e10], rax
setne cl
mov byte [rbx], cl
test cl, cl
mov rax, qword [0x140030e10]
cmove rax, rdi
mov qword [0x140030e18], rdi
mov qword [0x140030e10], rax
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.14000a9c0
mov rbx, qword [rsp + 0x1178]
add rsp, 0x1150
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000744c
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.14000a950
sub rsp, rax
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140007488
xor eax, eax
jmp 0x1400074ab
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140005d00
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000a9c0
add rsp, 0x1030
pop rbx
ret

Function at 0x140008394
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.1400056d0
test eax, eax
jne 0x1400083bd
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1400083d8
and dword [0x140034000], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140008464
cmp dword [0x140034000], 0
jne 0x1400083bd
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140008464
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor eax, eax
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], ax
je 0x140008573
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
test eax, eax
jne 0x140008573
lea rax, [rsp + 0x50]
mov esi, ecx
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
jmp 0x140008532
lea rax, [rsp + 0x60]
mov r9, rbx
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0xf0]
call fcn.140003a6c
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.140008464
lea rax, [rsp + 0x50]
inc esi
mov qword [rsp + 0x38], rax
mov edx, esi
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400084df
mov rcx, qword [rsp + 0x48]
call fcn.140007988
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140008573
inc dword [0x140034000]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.14000a9c0
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008598
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [0x1400207a0]
mov rdi, rdx
mov rbx, rcx
call fcn.140007ab8
test al, al
jne 0x1400085f5
mov r9d, 0x200
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.140008a04
test al, al
je 0x1400085f5
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14000a9c0
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x140008618
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.140007ab8
test al, al
jne 0x14000869e
mov r9d, 0x200
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call fcn.140008a04
test al, al
je 0x14000869e
lea rax, [rsp + 0x30]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000869e
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.140007988
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000a9c0
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400086bc
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140008618

Function at 0x1400086e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov qword [r11 - 0x28], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140007e70
test al, al
je 0x14000871b
mov eax, dword [rsp + 0x30]
jmp 0x14000877c
mov rdx, rbx
mov rcx, rsi
call fcn.140008a68
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x14000877a
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rsi
sete bl
call fcn.140007988
test bl, bl
je 0x14000877a
cmp dword [rsp + 0x34], 0
je 0x14000877a
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1400086e4
Function at 0x140008794
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov qword [r11 - 0x28], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140007e70
test al, al
je 0x14000871b
mov eax, dword [rsp + 0x30]
jmp 0x14000877c
mov rdx, rbx
mov rcx, rsi
call fcn.140008a68
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x14000877a
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rsi
sete bl
call fcn.140007988
test bl, bl
je 0x14000877a
cmp dword [rsp + 0x34], 0
je 0x14000877a
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1400086e4

Function at 0x1400087ac
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r14, qword [rsp + 0x8c0]
mov rbx, r9
mov esi, dword [rsp + 0x8c8]
lea r9, [rsp + 0x40]
mov r12, r8
mov qword [rsp + 0x20], 0x400
mov rbp, rdx
mov rdi, rcx
call fcn.1400081c8
xor r13d, r13d
test al, al
jne 0x140008821
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.140007288
cmp byte [0x14002e269], r13b
sete al
jmp 0x140008842
lea rcx, [rsp + 0x40]
call fcn.140007ef8
test rax, rax
mov r8, rsi
mov rcx, rbx
cmove rax, r14
mov rdx, rax
call fcn.140007288
mov al, 1
test al, al
je 0x14000884d
mov al, 1
jmp 0x1400088d0
mov rdx, rbp
mov rcx, rdi
call fcn.140008a68
mov rbp, rax
mov dil, r13b
test rax, rax
je 0x1400088bf
lea ecx, [rsi + rsi]
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rcx, rbp
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rbp
sete dil
call fcn.140007988
test dil, dil
je 0x1400088bf
mov ecx, dword [rsp + 0x30]
shr ecx, 1
test esi, esi
jne 0x1400088b0
mov word [rbx], r13w
jmp 0x1400088cd
lea eax, [rsi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x1400088cd
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.140007288
mov al, dil
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000a9c0
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008b48
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x858
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbx, r9
mov qword [rsp + 0x20], 0x400
lea r9, [rsp + 0x40]
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
call fcn.1400081c8
test al, al
jne 0x140008b94
cmp byte [0x14002e269], al
sete al
jmp 0x140008ba9
mov r8d, 1
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.1400079f8
mov al, 1
test al, al
je 0x140008bb1
xor eax, eax
jmp 0x140008c08
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.1400082e4
mov rdi, rax
test rax, rax
je 0x140008c02
mov rcx, rbx
call fcn.14000e980
mov r9d, 1
xor r8d, r8d
mov rdx, rbp
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140007988
jmp 0x140008c06
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000a9c0
add rsp, 0x858
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140008c24
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140008260
test al, al
je 0x140008c4e
xor eax, eax
jmp 0x140008c9c
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.1400082e4
mov rdi, rax
test rax, rax
je 0x140008c96
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140007988
jmp 0x140008c9a
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140008cac
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140008b48

Function at 0x140008cc4
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140008c24

Function at 0x1400090dc
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x140009110
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1030
call fcn.14000a950
sub rsp, rax
mov rax, qword [0x14002e280]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov edi, 0x800
lea rdx, [rsp + 0x20]
xor ebx, ebx
lea rcx, str.sfxname
mov r8d, edi
mov word [rsp + 0x20], bx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400091ff
cmp word [rsp + 0x20], bx
je 0x1400091ff
mov r8d, edi
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
call fcn.140005e40
lea rcx, [rsp + 0x20]
call fcn.14000499c
test al, al
jne 0x14000919f
mov r8d, edi
lea rdx, str.rarreg.txt
lea rcx, [rsp + 0x20]
call fcn.140005e40
lea rcx, [rsp + 0x20]
call fcn.14000499c
test al, al
je 0x1400091c5
mov r8d, 1
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r8, rdi
lea rdx, str.winrar.ini
lea rcx, [rsp + 0x20]
call fcn.140005e40
lea rcx, [rsp + 0x20]
call fcn.14000499c
test al, al
je 0x1400091ff
mov r8d, 1
lea rdx, str.winrar.ini
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000a9c0
mov rbx, qword [rsp + 0x1040]
add rsp, 0x1030
pop rdi
ret
Function at 0x14000a05c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.14000e980
mov rbx, rax
lea rcx, [rax*2 + 4]
call fcn.140010660
mov rdi, rax
test rax, rax
je 0x14000a0c8
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rsi
call fcn.140007608
mov rcx, rdi
call fcn.140010580
mov r8, rax
mov r9, rbp
mov edx, 1
mov rcx, rdi
call fcn.140010374
mov rcx, rdi
call fcn.14000e930
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ab6c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000abfd
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14000abfd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000abfd
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000abe1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000abdb
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000abe3
add rdx, 0x28
jmp 0x14000abc0
xor edx, edx
test rdx, rdx
jne 0x14000abec
xor al, al
jmp 0x14000ac03
test dword [rdx + 0x24], 0x80000000
je 0x14000abf9
xor al, al
jmp 0x14000ac03
mov al, 1
jmp 0x14000ac03
xor al, al
jmp 0x14000ac03
add rsp, 0x18
ret
Function at 0x140016b78
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140016b55
call fcn.140013830
mov dword [rax], 0x16
call fcn.140013710
or eax, 0xffffffff
jmp 0x140016b72
sub dword [rcx + 0x10], 1
jns 0x140016b64
add rsp, 0x28
jmp 0x14001c7d4
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140016b34
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14001c674
call fcn.140013830
mov dword [rax], 0x16
call fcn.140013710
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001c65c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001c65c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001c6a6
lock or dword [rax + 0x14], 0x10
jmp 0x14001c65c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001c6c3
mov rcx, qword [rbp + 0x10]
call fcn.14001b994
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140014bd4
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001cd0c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14001c71a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14001c65c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001c786
mov rcx, qword [rbp + 0x10]
call fcn.140014bd4
cmp eax, 0xffffffff
je 0x14001c76d
mov rcx, qword [rbp + 0x10]
call fcn.140014bd4
cmp eax, 0xfffffffe
je 0x14001c76d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140014bd4
movsxd rdi, eax
lea rsi, [0x1400369b0]
mov rcx, rbx
sar rdi, 6
call fcn.140014bd4
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001c774
lea rax, [0x14002e5a0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001c786
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14001c7bc
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001c7b8
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001c7b8
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14001c65f
jmp 0x14001c62c
Function at 0x303ff1050
Capabilities:
Encode data using xor

Disassembly:
shl rcx, 4
xor eax, eax
and ecx, 0xff0
add r8, rcx
lea r9, [rdx + rax]
lea r10, [rax + r8]
xor ecx, ecx
mov r11b, byte [r10 + rcx]
inc rcx
xor byte [r9], r11b
inc r9
cmp rcx, 4
jne 0x303ff1069
add rax, 4
cmp rax, 0x10
jne 0x303ff105f
ret

Function at 0x303ff10d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
lea rax, [rdx + r8]
mov rbp, rsp
push r15
push r14
push r13
push r12
lea r12, [0x304001160]
push rdi
mov dil, 0x1b
push rsi
mov rsi, rdx
push rbx
mov rbx, rcx
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
mov qword [rsp + 0x28], rax
mov eax, 0x10
cmp qword [rsp + 0x28], rsi
je 0x303ff12e0
cmp eax, 0x10
jne 0x303ff12cd
lea rdx, [rsp + 0x30]
mov r8, rbx
xor ecx, ecx
mov r14d, 1
movups xmm0, xmmword [rbx + 0xf0]
lea r13, [rsp + 0x34]
movaps xmmword [rsp + 0x30], xmm0
call fcn.303ff1050
lea rdx, [rsp + 0x30]
mov rcx, rdx
mov rax, rcx
xor r8d, r8d
movzx r9d, byte [rax]
inc r8d
add rax, 4
mov r9b, byte [r12 + r9]
mov byte [rax - 4], r9b
cmp r8b, 4
jne 0x303ff114d
inc rcx
cmp r13, rcx
jne 0x303ff1147
mov cl, byte [rsp + 0x35]
mov al, byte [rsp + 0x31]
mov byte [rsp + 0x31], cl
mov cl, byte [rsp + 0x39]
mov byte [rsp + 0x35], cl
mov cl, byte [rsp + 0x3d]
mov byte [rsp + 0x3d], al
mov al, byte [rsp + 0x32]
mov byte [rsp + 0x39], cl
mov cl, byte [rsp + 0x3a]
mov byte [rsp + 0x3a], al
mov al, byte [rsp + 0x36]
mov byte [rsp + 0x32], cl
mov cl, byte [rsp + 0x3e]
mov byte [rsp + 0x3e], al
mov al, byte [rsp + 0x33]
mov byte [rsp + 0x36], cl
mov cl, byte [rsp + 0x3f]
mov byte [rsp + 0x33], cl
mov cl, byte [rsp + 0x3b]
mov byte [rsp + 0x3f], cl
mov cl, byte [rsp + 0x37]
mov byte [rsp + 0x37], al
mov byte [rsp + 0x3b], cl
cmp r14d, 0xe
je 0x303ff1292
lea r11, [rdx + 0x10]
mov cl, byte [rdx]
mov r9b, byte [rdx + 1]
add rdx, 4
mov r8b, byte [rdx - 2]
xor r8b, byte [rdx - 1]
xor r9d, ecx
mov r15d, ecx
xor cl, byte [rdx - 1]
mov eax, r9d
mov r10d, r9d
add r9d, r9d
shr al, 7
xor r10d, r8d
imul eax, edi
xor r15d, r10d
xor r15d, eax
xor r9d, r15d
mov r15b, byte [rdx - 3]
xor r15b, byte [rdx - 2]
mov eax, r15d
mov byte [rdx - 4], r9b
mov r9b, byte [rdx - 3]
add r15d, r15d
shr al, 7
imul eax, edi
xor r9d, r10d
xor r9d, eax
mov eax, r8d
add r8d, r8d
shr al, 7
xor r15d, r9d
mov r9b, byte [rdx - 2]
imul eax, edi
mov byte [rdx - 3], r15b
xor r9d, r10d
xor r10b, byte [rdx - 1]
xor r9d, eax
mov eax, ecx
add ecx, ecx
shr al, 7
xor r8d, r9d
imul eax, edi
mov byte [rdx - 2], r8b
mov r8d, r10d
xor eax, r8d
xor ecx, eax
mov byte [rdx - 1], cl
cmp r11, rdx
jne 0x303ff11dc
mov ecx, r14d
lea rdx, [rsp + 0x30]
mov r8, rbx
inc r14d
call fcn.303ff1050
jmp 0x303ff113f
mov r8, rbx
mov ecx, 0xe
call fcn.303ff1050
mov eax, 0xf
mov dl, byte [rbx + rax + 0xf0]
cmp dl, 0xff
jne 0x303ff12c0
mov byte [rbx + rax + 0xf0], 0
sub rax, 1
jae 0x303ff12a4
jmp 0x303ff12cb
cdqe
inc edx
mov byte [rbx + rax + 0xf0], dl
xor eax, eax
movsxd rdx, eax
inc eax
mov dl, byte [rsp + rdx + 0x30]
xor byte [rsi], dl
inc rsi
jmp 0x303ff1105
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret