joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400185e8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
cmp byte [rcx + 0x20], 0
mov r12, r9
mov r14d, r8d
mov r15, rdx
mov rbx, rcx
je 0x1400186b1
mov ecx, dword [rcx + 0x30]
xor edi, edi
test ecx, ecx
je 0x1400186ad
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x10]
mov eax, edi
add rax, rax
cmp r8, qword [rdx + rax*8]
je 0x14001863a
inc edi
cmp edi, ecx
jb 0x140018629
cmp edi, ecx
jae 0x1400186ad
xor ebp, ebp
mov esi, edi
test r14d, r14d
je 0x1400186a5
mov rax, qword [rbx + 0x28]
mov ecx, esi
add rcx, rcx
mov rcx, qword [rax + rcx*8]
mov qword [rbx + 0x10], rcx
mov byte [rbx + 0x20], 0
cmp esi, edi
jbe 0x140018672
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140018890
and dword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.1400185e8
mov byte [rbx + 0x20], 1
test al, al
je 0x1400186ad
mov edx, dword [rsp + 0x70]
inc esi
add ebp, edx
add r15, rdx
sub r14d, edx
cmp esi, dword [rbx + 0x30]
jb 0x140018642
mov dword [r12], ebp
mov al, 1
jmp 0x1400186c6
xor al, al
jmp 0x1400186c6
mov rcx, qword [rcx + 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140018bb0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.140018890
test al, al
je 0x140018be9
cmp qword [rsp + 0x40], rbx
jne 0x140018be9
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
jmp 0x140018beb
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140018ee8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov r10d, r8d
mov rcx, qword [rcx + 0x40]
mov rsi, rdx
add rcx, r10
mov r14d, r8d
mov dil, 1
mov qword [rbx + 0x40], rcx
je 0x140018f3c
mov r8, qword [rbx + 0x48]
cmp rcx, r8
jae 0x140018f3c
mov rax, qword [rbx + 0x18]
and qword [rax + 0x28], 0
and qword [rax + 0x30], 0
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], r8
mov byte [rax + 0x38], dil
cmp byte [rbx + 9], 0
je 0x140018f47
mov dword [r9], r10d
jmp 0x140018f60
mov rcx, qword [rbx + 0x10]
mov r8d, r10d
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dil
mov rcx, qword [rbx + 0x18]
mov r8, r14
mov rdx, rsi
mov rcx, qword [rcx + 8]
call fcn.14001df58
mov rbx, qword [rsp + 0x40]
mov al, dil
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
ret
Function at 0x14001bb50
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x14016c7f0]
mov r8d, r9d
mov r11d, 8
shl r8d, 0x18
lea eax, [r8 + r8]
mov ecx, r8d
mov edx, eax
mov r8d, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovs r8d, edx
dec r11d
test r11d, r11d
jg 0x14001bb67
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14001bb5a
ret

Function at 0x14001cfc0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ecx, cx
call fcn.140119210
xor edi, edi
mov ebx, eax
cmp word [0x14016dc20], di
je 0x14001cff3
lea rcx, [0x14016dc20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov word [0x14016dc20], di
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001dd10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov rdi, r8
xor ecx, ecx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.1400876ec
xor ebp, ebp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.14009cca0
mov rcx, rbx
call fcn.140076738
test al, al
je 0x14001dd63
mov al, 1
jmp 0x14001dde8
lea rax, [rsp + 0x38]
mov word [rbx], bp
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ddc7
mov rcx, qword [rsp + 0x38]
lea eax, [rdi + rdi]
mov dword [rsp + 0x68], eax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.1400876ec
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.14009cca0
mov rcx, rbx
call fcn.140076738
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400256f8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea rdx, [0x140170c40]
mov r10d, 0x100
mov r9, r8
mov r11d, 8
mov rcx, r9
movabs rax, 0xc96c5795d7870f42
and ecx, 1
dec rcx
not rcx
and rcx, rax
mov rax, r9
shr rax, 1
mov r9, rcx
xor r9, rax
sub r11, 1
jne 0x140025711
mov qword [rdx], r9
inc r8
add rdx, 8
sub r10, 1
jne 0x140025708
ret

Function at 0x140025750
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
test r8, r8
je 0x14002577a
movzx eax, byte [rdx]
inc rdx
xor rax, rcx
shr rcx, 8
movzx r8d, al
lea rax, [0x140170c40]
xor rcx, qword [rax + r8*8]
sub r9, 1
jne 0x140025758
mov rax, rcx
ret

Function at 0x140029690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
mov r10d, dword [r9]
xor r11d, r11d
and r10d, 7
mov esi, r8d
mov r14, rcx
cmp rdx, 5
jae 0x1400296c8
xor eax, eax
jmp 0x14002983c
lea rbp, [rdx - 4]
add esi, 5
add rbp, rcx
or rbx, 0xffffffffffffffff
xor r15d, r15d
lea rdx, [0x140000000]
lea r8, [r11 + r14]
jmp 0x1400296f2
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x1400296f7
inc r8
cmp r8, rbp
jb 0x1400296e6
mov r11, r8
sub r11, r14
mov rax, r11
cmp r8, rbp
jae 0x14002981c
sub rax, rbx
cmp rax, 3
jbe 0x14002975f
mov r10d, r15d
mov al, byte [r8 + 4]
mov rbx, r11
dec al
cmp al, 0xfd
jbe 0x140029790
movzx eax, byte [r8 + 3]
lea r14, [0x140000000]
movzx edx, byte [r8 + 4]
shl edx, 8
or edx, eax
mov r12d, r10d
movzx eax, byte [r8 + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 1]
shl edx, 8
or edx, eax
cmp dword [rsp + 0x50], r15d
je 0x1400297a3
lea r9d, [r11 + rdx]
add r9d, esi
jmp 0x1400297ac
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x140029715
cmp byte [r10 + rdx + 0x12d090], r15b
je 0x14002978d
movzx eax, byte [r10 + rdx + 0x12d098]
mov rcx, r8
sub rcx, rax
mov al, byte [rcx + 4]
inc al
test al, 0xfe
jne 0x140029715
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x1400296e0
mov r9d, edx
sub r9d, r11d
sub r9d, esi
test r10d, r10d
je 0x1400297e8
movzx edi, byte [r12 + r14 + 0x12d098]
mov ecx, 0x18
shl edi, 3
mov edx, r9d
sub ecx, edi
shr edx, cl
inc dl
test dl, 0xfe
jne 0x1400297e8
mov ecx, 0x20
mov edx, 1
sub ecx, edi
shl edx, cl
dec edx
xor edx, r9d
jmp 0x14002974f
mov r14, qword [rsp + 0x30]
mov eax, r9d
shr eax, 0x18
and al, 1
mov byte [r8 + 1], r9b
neg al
mov byte [r8 + 4], al
mov eax, r9d
shr eax, 0x10
mov byte [r8 + 3], al
mov eax, r9d
shr eax, 8
mov byte [r8 + 2], al
add r11, 5
jmp 0x1400296d9
mov rdx, r11
sub rdx, rbx
lea ecx, [rdx - 1]
shl r10d, cl
and r10d, 7
cmp rdx, 3
cmova r10d, r15d
mov r15, qword [rsp + 0x48]
mov dword [r15], r10d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140038b40
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
test r8, r8
je 0x140038b6e
movzx eax, byte [rdx]
mov r9d, r10d
shr r9, 8
inc rdx
xor r9, rax
shl r10d, 8
movzx eax, r9b
xor r10d, dword [rcx + rax*4 + 0x1ab8]
sub r8, 1
jne 0x140038b48
movzx eax, r10w
ret
Function at 0x140039eac
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea r10, [rcx + 0x1ab8]
mov r8d, r9d
mov r11d, 8
shl r8d, 8
lea ecx, [r8 + r8]
mov edx, r8d
mov eax, ecx
mov r8d, ecx
xor eax, 0x1021
bt edx, 0xf
cmovb r8d, eax
sub r11, 1
jne 0x140039ec3
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x140039eb6
ret

Function at 0x140042da4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1030
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r15d, edx
lea rdx, [0x14012ece0]
call fcn.140077628
mov rbp, rax
xor eax, eax
test rbp, rbp
jne 0x140042df6
lea eax, [rbp + 0x32]
jmp 0x140042f4b
mov r14d, 0x1000
cmp r15d, 0x8000
jbe 0x140042f03
mov edx, r15d
xor r8d, r8d
shr edx, 3
mov rcx, rbp
add edx, r14d
call fcn.1401160b0
mov r12d, 1
lea rcx, [rsp + 0x20]
mov edx, r12d
mov r9, rbp
mov r8d, r14d
call fcn.140115d98
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140042b54
mov edx, r15d
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov esi, eax
call fcn.1401160b0
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.140115d98
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140042b54
lea edx, [r15 + r15]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov edi, eax
call fcn.1401160b0
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.140115d98
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140042b54
lea edx, [r15 + r15*2]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov ebx, eax
call fcn.1401160b0
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.140115d98
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140042b54
add eax, ebx
mov rcx, rbp
add eax, edi
add eax, esi
cdq
and edx, 3
lea ebx, [rdx + rax]
sar ebx, 2
call fcn.140111fa8
mov eax, ebx
jmp 0x140042f4b
cmp r15d, r14d
jbe 0x140042f11
mov rax, r15
sub rax, r14
shr rax, 1
xor r8d, r8d
mov edx, eax
mov rcx, rbp
call fcn.1401160b0
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8, r14
mov edx, 1
call fcn.140115d98
mov rcx, rbp
mov rbx, rax
call fcn.140111fa8
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140042b54
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400466bc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x7228]
mov eax, 0x7320
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x7210], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
je 0x140046828
mov ecx, eax
call fcn.1400768c4
xor esi, esi
test al, al
je 0x140046828
mov ecx, edi
call fcn.140076a80
test al, al
jne 0x140046828
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], si
jne 0x140046729
mov rcx, rbx
call fcn.1400876ec
cmp word [rax], si
je 0x140046828
mov r9d, 0x800
lea r8, [rbp + 0x6210]
lea rdx, [0x14012b2c0]
mov rcx, rbx
call fcn.140086fb4
lea rcx, [rsp + 0x30]
call fcn.14009ccfc
nop
lea rdx, [rbp + 0x6210]
lea rcx, [rsp + 0x30]
call fcn.14009cd2c
mov r8d, 2
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1040]
call fcn.14009914c
nop
mov qword [rbp + 0x1000], rsi
mov qword [rbp + 0x1008], rsi
mov qword [rbp + 0x1010], rsi
jmp 0x1400467f4
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140111e14
test eax, eax
jne 0x140046808
lea rcx, [rbp - 0x10]
call fcn.140076d40
cmp byte [rbp + 0xffc], sil
je 0x1400467eb
test byte [rbp + 0x1030], 1
je 0x1400467f4
lea rcx, [rbp - 0x10]
call fcn.1400763dc
jmp 0x1400467f4
lea rcx, [rbp - 0x10]
call fcn.140076460
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x1040]
call fcn.140099c9c
test eax, eax
je 0x1400467b2
mov rcx, rbx
call fcn.1400763dc
nop
lea rcx, [rbp + 0x1040]
call fcn.140099214
nop
lea rcx, [rsp + 0x30]
call fcn.140004d3c
mov rcx, qword [rbp + 0x7210]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x7320]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140046850
Capabilities:
Get common file path

Disassembly:
mov r8d, 0x10
jmp fcn.1400468b0

Function at 0x1400468b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov eax, r8d
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x104
jb 0x1400468f0
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
mov edx, eax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1400468f0
mov bl, 1
jmp 0x140046902
mov r8, rdi
lea rdx, str.unknown_folder
mov rcx, rsi
call fcn.14009ccc8
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140046de0
Capabilities:
Enumerate pe sections
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdi, [0x14012eff8]
mov rbx, rcx
mov rdx, rdi
lea rcx, str.Setup.rar
call fcn.1400ae940
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lz
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xe]
lea rcx, str.Setup.xz
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xf]
lea rcx, str.Setup.zipx
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x10]
lea rcx, str.Setup.zst
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x11]
lea rcx, str.Setup.001
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
mov rcx, rdi
lea rdx, [0x14012f000]
call fcn.1400ae940
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x17]
lea rdi, [0x14012b238]
mov rcx, rdi
lea rdx, str.ShellExt
call fcn.1400ae940
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x1a]
lea rdx, str.LegacyMenu
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400ae940
Function at 0x140047e9c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0xf90], rax
movzx ebx, cl
lea rdx, [rbp - 0x70]
mov edi, 0x800
xor ecx, ecx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, edi
lea rdx, str.RarExtPackage.msix
lea rcx, [rbp - 0x70]
call fcn.1400877f4
lea rcx, [rbp - 0x70]
call fcn.140076738
test al, al
jne 0x140047f1f
mov ecx, 0x209
call fcn.140096d58
mov rcx, rax
lea rdx, [rbp - 0x70]
call fcn.1400dba04
jmp 0x140047fce
mov r8, rdi
lea rdx, str.RarExtInstaller.exe
lea rcx, [rbp - 0x70]
call fcn.1400877f4
lea rcx, [rbp - 0x70]
call fcn.140076738
test al, al
je 0x140047f04
mov edi, 0x70
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140108940
lea rax, [rbp - 0x70]
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x38], rax
lea rcx, str._install
test bl, bl
mov dword [rsp + 0x50], 1
lea rax, str._Uninstall
cmovne rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea rdi, [0x14012b238]
xor r8d, r8d
mov rcx, rdi
lea rdx, str.NewContextMenu
call fcn.1400add30
test eax, eax
jne 0x140047fbc
lea r8d, [rax + 1]
mov rcx, rdi
lea rdx, str.CascadedMenu
call fcn.1400ae940
mov r8d, ebx
lea rdx, str.NewContextMenu
mov rcx, rdi
call fcn.1400ae940
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x10a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400487e4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx r8d, byte [rdx]
mov rbx, rdx
mov edx, 0x65
mov rsi, rcx
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 1]
mov edx, 0x66
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 2]
mov edx, 0x67
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 3]
mov edx, 0x68
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 4]
mov edx, 0x73
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 5]
mov edx, 0x69
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 6]
mov edx, 0x6a
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 7]
mov edx, 0x6b
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 8]
mov edx, 0x6c
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 9]
mov edx, 0x6d
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xa]
mov edx, 0x6e
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xb]
mov edx, 0x6f
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xc]
mov edx, 0x70
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xd]
mov edx, 0x72
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xe]
mov edx, 0x71
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xf]
mov edx, 0x74
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x10]
mov edx, 0x75
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x11]
mov edx, 0x76
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x14]
mov edx, 0x78
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x15]
mov edx, 0x79
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x16]
mov edx, 0x7a
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x17]
mov edx, 0x7b
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x18]
mov edx, 0x7c
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x19]
mov edi, 0x7d
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x1a]
lea edx, [rdi + 1]
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
mov r8b, byte [rbx + 0x17]
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.1400106d0
mov r8b, byte [rbx + 0x17]
mov edx, edi
mov rcx, rsi
call fcn.1400106d0
xor edi, edi
cmp byte [rbx + 0x17], dil
je 0x140048a01
call fcn.140079e94
test al, al
je 0x140048a01
mov dil, 1
mov r8b, dil
mov edx, 0x7e
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400106d0
Function at 0x14004c388
Capabilities:
Get common file path

Disassembly:
cmp dword [0x1401724a4], 1
mov rax, rdx
jne 0x14004c39f
mov rdx, r8
mov rcx, rax
jmp fcn.1400d6b60
lea rdx, [rcx + 0x1080]
mov rcx, rax
jmp fcn.14009ccc8

Function at 0x14004cbd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x60]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x1012
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x12
movsx edi, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x11
movsx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
mov eax, 1
test byte [rsp + 0x28], al
jne 0x14004cc64
bt edi, 0xf
jb 0x14004cc64
bt ebx, 0xf
jb 0x14004cc64
bt ecx, 0xf
jae 0x14004cc66
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140105c50
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14004ce20
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2260]
mov eax, 0x2360
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x2250], rax
mov rdi, rcx
mov ebx, 1
xor esi, esi
mov r14d, 0x800
mov ecx, 0x3d4
call fcn.140096d58
mov rdx, rax
lea rcx, [rbp + 0x250]
mov r8, r14
call fcn.14009ccc8
cmp ebx, 1
jbe 0x14004ceb6
lea rcx, [rbp + 0x250]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14004ce90
lea rcx, [rbp + 0x250]
mov r9d, ebx
lea rcx, [rcx + rax*2]
mov rdx, r14
lea r8, str.___u_
call fcn.1400027fc
cmp ebx, 0x3e8
ja 0x14004ced5
lea rdx, [rbp + 0x250]
mov rcx, rdi
call fcn.14004bf40
test al, al
je 0x14004ced5
inc ebx
jmp 0x14004ce64
mov rcx, qword [rdi + 0x60]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
lea rcx, [rbp + 0x1250]
mov rdx, r14
mov rbx, rax
call fcn.1400d5878
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4001
lea r8, [rbp - 0x70]
xor edx, edx
lea rcx, [rbp + 0x1250]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x58]
call fcn.140108940
mov eax, dword [rbp - 0x68]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 0x60]
xor r8d, r8d
mov dword [rsp + 0x54], eax
mov edx, 0x104d
lea rax, [rbp + 0x250]
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], esi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rdi + 0x60]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x1076
mov byte [rdi + 0x7d], 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x2250]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x2360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret