joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400064a0
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
mov edi, ecx
xor ecx, ecx
mov rbx, rdx
test rdx, rdx
je 0x1400064bb
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x14000659a
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
call fcn.1400c9264
test eax, eax
je 0x140006587
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x140006587
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x140006587
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x140006587
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x140006587
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x14000657c
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
jne 0x14000659f
test rbx, rbx
je 0x140006587
mov dword [rbx], 1
xor eax, eax
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov word [rsp + 0x20], cx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x1400065c0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400065da
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401167a8]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140006654
xor esi, esi
nop
mov ecx, dword [0x140111450]
cmp ecx, 0xffffffff
je 0x140006624
test ecx, ecx
je 0x140006670
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140111450]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140006670
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140111454], esi
call fcn.140001a70
mov rcx, qword [0x1401167a8]
mov dword [0x140111454], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140006600
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000d8d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x1040
call fcn.1400d1340
sub rsp, rax
cmp byte [0x140118ff8], 0
mov rbx, rdx
mov rbp, rcx
jne 0x14000da5e
cmp dword [0x140117390], 0
jne 0x14000d90b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140117390], eax
inc dword [0x140118ffc]
mov qword [rsp + 0x1050], rsi
mov qword [rsp + 0x1058], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x140118ffc]
mov edx, dword [0x14011146c]
mov ecx, eax
mov dword [0x140117394], eax
sub ecx, dword [0x140117390]
cmp r9d, dword [0x140111468]
jbe 0x14000d9c7
cmp ecx, edx
jae 0x14000d9c7
mov dword [rsp + 0x20], ecx
lea r8, str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov esi, 1
call fcn.1400abd10
call fcn.14000c480
xor edi, edi
xorpd xmm3, xmm3
lea edx, [rsi + 3]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov byte [0x140118ff8], sil
mov dword [0x140111454], edi
mov qword [rsp + 0x20], rdi
call fcn.1400b26b0
cmp eax, 7
jne 0x14000d9b2
lea edx, [rsi + 3]
lea rcx, [0x1401181e0]
xor r8d, r8d
call fcn.14001f9b0
mov eax, dword [0x140117394]
mov dword [0x140111454], esi
mov byte [0x140118ff8], dil
jmp 0x14000d9cf
xor edi, edi
mov esi, edi
cmp ecx, edx
jbe 0x14000d9df
mov dword [0x140118ffc], edi
mov dword [0x140117390], eax
test esi, esi
jne 0x14000da4e
movzx eax, byte [rbp + 0xf]
mov dword [rsp + 0x30], edi
lea r8, [0x1400e14e0]
mov byte [0x140118d5e], al
mov rcx, qword [rbx]
inc byte [rbx + 0x22]
mov rdx, rcx
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call fcn.1400a1ed0
dec byte [rbx + 0x22]
test eax, eax
jne 0x14000da1a
mov byte [rbx + 0x27], al
jmp 0x14000da4e
cmp byte [rbx + 0x27], 0
je 0x14000da4e
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14000da4e
movzx r8d, word [rbp + 4]
mov rcx, qword [0x1401167a8]
xor r9d, r9d
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
mov rsi, qword [rsp + 0x1050]
mov rdi, qword [rsp + 0x1058]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1040
pop rbp
ret
Function at 0x14001a780
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push r12
sub rsp, 0x38
cmp word [rcx + 2], 0
mov rax, r9
movzx r12d, r8b
mov rbp, rcx
jne 0x14001a7be
movzx ecx, word [rcx]
cmp cx, 0xa
jne 0x14001a7ac
mov al, 0xd
add rsp, 0x38
pop r12
pop rbp
ret
mov r9b, 1
mov r8, rax
add rsp, 0x38
pop r12
pop rbp
jmp fcn.14001a900
mov qword [rsp + 0x58], rbx
movzx ebx, word [rcx]
test ebx, 0xffffff80
jne 0x14001a7e1
mov edx, 2
mov ecx, ebx
call fcn.1400ca558
test eax, eax
je 0x14001a7e1
and ebx, 0xffffffdf
mov qword [rsp + 0x30], rdi
cmp bx, 0x56
jne 0x14001a861
movzx ebx, word [rbp + 2]
test ebx, 0xffffff80
jne 0x14001a80b
mov edx, 2
mov ecx, ebx
call fcn.1400ca558
test eax, eax
je 0x14001a80b
and ebx, 0xffffffdf
cmp bx, 0x4b
jne 0x14001a861
lea rcx, [rbp + 4]
lea rdx, [rsp + 0x50]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.1400caae0
mov rcx, qword [rsp + 0x50]
cmp word [rcx], 0
je 0x14001a848
mov rbx, qword [rsp + 0x58]
xor edi, edi
movzx eax, dil
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rbp
ret
mov rbx, qword [rsp + 0x58]
movzx edi, al
movzx eax, dil
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rbp
ret
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
lea r14, str.Numpad0
xor edi, edi
lea r13, str.NumpadEnter
mov rbx, r14
mov esi, edi
mov rcx, qword [rbx]
mov rdx, rbp
call fcn.1400c900c
test eax, eax
je 0x14001a8c8
add rbx, 0x10
inc esi
cmp rbx, r13
jl 0x14001a885
test r12b, r12b
je 0x14001a8a8
xor al, al
jmp 0x14001a8d5
xor edx, edx
mov rcx, rbp
call fcn.14001a660
test ax, ax
je 0x14001a8c2
movzx ecx, ax
call fcn.14001b1f0
movzx edi, al
movzx eax, dil
jmp 0x14001a8d5
movsxd rax, esi
shl rax, 4
movzx eax, byte [rax + r14 + 8]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
add rsp, 0x38
pop r12
pop rbp
ret

