joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400012f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x27], rax
movdqa xmm0, xmmword [0x140004a70]
mov r13, rcx
lea rcx, str.kernel32.dll
mov dword [rbp - 0x69], edx
movdqu xmmword [rbp + 0xf], xmm0
mov edi, r9d
mov dword [rbp + 0x1f], 0x644973
mov r12d, r8d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
movdqa xmm0, xmmword [str.CreateToolhelp32InternetConnectAHttpSendRequestAHttpOpenRequestAGetCurrentThreadInternetReadFileCryptDestroyHashInternetCloseHanAddVectoredExcepGetCurrentProcesCryptAcquireContCryptReleaseContGetThreadContextSetThreadContext_]
lea rcx, str.kernel32.dll
movdqu xmmword [rbp - 0x11], xmm0
mov r14d, eax
mov dword [rbp - 1], 0x70616e53
mov dword [rbp + 3], 0x746f6873
mov byte [rbp + 7], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea ecx, [rdx + 4]
call rax
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400014c4
xor eax, eax
mov qword [rsp + 0xf0], rbx
lea rcx, str.kernel32.dll
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x49], eax
mov qword [rsp + 0x100], r15
mov qword [rbp - 0x61], 0x1c
mov dword [rbp - 0x21], 0x65726854
mov dword [rbp - 0x1d], 0x32336461
mov dword [rbp - 0x19], 0x73726946
mov word [rbp - 0x15], 0x74
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32.dll
mov dword [rbp - 0x31], 0x65726854
mov rbx, rax
mov dword [rbp - 0x2d], 0x32336461
mov dword [rbp - 0x29], 0x7478654e
mov byte [rbp - 0x25], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 0x61]
mov rcx, rsi
mov r15, rax
call rbx
test eax, eax
je 0x140001480
mov ebx, dword [rbp - 0x69]
cmp dword [rbp - 0x61], 0x10
jb 0x14000146b
cmp dword [rbp - 0x55], r14d
jne 0x14000146b
mov ecx, dword [rbp - 0x59]
test edi, edi
je 0x14000145d
cmp edi, ecx
jne 0x140001472
mov r9d, r12d
mov r8d, ebx
mov rdx, r13
call section..text
mov dword [rbp - 0x61], 0x1c
lea rdx, [rbp - 0x61]
mov rcx, rsi
call r15
test eax, eax
jne 0x140001446
lea rcx, str.kernel32.dll
mov dword [rbp - 0x41], 0x736f6c43
mov dword [rbp - 0x3d], 0x6e614865
mov dword [rbp - 0x39], 0x656c64
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rsi
call rax
mov r15, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140002cd0
mov rsi, qword [rsp + 0x108]
add rsp, 0xc0
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x1400014f0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r9d
mov edi, edx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea rcx, [0x1400066c0]
and edi, 3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [0x1400017a0]
mov qword [rbx], rbp
mov qword [rbx + 0x10], rax
mov rax, qword [0x1400066a0]
mov dword [rbx + 8], edi
mov dword [rbx + 0xc], esi
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], 0
test rax, rax
je 0x140001567
mov qword [rax + 0x20], rbx
lea rcx, [0x1400066c0]
mov qword [0x1400066a0], rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r9d, esi
mov r8d, 1
mov edx, edi
mov rcx, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400012f0
Function at 0x1400035a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400035ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400035ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400035ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400035ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400035ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400035f0
xor al, al
add rsp, 0x28
ret
Function at 0x1400032d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003322
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003322
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003322
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003322
cmp dword [rcx + 0x84], 0xe
jbe 0x140003322
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003324
xor al, al
add rsp, 0x28
ret

Function at 0x14000f434
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f230
Function at 0x140014394
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 0x1400143c4
xor eax, eax
jmp 0x140014487
mov rbp, rbx
cmp word [rax], si
je 0x1400143e9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400143d0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400143cc
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.140012c60
movsxd r14, eax
test eax, eax
jne 0x140014427
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400143bd
mov rcx, r14
call fcn.1400118cc
mov rdi, rax
test rax, rax
jne 0x140014440
xor ecx, ecx
call fcn.14001117c
jmp 0x14001441c
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.140012c60
test eax, eax
jne 0x140014471
mov rcx, rdi
call fcn.14001117c
jmp 0x14001447b
xor ecx, ecx
call fcn.14001117c
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 0x140016844
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.14000acb0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400168ce
cmp byte [rbp - 0x21], r15b
je 0x1400168c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140016904
call fcn.140011f70
test eax, eax
jne 0x1400168f0
cmp byte [rbp - 0x21], r15b
je 0x1400168e8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140016904
cmp byte [rbp - 0x21], r15b
je 0x140016901
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.14000eb40
test eax, eax
jne 0x1400169a4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000acb0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140016943
cmp byte [rbp - 0x21], r15b
je 0x140016978
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140016978
call fcn.140011f70
test eax, eax
jne 0x140016964
cmp byte [rbp - 0x21], r15b
je 0x14001695d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140016978
cmp byte [rbp - 0x21], r15b
je 0x140016975
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.14000eb40
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400169a4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400169a7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400169b5
mov rcx, rdi
call fcn.14001117c
cmp byte [rbp + 0x3f], r15b
je 0x1400169c4
mov rcx, qword [rbp + 0x27]
call fcn.14001117c
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 0x14000e7c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14004e040]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp qword [section..data], 0xffffffffffffffff
mov edi, edx
mov rbx, rcx
jne 0x14000e931
mov rax, qword [rcx]
cmp rax, qword [0x14004f6a8]
jl 0x14000e92d
mov rax, qword [0x140051610]
lea rcx, [0x1400384c0]
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call rax
mov qword [section..data], rax
cmp rax, 0xffffffffffffffff
je 0x14000e86a
mov r10, qword [0x140051628]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x40], 2
xor r8d, r8d
mov rcx, rax
call r10
test eax, eax
jne 0x14000e931
mov rax, qword [0x1400516c0]
lea rcx, [0x1400384c0]
mov edx, 0x7d0
call rax
test eax, eax
je 0x14000e8e0
mov rax, qword [0x140051610]
lea rcx, [0x1400384c0]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call rax
mov qword [section..data], rax
cmp rax, 0xffffffffffffffff
je 0x14000e8e0
mov r10, qword [0x140051628]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x40], 2
xor r8d, r8d
mov rcx, rax
call r10
test eax, eax
jne 0x14000e931
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.csprnthk:_CreateFileWWaitNamedPipeW_error:__lu
mov edx, 0x100
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8, 0xffffffffffffffff
call fcn.14000e960
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0x2710
cmp edi, eax
cmovae eax, edi
imul rcx, rax, 0x2710
add rcx, qword [rbx]
mov qword [0x14004f6a8], rcx
xor eax, eax
jmp 0x14000e936
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140011540
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140023ea4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140023cd0
Function at 0x140d1d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140d1d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d1d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d1d06f
add dl, dl
jne 0x140d1d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d1d0f6
xor eax, eax
add dl, dl
jne 0x140d1d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d1d1ad
add dl, dl
jne 0x140d1d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d1d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d1d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d1d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d1d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d1d07e
mov eax, 1
add dl, dl
jne 0x140d1d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d1d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d1d0fb
sub eax, ebx
mov ebx, 1
jne 0x140d1d14c
mov ecx, 1
add dl, dl
jne 0x140d1d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d1d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d1d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d1d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d1d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d1d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d1d15d
cmp eax, 0x7d00
jae 0x140d1d19b
cmp eax, 0x500
jb 0x140d1d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d1d07e
cmp eax, 0x7f
ja 0x140d1d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d1d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d1d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140d1d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x60
xor r12d, r12d
lea r15, [0x140102be8]
mov esi, r12d
lea r14, [0x140101a10]
cmp byte [r15], r12b
je 0x140004424
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WSOCK32.dll_gethostbyname
mov ecx, esi
mov dword [rsp + 0x24], 0x80
call qword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x140004424
mov eax, dword [rsp + 0x40]
mov ebp, dword [r14]
xor ebp, eax
mov dword [r14], eax
and ebp, eax
je 0x140004424
movzx edx, word [0x140102c1c]
mov ebx, r12d
cmp r12w, dx
jae 0x140004424
mov rdi, r12
nop
mov rax, qword [0x140102c08]
mov rax, qword [rdi + rax]
cmp byte [rax + 0x12], 4
jne 0x140004417
movzx ecx, byte [rax + 0x10]
cmp ecx, esi
jne 0x140004417
movzx ecx, word [rax + 8]
sub ecx, 0xc
movzx eax, cl
bt ebp, eax
jae 0x140004417
mov rcx, qword [0x140101c50]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
movzx edx, word [0x140102c1c]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x1400043d0
inc esi
inc r15
add r14, 4
cmp esi, 0x10
jl 0x140004382
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400048b0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400fe060]
movzx edi, r9b
mov r9d, ecx
movzx esi, dl
test r8b, r8b
je 0x1400048e9
inc dword [0x140101c28]
add rbx, 0x150
mov qword [0x1400fe060], rbx
mov rax, rbx
lea rcx, [0x140101ab0]
mov edx, 2
nop dword [rax + rax]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax + 0x60], xmm0
sub rax, 0xffffffffffffff80
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140004900
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 0x14000498a
lea rcx, [0x140105140]
call fcn.140028c40
cmp dword [0x140101c48], 0
mov qword [0x140105d28], 0
je 0x1400049c1
mov rax, qword [0x140100780]
lea rcx, [0x1400cb664]
test rax, rax
je 0x1400049bb
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140004a4e
movzx eax, byte [rbx + 0x12e]
test al, al
jne 0x1400049f2
cmp dil, 0x65
sete al
mov byte [rbx + 0x12e], al
jne 0x1400049f2
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x140105d34], 0
je 0x140004a04
cmp dword [0x140105d30], 0
jne 0x140004a08
test al, al
je 0x140004a4e
mov byte [rbx + 0x12c], 0
test al, al
jne 0x140004a4e
cmp dword [0x140105d34], 0
jge 0x140004a36
mov dword [rbx + 0x120], 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x140105d34]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005fa0
Capabilities:
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
jne 0x140005fcc
call fcn.1400062c0
test eax, eax
jne 0x140005fcc
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400060f0
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14000601a
cmp dword [rbx + 0x2c], eax
je 0x140006001
xor edi, edi
cmp qword [rbx + 0x10], rdi
je 0x140005ff5
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
lea rdx, [0x1400cbb58]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x1400060f0
mov rdx, qword [rbx + 8]
xor edi, edi
test rdx, rdx
je 0x140006068
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x30], rsi
xor sil, sil
test rax, rax
je 0x140006051
cmp word [rax], di
mov rcx, rdx
sete sil
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x28], edi
test sil, sil
mov rsi, qword [rsp + 0x30]
je 0x14000609c
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp dword [rbx + 0x2c], edi
je 0x14000608c
cmp qword [rbx + 0x10], rdi
je 0x140006080
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400060b2
mov qword [rbx + 8], rdi
jmp 0x140006068
cmp dword [rbx + 0x2c], edi
je 0x1400060d6
cmp qword [rbx + 0x10], rdi
je 0x1400060ca
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
lea rdx, [0x1400cbb78]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x1400060f0
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 0x14000612b
cmp qword [rcx + 0x10], rsi
je 0x14000611f
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 0x140006142
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 0x140006155
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000617f
lea r8, [0x1400cb664]
mov rdx, rdi
lea rcx, [0x140105140]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140046d70
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400061a0
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 0x1400061bc
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x1400062a2
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 qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x14000628f
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000628f
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000628f
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000628f
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000628f
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006284
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400062a7
test rbx, rbx
je 0x14000628f
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 0x1400062c0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400062da
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 [0x140101c50]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140006354
xor esi, esi
nop
mov ecx, dword [0x1400fe068]
cmp ecx, 0xffffffff
je 0x140006324
test ecx, ecx
je 0x140006370
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1400fe068]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140006370
mov edx, 1
mov dword [0x1400fe054], esi
mov ecx, 0x8000012f
call fcn.1400019b0
mov rcx, qword [0x140101c50]
mov dword [0x1400fe054], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140006300
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 0x140006950
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp byte [0x140105d20], 0
mov rbp, rdx
mov rdi, rcx
je 0x140006a2a
mov esi, dword gs:[0x48]
cmp dword [0x140105110], esi
je 0x14000698c
mov rcx, qword [0x140105118]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140006993
cmp word [rdi], 0
je 0x140006a39
lea rax, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov rdx, rdi
mov dword [rsp + 0x20], 3
lea rcx, [0x140105140]
call fcn.1400384b0
test rax, rax
jne 0x1400069fe
cmp byte [rsp + 0x60], al
lea rcx, [0x140105140]
mov r9d, dword [rsp + 0x68]
mov r8, rbx
setne al
mov rdx, rdi
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400389f0
test rax, rax
je 0x140006a39
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rbp
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400afca0
cmp dword [0x140105110], esi
je 0x140006a2a
mov rcx, qword [0x140105118]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp dword [0x140105110], esi
je 0x140006a4e
mov rcx, qword [0x140105118]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret