joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010ed0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov ecx, dword [0x140037068]
test ecx, ecx
je 0x140010fc4
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140010f04
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140010f04
add rdi, 0x10
jmp 0x140010fba
mov ecx, dword [0x140037068]
test ecx, ecx
je 0x140010fd7
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140010fb8
mov rsi, rax
test rax, rax
jne 0x140010f87
mov qword [rsp + 0x28], 0
lea rax, [0x140037050]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x140044030]
mov ecx, 0x18
mov edx, 8
call fcn.140008cb0
test rax, rax
je 0x140010ffa
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
mov ecx, dword [0x140037068]
test ecx, ecx
je 0x140010fea
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x140010fba
test rcx, rcx
je 0x140010fba
lock dec qword [rcx]
jne 0x140010fba
call fcn.140011050
jmp 0x140010fba
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x140037050]
call fcn.140011280
mov ecx, eax
jmp 0x140010ee6
lea rcx, [0x140037050]
call fcn.140011280
mov ecx, eax
jmp 0x140010f14
lea rcx, [0x140037050]
call fcn.140011280
mov ecx, eax
jmp 0x140010f7f
mov ecx, 8
mov edx, 0x18
call fcn.140002310
ud2
Function at 0x140011280
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140011305
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x140011346
cmp dword [rsp + 0x2c], 0
je 0x14001132a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140011360
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400440f0]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400440f0], rsi
jne 0x1400112e0
mov byte [0x1400440e8], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14001133c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1400113ac
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001132f
mov edi, dword [rsp + 0x28]
jmp 0x14001133c
mov edi, dword [rsi + 0x18]
jmp 0x14001133a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140011410
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.140002bc0
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140011460
ud2
Function at 0x1400119c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140037088]
test ecx, ecx
je 0x140011a5f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400119e9
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x140011a4e
mov ecx, dword [0x140037088]
test ecx, ecx
je 0x140011a72
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140011a54
mov rsi, rax
test rax, rax
jne 0x140011a48
movzx eax, byte [0x140044030]
mov ecx, 0x10
mov edx, 8
call fcn.140008cb0
test rax, rax
je 0x140011a95
mov rsi, rax
lea rax, [0x140037070]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x140037088]
test ecx, ecx
je 0x140011a85
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x140011a56
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140037070]
call fcn.140011280
mov ecx, eax
jmp 0x1400119d5
lea rcx, [0x140037070]
call fcn.140011280
mov ecx, eax
jmp 0x1400119f5
lea rcx, [0x140037070]
call fcn.140011280
mov ecx, eax
jmp 0x140011a40
mov ecx, 8
mov edx, 0x10
call fcn.140002310
ud2
Function at 0x140012760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140037048]
test ecx, ecx
je 0x14001281d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140012790
cmp qword [rax + 8], 0
je 0x140012790
add rax, 0x10
jmp 0x140012817
mov ecx, dword [0x140037048]
test ecx, ecx
je 0x140012830
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140012815
mov rsi, rax
test rax, rax
jne 0x1400127fb
movzx eax, byte [0x140044030]
mov ecx, 0x20
mov edx, 8
call fcn.140008cb0
test rax, rax
je 0x140012853
mov rsi, rax
lea rax, [0x140037030]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140037048]
test ecx, ecx
je 0x140012843
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x140012817
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140037030]
call fcn.140011280
mov ecx, eax
jmp 0x140012775
lea rcx, [0x140037030]
call fcn.140011280
mov ecx, eax
jmp 0x1400127a0
lea rcx, [0x140037030]
call fcn.140011280
mov ecx, eax
jmp 0x1400127f3
mov ecx, 8
mov edx, 0x20
call fcn.140002310
ud2

Function at 0x1400151d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, rdx
movzx r9d, byte [rdx + 0x38]
movzx r8d, byte [rdx + 0x3a]
xor edx, edx
cmp r9b, 1
ja 0x14001523b
movzx r10d, byte [rax + 0x10]
movzx r11d, r10b
test r8b, r8b
jne 0x140015398
cmp r10b, 5
jb 0x140015398
mov r10, qword [rax]
mov rdx, qword [rax + 8]
xor esi, esi
test r9b, r9b
jne 0x14001522b
cmp r11b, 6
je 0x14001522b
mov esi, 2
cmp rdx, 2
jb 0x14001543a
cmp rsi, rdx
jne 0x140015358
xor edx, edx
jmp 0x140015398
xor r10d, r10d
add rdx, r10
lea rdi, [r10 + rsi]
inc rdi
cmp rdi, rdx
sete dl
movzx r10d, byte [r10 + rsi]
test dl, 1
jne 0x14001538d
cmp r10b, 0x2e
jne 0x14001538d
movzx edx, byte [rdi]
cmp dl, 0x5c
cmp r10b, 0x2e
sete r10b
lea r8, [0x14003cce8]
mov ecx, 2
call fcn.140002c00
ud2
Function at 0x140035e40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140036be0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140036be0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140035eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400441f4]
mov rbx, rcx
test esi, esi
jle 0x140035fe0
mov rax, qword [0x1400441f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140035efb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140035f85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140035ee0
mov rcx, rbx
call fcn.140036900
mov rdi, rax
test rax, rax
je 0x140036002
mov rax, qword [0x1400441f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140036a40
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400441f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140035fe7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140035f7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140035f90
add dword [0x1400441f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400441f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140035f7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140035e40
nop dword [rax]
xor esi, esi
jmp 0x140035f08
mov rax, qword [0x1400441f8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140035e40
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140035e40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140036570
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140044260]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140044240]
test rbx, rbx
je 0x1400365cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400365c3
test rsi, rsi
je 0x1400365c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400365a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140036900
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14003e6f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140036920
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140036928
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140036920
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14003697d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140036974
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140036920
add rax, 0x28
cmp rax, r9
jne 0x140036960
xor eax, eax
ret

Function at 0x140036980
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14003e6f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14003699f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400369a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14003699f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140036a40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14003e6f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140036a5f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140036a68
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140004a10
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 [0x140112488]
movzx r12d, r9b
movzx edi, r8b
movzx esi, dl
mov ebp, ecx
test r8b, r8b
je 0x140004a57
inc dword [0x1401178b0]
add rbx, 0x150
mov qword [0x140112488], rbx
lea rdx, [0x1401161a0]
mov rcx, rbx
mov r8d, 0x150
call fcn.1400ca2c0
mov dword [rbx + 0x3c], ebp
test dil, dil
je 0x140004a82
lea rcx, [0x140119150]
xor edx, edx
call fcn.14001f610
xor edi, edi
cmp dword [0x1401178fc], edi
mov qword [0x140119d10], rdi
je 0x140004ab6
mov rax, qword [0x140113e30]
lea rcx, [0x1400e245c]
test rax, rax
je 0x140004ab0
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140004b42
cmp byte [rbx + 0x12e], dil
jne 0x140004aea
cmp r12b, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140004aea
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x140119d1c], 0
je 0x140004afc
cmp dword [0x140119d18], 0
jne 0x140004b05
cmp byte [rbx + 0x12e], 0
je 0x140004b42
cmp byte [rbx + 0x12e], 0
mov byte [rbx + 0x12c], 0
jne 0x140004b42
cmp dword [0x140119d1c], 0
jge 0x140004b2a
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140004b42
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x140119d1c]
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 0x140006140
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp qword [0x140119dc0], 0
mov rbx, rdx
mov rsi, rcx
je 0x140006167
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x1400061d7
mov eax, 0xffffffff
cmp rdx, rax
jne 0x140006190
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 0x1400061d7
lea rdx, [rbx + 1]
lea rcx, [0x140119da8]
call fcn.140006200
test rax, rax
jne 0x1400061ba
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [0x140119dc0]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400cc7d4
xor r11d, r11d
mov word [rdi + rbx*2], r11w
lea rcx, [0x140119da8]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.1400062c0
Function at 0x140006540
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 0x14000655b
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x14000663a
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.1400c9834
test eax, eax
je 0x140006627
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400c95dc
test eax, eax
je 0x140006627
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400c95dc
test eax, eax
je 0x140006627
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400c95dc
test eax, eax
je 0x140006627
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400c95dc
test eax, eax
je 0x140006627
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400c95dc
test eax, eax
je 0x14000661c
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400c95dc
test eax, eax
jne 0x14000663f
test rbx, rbx
je 0x140006627
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 0x140006660
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x14000667a
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 [0x140117710]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400066f4
xor esi, esi
nop
mov ecx, dword [0x140112450]
cmp ecx, 0xffffffff
je 0x1400066c4
test ecx, ecx
je 0x140006710
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140112450]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140006710
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140112454], esi
call fcn.140001ac0
mov rcx, qword [0x140117710]
mov dword [0x140112454], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400066a0
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 0x14000dca0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x1040
call fcn.1400d1910
sub rsp, rax
cmp byte [0x140119f70], 0
mov rbx, rdx
mov rbp, rcx
jne 0x14000de2e
cmp dword [0x1401182f8], 0
jne 0x14000dcdb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401182f8], eax
inc dword [0x140119f74]
mov qword [rsp + 0x1050], rsi
mov qword [rsp + 0x1058], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x140119f74]
mov edx, dword [0x14011246c]
mov ecx, eax
mov dword [0x1401182fc], eax
sub ecx, dword [0x1401182f8]
cmp r9d, dword [0x140112468]
jbe 0x14000dd97
cmp ecx, edx
jae 0x14000dd97
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.1400ac1c0
call fcn.14000c7c0
xor edi, edi
xorpd xmm3, xmm3
lea edx, [rsi + 3]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov byte [0x140119f70], sil
mov dword [0x140112454], edi
mov qword [rsp + 0x20], rdi
call fcn.1400b2c80
cmp eax, 7
jne 0x14000dd82
lea edx, [rsi + 3]
lea rcx, [0x140119150]
xor r8d, r8d
call fcn.14001fd20
mov eax, dword [0x1401182fc]
mov dword [0x140112454], esi
mov byte [0x140119f70], dil
jmp 0x14000dd9f
xor edi, edi
mov esi, edi
cmp ecx, edx
jbe 0x14000ddaf
mov dword [0x140119f74], edi
mov dword [0x1401182f8], eax
test esi, esi
jne 0x14000de1e
movzx eax, byte [rbp + 0xf]
mov dword [rsp + 0x30], edi
lea r8, [0x1400e24e0]
mov byte [0x140119cce], 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.1400a2450
dec byte [rbx + 0x22]
test eax, eax
jne 0x14000ddea
mov byte [rbx + 0x27], al
jmp 0x14000de1e
cmp byte [rbx + 0x27], 0
je 0x14000de1e
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14000de1e
movzx r8d, word [rbp + 4]
mov rcx, qword [0x140117710]
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 0x140016c80
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
cmp dword [0x140118338], 2
movzx ebp, r8b
mov ebx, edx
sete sil
movzx edi, cx
test sil, sil
je 0x140016cda
movzx ecx, cx
lea rdx, [rsp + 0x30]
test ecx, 0xffffff80
je 0x140016cc7
mov eax, gethostbyname
lea rdx, [rsp + 0x32]
mov word [rsp + 0x30], ax
mov r8d, 0xa
call fcn.1400c9330
movzx edi, word [rsp + 0xa8]
test ebx, ebx
jle 0x140016da8
mov qword [rsp + 0xa0], r12
xor r12d, r12d
nop dword [rax]
cmp dword [0x140118338], r12d
jne 0x140016d5a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112488]
sub eax, dword [0x140119d24]
cmp eax, dword [rcx + 0x118]
jbe 0x140016d5a
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 0x140016d4e
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140112454], r12d
call fcn.140001ac0
mov dword [0x140112454], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140119d24], eax
test sil, sil
je 0x140016d6b
lea rcx, [rsp + 0x30]
call fcn.140016dc0
jmp 0x140016d77
movzx edx, bpl
movzx ecx, di
call fcn.140014c60
cmp dword [0x140118338], 2
mov rax, qword [0x140112488]
jne 0x140016d8f
mov ecx, dword [rax + 0x80]
jmp 0x140016d92
mov ecx, dword [rax + 0x7c]
call fcn.140019210
dec rbx
jne 0x140016cf0
mov r12, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140016dc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
cmp dword [0x140118338], 0
mov qword [rsp + 0x40], rbx
mov rdi, rcx
je 0x140016de3
movzx ebx, byte [0x14011656b]
jmp 0x140016f13
cmp qword [0x140117860], 0
je 0x140016df9
movzx ebx, byte [0x140117705]
jmp 0x140016f13
mov ecx, 0xa0
mov qword [rsp + 0x48], rsi
xor bl, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0x8000
movzx ebx, bl
test si, ax
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, 0xa1
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016e31
or bl, 0x20
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016e44
or bl, 1
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016e57
or bl, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016e6a
or bl, 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016e7d
or bl, 8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016e90
or bl, 0x40
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016ea3
or bl, 0x80
cmp qword [0x140117860], 0
je 0x140016f0e
movzx ecx, byte [0x140117705]
movzx esi, bl
not sil
and sil, cl
je 0x140016f0e
movzx edx, byte [0x140117707]
movzx eax, sil
not al
and byte [0x140117706], al
and cl, al
and dl, al
mov byte [0x140117705], cl
lea rcx, [0x140117760]
mov byte [0x140117707], dl
call fcn.14001a070
mov rcx, qword [0x140116558]
test rcx, rcx
je 0x140016f0e
test byte [rcx + 0xc], sil
mov eax, 0
cmovne rcx, rax
mov qword [0x140116558], rcx
mov rsi, 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.1400196d0
movzx eax, word [rdi]
mov rbx, qword [rsp + 0x40]
cmp ax, 0x30
jb 0x140016f7b
cmp ax, 0x39
ja 0x140016f7b
movzx edx, byte [rdi]
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.140017230
movzx eax, word [rdi + 2]
add rdi, 2
cmp ax, 0x30
jae 0x140016f45
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.140017230
add rsp, 0x30
pop rdi
ret