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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400cb118]
test ecx, ecx
je 0x1400690d6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140068ff2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x1400690d0
mov ecx, dword [0x1400cb118]
test ecx, ecx
je 0x1400690f8
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140069115
mov rdi, rax
test rax, rax
jne 0x14006907c
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov qword [rsp + 0x20], rax
mov rax, qword [0x140114ed8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140069134
mov rdi, rax
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov ecx, dword [0x1400cb118]
test ecx, ecx
je 0x140069121
dec ecx
mov rdx, rdi
call fcn.1400c9194
test rsi, rsi
je 0x140069096
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x140069098
mov rax, qword [rsi + 8]
jmp 0x140069098
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x1400690d0
test rcx, rcx
je 0x1400690d0
lock dec qword [rcx]
jne 0x1400690d0
lea rcx, [rsp + 0x28]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
add rdi, 0x10
jmp 0x140069117
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140068fe4
jmp 0x140068ff2
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140069011
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
jmp 0x140069074
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x140069160
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400cb138]
test ecx, ecx
je 0x140069193
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400691ac
mov rcx, rax
cmp qword [rax + 8], 0
je 0x1400691ac
add rcx, 0x10
jmp 0x1400692a9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140069180
mov ecx, dword [0x1400cb138]
test ecx, ecx
je 0x14006928a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400692a7
mov rdi, rax
test rax, rax
jne 0x140069222
mov rax, qword [0x140114ed8]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400692c6
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell__usize__bool___
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400cb138]
test ecx, ecx
je 0x1400692b3
dec ecx
mov rdx, rdi
call fcn.1400c9194
test rsi, rsi
je 0x14006923f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x140069274
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14006926f
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140069274
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x1400692a9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400691cb
xor ecx, ecx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
jmp 0x14006921a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2
Function at 0x1400b0020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400b009a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400b0090
cmp r11, r10
ja 0x1400b0133
cmp r10, rdx
ja 0x1400b0147
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400b0092
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400b0070
jmp 0x1400b0107
ja 0x1400b009a
mov r11, r10
cmp rax, r8
jne 0x1400b0042
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400b010b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400b00e0
mov r8, r10
sub ecx, r9d
jns 0x1400b00fe
jmp 0x1400b010d
cmp r10, rdx
je 0x1400b0119
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400b010d
xor al, 1
cmp r8, rdx
jne 0x1400b00c0
jmp 0x1400b010d
xor eax, eax
jmp 0x1400b010d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140106431]
lea r8, [0x1401087a0]
mov edx, 0x2b
call dbg.panic
ud2
lea r8, [0x1401087b8]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
ud2
lea r8, [0x1401087b8]
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
Function at 0x1400c9f90
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400ca000
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401272c4]
mov rbx, rcx
test esi, esi
jle 0x1400ca130
mov rax, qword [0x1401272c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400ca04b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400ca0d5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400ca030
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400ca152
mov rax, qword [0x1401272c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401272c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400ca137
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400ca0ce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400ca0e0
add dword [0x1401272c4], 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 [0x1401272c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400ca0ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400ca058
mov rax, qword [0x1401272c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400ca6c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140127320]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140127300]
test rbx, rbx
je 0x1400ca71c
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 0x1400ca713
test rsi, rsi
je 0x1400ca713
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400ca6f8
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 0x1400ca930
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400ca948
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400ca950
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400ca960
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400ca9ad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400ca9a4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400ca9af
add rax, 0x28
cmp rax, r9
jne 0x1400ca990
xor eax, eax
ret

Function at 0x1400ca9b0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400caa40
mov rdx, qword [0x140114e10]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400caa2e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400caa2e
cmp word [rax + 0x18], 0x20b
jne 0x1400caa2e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400caa40
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400caa19
add rbx, 0x28
cmp rbx, rdi
je 0x1400caa40
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400caa10
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400caa50
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400caad0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140114e10]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400caaef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400caaf8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400caaef
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400cab10
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140114e10]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400cab30
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400cab38
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400cab30
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400cab80
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400cab77
test rcx, rcx
je 0x1400cab30
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400cab68
xor eax, eax
ret

