joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004370c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [r8 + 0x9c], 0xffffffff
mov rbx, r8
mov esi, edx
mov rbp, rcx
je 0x140043742
xor edx, edx
xor ecx, ecx
call fcn.14004364c
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14007f610
mov r11, rbx
mov eax, 0x10
xor dword [r11], 0x6a6a6a6a
add r11, 4
sub rax, 1
jne 0x140043758
lea rcx, [rbx + 0x40]
call fcn.14007f54c
lea r8, [rbx + 0x40]
mov edx, 0x40
mov rcx, rbx
call fcn.14007f578
lea r8, [rbx + 0x40]
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.14007f578
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14007f610
test esi, esi
je 0x1400437b8
lea rdx, [rsp + 0x20]
mov r8, rsi
mov rcx, rbp
call fcn.1400c6bb0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x14004551c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1030
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r12d, edx
lea rdx, [0x1400e3698]
call fcn.14003c204
mov rbp, rax
xor eax, eax
cmp rbp, rax
jne 0x140045570
mov eax, 0x32
jmp 0x1400456c5
mov r13d, 0x1000
cmp r12d, 0x8000
jbe 0x14004567d
mov edx, r12d
xor r8d, r8d
mov rcx, rbp
shr edx, 3
add edx, r13d
call fcn.1400ca200
mov r14d, 1
lea rcx, [rsp + 0x20]
mov rdx, r14
mov r9, rbp
mov r8, r13
call fcn.1400c9ab0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140044ed0
mov edx, r12d
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov esi, eax
add edx, r13d
call fcn.1400ca200
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400c9ab0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140044ed0
lea edx, [r12 + r12]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov edi, eax
add edx, r13d
call fcn.1400ca200
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400c9ab0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140044ed0
lea edx, [r12 + r12*2]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov ebx, eax
add edx, r13d
call fcn.1400ca200
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400c9ab0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140044ed0
mov rcx, rbp
add eax, ebx
add eax, edi
add eax, esi
cdq
and edx, 3
lea ebx, [rdx + rax]
sar ebx, 2
call fcn.1400c8d40
mov eax, ebx
jmp 0x1400456c5
cmp r12d, r13d
jbe 0x14004568b
mov rax, r12
sub rax, r13
shr rax, 1
xor r8d, r8d
mov edx, eax
mov rcx, rbp
call fcn.1400ca200
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov edx, 1
call fcn.1400c9ab0
mov rcx, rbp
mov rbx, rax
call fcn.1400c8d40
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140044ed0
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140048998
Capabilities:
Enumerate pe sections
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rcx]
mov rbx, rcx
lea rdi, [0x1400e4060]
lea rcx, str.Setup.rar
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.ace
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0xe]
lea rcx, str.Setup.xz
mov rdx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
lea rdx, [0x1400e3ed0]
mov rcx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0x17]
lea rdi, [0x1400e1358]
lea rdx, str.ShellExt
mov rcx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.14006d35c
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006d35c

Function at 0x14004932c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x38]
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor ecx, ecx
cmp eax, ecx
sete bl
cmp bl, cl
je 0x140049387
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
cmp eax, 1
mov rax, qword [rcx]
sete bl
call qword [rax + 0x28]
jmp 0x14004938a
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140049398
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rdi
mov eax, 0x1080
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400493cb
xor al, al
jmp 0x140049430
lea rcx, [rsp + 0x60]
mov r8d, 0x800
mov rdx, rdi
call fcn.1400805a0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x60]
lea r8d, [rax + 0x38]
xor edx, edx
repne scasw ax, word [rdi]
xor edi, edi
not rcx
mov word [rsp + rcx*2 + 0x60], di
lea rcx, [rsp + 0x20]
call fcn.1400c7170
lea eax, [rdi + 0x14]
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_SHFileOperationW]
cmp eax, edi
sete al
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x1080
pop rdi
ret
Function at 0x14004c424
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rbx]
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 ebx, 1
mov si, ax
lea ecx, [rbx + 0x11]
shr esi, 0xf
and esi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [rbx + 0x10]
mov di, ax
shr edi, 0xf
and edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
and r11d, ebx
test byte [rsp + 0x28], bl
jne 0x14004c4b5
test esi, esi
jne 0x14004c4b5
test edi, edi
jne 0x14004c4b5
test r11d, r11d
je 0x14004c4b7
xor ebx, ebx
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14004c4cc
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1350
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1340], rax
mov rdi, rcx
mov rcx, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x340]
xor r8d, r8d
mov edx, 0x800
mov rbx, rax
call fcn.1400a1d3c
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0x340]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x48]
call fcn.1400c7170
mov eax, dword [rsp + 0x88]
and dword [rsp + 0x38], 0
mov ecx, 0x3d4
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x34], ebx
call fcn.140076080
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104d
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rdi]
movsxd r8, ebx
xor r9d, r9d
mov edx, 0x1076
mov byte [rdi + 0x28], 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x1340]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x1368]
add rsp, 0x1350
pop rdi
ret
Function at 0x14004c7dc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x2040
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rdi, rcx
lea rdx, str.RestoreFolder
lea rcx, [0x1400e14b8]
mov r8d, 1
call fcn.14006d3c4
xor esi, esi
mov dword [rsp + 0x20], 0x800
lea r9, [0x1400e04f4]
cmp eax, esi
je 0x14004c860
lea r8, [rsp + 0x30]
lea rdx, str.LastFolder
lea rcx, [0x1400e14b8]
call fcn.14006d398
cmp word [rsp + 0x30], si
je 0x14004c8ba
lea rcx, [rsp + 0x30]
call fcn.14003c3d4
cmp al, sil
jmp 0x14004c8a1
lea r8, [rsp + 0x1030]
lea rdx, str.StartFolder
lea rcx, [0x1400e0a90]
call fcn.14006d398
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1030]
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [rsp + 0x30], si
mov word [rsp + 0x102e], si
je 0x14004c8ba
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x102c]
mov r8d, 0x800
call fcn.1400805a0
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400c6350
mov rsi, qword [rsp + 0x2058]
add rsp, 0x2040
pop rdi
ret
Function at 0x1400533c8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor r13d, r13d
mov rbx, rcx
cmp rcx, r13
je 0x140053524
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r12, rcx
je 0x140053524
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, r13d
jne 0x14005341f
xor eax, eax
jmp 0x140053529
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rsi, [r12 + r12 + 2]
mov ecx, 0x2002
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
cmp rax, r13
je 0x140053475
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, r13
je 0x140053475
lea r8, [r12 + 1]
mov rdx, rax
mov rcx, rbx
call fcn.140087f80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rsi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
cmp rax, r13
je 0x1400534cf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
cmp rax, r13
je 0x1400534cf
lea r8, [r12 + 1]
mov rdx, rax
mov rcx, rbx
call fcn.140087f80
mov rdx, rbp
mov rcx, rbp
call qword [sym.imp.USER32.dll_CharToOemA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 7
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rsi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
cmp rax, r13
je 0x14005351e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, r13
je 0x14005351e
sub rax, rbx
movzx ecx, word [rbx]
mov word [rax + rbx], cx
add rbx, 2
cmp cx, r13w
jne 0x1400534f6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140053f0c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov ebp, dword [rsp + 0x58]
xor r11d, r11d
mov eax, r9d
lea esi, [r11 + 1]
mov r12d, r8d
mov r10d, 0x400
cmp ebp, esi
mov r14d, r11d
mov r9d, esi
jl 0x140053ff0
lea eax, [rbp + rbp]
lea ecx, [rsi + 7]
sub r12d, eax
mov ebx, r11d
mov edi, r12d
mov r8, rdx
mov r15d, 4
cmp edi, ecx
mov eax, edi
mov r11, r8
cmovg eax, ecx
movsxd r13, eax
add r13, r8
cmp r8, r13
jae 0x140053fb4
lea rbp, [r8 + rsi]
mov dl, byte [rbp]
mov al, byte [rsi + 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 rbp
add ebx, ecx
cmp r11, r13
jb 0x140053f80
mov ecx, 8
add r8, 0x40
sub edi, 0x40
sub r15, 1
jne 0x140053f67
mov ebp, dword [rsp + 0x58]
xor r11d, r11d
cmp ebx, r10d
jge 0x140053fd8
cmp ebx, 0x10
mov r14d, r9d
mov r10d, ebx
jl 0x140053fec
mov rdx, qword [rsp + 0x40]
inc r9d
inc rsi
cmp r9d, ebp
jle 0x140053f58
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
imul r10d, eax
cmp r10d, 0xc000
cmovl r11d, r14d
mov eax, r11d
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x1400564c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0xe8]
mov bl, dl
xor edx, edx
mov r8d, 0x4000
call fcn.1400c7170
xor r11d, r11d
cmp bl, r11b
je 0x1400565ca
cmp byte [rdi + 0x6169], r11b
jne 0x1400565ca
mov eax, dword [rdi + 0x110]
mov ecx, dword [rdi + 0x6164]
shr eax, 2
cmp ecx, eax
ja 0x1400565ca
mov r10d, r11d
cmp ecx, r11d
jbe 0x14005660b
mov ebx, 0x3ffff
mov rcx, qword [rdi + 0xe0]
mov r9d, r10d
inc r10d
movzx eax, byte [rcx + r9 + 1]
movzx r8d, byte [rcx + r9]
imul r8d, r8d, 0x2773
xor r8d, eax
movzx eax, byte [rcx + r9 + 2]
imul r8d, r8d, 0x2773
xor r8d, eax
mov rax, qword [rdi + 0xf0]
mov ecx, r8d
and rcx, rbx
imul r8d, r8d, 0x2773
mov word [rax + rcx*2], r11w
mov rax, qword [rdi + 0xe0]
movzx edx, byte [rax + r9 + 3]
mov rax, qword [rdi + 0xf8]
xor edx, r8d
mov ecx, edx
and rcx, rbx
imul edx, edx, 0x2773
mov dword [rax + rcx*4], r11d
mov rax, qword [rdi + 0xe0]
movzx ecx, byte [rax + r9 + 4]
mov eax, edx
xor rcx, rax
mov eax, dword [rdi + 0x114]
and rcx, rax
mov rax, qword [rdi + 0x100]
mov dword [rax + rcx*4], r11d
cmp r10d, dword [rdi + 0x6164]
jb 0x140056524
jmp 0x14005660b
mov rcx, qword [rdi + 0xf0]
xor edx, edx
mov r8d, 0x80000
call fcn.1400c7170
mov rcx, qword [rdi + 0xf8]
xor edx, edx
mov r8d, 0x100000
call fcn.1400c7170
mov r8d, dword [rdi + 0x110]
mov rcx, qword [rdi + 0x100]
shl r8, 2
xor edx, edx
call fcn.1400c7170
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140058eec
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 [0x1401006f0]
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 0x140058fbb
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 0x140058f60
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 0x140058f8e
add rdi, 0x780
sub rsi, 1
jne 0x140058f5b
mov dword [r8], r10d
inc r9d
add r8, 4
inc rbx
cmp r9d, 2
jle 0x140058f37
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x140058fe4
cmp eax, dword [rsp + 8]
ja 0x140058fe4
xor eax, eax
jmp 0x140058fee
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400c6350
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 0x14005ea0c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov bl, dl
mov rsi, rcx
call fcn.14004b0ac
cmp eax, 0x600
jb 0x14005ea42
mov rcx, qword [rsi]
movzx edx, bl
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x14005ead0
mov rax, qword [rsi + 0x10]
mov byte [rax + 0xc8], bl
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14005ead0
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rbp, 0xffffffffffffffff
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.1400c61d4
mov rcx, qword [rsi + 0x18]
mov r8d, ebx
mov rdx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rsi + 0x18]
mov r9, rbp
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x18]
lea r9d, [rbp + 2]
lea r8d, [rbp + 9]
mov edx, 0x102
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x18]
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rdi
call fcn.1400c72ec
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14005ed58
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x2b0
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov esi, ecx
mov rcx, qword [0x1400feef8]
mov rdi, rdx
lea r9, [0x1400e04f4]
lea r8, [rsp + 0x1a0]
lea rdx, [0x1400e5858]
mov r13d, 0x80
mov dword [rsp + 0x20], r13d
call fcn.14006d398
xor r12d, r12d
cmp word [rsp + 0x1a0], r12w
mov ebp, 0x100
lea rcx, [rsp + 0x1a0]
mov rdx, rbp
setne bl
call fcn.1400798a8
cmp bl, r12b
lea ebx, [r13 - 0x4e]
mov r9d, esi
lea rcx, [rsp + 0x30]
mov rdx, rbx
je 0x14005ee24
lea r8, [0x1400e5850]
call fcn.140022b7c
mov rcx, qword [0x1400feef8]
lea r9, [0x1400e04f4]
lea rdx, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], r13d
call fcn.14006d398
cmp word [rdi], r12w
jne 0x14005eeb1
xor al, al
jmp 0x14005ef8c
lea r8, str.PE_d
call fcn.140022b7c
lea rcx, [rsp + 0xa0]
mov r8, rbp
xor edx, edx
call fcn.1400c7170
mov rcx, qword [0x1400feef8]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
call fcn.14006d3dc
mov r11d, eax
cmp eax, r12d
je 0x14005ee1d
mov edx, r12d
jle 0x14005ee86
lea rcx, [rsp + 0xa0]
lea eax, [rdx + 0x49]
inc edx
xor byte [rcx], al
inc rcx
cmp edx, r11d
jl 0x14005ee77
lea rcx, [rsp + 0xa0]
mov r8, r13
mov rdx, rdi
call fcn.140088058
lea rcx, [rsp + 0xa0]
mov rdx, rbp
mov word [rdi + 0xfe], r12w
call fcn.1400798a8
lea r8, [0x1400e5838]
lea rcx, [rsp + 0x30]
mov r9d, esi
mov rdx, rbx
call fcn.140022b7c
mov rcx, qword [0x1400feef8]
lea r9, [0x1400e04f4]
lea r8, [rdi + 0x100]
lea rdx, [rsp + 0x30]
mov r13d, 0xc8
mov dword [rsp + 0x20], r13d
call fcn.14006d398
lea r8, [0x1400e5830]
lea rcx, [rsp + 0x30]
mov r9d, esi
mov rdx, rbx
call fcn.140022b7c
mov rcx, qword [0x1400feef8]
lea r8, [rdi + 0x290]
lea r9, [0x1400e04f4]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x800
call fcn.14006d398
lea r8, [0x1400e5828]
lea rcx, [rsp + 0x30]
mov r9d, esi
mov rdx, rbx
call fcn.140022b7c
mov rcx, qword [0x1400feef8]
lea rdx, [rsp + 0x30]
xor r8d, r8d
call fcn.14006d3c4
lea rcx, [rdi + 0x1290]
mov r8, r13
cmp eax, r12d
lea rdx, [rdi + 0x100]
setne al
mov byte [rdi + 0x1420], al
cmp word [rdi + 0x100], r12w
jne 0x14005ef85
mov rdx, rdi
call fcn.1400805a0
mov al, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140061928
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x58]
mov sil, r8b
mov rdi, rdx
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
xor ebp, ebp
lea r8, [rsp + 0x40]
lea edx, [rbp + 0x1a]
xor ecx, ecx
mov word [rbx], bp
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebp
jne 0x1400619be
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, ebp
je 0x1400619be
cmp word [rbx], bp
je 0x1400619be
mov rdx, rdi
mov rcx, rbx
call fcn.14006119c
lea rdx, [0x1400e4698]
mov r8, rdi
mov rcx, rbx
call fcn.1400805dc
mov rcx, rbx
call fcn.14003c3d4
cmp al, bpl
jne 0x1400619d4
cmp sil, bpl
je 0x1400619b9
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14003ca1c
cmp eax, ebp
sete al
cmp al, bpl
jne 0x1400619d4
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.1400618f4
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400619f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rdx
lea rax, [rsp + 0x30]
mov sil, r8b
mov rbx, rcx
mov word [rcx], bp
lea r9d, [rbp + 1]
lea rdx, str.SoftwareWinRARPaths
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x140061a6f
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rdx, str.AppData
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x60], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbx], bp
je 0x140061a81
mov rcx, rbx
call fcn.14003c3d4
cmp al, bpl
jne 0x140061a8f
mov r8b, sil
mov rdx, rdi
mov rcx, rbx
call fcn.140061928
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret