joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140082fc8
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
mov eax, 0x3060
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x3050], rax
mov sil, dl
mov rdi, rcx
call fcn.140044e44
cmp eax, 0x600
jb 0x14008318f
mov rcx, rdi
call fcn.1400b5eb8
xor ebx, ebx
cmp al, bl
jne 0x14008318f
mov r12d, 0x800
lea r8, [rsp + 0x50]
lea rcx, [0x140162be0]
mov r9, r12
mov rdx, rdi
call fcn.14008eba0
lea rdx, [rsp + 0x1050]
lea rcx, [rsp + 0x50]
mov r8, r12
call fcn.14005165c
lea rcx, [rsp + 0x1050]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14008318f
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x1050]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, ebx
je 0x1400830b2
bt dword [rsp + 0x40], 0x13
jb 0x14008318f
test byte [rsp + 0x40], 8
je 0x14008318f
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400830f2
test al, 0x10
jne 0x1400830f2
lea rcx, [rsp + 0x50]
call fcn.140082c24
mov ecx, eax
shr ecx, 1
test cl, 1
je 0x14008318b
shr eax, 2
test al, 1
je 0x14008318b
lea rcx, [rsp + 0x50]
call fcn.140050fc8
lea rcx, [rsp + 0x50]
mov dil, bl
call fcn.14004258c
cmp al, bl
jne 0x14008315c
mov dil, 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2050]
mov r8, r12
call fcn.1400edd2c
lea rcx, [rsp + 0x50]
call fcn.140050fc8
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x2050]
sub rdx, r11
movzx eax, word [r11]
movzx ecx, word [r11 + rdx]
sub eax, ecx
jne 0x14008314a
add r11, 2
test ecx, ecx
jne 0x140083135
cmp eax, ebx
je 0x14008315c
lea rcx, [rsp + 0x50]
call fcn.14004258c
cmp al, bl
je 0x140083106
lea rcx, [rsp + 0x50]
call fcn.140082c24
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x140083182
cmp dil, bl
je 0x14008317e
cmp sil, bl
je 0x140083187
cmp cl, bl
jne 0x140083187
mov ebx, 1
mov al, bl
jmp 0x140083191
mov al, 1
jmp 0x140083191
xor al, al
mov rcx, qword [rsp + 0x3050]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x3060]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140083850
Capabilities:
Get file system object information

Disassembly:
push rbx
mov eax, 0x1300
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x12f0], rax
mov qword [rcx], rdx
mov rbx, rcx
lea r8, [rsp + 0x30]
lea rcx, [0x140109750]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400838d6
lea rcx, [rsp + 0x2f0]
xor r8d, r8d
mov edx, 0x800
call fcn.1400b5200
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x2f0]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4001
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.1400e9d80
add rsp, 0x1300
pop rbx
ret

Function at 0x140083d38
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, rdx
mov rdi, r8
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r11d, dword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rbx
mov dword [rdi + 0x24], r11d
mov dword [rsp + 0x20], 0x400b
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r11d, dword [rsp + 0x38]
mov dword [rdi + 0x28], r11d
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x310]
add rsp, 0x300
pop rdi
ret
Function at 0x1400851e8
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x20b0
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x20a0], rax
xor r9d, r9d
mov rsi, rcx
mov rcx, qword [rcx]
lea r8d, [r9 + 9]
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
cmp rax, rbp
je 0x140085324
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x113e
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebp
je 0x140085324
mov rcx, qword [rsp + 0x88]
cmp rcx, rbp
je 0x140085324
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, ebp
je 0x140085324
lea ecx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x1090]
mov bx, ax
mov r8d, 0x800
shr ebx, 0xf
not bl
and bl, 1
call fcn.140065d00
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x1090]
lea r8d, [rbp + 0x38]
repne scasw ax, word [rdi]
xor edx, edx
not rcx
mov word [rsp + rcx*2 + 0x1090], bp
lea rcx, [rsp + 0x20]
call fcn.1400eada0
neg bl
lea rcx, [rsp + 0x20]
sbb ax, ax
mov dword [rsp + 0x28], 3
and ax, 0x40
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x1090]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dl, byte [rsi + 0x10]
mov rcx, rsi
call fcn.1400850f4
mov rcx, qword [rsp + 0x20a0]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x20b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140088478
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.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r12d, edx
lea rdx, [0x140110150]
call fcn.1400423bc
mov rbp, rax
xor eax, eax
cmp rbp, rax
jne 0x1400884cc
mov eax, 0x32
jmp 0x140088621
mov r13d, 0x1000
cmp r12d, 0x8000
jbe 0x1400885d9
mov edx, r12d
xor r8d, r8d
mov rcx, rbp
shr edx, 3
add edx, r13d
call fcn.1400ef620
mov r14d, 1
lea rcx, [rsp + 0x20]
mov rdx, r14
mov r9, rbp
mov r8, r13
call fcn.1400ef54c
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140087dc4
mov edx, r12d
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov esi, eax
add edx, r13d
call fcn.1400ef620
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400ef54c
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140087dc4
lea edx, [r12 + r12]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov edi, eax
add edx, r13d
call fcn.1400ef620
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400ef54c
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140087dc4
lea edx, [r12 + r12*2]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
mov ebx, eax
add edx, r13d
call fcn.1400ef620
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov rdx, r14
call fcn.1400ef54c
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140087dc4
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.1400eee40
mov eax, ebx
jmp 0x140088621
cmp r12d, r13d
jbe 0x1400885e7
mov rax, r12
sub rax, r13
shr rax, 1
xor r8d, r8d
mov edx, eax
mov rcx, rbp
call fcn.1400ef620
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8, r13
mov edx, 1
call fcn.1400ef54c
mov rcx, rbp
mov rbx, rax
call fcn.1400eee40
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140087dc4
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400e9d80
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 0x14008b9a0
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, [0x1401106f0]
lea rcx, str.Setup.rar
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.ace
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0xe]
lea rcx, str.Setup.xz
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0xf]
lea rcx, str.Setup.001
mov rdx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
lea rdx, [0x140110548]
mov rcx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0x17]
lea rdx, str.ShellExt
lea rdi, [0x14010eb90]
mov rcx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.14009b8a0
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14009b8a0

