joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055660
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov rax, r8
mov rdi, rcx
mov dword [rbp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 7
mov qword [rbp - 0x2c], 0
mov word [rbp - 0x24], 0
mov byte [rbp - 0x28], 1
lea r8, [rbp - 0x48]
mov rcx, rdx
mov rdx, rax
call fcn.1400428f0
mov rsi, rdx
test rax, rax
je 0x140055716
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x14005570a
mov rax, rsi
dec rsi
mov rbx, qword [rax - 1]
mov r14, qword [rax + 7]
mov rax, qword [r14]
test rax, rax
je 0x1400556e2
mov rcx, rbx
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x1400556f7
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.140003bc0
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140003bc0
mov qword [rdi], 0
jmp 0x140055875
lea rcx, [rbp - 0x48]
mov rdx, rsi
call fcn.140042b80
cmp dword [rbp - 0x48], 2
jne 0x140055797
mov rax, qword [rbp - 0x40]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x140055777
lea rbx, [rax - 1]
mov r14, qword [rax - 1]
mov r15, qword [rax + 7]
mov rax, qword [r15]
test rax, rax
je 0x14005574f
mov rcx, r14
call rax
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x140055764
mov r8, qword [r15 + 0x10]
mov rcx, r14
call fcn.140003bc0
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140003bc0
mov qword [rdi], 0
mov rcx, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp sub.KERNEL32.dll_CloseHandle
mov r12, qword [rbp - 0x10]
test rsi, rsi
je 0x1400557e5
mov qword [rbp - 0x48], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x48]
mov rcx, rax
mov rdx, rsi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x140055861
mov rbx, qword [rbp - 0x48]
jmp 0x1400557e7
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x140055850
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
test r15, r15
je 0x140055850
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x14005586d
mov qword [rdi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x14005586d
call sub.KERNEL32.dll_GetLastError
mov qword [rdi], 0
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
Function at 0x14005a7e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x14009e060]
test esi, esi
je 0x14005a8a9
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14005a89e
je 0x14005a83b
xor ebx, ebx
test rdi, rdi
je 0x14005a83f
test byte [rdi], 1
mov qword [rdi], 0
mov eax, dword [rdi + 0x10]
cmove eax, ebx
mov r14d, 0
cmovne r14, qword [rdi + 8]
mov ebx, eax
jmp 0x14005a842
xor eax, eax
jmp 0x14005a89e
xor r14d, r14d
mov rax, qword [str.1P_r_]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140003bb0
test rax, rax
je 0x14005a8ca
mov qword [rax], r14
mov byte [rax + 8], bl
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14005a89b
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140003bc0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x14009e048]
call fcn.140054600
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14005a813
jmp 0x14005a89e
mov ecx, 8
mov edx, 0x18
call fcn.140077f5f
int3

Function at 0x14005a8e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x14009e080]
test esi, esi
je 0x14005a916
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14005a931
add rax, 4
jmp 0x14005a9aa
lea rcx, [0x14009e068]
call fcn.140054600
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14005a90d
je 0x14005a9a8
xor r14d, r14d
test rdi, rdi
je 0x14005a949
cmp byte [rdi], 0
mov byte [rdi], 0
movzx eax, byte [rdi + 1]
cmovne r14d, eax
mov rax, qword [str.1P_r_]
movzx eax, byte [rax]
mov ecx, 8
mov edx, 4
call fcn.140003bb0
test rax, rax
je 0x14005a9b7
mov rbx, rax
mov dword [rax], esi
add rax, 4
mov r15, rax
mov byte [rbx + 4], r14b
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14005a9a3
mov edx, 8
mov r8d, 4
mov rcx, rdi
call fcn.140003bc0
mov rax, r15
jmp 0x14005a9aa
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov ecx, 4
mov edx, 8
call fcn.140077f5f
int3
Function at 0x14005a9d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rdi, rcx
mov esi, dword [0x14009e0c0]
test esi, esi
je 0x14005aaa2
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14005aa99
je 0x14005aa1d
test rdi, rdi
je 0x14005aa21
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x14005aa23
mov rbx, qword [rdi + 8]
jmp 0x14005aa23
xor eax, eax
jmp 0x14005aa99
xor ebx, ebx
mov qword [rbp - 8], rbx
mov dword [rbp], esi
mov rax, qword [str.1P_r_]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140003bb0
test rax, rax
je 0x14005aac3
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14005aa96
mov rax, qword [rdi]
test rax, rax
je 0x14005aa83
lock dec qword [rax]
jne 0x14005aa83
mov rcx, rdi
call fcn.140015a70
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140003bc0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14009e0a8]
call fcn.140054600
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14005aa01
jmp 0x14005aa99
mov ecx, 8
mov edx, 0x10
call fcn.140077f5f
ud2
Function at 0x14009cef0
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.14009dcb0
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.14009dcb0
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 0x14009cf60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400d5234]
mov rbx, rcx
test esi, esi
jle 0x14009d090
mov rax, qword [0x1400d5238]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14009cfab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14009d035
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14009cf90
mov rcx, rbx
call fcn.14009d9d0
mov rdi, rax
test rax, rax
je 0x14009d0b2
mov rax, qword [0x1400d5238]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14009db10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400d5238]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14009d097
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14009d02e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14009d040
add dword [0x1400d5234], 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 [0x1400d5238]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14009d02e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14009cef0
nop dword [rax]
xor esi, esi
jmp 0x14009cfb8
mov rax, qword [0x1400d5238]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14009cef0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14009cef0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14009d640
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400d52a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400d5280]
test rbx, rbx
je 0x14009d69c
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 rsi, rsi
je 0x14009d693
test eax, eax
jne 0x14009d693
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14009d678
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 0x14009d9d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c2ae0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14009d9f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14009d9f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14009d9f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14009da4d
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 0x14009da44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14009d9f0
add rax, 0x28
cmp rax, r9
jne 0x14009da30
xor eax, eax
ret

Function at 0x14009da50
Capabilities:
Parse pe header

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

Function at 0x14009db10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c2ae0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14009db2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14009db38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140003d40
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400fda58]
movzx ebp, r9b
mov r9d, ecx
movzx esi, dl
test r8b, r8b
je 0x140003d7e
inc dword [0x140101d24]
add rbx, 0x150
mov qword [0x1400fda58], rbx
mov rax, rbx
lea rcx, [0x140101bd0]
mov edx, 2
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140003d90
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
mov dword [rbx + 0x3c], r9d
test r8b, r8b
je 0x140003e1e
lea rcx, [0x1401044f0]
call fcn.140019c90
xor edi, edi
cmp dword [0x140101f64], edi
mov qword [0x1401050a0], rdi
je 0x140003e3c
lea rcx, [0x140101d30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140003ec8
cmp byte [rbx + 0x12e], dil
jne 0x140003e70
cmp bpl, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140003e70
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x1401050ac], 0
je 0x140003e82
cmp dword [0x1401050a8], 0
jne 0x140003e8b
cmp byte [rbx + 0x12e], 0
je 0x140003ec8
cmp byte [rbx + 0x12e], 0
mov byte [rbx + 0x12c], 0
jne 0x140003ec8
cmp dword [0x1401050ac], 0
jge 0x140003eb0
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140003ec8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x1401050ac]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004e00
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [0x140105150], 0
mov rdi, r8
mov rsi, rdx
je 0x140004e27
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rsi, rsi
je 0x140004e8b
mov eax, 0xffffffff
cmp r8, rax
jne 0x140004e4c
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140004e40
mov edi, eax
test rdi, rdi
je 0x140004e8b
lea rdx, [rdi + 1]
lea rcx, [0x140105138]
call fcn.140004eb0
test rax, rax
je 0x140004e1a
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov rbx, qword [0x140105150]
mov rdx, rsi
mov rcx, rbx
call fcn.1400b1fb4
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x30]
lea rcx, [0x140105138]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140004f70
Function at 0x140004f70
Capabilities:
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
jne 0x140004f9c
call fcn.140005310
test eax, eax
jne 0x140004f9c
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rdi
add rsp, 0x20
pop rdi
jmp 0x1400050c0
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x140004fea
cmp dword [rdi + 0x2c], eax
je 0x140004fd1
xor esi, esi
cmp qword [rdi + 0x10], rsi
je 0x140004fc5
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400cd318]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400050c0
mov rcx, qword [rdi + 8]
xor esi, esi
test rcx, rcx
je 0x14000502d
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140005061
cmp word [rax], si
mov qword [rsp + 0x30], rbx
sete bl
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test bl, bl
mov qword [rdi + 0x18], rsi
mov rbx, qword [rsp + 0x30]
mov dword [rdi + 0x28], esi
je 0x140005061
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rdi + 8], rax
cmp dword [rdi + 0x2c], esi
je 0x140005051
cmp qword [rdi + 0x10], rsi
je 0x140005045
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rdi + 8]
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14000507b
mov qword [rdi + 8], rsi
jmp 0x14000502d
cmp dword [rdi + 0x2c], esi
je 0x14000509f
cmp qword [rdi + 0x10], rsi
je 0x140005093
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400cd338]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400050c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x2c], esi
je 0x1400050fb
cmp qword [rcx + 0x10], rsi
je 0x1400050ef
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], esi
mov qword [rbx], rsi
cmp qword [rbx + 0x18], rsi
je 0x140005112
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x28], esi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140005125
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000514f
lea r8, [0x1400ccf5c]
mov rdx, rdi
lea rcx, [0x1401044f0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140036f10
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400051f0
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
xor ecx, ecx
mov rbx, r8
mov edi, edx
test r8, r8
je 0x14000520c
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x1400052eb
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
call fcn.1400ab4d8
test eax, eax
je 0x1400052d8
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400a8ef0
test eax, eax
je 0x1400052d8
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400a8ef0
test eax, eax
je 0x1400052d8
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400a8ef0
test eax, eax
je 0x1400052d8
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400a8ef0
test eax, eax
je 0x1400052d8
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400a8ef0
test eax, eax
je 0x1400052cd
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400a8ef0
test eax, eax
jne 0x1400052f0
test rbx, rbx
je 0x1400052d8
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 0x140005310
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x14000532a
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 [0x140101f68]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400053a4
xor esi, esi
nop
mov ecx, dword [0x1400fda64]
cmp ecx, 0xffffffff
je 0x140005374
test ecx, ecx
je 0x1400053c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1400fda64]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x1400053c0
mov edx, 1
mov dword [0x1400fda50], esi
mov ecx, 0x8000012f
call fcn.140001710
mov rcx, qword [0x140101f68]
mov dword [0x1400fda50], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140005350
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140008dd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x28
test cl, 0x10
jne 0x140008e16
cmp dl, 0xa0
je 0x140008de3
cmp dl, 0x10
jne 0x140008e60
test r8b, r8b
jne 0x140008e60
cmp byte [0x140105337], r8b
je 0x140008e1d
xor eax, eax
lea rcx, [0x140105350]
nop word [rax + rax]
cmp byte [rax + rcx], 0
jne 0x140008e1d
inc rax
cmp rax, 0x16
jl 0x140008e00
mov byte [0x140105337], 0
xor al, al
add rsp, 0x28
ret
cmp byte [0x140105341], 0
je 0x140008e60
mov eax, 0x100
test word [0x140105344], ax
jne 0x140008e60
movzx eax, byte [0x140105340]
cmp al, 0x2e
ja 0x140008e60
movabs rcx, 0x61fe00001000
bt rcx, rax
jae 0x140008e60
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140105348]
cmp eax, 0x16
jb 0x140008e16
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105168], eax
mov dword [0x14010448c], eax
mov al, 1
add rsp, 0x28
ret
Function at 0x14000c0f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x1040
call fcn.1400be180
sub rsp, rax
cmp byte [0x140105d80], 0
mov rbx, rdx
mov rbp, rcx
jne 0x14000c27c
cmp dword [0x140102edc], 0
jne 0x14000c12b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140102edc], eax
inc dword [0x140105d7c]
mov qword [rsp + 0x1050], rsi
mov qword [rsp + 0x1058], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x140105d7c]
mov ecx, eax
sub ecx, dword [0x140102edc]
cmp r9d, dword [0x1400ff3e0]
mov edx, dword [0x1400ff3dc]
mov dword [0x140102ed8], eax
jbe 0x14000c1e5
cmp ecx, edx
jae 0x14000c1e5
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.1400890d0
call fcn.14000af40
xor edi, edi
mov byte [0x140105d80], sil
xor r8d, r8d
mov dword [0x1400fda50], edi
lea edx, [rsi + 3]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x40]
xorps xmm3, xmm3
call fcn.14008e7d0
cmp eax, 7
jne 0x14000c1d0
xor r8d, r8d
lea rcx, [0x1401044f0]
mov edx, esi
call fcn.14001a160
mov eax, dword [0x140102ed8]
mov dword [0x1400fda50], esi
mov byte [0x140105d80], dil
jmp 0x14000c1ed
xor edi, edi
mov esi, edi
cmp ecx, edx
jbe 0x14000c1fd
mov dword [0x140105d7c], edi
mov dword [0x140102edc], eax
test esi, esi
jne 0x14000c26c
movzx eax, byte [rbp + 0xf]
lea r8, [0x1400ccfc8]
mov byte [0x140105066], al
xor r9d, r9d
inc byte [rbx + 0x22]
mov rcx, qword [rbx]
mov dword [rsp + 0x30], edi
mov rdx, rcx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call fcn.140080040
dec byte [rbx + 0x22]
test eax, eax
jne 0x14000c238
mov byte [rbx + 0x27], al
jmp 0x14000c26c
cmp byte [rbx + 0x27], 0
je 0x14000c26c
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14000c26c
movzx r8d, word [rbp + 4]
xor r9d, r9d
mov rcx, qword [0x140101f68]
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