Function at 0x1400cab90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140114e10]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400cabaf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400cabb8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400cabd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140114e10]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400cabf0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400cabf8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400cabf0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400cabf0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400cac44
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400cac50
add rdx, 0x28
cmp r9, rdx
jne 0x1400cac30
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400cac60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140114e10]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400cac82
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400cac90
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400cac82
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400cac82
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400cac82
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400cace5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400cacf8
add rdx, 0x28
cmp rdx, r10
jne 0x1400cacd0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400cad07
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400cad17
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400cacee
test ecx, ecx
jg 0x1400cad00
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
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.140019b10
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 0x140004dd0
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 0x140004df7
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rsi, rsi
je 0x140004e5b
mov eax, 0xffffffff
cmp r8, rax
jne 0x140004e1c
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140004e10
mov edi, eax
test rdi, rdi
je 0x140004e5b
lea rdx, [rdi + 1]
lea rcx, [0x140105138]
call fcn.140004e80
test rax, rax
je 0x140004dea
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov rbx, qword [0x140105150]
mov rdx, rsi
mov rcx, rbx
call fcn.1400b1d24
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.140004f40
Function at 0x140004f40
Capabilities:
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
jne 0x140004f6c
call fcn.1400052e0
test eax, eax
jne 0x140004f6c
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rdi
add rsp, 0x20
pop rdi
jmp 0x140005090
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x140004fba
cmp dword [rdi + 0x2c], eax
je 0x140004fa1
xor esi, esi
cmp qword [rdi + 0x10], rsi
je 0x140004f95
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 0x140005090
mov rcx, qword [rdi + 8]
xor esi, esi
test rcx, rcx
je 0x140004ffd
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140005031
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 0x140005031
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rdi + 8], rax
cmp dword [rdi + 0x2c], esi
je 0x140005021
cmp qword [rdi + 0x10], rsi
je 0x140005015
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 0x14000504b
mov qword [rdi + 8], rsi
jmp 0x140004ffd
cmp dword [rdi + 0x2c], esi
je 0x14000506f
cmp qword [rdi + 0x10], rsi
je 0x140005063
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 0x140005090
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 0x1400050cb
cmp qword [rcx + 0x10], rsi
je 0x1400050bf
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 0x1400050e2
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 0x1400050f5
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000511f
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.140036c40
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400051c0
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 0x1400051dc
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x1400052bb
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.1400ab24c
test eax, eax
je 0x1400052a8
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400a8c60
test eax, eax
je 0x1400052a8
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400a8c60
test eax, eax
je 0x1400052a8
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400a8c60
test eax, eax
je 0x1400052a8
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400a8c60
test eax, eax
je 0x1400052a8
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400a8c60
test eax, eax
je 0x14000529d
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400a8c60
test eax, eax
jne 0x1400052c0
test rbx, rbx
je 0x1400052a8
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 0x1400052e0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400052fa
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 0x140005374
xor esi, esi
nop
mov ecx, dword [0x1400fda64]
cmp ecx, 0xffffffff
je 0x140005344
test ecx, ecx
je 0x140005390
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1400fda64]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140005390
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 0x140005320
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 0x140008cc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x28
test cl, 0x10
jne 0x140008d06
cmp dl, 0xa0
je 0x140008cd3
cmp dl, 0x10
jne 0x140008d50
test r8b, r8b
jne 0x140008d50
cmp byte [0x140105337], r8b
je 0x140008d0d
xor eax, eax
lea rcx, [0x140105350]
nop word [rax + rax]
cmp byte [rax + rcx], 0
jne 0x140008d0d
inc rax
cmp rax, 0x16
jl 0x140008cf0
mov byte [0x140105337], 0
xor al, al
add rsp, 0x28
ret
cmp byte [0x140105341], 0
je 0x140008d50
mov eax, 0x100
test word [0x140105344], ax
jne 0x140008d50
movzx eax, byte [0x140105340]
cmp al, 0x2e
ja 0x140008d50
movabs rcx, 0x61fe00001000
bt rcx, rax
jae 0x140008d50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140105348]
cmp eax, 0x16
jb 0x140008d06
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105168], eax
mov dword [0x14010448c], eax
mov al, 1
add rsp, 0x28
ret