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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov rsi, r8
mov rdi, rdx
mov r14, rcx
test rcx, rcx
jne 0x1400b5dcb
xor eax, eax
jmp 0x1400b5f11
or r13, 0xffffffffffffffff
test rdi, rdi
jne 0x1400b5dd9
mov r12, rbx
jmp 0x1400b5def
call fcn.1400b2af0
mov r8, rax
mov rdx, r13
mov rcx, rdi
call fcn.1400be600
mov r12, rax
test rsi, rsi
jne 0x1400b5df9
mov r15, rbx
jmp 0x1400b5e0f
call fcn.1400b2af0
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.1400be600
mov r15, rax
mov rdi, rbx
mov ebp, 0x20019
lea rax, [rsp + 0x88]
mov r9d, ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x1400b5ec6
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400b5eb8
mov ecx, dword [rsp + 0x70]
lea edx, [rax + 2]
shr rcx, 1
inc rcx
call fcn.140109ad8
mov rcx, qword [rsp + 0x88]
mov rdi, rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x1400b5eb8
mov rcx, rdi
call fcn.140107298
mov rdi, rbx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x1400b5ee6
cmp r14, 0xffffffff80000002
jne 0x1400b5ee6
cmp ebp, 0x20019
jne 0x1400b5ee6
mov ebp, 0x20219
jmp 0x1400b5e17
test rdi, rdi
je 0x1400b5f06
call fcn.1400b2af0
mov r9, rax
mov r8, r13
mov rdx, rdi
mov ecx, 0xfde9
call fcn.1400be6d0
mov rbx, rax
mov rcx, rdi
call fcn.140107298
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b5fcc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
or rbx, 0xffffffffffffffff
xor r13d, r13d
mov rbp, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
test rdx, rdx
jne 0x1400b6005
mov r12d, r13d
jmp 0x1400b601b
call fcn.1400b2af0
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call fcn.1400be600
mov r12, rax
test rdi, rdi
jne 0x1400b6025
mov r15, r13
jmp 0x1400b603b
call fcn.1400b2af0
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.1400be600
mov r15, rax
test rbp, rbp
jne 0x1400b60a2
mov rcx, r13
mov rbx, r13
lea eax, [rbx*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
mov r8, r15
mov qword [rsp + 0x20], rcx
mov rdx, r12
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, eax
mov rcx, r14
test eax, eax
je 0x1400b60cc
call fcn.1400b623c
mov rdx, rax
mov dword [rsp + 0x28], ebx
mov r9, rdi
mov qword [rsp + 0x20], rbp
mov r8, rsi
lea rcx, str.WriteRegStr__s___s___s___s__failed_with__d_n
call fcn.1400b3458
xor ecx, ecx
call fcn.1400b5d58
xor al, al
jmp 0x1400b60ed
call fcn.1400b2af0
mov r8, rax
mov rdx, rbx
mov rcx, rbp
call fcn.1400be600
mov rcx, rax
test rax, rax
je 0x1400b6043
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x1400b60bd
jmp 0x1400b6046
call fcn.1400b623c
mov rdx, rax
mov qword [rsp + 0x20], rbp
mov r9, rdi
lea rcx, str.WriteRegStr__s___s___s___s__failed_with__d_ok__n
mov r8, rsi
call fcn.1400b3458
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400b610c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov dword [rsp + 0x20], r9d
push rsi
push rdi
push r14
sub rsp, 0x30
or r14, 0xffffffffffffffff
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x1400b6139
xor ebx, ebx
jmp 0x1400b614f
call fcn.1400b2af0
mov r8, rax
mov rdx, r14
mov rcx, rsi
call fcn.1400be600
mov rbx, rax
test rdi, rdi
jne 0x1400b6158
xor eax, eax
jmp 0x1400b616b
call fcn.1400b2af0
mov r8, rax
mov rdx, r14
mov rcx, rdi
call fcn.1400be600
mov r9d, 4
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
mov r8, rax
mov qword [rsp + 0x20], rcx
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, dword [rsp + 0x68]
mov rcx, rbp
mov r14d, eax
test eax, eax
je 0x1400b61cb
call fcn.1400b623c
mov r9, rdi
mov dword [rsp + 0x28], r14d
mov r8, rsi
mov dword [rsp + 0x20], ebx
mov rdx, rax
lea rcx, str.WriteRegDWORD__s___s___s___d__failed_with__d_n
call fcn.1400b3458
xor ecx, ecx
call fcn.1400b5d58
xor al, al
jmp 0x1400b61eb
call fcn.1400b623c
mov r9, rdi
mov dword [rsp + 0x20], ebx
mov r8, rsi
lea rcx, str.WriteRegDWORD__s___s___s___d____ok_n
mov rdx, rax
call fcn.1400b3458
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b6308
Capabilities:
Delete registry key

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 r14
sub rsp, 0x30
xor edi, edi
movzx ebx, r8b
mov rsi, rdx
mov rbp, rcx
test r8b, r8b
je 0x1400b6337
call fcn.1400b626c
test rsi, rsi
jne 0x1400b6341
mov rax, rdi
jmp 0x1400b6355
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rsi
call fcn.1400be600
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, rbp
mov r14d, eax
call fcn.1400b623c
mov rdx, rax
mov dword [rsp + 0x20], r14d
mov r9d, ebx
lea rcx, str.LoggedDeleteRegKey__s___s___d_____d_n
mov r8, rsi
call fcn.1400b3458
test r14d, 0xfffffffd
je 0x1400b6399
mov ecx, r14d
call fcn.1400b5d58
jmp 0x1400b639c
mov dil, 1
mov rbx, qword [rsp + 0x40]
mov al, dil
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x1400b63bc
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rcx
call fcn.1400b2af0
mov r8, rax
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPreviewHandlers
or rdx, 0xffffffffffffffff
call fcn.1400be600
mov rsi, rax
test rbx, rbx
jne 0x1400b63f5
xor eax, eax
jmp 0x1400b6409
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
mov r8, rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov rbx, qword [rsp + 0x30]
test eax, eax
mov rsi, qword [rsp + 0x38]
sete al
add rsp, 0x20
pop rdi
ret

Function at 0x1400b6430
Capabilities:
Delete registry value

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 r14
sub rsp, 0x30
or rbp, 0xffffffffffffffff
mov rbx, r8
mov rdi, rdx
mov r14, rcx
test rdx, rdx
jne 0x1400b645f
xor esi, esi
jmp 0x1400b6475
call fcn.1400b2af0
mov r8, rax
mov rdx, rbp
mov rcx, rdi
call fcn.1400be600
mov rsi, rax
test rbx, rbx
jne 0x1400b647e
xor eax, eax
jmp 0x1400b6491
call fcn.1400b2af0
mov r8, rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400be600
mov r8, rax
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, 0xfffffffd
mov rcx, r14
mov esi, eax
sete bpl
call fcn.1400b623c
mov rdx, rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea rcx, str.LoggedDeleteRegValue__s___s___s_____d_n
mov r8, rdi
call fcn.1400b3458
test bpl, bpl
jne 0x1400b64d8
mov ecx, esi
call fcn.1400b5d58
mov rbx, qword [rsp + 0x40]
mov al, bpl
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400b64f8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov bl, dl
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14012a960
mov edx, edi
lea rax, [rsp + 0x30]
bts edx, 0xf
mov qword [rsp + 0x20], rax
test bl, bl
cmove edx, edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400b6558
xor eax, eax
jmp 0x1400b6573
call fcn.1400b2af0
mov r9, rax
lea rdx, [rsp + 0x30]
or r8, 0xffffffffffffffff
mov ecx, 0xfde9
call fcn.1400be6d0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400f44c0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1400b6594
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14012a960
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
test eax, eax
jne 0x1400b65db
xor eax, eax
jmp 0x1400b660d
cmp ebx, 0x104
jb 0x1400b65f3
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b65f3
call qword [sym.imp.KERNEL32.dll_DebugBreak]
call fcn.1400b2af0
mov r9, rax
lea rdx, [rsp + 0x20]
mov r8, rbx
mov ecx, 0xfde9
call fcn.1400be6d0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400f44c0
add rsp, 0x240
pop rbx
ret
Function at 0x1400b6924
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rbp + 0x170], rax
or rdi, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.1400be600
mov rbx, rax
test rax, rax
jne 0x1400b696d
xor edi, edi
jmp 0x1400b6a89
movups xmm0, xmmword [0x140139a30]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [0x140154ca0]
lea rcx, [rsp + 0x50]
movdqu xmmword [rsp + 0x50], xmm0
lea r8d, [rdx + 0x17]
call qword [sym.imp.ole32.dll_CoCreateInstance]
shr eax, 0x1f
xor al, 1
jne 0x1400b69b0
xor edi, edi
jmp 0x1400b6a79
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x38]
and qword [rsp + 0x38], 0
lea rdx, [0x140154cc0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jns 0x1400b69d9
xor ecx, ecx
mov qword [rsp + 0x38], rcx
jmp 0x1400b69de
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400b6a6c
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
test eax, eax
js 0x1400b6a67
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov rax, qword [rcx]
lea r8d, [rdx + 4]
call qword [rax + 0x98]
test eax, eax
js 0x1400b6a67
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.14012a960
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + SafeArrayCopy]
test eax, eax
js 0x1400b6a67
call fcn.1400b2af0
mov r9, rax
lea rdx, [rsp + 0x60]
mov r8, rdi
mov ecx, 0xfde9
call fcn.1400be6d0
mov rcx, qword [rsp + 0x38]
mov rdi, rax
jmp 0x1400b6a6e
mov rcx, qword [rsp + 0x38]
xor edi, edi
test rcx, rcx
je 0x1400b6a79
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400b6a89
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call fcn.140107298
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400f44c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400b6ed0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
and qword [rsp + 0x50], 0
mov rbx, rdx
xor edx, edx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x74]
movups xmmword [rsp + 0x58], xmm0
lea r8d, [rdx + 0x64]
call fcn.14012a960
mov r8, rbx
mov dword [rsp + 0x70], 0x68
mov rdx, rdi
lea rcx, str.__s___s
call fcn.1400b2dac
mov rbx, rax
test rax, rax
je 0x1400b6f3a
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
mov rbx, rax
test rdi, rdi
jne 0x1400b6f43
xor eax, eax
jmp 0x1400b6f57
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.1400be600
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov rdx, rbx
mov qword [rsp + 0x40], rcx
mov rcx, rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400b6f9b
xor eax, eax
jmp 0x1400b6fab
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret

Function at 0x1400b6fbc
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
and qword [rsp + 0x50], 0
mov rbx, rdx
xor edx, edx
mov esi, r8d
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x74]
movups xmmword [rsp + 0x58], xmm0
lea r8d, [rdx + 0x64]
call fcn.14012a960
mov dword [rsp + 0x70], 0x68
test rdi, rdi
je 0x1400b7019
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.1400be600
mov rdi, rax
test rbx, rbx
jne 0x1400b7022
xor eax, eax
jmp 0x1400b7036
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], esi
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400b7077
xor eax, eax
jmp 0x1400b7087
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400b70f0
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
lea rax, [rbp - 0x18]
mov qword [rbp - 0x18], rbx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400b717b
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
mov dword [rbp - 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x20], ebx
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f44c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x1400b7198
Capabilities:
Create process on windows

Disassembly:
lea r8, str.runas
jmp fcn.1400b6dc4

Function at 0x1400b77a4
Capabilities:
Open clipboard
Write clipboard data

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 r14
sub rsp, 0x20
xor ebx, ebx
mov bpl, dl
mov rsi, rcx
test rcx, rcx
je 0x1400b7872
call fcn.1400b2af0
or rdi, 0xffffffffffffffff
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.1400be600
mov rsi, rax
test rax, rax
je 0x1400b7872
test bpl, bpl
jne 0x1400b7808
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400b7872
call qword [sym.imp.USER32.dll_EmptyClipboard]
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x1400b7808
lea r14d, [rdi + 1]
mov ecx, 2
movsxd rdx, r14d
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400b7861
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400b784a
mov r8, rsi
mov edx, r14d
mov rcx, rax
call fcn.1400b2114
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test bpl, bpl
jne 0x1400b786c
call qword [sym.imp.USER32.dll_CloseClipboard]
test rdi, rdi
setne bl
mov rbp, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400b7890
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov dil, dl
mov rbx, rcx
test dl, dl
jne 0x1400b78bf
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400b793c
call qword [sym.imp.USER32.dll_EmptyClipboard]
test rbx, rbx
je 0x1400b792f
lea r8, [rsp + 0x30]
mov edx, 0x20
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp qword [rsp + 0x48], 0
je 0x1400b7918
mov r9d, dword [rsp + 0x38]
xor edx, edx
mov r8d, dword [rsp + 0x34]
mov rcx, rbx
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CopyImage]
mov rdx, rax
mov ecx, 2
mov rbx, rax
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1400b7929
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rsi, rax
test rsi, rsi
setne bl
test dil, dil
jne 0x1400b793a
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400b865c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor r9d, r9d
xor r8d, r8d
mov rdi, rcx
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
call fcn.1400b2af0
lea rdx, [rsi*2 + 4]
mov rcx, rax
call fcn.1400b35ec
mov rbx, rax
test rax, rax
je 0x1400b86b6
lea r8, [rsi + 1]
mov r9, rbx
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b86c8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor r9d, r9d
xor r8d, r8d
mov rdi, rcx
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
call fcn.1400b2af0
lea rdx, [rsi*2 + 4]
mov rcx, rax
call fcn.1400b35ec
mov rbx, rax
test rax, rax
je 0x1400b8738
lea r8, [rsi + 1]
mov r9, rbx
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.1400b2af0
mov r9, rax
or r8, 0xffffffffffffffff
mov rdx, rbx
mov ecx, 0xfde9
call fcn.1400be6d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b8c8c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
call fcn.1400b4efc
mov rdx, rbx
test al, al
jne 0x1400b8cd0
lea rcx, str.RunNonElevated:_file__s_doesnt_exist_n
call fcn.1400b3458
jmp 0x1400b8d7d
lea rcx, str.RunNonElevated:__s_n
call fcn.1400b3458
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
xor edi, edi
call fcn.14012a960
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1400b8d5a
call fcn.1400b2af0
mov r9, rax
lea rdx, [rsp + 0x30]
or r8, 0xffffffffffffffff
mov ecx, 0xfde9
call fcn.1400be6d0
xor r8d, r8d
lea rdx, str.explorer.exe
mov rcx, rax
call fcn.1400b41a4
mov rcx, rax
mov rsi, rax
call fcn.1400b4efc
test al, al
je 0x1400b8d5a
mov r8, rbx
lea rcx, str.__s____s_
mov rdx, rsi
call fcn.1400b2dac
mov rdi, rax
test rdi, rdi
cmovne rbx, rdi
xor r8d, r8d
mov rcx, rbx
xor edx, edx
call fcn.1400b6fbc
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400b8c5c
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400f44c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400b8da4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 2
mov rbx, rcx
xor ecx, ecx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400b8ded
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b8ddf
call qword [sym.imp.KERNEL32.dll_DebugBreak]
and dword [rbx + 0xc], 0
and qword [rbx], 0
and dword [rbx + 8], 0
jmp 0x1400b8e52
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400b8dcf
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400b8dcf
mov r8d, edi
mov r9d, 1
mov rdx, rax
xor ecx, ecx
call fcn.1400b3634
mov qword [rbx], rax
test edi, edi
jns 0x1400b8e4d
test rax, rax
je 0x1400b8e49
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400b8e3e
jmp 0x1400b8e4f
xor ecx, ecx
jmp 0x1400b8e4f
mov ecx, edi
mov dword [rbx + 8], ecx
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b8f18
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea r8, [rsp + 0x30]
mov ecx, 0x400
mov dword [rsp + 0x30], ebx
lea r9d, [rbx + 2]
lea edx, [rbx + 0xd]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [rsp + 0x30], 0x30
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400b9014
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rdx
mov edi, ecx
test eax, eax
je 0x1400b9032
cmp eax, 0xffffffff
setne al
jmp 0x1400b9088
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, di
mov r8d, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400b905c
or dword [rbx + 8], 0xffffffff
xor al, al
jmp 0x1400b9088
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400b9054
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rdi
xor ecx, ecx
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbx + 8], eax
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400bd7d0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1400bd843
test rbx, rbx
jne 0x1400bd810
xor eax, eax
jmp 0x1400bd824
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400bd843
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1400bd845
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400f44c0
add rsp, 0x240
pop rbx
ret
Function at 0x1400bfa10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp byte [0x140172746], 0
lea rsi, [0x140175280]
mov r11, r8
mov rbx, rdx
jne 0x1400bfa8d
and dword [0x140175280], 0
mov r10d, 1
lea r9d, [r10 + 0x7f]
mov eax, r10d
lea edi, [r9 + r9]
and al, 1
neg al
mov eax, r10d
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
mov r10d, ecx
xor r10d, eax
xor r8d, r8d
lea eax, [r8 + r9]
mov edx, r10d
xor edx, dword [rsi + r8*4]
add r8d, edi
mov dword [rsi + rax*4], edx
cmp r8d, 0x100
jb 0x1400bfa67
shr r9d, 1
jne 0x1400bfa46
mov byte [0x140172746], 1
or r8d, 0xffffffff
test r11, r11
je 0x1400bfab3
movzx ecx, byte [rbx]
mov eax, r8d
xor rcx, rax
shr r8d, 8
movzx edx, cl
inc rbx
xor r8d, dword [rsi + rdx*4]
sub r11, 1
jne 0x1400bfa96
mov rbx, qword [rsp + 8]
not r8d
mov rsi, qword [rsp + 0x10]
mov eax, r8d
mov rdi, qword [rsp + 0x18]
ret