Function at 0x14001a900
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdx, r8
movzx edi, r9b
movzx ebp, cx
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rsi, ax
mov rdx, rsi
shr rdx, 8
cmp dl, 0xff
jne 0x14001a979
cmp sil, 0xff
jne 0x14001a979
test dil, dil
je 0x14001a991
movzx edi, bp
test edi, 0xffffff80
jne 0x14001a991
mov edx, 0x103
mov ecx, edi
call fcn.1400ca558
test eax, eax
je 0x14001a991
movzx ecx, bp
call fcn.14000c1f0
mov edx, 1
mov ecx, edi
movzx esi, al
call fcn.1400ca558
test eax, eax
setne dl
test dl, 0x38
jne 0x14001a991
test rbx, rbx
je 0x14001a9c5
movzx eax, dl
and al, 6
cmp al, 6
jne 0x14001a995
or byte [rbx], 8
jmp 0x14001a9b5
xor al, al
jmp 0x14001a9c9
test dl, 2
je 0x14001a9a5
movzx eax, byte [rbx]
test al, 3
jne 0x14001a9a5
or al, 1
mov byte [rbx], al
test dl, 4
je 0x14001a9b5
movzx eax, byte [rbx]
test al, 0xc
jne 0x14001a9b5
or al, 4
mov byte [rbx], al
test dl, 1
je 0x14001a9c5
movzx eax, byte [rbx]
test al, 0x30
jne 0x14001a9c5
or al, 0x10
mov byte [rbx], al
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140020480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
xor r12d, r12d
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
lea rdx, str._AUTOHOTKEY_SCRIPT_
lea r8d, [r12 + 0xa]
xor ecx, ecx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
mov byte [rsp + 0x3c], r12b
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400204e9
lea r8d, [r12 + 0xa]
lea rdx, str._AHK_WITH_ICON_
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140020570
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x38], eax
test eax, eax
je 0x140020570
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140020570
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140020570
mov rax, qword [rbx]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x78], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbx + 0xc], r12d
call qword [rax + VariantCopy]
test al, al
je 0x140020555
lea rdx, [rsp + 0x78]
mov r8d, 0xfde9
mov rcx, rbx
call fcn.1400a9690
mov rax, qword [rsi + 0xb80]
inc dword [0x14011747c]
mov qword [0x1401166e0], rax
mov eax, 3
jmp 0x14002058c
xorpd xmm3, xmm3
lea rcx, str.Could_not_extract_script_from_EXE.
mov r8, rbp
xor edx, edx
mov qword [rsp + 0x20], r12
call fcn.1400b26b0
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x140040c90
Capabilities:
Print debug messages

Disassembly:
test edx, edx
je 0x140040de5
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
mov eax, 0x4030
call fcn.1400d1340
sub rsp, rax
mov qword [rsp + 0x4050], rbx
mov rbx, qword [rsp + 0x4070]
mov rbp, r9
mov r12, r8
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x4058], r13
test rbx, rbx
jne 0x140040cf1
mov rbx, qword [rcx + 0x6a0]
test rbx, rbx
jne 0x140040cf1
mov ecx, dword [rcx + 0x2c8]
movzx eax, word [rdi + 0x2cc]
jmp 0x140040cf9
movzx ecx, word [rbx + 2]
movzx eax, word [rbx + 4]
movsxd r9, ecx
mov qword [rsp + 0x28], r8
lea rcx, [0x1401166e0]
mov r9, qword [rcx + r9*8]
movzx eax, ax
mov r13d, 0x2000
lea rcx, [rsp + 0x30]
lea r8, str._s___d__:___Warning:__s_n
mov edx, r13d
mov dword [rsp + 0x20], eax
call fcn.1400abd10
cmp word [rbp], 0
movsxd rcx, eax
lea rcx, [rsp + rcx*2 + 0x30]
je 0x140040d5f
lea rdx, [rsp + 0x30]
mov rax, rcx
lea r8, str._____Specifically:__s_n
sub rax, rdx
mov r9, rbp
sar rax, 1
sub r13d, eax
mov edx, r13d
call fcn.1400abd10
mov r13, qword [rsp + 0x4058]
cmp esi, 3
jne 0x140040d85
lea r9, [0x1400e6840]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call fcn.14003fc40
jmp 0x140040dca
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x140040dca
test rbx, rbx
jne 0x140040db6
mov rbx, qword [rdi + 0x6a0]
test rbx, rbx
jne 0x140040db6
mov r8, rbp
mov rdx, r12
mov rcx, rdi
call fcn.1400401e0
jmp 0x140040dca
mov r9, rbp
mov r8d, 1
mov rdx, r12
mov rcx, rbx
call fcn.14003fe90
mov rbx, qword [rsp + 0x4050]
mov rbp, qword [rsp + 0x4060]
add rsp, 0x4030
pop r12
pop rdi
pop rsi
repz ret
Function at 0x140056530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
mov eax, 0x2260
call fcn.1400d1340
sub rsp, rax
mov r9, qword [0x140118d80]
mov rdi, rcx
mov qword [rsp + 0x20], rcx
movzx esi, dl
lea rcx, [rsp + 0x260]
lea r8, str.__s_s
mov edx, 0x800
lea rbp, [rsp + 0x260]
lea r12, [0x1400e14ec]
call fcn.1400abd10
movsxd rbx, eax
lea r8d, [rbx + 1]
cmp r8d, 0x800
jg 0x1400565b9
lea rcx, [rsp + 0x262]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400565b9
mov r9, qword [0x140118d80]
jmp 0x14005661c
lea rcx, [rsp + 0x50]
call fcn.140056c40
test eax, eax
je 0x1400566db
lea r9, [rsp + 0x50]
lea r8, str.__s_s
lea rcx, [rsp + 0x260]
mov edx, 0x800
mov qword [rsp + 0x20], rdi
call fcn.1400abd10
movsxd rbx, eax
lea ecx, [rbx + 1]
cmp ecx, 0x800
jg 0x1400566db
lea rcx, [rsp + 0x262]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400566db
lea r9, [rsp + 0x50]
mov rax, rbx
mov edi, SafeArrayAllocDescriptor
mov word [rsp + rbx*2 + 0x260], di
xor ebx, ebx
mov word [rsp + rax*2 + 0x262], bx
test sil, sil
je 0x1400566a1
lea rax, [0x1400ebd08]
lea r8, str.__s_s
lea rcx, [rsp + 0x1260]
mov edx, 0x800
mov qword [rsp + 0x20], rax
call fcn.1400abd10
movsxd rsi, eax
lea ecx, [rsi + 1]
cmp ecx, 0x800
jg 0x1400566a1
lea rcx, [rsp + 0x1262]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400566a1
mov word [rsp + rsi*2 + 0x1260], di
lea rbp, [rsp + 0x1260]
lea r12, [rsp + 0x260]
mov word [rsp + rsi*2 + 0x1262], bx
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x30], rbx
lea rcx, [0x1401181e0]
xor r9d, r9d
mov r8, r12
mov rdx, rbp
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x20], 0
call fcn.140041670
test eax, eax
setne al
jmp 0x1400566dd
xor al, al
lea r11, [rsp + 0x2260]
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 0x1400810b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x270
mov edx, 0x2a
mov rbx, rcx
call fcn.1400ca024
test rax, rax
jne 0x1400810f3
lea edx, [rax + 0x3f]
mov rcx, rbx
call fcn.1400ca024
test rax, rax
jne 0x1400810f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x270
pop rbx
ret
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140081112
xor al, al
add rsp, 0x270
pop rbx
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
add rsp, 0x270
pop rbx
ret

Function at 0x140081130
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x58]
mov rcx, rax
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14008115d
xor al, al
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x58]
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140081155
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
add rsp, 0x40
pop rbx
ret

Function at 0x1400811d0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
xor r9d, r9d
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea edx, [r9 + 0x10]
mov dword [rsp + 0x28], 0x1f4
mov rbx, rcx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
jne 0x14008124d
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov dword [rsp + 0x58], eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x58]
test r8d, r8d
je 0x14008124d
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14008124d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
Function at 0x14009e5b0
Capabilities:
Get keyboard layout

Disassembly:
push rbx
push r12
sub rsp, 0x28
mov r12, rdx
mov rbx, rcx
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14009e5cf
cmp ax, 9
jne 0x14009e5d5
add rbx, 2
jmp 0x14009e5c0
movzx eax, word [rbx]
test ax, ax
jne 0x14009e5e5
add rsp, 0x28
pop r12
pop rbx
ret
cmp word [rbx + 2], 0
lea rcx, [rbx + 2]
jne 0x14009e601
mov word [rdx + 2], ax
mov byte [rdx], 0
mov al, 1
add rsp, 0x28
pop r12
pop rbx
ret
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov byte [rdx], 1
xor sil, sil
mov edx, 0x2b
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x40], sil
call fcn.1400ca024
mov rbp, rax
test rax, rax
je 0x14009e6f5
lea rdi, [rbp - 2]
cmp rdi, rbx
jbe 0x14009e658
nop word [rax + rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14009e64f
cmp ax, 9
jne 0x14009e658
sub rdi, 2
cmp rdi, rbx
ja 0x14009e640
sub rdi, rbx
lea rdx, str.Ctrl
mov rcx, rbx
sar rdi, 1
inc rdi
mov r8, rdi
call fcn.1400c9264
test eax, eax
jne 0x14009e67d
or sil, 1
jmp 0x14009e6b3
lea rdx, [0x1400e1e68]
mov r8, rdi
mov rcx, rbx
call fcn.1400c9264
test eax, eax
jne 0x14009e699
or sil, 4
jmp 0x14009e6b3
lea rdx, str.Shift
mov r8, rdi
mov rcx, rbx
call fcn.1400c9264
test eax, eax
jne 0x14009e719
or sil, 0x10
mov byte [rsp + 0x40], sil
lea rbx, [rbp + 2]
nop dword [rax]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14009e6cf
cmp ax, 9
jne 0x14009e6d5
add rbx, 2
jmp 0x14009e6c0
cmp word [rbx], 0
je 0x14009e719
lea rcx, [rbx + 2]
mov edx, 0x2b
call fcn.1400ca024
mov rbp, rax
test rax, rax
jne 0x14009e631
xor ecx, ecx
cmp word [rbx + 2], cx
jne 0x14009e737
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, word [rbx]
mov rdi, rax
call qword [sym.imp.USER32.dll_CharLowerW]
cmp ax, 0xa
jne 0x14009e71d
mov al, 0xd
jmp 0x14009e757
xor al, al
jmp 0x14009e78b
lea rdx, [rsp + 0x40]
mov r9b, 1
mov r8, rdi
movzx ecx, ax
call fcn.14001a900
movzx esi, byte [rsp + 0x40]
jmp 0x14009e757
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp word [rbx], 0
jne 0x14009e747
xor al, al
jmp 0x14009e757
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001a780
movzx eax, al
mov word [r12 + 2], ax
test sil, 1
je 0x14009e76b
or byte [r12], 8
test sil, 4
je 0x14009e776
or byte [r12], 0x10
test sil, 0x10
je 0x14009e781
or byte [r12], 4
cmp word [r12 + 2], 0
setne al
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop r12
pop rbx
ret
Function at 0x1400a8cf0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbp, rdx
mov r12, rcx
test rdx, rdx
je 0x1400a8e2d
test r8, r8
je 0x1400a8d23
cmp word [r8], 0
jne 0x1400a8d2c
test r9, r9
je 0x1400a8e2d
mov rax, qword [0x140111488]
xor r8d, r8d
mov rdx, rdi
mov r9d, dword [rax + 0x110]
lea rax, [rsp + 0x58]
mov rcx, rbp
or r9d, 0x2001f
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400a8e1d
mov rcx, qword [rsp + 0x58]
test rsi, rsi
jne 0x1400a8e07
call fcn.1400a8bc0
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400a8e1d
mov eax, dword [0x140119ed8]
test al, 1
jne 0x1400a8dc8
or eax, 1
lea rcx, str.advapi32
mov dword [0x140119ed8], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov qword [0x140119ed0], rax
jmp 0x1400a8dcf
mov r11, qword [0x140119ed0]
mov rax, qword [0x140111488]
mov r8d, dword [rax + 0x110]
test r8d, r8d
je 0x1400a8df7
test r11, r11
je 0x1400a8df7
xor r9d, r9d
mov rdx, rdi
mov rcx, rbp
call r11
mov ebx, eax
jmp 0x1400a8e1d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
jmp 0x1400a8e1d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 0xffffffff
jne 0x1400a8e32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
jmp 0x1400a8e35
mov ebx, 0x57
mov r11d, ebx
mov rax, qword [0x140111488]
test ebx, ebx
mov rcx, r12
setne dl
mov dword [rax + 0x40], r11d
call fcn.14003ec40
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400afa50
Capabilities:
Write clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rsi, rcx
lea rcx, [0x140118e30]
mov rbx, rdx
call fcn.1400065c0
test eax, eax
jne 0x1400afa8d
lea r8, [0x1400e14ec]
lea rdx, str.Cant_open_clipboard_for_writing.
lea rcx, [0x1401181e0]
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.1400401e0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rbp, [rsi + rbx]
lea rbx, [rsi + 4]
xor r14d, r14d
cmp rbx, rbp
ja 0x1400afb52
mov r13d, dword [rsi]
test r13d, r13d
je 0x1400afb52
mov rax, rbx
add rbx, 8
cmp rbx, rbp
ja 0x1400afb52
mov edi, dword [rax]
mov rsi, rbx
add rbx, rdi
cmp rbx, rbp
ja 0x1400afb52
mov rdx, r14
test rdi, rdi
mov ecx, 0x42
sete dl
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x1400afc10
test rdi, rdi
je 0x1400afb39
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400afbb1
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call fcn.1400c9cf0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, rbx
mov rdx, r12
mov ecx, r13d
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rbx, [rsi + 4]
cmp rbx, rbp
jbe 0x1400afac0
cmp dword [0x140118e5c], r14d
je 0x1400afb8c
cmp qword [0x140118e40], r14
je 0x1400afb78
mov rcx, qword [0x140118e30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140118e40], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140118e5c], r14d
mov qword [0x140118e30], r14
mov eax, 1
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x140118e5c], r14d
je 0x1400afbf4
cmp qword [0x140118e40], r14
je 0x1400afbe0
mov rcx, qword [0x140118e30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140118e40], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140118e5c], r14d
mov qword [0x140118e30], r14
lea r8, [0x1400e14ec]
lea rdx, [0x1400e1868]
lea rcx, [0x1401181e0]
call fcn.1400401e0
jmp 0x1400afb91
cmp dword [0x140118e5c], r14d
je 0x1400afc4a
cmp qword [0x140118e40], r14
je 0x1400afc36
mov rcx, qword [0x140118e30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140118e40], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140118e5c], r14d
mov qword [0x140118e30], r14
lea r8, [0x1400e14ec]
lea rdx, str.Out_of_memory.
lea rcx, [0x1401181e0]
call fcn.1400401e0
jmp 0x1400afb91