joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001da70
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001daa0
xor eax, eax
jmp 0x14001db63
mov rbp, rbx
cmp word [rax], si
je 0x14001dac5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001daac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001daa8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001c020
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14001db06
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001da99
call fcn.140019e20
mov rdi, rax
test rax, rax
jne 0x14001db1c
xor ecx, ecx
call fcn.140017760
jmp 0x14001dafb
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001c020
test eax, eax
jne 0x14001db4d
mov rcx, rdi
call fcn.140017760
jmp 0x14001db57
xor ecx, ecx
call fcn.140017760
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400209d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140020a43
cmp word [rcx], si
je 0x140020a43
lea rdx, [0x14002b658]
call fcn.1400231a0
test eax, eax
je 0x140020a43
lea rdx, [0x14002b670]
mov rcx, rbx
call fcn.1400231a0
test eax, eax
jne 0x140020a39
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140020a60
mov eax, dword [rsp + 0x30]
jmp 0x140020a72
mov rcx, rbx
call fcn.140015d6c
jmp 0x140020a72
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140020a64
xor eax, eax
jmp 0x140020a72
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140020a72
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140020a84
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1400164f0
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140020b27
cmp edi, dword [rsp + 0x30]
je 0x140020b20
test ebp, ebp
je 0x140020b20
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140020afc
sub dx, 0x61
cmp dx, 0x19
ja 0x140020b08
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x140020ae9
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140020b0c
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140020b29
mov eax, 1
jmp 0x140020b29
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140022ea0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001213c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140022f2a
cmp byte [rbp - 0x21], r15b
je 0x140022f25
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140022f60
call fcn.1400180a0
test eax, eax
jne 0x140022f4c
cmp byte [rbp - 0x21], r15b
je 0x140022f44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140022f60
cmp byte [rbp - 0x21], r15b
je 0x140022f5d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400122c8
test eax, eax
jne 0x140023000
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001213c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140022f9f
cmp byte [rbp - 0x21], r15b
je 0x140022fd4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140022fd4
call fcn.1400180a0
test eax, eax
jne 0x140022fc0
cmp byte [rbp - 0x21], r15b
je 0x140022fb9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140022fd4
cmp byte [rbp - 0x21], r15b
je 0x140022fd1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400122c8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140023000
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140023003
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140023011
mov rcx, rdi
call fcn.140017760
cmp byte [rbp + 0x3f], r15b
je 0x140023020
mov rcx, qword [rbp + 0x27]
call fcn.140017760
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400233f0
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140019d78
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140019d78
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002353d
cmp rax, 0xffffffffffffffff
je 0x14002353d
xor edi, edi
test rbp, rbp
jle 0x1400234eb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140017d70
mov rbx, rax
test rax, rax
jne 0x140023478
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400234e1
mov edx, 0x8000
mov ecx, r14d
call fcn.140013560
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001742c
cmp eax, 0xffffffff
je 0x1400234c1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140023488
mov edx, r15d
mov ecx, r14d
call fcn.140013560
jmp 0x1400234e1
cmp byte [rsi + 0x38], dil
je 0x1400234d8
cmp dword [rsi + 0x34], 5
jne 0x1400234d8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400234e1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140017760
jmp 0x14002354f
jns 0x14002354f
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140019d78
cmp rax, 0xffffffffffffffff
jne 0x140023509
cmp byte [rsi + 0x30], dil
je 0x14002354f
jmp 0x140023545
mov ecx, r14d
call fcn.14001e4d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002354f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14002354f
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002354a
mov edi, dword [rsi + 0x2c]
jmp 0x14002354f
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140019d78
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140023ba0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140023bc8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140023bc8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004980
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rbx, qword [0x1401144a8]
movzx r12d, r9b
movzx edi, r8b
movzx esi, dl
mov ebp, ecx
test r8b, r8b
je 0x1400049c7
inc dword [0x140119934]
add rbx, 0x150
mov qword [0x1401144a8], rbx
lea rdx, [0x140118220]
mov rcx, rbx
mov r8d, 0x150
call fcn.1400cb300
mov dword [rbx + 0x3c], ebp
test dil, dil
je 0x1400049f2
lea rcx, [0x14011b1d0]
xor edx, edx
call fcn.14001f660
xor edi, edi
cmp dword [0x140119980], edi
mov qword [0x14011bd90], rdi
je 0x140004a26
mov rax, qword [0x140115e50]
lea rcx, [0x1400e346c]
test rax, rax
je 0x140004a20
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140004abc
cmp byte [rbx + 0x12e], dil
jne 0x140004a5a
cmp r12b, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140004a5a
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14011bd9c], 0
je 0x140004a6c
cmp dword [0x14011bd98], 0
jne 0x140004a75
cmp byte [rbx + 0x12e], 0
je 0x140004abc
cmp byte [rbx + 0x12e], 0
mov dword [rbx + 0x118], reloc.OLEAUT32.dll_SafeArrayGetDim
mov byte [rbx + 0x12c], 0
jne 0x140004abc
cmp dword [0x14011bd9c], 0
jge 0x140004aa4
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140004abc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14011bd9c]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140006090
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp qword [0x14011be40], 0
mov rbx, rdx
mov rsi, rcx
je 0x1400060b7
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x140006127
mov eax, 0xffffffff
cmp rdx, rax
jne 0x1400060e0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx - 1]
mov ebx, ebx
test rbx, rbx
je 0x140006127
lea rdx, [rbx + 1]
lea rcx, [0x14011be28]
call fcn.140006150
test rax, rax
jne 0x14000610a
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [0x14011be40]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400cd814
xor r11d, r11d
mov word [rdi + rbx*2], r11w
lea rcx, [0x14011be28]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.140006210
Function at 0x140006490
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 0x1400064ab
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x14000658a
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.1400cab94
test eax, eax
je 0x140006577
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x140006577
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x140006577
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x140006577
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x140006577
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
je 0x14000656c
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400ca93c
test eax, eax
jne 0x14000658f
test rbx, rbx
je 0x140006577
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 0x1400065b0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400065ca
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 [0x140119798]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140006644
xor esi, esi
nop
mov ecx, dword [0x140114470]
cmp ecx, 0xffffffff
je 0x140006614
test ecx, ecx
je 0x140006660
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140114470]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140006660
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140114474], esi
call fcn.140001a70
mov rcx, qword [0x140119798]
mov dword [0x140114474], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400065f0
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 0x14000d2f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
xor al, al
cmp qword [0x1401198e8], 0
mov esi, 1
movzx edi, al
cmovne edi, esi
cmp qword [0x1401198f0], 0
je 0x14000d31b
or dil, 2
xor ebp, ebp
mov qword [rsp + 0x58], rbx
test dil, dil
je 0x14000d475
mov qword [rsp + 0x60], r12
mov ebx, ebp
mov ecx, dword [0x1401185d8]
mov r9, rsi
xor r8d, r8d
mov edx, 0x417
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x14000d35d
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x14000d332
xor r12b, r12b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
nop dword [rax + rax]
mov rcx, qword [0x14011a348]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x50], 0x103
jne 0x14000d3a5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x14000d3be
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000d370
mov rcx, qword [0x14011a348]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14011a348], rbp
call fcn.14000c140
cmp qword [0x1401198e8], rbp
je 0x14000d3e6
test sil, dil
jne 0x14000d3ff
lea r8, str.AHK_Keybd
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x14011a338], rax
jmp 0x14000d3ff
test sil, dil
je 0x14000d3ff
mov rcx, qword [0x14011a338]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14011a338], rbp
cmp qword [0x1401198f0], rbp
je 0x14000d428
test dil, 2
jne 0x14000d442
lea r8, str.AHK_Mouse
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x14011a340], rax
jmp 0x14000d442
test dil, 2
je 0x14000d442
mov rcx, qword [0x14011a340]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14011a340], rbp
test r12b, r12b
mov r12, qword [rsp + 0x60]
je 0x14000d475
xorpd xmm3, xmm3
lea rcx, str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140114474], ebp
mov qword [rsp + 0x20], rbp
call fcn.1400b3f10
mov dword [0x140114474], esi
mov rcx, qword [0x1401198f8]
test rcx, rcx
je 0x14000d487
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov r8, qword [0x140115e60]
mov edi, ebp
cmp bp, word [r8]
jae 0x14000d52b
mov rdx, qword [0x14011b128]
mov r9, qword [0x14011b120]
mov rsi, rbp
nop dword [rax + rax]
mov rax, qword [0x14011a388]
mov rbx, qword [rsi + rax]
test rbx, rbx
je 0x14000d51d
cmp byte [rbx + 0x18], bpl
je 0x14000d4f4
movzx edx, word [rbx + 4]
mov rcx, qword [0x140119798]
call qword [sym.imp.USER32.dll_UnregisterHotKey]
mov r8, qword [0x140115e60]
mov rdx, qword [0x14011b128]
mov r9, qword [0x14011b120]
test eax, eax
sete al
mov byte [rbx + 0x18], al
cmp rbx, rdx
jne 0x14000d51d
test rdx, rdx
je 0x14000d51d
mov rax, qword [r9 + 8]
mov rcx, rax
sub rcx, rdx
mov rdx, rbp
sub rax, rcx
add qword [r9 + 0x10], rcx
mov qword [0x14011b128], rdx
mov qword [r9 + 8], rax
movzx eax, word [r8]
inc edi
add rsi, 8
cmp edi, eax
jl 0x14000d4b0
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000dc00
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x1040
call fcn.1400d23d0
sub rsp, rax
cmp byte [0x14011bff0], 0
mov rbx, rdx
mov rbp, rcx
jne 0x14000dd8e
cmp dword [0x14011a37c], 0
jne 0x14000dc3b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14011a37c], eax
inc dword [0x14011bff4]
mov qword [rsp + 0x1050], rsi
mov qword [rsp + 0x1058], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x14011bff4]
mov edx, dword [0x14011448c]
mov ecx, eax
mov dword [0x14011a380], eax
sub ecx, dword [0x14011a37c]
cmp r9d, dword [0x140114488]
jbe 0x14000dcf7
cmp ecx, edx
jae 0x14000dcf7
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.1400ad230
call fcn.14000c790
xor edi, edi
xorpd xmm3, xmm3
lea edx, [rsi + 3]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov byte [0x14011bff0], sil
mov dword [0x140114474], edi
mov qword [rsp + 0x20], rdi
call fcn.1400b3f10
cmp eax, 7
jne 0x14000dce2
lea edx, [rsi + 3]
lea rcx, [0x14011b1d0]
xor r8d, r8d
call fcn.14001fd00
mov eax, dword [0x14011a380]
mov dword [0x140114474], esi
mov byte [0x14011bff0], dil
jmp 0x14000dcff
xor edi, edi
mov esi, edi
cmp ecx, edx
jbe 0x14000dd0f
mov dword [0x14011bff4], edi
mov dword [0x14011a37c], eax
test esi, esi
jne 0x14000dd7e
movzx eax, byte [rbp + 0xf]
mov dword [rsp + 0x30], edi
lea r8, [0x1400e34f0]
mov byte [0x14011bd4e], 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.1400a33f0
dec byte [rbx + 0x22]
test eax, eax
jne 0x14000dd4a
mov byte [rbx + 0x27], al
jmp 0x14000dd7e
cmp byte [rbx + 0x27], 0
je 0x14000dd7e
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14000dd7e
movzx r8d, word [rbp + 4]
mov rcx, qword [0x140119798]
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 0x140016c60
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
cmp dword [0x14011a3bc], 2
movzx ebp, r8b
mov ebx, edx
sete sil
movzx edi, cx
test sil, sil
je 0x140016cba
movzx ecx, cx
lea rdx, [rsp + 0x30]
test ecx, 0xffffff80
je 0x140016ca7
mov eax, gethostbyname
lea rdx, [rsp + 0x32]
mov word [rsp + 0x30], ax
mov r8d, 0xa
call fcn.1400ca690
movzx edi, word [rsp + 0xa8]
test ebx, ebx
jle 0x140016d88
mov qword [rsp + 0xa0], r12
xor r12d, r12d
nop dword [rax]
cmp dword [0x14011a3bc], r12d
jne 0x140016d3a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401144a8]
sub eax, dword [0x14011bda4]
cmp eax, dword [rcx + 0x118]
jbe 0x140016d3a
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140016d2e
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140114474], r12d
call fcn.140001a70
mov dword [0x140114474], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14011bda4], eax
test sil, sil
je 0x140016d4b
lea rcx, [rsp + 0x30]
call fcn.140016da0
jmp 0x140016d57
movzx edx, bpl
movzx ecx, di
call fcn.140014c00
cmp dword [0x14011a3bc], 2
mov rax, qword [0x1401144a8]
jne 0x140016d6f
mov ecx, dword [rax + 0x80]
jmp 0x140016d72
mov ecx, dword [rax + 0x7c]
call fcn.140019230
dec rbx
jne 0x140016cd0
mov r12, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140016da0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x30
cmp dword [0x14011a3bc], 0
mov qword [rsp + 0x40], rbx
mov rsi, rcx
je 0x140016dc3
movzx ebx, byte [0x1401185ef]
jmp 0x140016f1b
cmp qword [0x1401198e8], 0
je 0x140016dd9
movzx ebx, byte [0x140119791]
jmp 0x140016f1b
mov ecx, 0xa0
mov qword [rsp + 0x48], rdi
xor bl, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x8000
movzx ebx, bl
test di, ax
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, 0xa1
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140016e11
or bl, 0x20
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140016e24
or bl, 1
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140016e37
or bl, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140016e4a
or bl, 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140016e5d
or bl, 8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140016e70
or bl, 0x40
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140016e83
or bl, 0x80
cmp qword [0x1401198e8], 0
je 0x140016f16
movzx edi, bl
not dil
and dil, byte [0x140119791]
cmp byte [0x140119796], 0
je 0x140016ec4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14011844c]
cmp eax, 0x14
jae 0x140016ec4
movzx eax, byte [0x140119796]
not al
and dil, al
test dil, dil
je 0x140016f16
movzx edx, byte [0x140119793]
movzx eax, dil
lea rcx, [0x1401197e0]
not al
and byte [0x140119791], al
and byte [0x140119792], al
and dl, al
mov byte [0x140119793], dl
call fcn.14001a0c0
mov rcx, qword [0x1401185e0]
test rcx, rcx
je 0x140016f16
test byte [rcx + 0xc], dil
mov eax, 0
cmovne rcx, rax
mov qword [0x1401185e0], rcx
mov rdi, qword [rsp + 0x48]
movzx ecx, bl
xor r9d, r9d
xor r8d, r8d
and cl, 0xc4
movzx edx, bl
mov dword [rsp + 0x28], 0xffc3d44f
or cl, 4
mov byte [rsp + 0x20], 1
call fcn.1400196f0
movzx eax, word [rsi]
mov rbx, qword [rsp + 0x40]
cmp ax, 0x30
jb 0x140016f86
nop dword [rax]
cmp ax, 0x39
ja 0x140016f86
movzx edx, byte [rsi]
xor r8d, r8d
xor r9d, r9d
lea ecx, [r8 + 2]
add dl, 0x30
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140017240
movzx eax, word [rsi + 2]
add rsi, 2
cmp ax, 0x30
jae 0x140016f50
xor r8d, r8d
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [r8 + 1]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140017240
add rsp, 0x30
pop rsi
ret