Function at 0x14008c324
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, [rsp + 0x58]
mov ebx, edx
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r11, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
cmp eax, ecx
sete bl
cmp bl, cl
je 0x14008c389
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
cmp eax, 1
mov rax, qword [rcx]
sete bl
call qword [rax + 0x28]
jmp 0x14008c38c
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14008c39c
Capabilities:
Get common file path

Disassembly:
mov edx, 0x10
jmp fcn.14008c324
Function at 0x14008c3a8
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rdi
mov eax, 0x1080
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14008c3db
xor al, al
jmp 0x14008c440
lea rcx, [rsp + 0x60]
mov r8d, 0x800
mov rdx, rdi
call fcn.140065d00
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.1400eada0
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.1400e9d80
add rsp, 0x1080
pop rdi
ret
Function at 0x14008f31c
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 + 0x50]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rbx + 0x50]
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 0x14008f3af
test esi, esi
jne 0x14008f3af
test edi, edi
jne 0x14008f3af
test r11d, r11d
je 0x14008f3b1
xor ebx, ebx
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14008f470
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2350
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2340], rax
mov rsi, rcx
mov ebx, 1
xor ebp, ebp
mov ecx, 0x3d4
call fcn.14005fad8
lea rdx, [rsp + 0x340]
movzx ecx, word [rax]
add rax, 2
mov word [rdx], cx
add rdx, 2
cmp cx, bp
jne 0x14008f4bb
cmp ebx, 1
jle 0x14008f503
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x340]
repne scasw ax, word [rdi]
lea r8, [0x1401117f0]
mov r9d, ebx
not rcx
mov edx, 0x800
lea rcx, [rsp + rcx*2 + 0x33e]
call fcn.1400e0c0c
cmp ebx, 0x3e8
jg 0x14008f524
lea rdx, [rsp + 0x340]
mov rcx, rsi
call fcn.14008f3c4
cmp al, bpl
je 0x14008f524
inc ebx
jmp 0x14008f4a9
mov rcx, qword [rsi + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x1340]
xor r8d, r8d
mov edx, 0x800
mov rdi, rax
call fcn.1400b5200
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0x1340]
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.1400eada0
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsi + 0x50]
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x340]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104d
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x38], ebp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x50]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsi + 0x50]
movsxd r8, edi
xor r9d, r9d
mov edx, 0x1076
mov byte [rsi + 0x78], 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x2340]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x2350]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14008f840
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2040
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rbp, rcx
lea rdx, str.RestoreFolder
lea rcx, [0x14010ed78]
mov r8d, 1
call fcn.14009b908
xor edi, edi
mov dword [rsp + 0x20], 0x800
lea r9, [0x140109540]
cmp eax, edi
je 0x14008f8c9
lea r8, [rsp + 0x30]
lea rdx, str.LastFolder
lea rcx, [0x14010ed78]
call fcn.14009b8dc
cmp word [rsp + 0x30], di
je 0x14008f939
lea rcx, [rsp + 0x30]
call fcn.14004258c
cmp al, dil
jmp 0x14008f920
lea r8, [rsp + 0x1030]
lea rdx, str.StartFolder
lea rcx, [0x14010ea58]
call fcn.14009b8dc
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1030]
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov word [rsp + 0x102e], di
cmp word [rsp + 0x30], di
je 0x14008f939
lea rsi, [rsp + 0x30]
lea rdi, [0x140109750]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x14008f939
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x107c]
mov r8d, 0x800
call fcn.140065d00
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x2040]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400963e8
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 0x140096544
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r12, rcx
je 0x140096544
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, r13d
jne 0x14009643f
xor eax, eax
jmp 0x140096549
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 0x140096495
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, r13
je 0x140096495
lea r8, [r12 + 1]
mov rdx, rax
mov rcx, rbx
call fcn.1400688e8
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 0x1400964ef
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
cmp rax, r13
je 0x1400964ef
lea r8, [r12 + 1]
mov rdx, rax
mov rcx, rbx
call fcn.1400688e8
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 0x14009653e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, r13
je 0x14009653e
sub rax, rbx
movzx ecx, word [rbx]
mov word [rax + rbx], cx
add rbx, 2
cmp cx, r13w
jne 0x140096516
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 0x140097158
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.140044e44
cmp eax, 0x600
jb 0x14009718e
mov rcx, qword [rsi]
movzx edx, bl
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x14009721c
mov rax, qword [rsi + 0x10]
mov byte [rax + 0xc8], bl
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14009721c
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.1400e9a7c
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.1400e9b08
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400974a4
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 [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov esi, ecx
mov rcx, qword [0x14012ffc8]
mov rdi, rdx
lea r9, [0x140109540]
lea r8, [rsp + 0x1a0]
lea rdx, [0x140111d40]
mov r13d, 0x80
mov dword [rsp + 0x20], r13d
call fcn.14009b8dc
xor r12d, r12d
cmp word [rsp + 0x1a0], r12w
mov ebp, 0x100
lea rcx, [rsp + 0x1a0]
mov rdx, rbp
setne bl
call fcn.1400632a4
cmp bl, r12b
lea ebx, [r13 - 0x4e]
mov r9d, esi
lea rcx, [rsp + 0x30]
mov rdx, rbx
je 0x140097570
lea r8, [0x140111d38]
call fcn.1400e0c0c
mov rcx, qword [0x14012ffc8]
lea r9, [0x140109540]
lea rdx, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], r13d
call fcn.14009b8dc
cmp word [rdi], r12w
jne 0x1400975fd
xor al, al
jmp 0x1400976d8
lea r8, str.PE_d
call fcn.1400e0c0c
lea rcx, [rsp + 0xa0]
mov r8, rbp
xor edx, edx
call fcn.1400eada0
mov rcx, qword [0x14012ffc8]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
call fcn.14009b920
mov r11d, eax
cmp eax, r12d
je 0x140097569
mov edx, r12d
jle 0x1400975d2
lea rcx, [rsp + 0xa0]
lea eax, [rdx + 0x49]
inc edx
xor byte [rcx], al
inc rcx
cmp edx, r11d
jl 0x1400975c3
lea rcx, [rsp + 0xa0]
mov r8, r13
mov rdx, rdi
call fcn.1400689c0
lea rcx, [rsp + 0xa0]
mov rdx, rbp
mov word [rdi + 0xfe], r12w
call fcn.1400632a4
lea r8, [0x140111d20]
lea rcx, [rsp + 0x30]
mov r9d, esi
mov rdx, rbx
call fcn.1400e0c0c
mov rcx, qword [0x14012ffc8]
lea r9, [0x140109540]
lea r8, [rdi + 0x100]
lea rdx, [rsp + 0x30]
mov r13d, 0xc8
mov dword [rsp + 0x20], r13d
call fcn.14009b8dc
lea r8, [0x140111d18]
lea rcx, [rsp + 0x30]
mov r9d, esi
mov rdx, rbx
call fcn.1400e0c0c
mov rcx, qword [0x14012ffc8]
lea r8, [rdi + 0x290]
lea r9, [0x140109540]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x800
call fcn.14009b8dc
lea r8, [0x140111d10]
lea rcx, [rsp + 0x30]
mov r9d, esi
mov rdx, rbx
call fcn.1400e0c0c
mov rcx, qword [0x14012ffc8]
lea rdx, [rsp + 0x30]
xor r8d, r8d
call fcn.14009b908
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 0x1400976d1
mov rdx, rdi
call fcn.140065d00
mov al, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009a05c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x600
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], bp
je 0x14009a149
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x14009a149
mov esi, ebp
xor edx, edx
jmp 0x14009a0ef
lea rax, [rsp + 0x60]
lea r8, [0x140112098]
lea rcx, [rsp + 0x1f0]
mov r9, rbx
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.1400e0c0c
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.14009a05c
inc esi
mov edx, esi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0xc8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
je 0x14009a0b5
mov rcx, qword [rsp + 0x48]
call fcn.140099fcc
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebp
jne 0x14009a149
inc dword [0x140184260]
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret