joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400187e4
Capabilities:
Get file system object information

Disassembly:
push rbx
mov eax, 0x1300
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x12f0], rax
mov qword [rcx], rdx
lea r8, [rsp + 0x30]
mov rbx, rcx
mov dword [rsp + 0x20], 0x4001
xor edx, edx
lea rcx, [0x140141fd8]
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x14001886a
xor r8d, r8d
lea rcx, [rsp + 0x2f0]
mov edx, 0x800
call fcn.1400e8628
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4001
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rbx]
mov r9, rax
xor r8d, r8d
mov edx, 0x1109
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x12f0]
xor rcx, rsp
call fcn.14011a150
add rsp, 0x1300
pop rbx
ret

Function at 0x140019d70
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
lea rdi, [rcx + 0x1042]
mov byte [rcx + 0x40], sil
lea r9, [rsp + 0x30]
mov word [rdi], si
mov rbx, rcx
mov rdx, qword [rcx + 8]
lea r8, [rdx + 0xf800]
add rdx, 0xe462
call fcn.140019e10
test al, al
jne 0x140019dd2
cmp byte [rsp + 0x30], sil
jne 0x140019dfe
mov rdx, qword [rbx + 8]
lea rcx, [0x1401cb7d8]
add rdx, 0xe462
call fcn.14007e770
jmp 0x140019dfe
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.140019a30
mov rcx, rbx
call fcn.140019528
cmp byte [rbx + 0x40], sil
je 0x140019dfe
cmp word [rdi], si
je 0x140019dfe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140019fd0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov r8, rcx
cmp byte [rcx + 0x20], bl
je 0x14001a011
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x14001a043
mov eax, ebx
mov rcx, qword [r8 + 0x28]
mov edx, ebx
inc ebx
add rdx, rdx
add rax, qword [rcx + rdx*8 + 8]
mov qword [rdi], rax
cmp ebx, dword [r8 + 0x30]
jb 0x140019ff6
jmp 0x14001a043
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14001a035
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001a035
xor al, al
jmp 0x14001a045
mov ecx, dword [rsp + 0x30]
shl rcx, 0x20
add rcx, rsi
mov qword [rdi], rcx
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b908
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 0x14001b9d1
mov ecx, dword [rcx + 0x30]
xor edi, edi
test ecx, ecx
je 0x14001b9cd
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x10]
mov eax, edi
add rax, rax
cmp r8, qword [rdx + rax*8]
je 0x14001b95a
inc edi
cmp edi, ecx
jb 0x14001b949
cmp edi, ecx
jae 0x14001b9cd
xor ebp, ebp
mov esi, edi
test r14d, r14d
je 0x14001b9c5
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 0x14001b992
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001bbb0
and dword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.14001b908
mov byte [rbx + 0x20], 1
test al, al
je 0x14001b9cd
mov edx, dword [rsp + 0x70]
inc esi
add ebp, edx
add r15, rdx
sub r14d, edx
cmp esi, dword [rbx + 0x30]
jb 0x14001b962
mov dword [r12], ebp
mov al, 1
jmp 0x14001b9e6
xor al, al
jmp 0x14001b9e6
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 0x14001bed0
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.14001bbb0
test al, al
je 0x14001bf09
cmp qword [rsp + 0x40], rbx
jne 0x14001bf09
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
jmp 0x14001bf0b
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001c208
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 0x14001c25c
mov r8, qword [rbx + 0x48]
cmp rcx, r8
jae 0x14001c25c
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 0x14001c267
mov dword [r9], r10d
jmp 0x14001c280
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.140021494
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 0x14001ef30
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140185b60]
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 0x14001ef47
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14001ef3a
ret

Function at 0x140020420
Capabilities:
Delete file

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

Function at 0x14002125c
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.14009702c
xor ebp, ebp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.1400ac8e0
mov rcx, rbx
call fcn.140085aac
test al, al
je 0x1400212af
mov al, 1
jmp 0x140021334
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 0x140021313
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.14009702c
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.1400ac8e0
mov rcx, rbx
call fcn.140085aac
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400291b8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea rdx, [0x140189fb0]
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 0x1400291d1
mov qword [rdx], r9
inc r8
add rdx, 8
sub r10, 1
jne 0x1400291c8
ret

Function at 0x140029210
Capabilities:
Encode data using xor

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

Function at 0x14002d2a0
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 0x14002d2d8
xor eax, eax
jmp 0x14002d44c
lea rbp, [rdx - 4]
add esi, 5
add rbp, rcx
or rbx, 0xffffffffffffffff
xor r15d, r15d
lea rdx, [0x140000000]
lea r8, [r11 + r14]
jmp 0x14002d302
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x14002d307
inc r8
cmp r8, rbp
jb 0x14002d2f6
mov r11, r8
sub r11, r14
mov rax, r11
cmp r8, rbp
jae 0x14002d42c
sub rax, rbx
cmp rax, 3
jbe 0x14002d36f
mov r10d, r15d
mov al, byte [r8 + 4]
mov rbx, r11
dec al
cmp al, 0xfd
jbe 0x14002d3a0
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 0x14002d3b3
lea r9d, [r11 + rdx]
add r9d, esi
jmp 0x14002d3bc
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x14002d325
cmp byte [r10 + rdx + 0x143100], r15b
je 0x14002d39d
movzx eax, byte [r10 + rdx + 0x143108]
mov rcx, r8
sub rcx, rax
mov al, byte [rcx + 4]
inc al
test al, 0xfe
jne 0x14002d325
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x14002d2f0
mov r9d, edx
sub r9d, r11d
sub r9d, esi
test r10d, r10d
je 0x14002d3f8
movzx edi, byte [r12 + r14 + 0x143108]
mov ecx, 0x18
shl edi, 3
mov edx, r9d
sub ecx, edi
shr edx, cl
inc dl
test dl, 0xfe
jne 0x14002d3f8
mov ecx, 0x20
mov edx, 1
sub ecx, edi
shl edx, cl
dec edx
xor edx, r9d
jmp 0x14002d35f
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 0x14002d2e9
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 0x140038d28
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov rbx, qword [rcx]
cmp rbx, 0x20
jb 0x140038df6
mov rdx, qword [rcx + 8]
movabs rsi, 0x9e3779b185ebca87
mov r9, qword [rcx + 0x18]
movabs rdi, 0xc2b2ae3d27d4eb4f
mov r8, qword [rcx + 0x10]
mov rax, rdx
mov r10, qword [rcx + 0x20]
mov r11, r9
rol r11, 0xc
rol rax, 1
add r11, rax
mov rax, r8
rol rax, 7
add r11, rax
mov rax, r10
imul rdx, rdi
imul r8, rdi
imul r10, rdi
imul r9, rdi
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
movabs rax, 0x7a1435883d4d519d
rol r8, 0x1f
imul rdx, rsi
imul r8, rsi
xor r11, rdx
rol r10, 0x1f
imul r11, rsi
imul r10, rsi
sub r11, rax
rol r9, 0x1f
xor r11, r8
imul r11, rsi
imul r9, rsi
sub r11, rax
xor r11, r9
imul r11, rsi
sub r11, rax
xor r11, r10
movabs r10, 0x85ebca77c2b2ae63
imul r11, rsi
add r10, r11
jmp 0x140038e07
mov r10, qword [rcx + 0x18]
movabs rdx, 0x27d4eb2f165667c5
add r10, rdx
add r10, rbx
lea rdx, [rcx + 0x28]
mov rcx, r10
xor r9d, r9d
mov r8, rbx
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
pop rdi
jmp fcn.140038bac

Function at 0x14003afe0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea r9, [rcx + 0x3440]
mov edx, r8d
mov r10d, 8
mov eax, edx
mov ecx, edx
xor eax, 0x14002
shr edx, 1
shr eax, 1
test cl, 1
cmovne edx, eax
sub r10, 1
jne 0x14003aff3
mov word [r9], dx
inc r8d
add r9, 2
cmp r8d, 0x100
jb 0x14003afea
ret

Function at 0x14003b5ec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
add qword [rcx + 0x5738], r8
mov rdi, rcx
mov rbx, qword [rcx + 0x3678]
mov rsi, r8
add rcx, 0x3688
mov rbp, rdx
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
mov rdx, qword [rdi + 0x5740]
mov r9, rbx
mov rcx, qword [rdi + 0x5738]
mov r8, rax
call fcn.1400af2c4
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, rbp
call fcn.140021494
mov edx, dword [rdi + 0x5730]
mov r8, rsi
mov r9, rbp
test rsi, rsi
je 0x14003b684
movzx ecx, byte [r9]
inc r9
movzx eax, dl
xor rcx, rax
shr edx, 8
movzx eax, word [rdi + rcx*2 + 0x3440]
xor edx, eax
sub r8, 1
jne 0x14003b664
mov rax, qword [rdi + 8]
mov dword [rdi + 0x5730], edx
cmp byte [rax + 0x7311], 0
jne 0x14003b6c5
mov rax, qword [rdi + 0x46e8]
lea rcx, [rdi + 0x46e8]
mov rax, qword [rax + 0x30]
call qword [case.0x1400a26d7.0]
test al, al
je 0x14003b6c5
mov r8, rsi
lea rcx, [rdi + 0x46e8]
mov rdx, rbp
call fcn.140085014
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140040780
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
test r8, r8
je 0x1400407ae
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 + 0x1ac0]
sub r8, 1
jne 0x140040788
movzx eax, r10w
ret
Function at 0x140041c2c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea r10, [rcx + 0x1ac0]
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 0x140041c43
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x140041c36
ret
Function at 0x14004eb90
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.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r15d, edx
lea rdx, [0x140144da8]
call fcn.140086b98
mov rbp, rax
xor eax, eax
test rbp, rbp
jne 0x14004ebe2
lea eax, [rbp + 0x32]
jmp 0x14004ed37
mov r14d, 0x1000
cmp r15d, 0x8000
jbe 0x14004ecef
mov edx, r15d
xor r8d, r8d
shr edx, 3
mov rcx, rbp
add edx, r14d
call fcn.14012ae44
mov r12d, 1
lea rcx, [rsp + 0x20]
mov edx, r12d
mov r9, rbp
mov r8d, r14d
call fcn.14012ab2c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14004e940
mov edx, r15d
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov esi, eax
call fcn.14012ae44
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.14012ab2c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14004e940
lea edx, [r15 + r15]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov edi, eax
call fcn.14012ae44
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.14012ab2c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14004e940
lea edx, [r15 + r15*2]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov ebx, eax
call fcn.14012ae44
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.14012ab2c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14004e940
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.140126ac8
mov eax, ebx
jmp 0x14004ed37
cmp r15d, r14d
jbe 0x14004ecfd
mov rax, r15
sub rax, r14
shr rax, 1
xor r8d, r8d
mov edx, eax
mov rcx, rbp
call fcn.14012ae44
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8, r14
mov edx, 1
call fcn.14012ab2c
mov rcx, rbp
mov rbx, rax
call fcn.140126ac8
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14004e940
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14011a150
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 0x14005299c
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 - 0x7218]
mov eax, 0x7310
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x7200], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
je 0x140052b16
mov ecx, eax
call fcn.140085c38
xor esi, esi
test al, al
je 0x140052b16
mov ecx, edi
call fcn.140085df4
test al, al
jne 0x140052b16
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], si
jne 0x140052a09
mov rcx, rbx
call fcn.14009702c
cmp word [rax], si
je 0x140052b16
mov r9d, 0x800
lea r8, [rbp + 0x6200]
lea rdx, [0x140141330]
mov rcx, rbx
call fcn.1400968ec
lea rcx, [rsp + 0x30]
call fcn.1400ac93c
nop
lea rdx, [rbp + 0x6200]
lea rcx, [rsp + 0x30]
call fcn.1400ac96c
mov r8d, 2
mov dword [rsp + 0x20], r8d
mov r9b, 1
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1040]
call fcn.1400a8c10
nop
mov qword [rbp + 0x1000], rsi
mov qword [rbp + 0x1008], rsi
mov qword [rbp + 0x1010], rsi
jmp 0x140052add
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140127154
test eax, eax
jne 0x140052af1
lea rcx, [rbp - 0x10]
call fcn.140086290
cmp byte [rbp + 0xffc], sil
je 0x140052ad4
cmp byte [rbp + 0xffd], sil
jne 0x140052ac9
test byte [rbp + 0x1030], 1
je 0x140052add
lea rcx, [rbp - 0x10]
call fcn.140085718
jmp 0x140052add
lea rcx, [rbp - 0x10]
call fcn.14008579c
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x1040]
call fcn.1400a9774
test eax, eax
je 0x140052a92
mov rcx, rbx
call fcn.140085718
nop
lea rcx, [rbp + 0x1040]
call fcn.1400a8cd8
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140052b16
call fcn.140125bf8
mov rcx, qword [rbp + 0x7200]
xor rcx, rsp
call fcn.14011a150
lea r11, [rsp + 0x7310]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140052b40
Capabilities:
Get common file path

Disassembly:
mov r8d, 0x10
jmp fcn.140052ba0

Function at 0x140052ba0
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 0x140052be0
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 0x140052be0
mov bl, 1
jmp 0x140052bf2
mov r8, rdi
lea rdx, str.unknown_folder
mov rcx, rsi
call fcn.1400ac908
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400530d0
Capabilities:
Enumerate pe sections
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdi, [0x1401450c0]
mov rbx, rcx
mov rdx, rdi
lea rcx, str.Setup.rar
call fcn.1400be0a0
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lz
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0xe]
lea rcx, str.Setup.xz
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0xf]
lea rcx, str.Setup.zipx
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x10]
lea rcx, str.Setup.zst
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x11]
lea rcx, str.Setup.001
mov rdx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
mov rcx, rdi
lea rdx, [0x1401450c8]
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x17]
lea rdi, [0x140141250]
mov rcx, rdi
lea rdx, str.ShellExt
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [rbx + 0x1a]
lea rdx, str.LegacyMenu
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400be0a0
Function at 0x140054190
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.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0xf90], rax
movzx ebx, cl
call fcn.1400bdbe0
test al, al
je 0x1400542cf
mov edi, 0x800
lea rdx, [rbp - 0x70]
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, edi
lea rdx, str.RarExtPackage.msix
lea rcx, [rbp - 0x70]
call fcn.140097134
lea rcx, [rbp - 0x70]
call fcn.140085aac
test al, al
jne 0x140054220
mov ecx, 0x209
call fcn.1400a685c
mov rcx, rax
lea rdx, [rbp - 0x70]
call fcn.1400eea18
jmp 0x1400542cf
mov r8, rdi
lea rdx, str.RarExtInstaller.exe
lea rcx, [rbp - 0x70]
call fcn.140097134
lea rcx, [rbp - 0x70]
call fcn.140085aac
test al, al
je 0x140054205
mov edi, 0x70
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.14011cde0
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, [0x140141250]
xor r8d, r8d
mov rcx, rdi
lea rdx, str.NewContextMenu
call fcn.1400bd490
test eax, eax
jne 0x1400542bd
lea r8d, [rax + 1]
mov rcx, rdi
lea rdx, str.CascadedMenu
call fcn.1400be0a0
mov r8d, ebx
lea rdx, str.NewContextMenu
mov rcx, rdi
call fcn.1400be0a0
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.14011a150
lea r11, [rsp + 0x10a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret