joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478e00
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47904b
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov ebx, dword [rax + 0x2c]
nop dword [rax + rax]
test ebx, ebx
jne 0x478eac
mov qword [rsp + 0x88], rax
lea rbx, [0x004d1120]
mov rcx, rax
lea rax, [0x00593200]
call fcn.004701e0
test cl, cl
jne 0x478e91
mov rax, qword [rsp + 0x88]
call fcn.004786a0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x005021a0]
call fcn.0044adc0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbx
nop dword [rax]
call fcn.00479060
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x478ecd
lea rdx, [0x004d0e60]
cmp rax, rdx
jne 0x478ebb
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
call fcn.0045bc60
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x004c0960]
call fcn.0040a700
inc rdx
cmp rbx, rdx
jle 0x478f18
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x478eca
lea rax, [0x00593200]
lea rbx, [0x004d1120]
lea rdi, [0x004d0e60]
call fcn.004703a0
lea rdx, [0x004d0e60]
nop dword [rax]
cmp rax, rdx
jne 0x47903b
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rcx, [0x004bc5a0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x004c6920]
nop
call fcn.0040d3e0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x005e61d0], 0
jne 0x478f7a
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x478f89
mov rbx, rax
lea rax, [0x004c6920]
call fcn.00412760
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
nop dword [rax]
call fcn.00478160
call fcn.0045bd20
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x478fd6
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
cmp rax, 1
jl 0x478fc8
mov dword [rsi + 0x10], edx
cmp dword [0x005e61d0], 0
jne 0x478fee
mov qword [rsi + 0x30], rcx
jmp 0x478ff7
lea rdi, [rsi + 0x30]
call fcn.00460260
lea rax, [0x00593200]
lea rbx, [0x004d1120]
lea rdi, [0x004d0e60]
call fcn.004703a0
lea rdx, [0x004d0e60]
cmp rax, rdx
jne 0x47902c
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x004c0960]
call fcn.0040a700
mov rbx, rdx
lea rcx, [0x004c0960]
call fcn.0040a700
nop
mov qword [rsp + 8], rax
call fcn.0045dfa0
mov rax, qword [rsp + 8]
jmp fcn.00478e00
Function at 0x40da70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.0040e0c0
mov esi, eax
test sil, sil
jne 0x40dc25
test ebx, ebx
je 0x40dc25
xor edi, edi
test r13d, r13d
jle 0x40db51
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x40db35
cmp ebx, 0xffffffff
je 0x40dae3
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40dae3
xor esi, esi
jmp 0x40dc25
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x40db35
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x40db23
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40db23
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40dc25
lea rcx, [rbp + 0x3c]
call 0x40d650
sub r13d, 1
test r13d, r13d
jg 0x40daca
nop
cmp ebx, 0xffffffff
je 0x40db51
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40db4f
xor esi, esi
jmp 0x40dc25
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40da8d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40db51
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.0040dcd0
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x007dd9a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40dbb4
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x40dbb2
sub ebx, eax
jmp 0x40dbb4
xor ebx, ebx
test sil, sil
je 0x40dbe6
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40dbe3
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40dbb9
mov dil, 1
nop
jmp 0x40dc03
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40dbe6
mov dil, 1
test dil, dil
je 0x40db74
nop
test sil, sil
je 0x40dc25
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x43f010
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.00410530
mov r13d, eax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.00418490
mov esi, eax
cmp esi, 0x104
jbe 0x43f06b
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.004090f0
mov rdi, rax
jmp 0x43f06f
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.00418490
mov rcx, rdi
call sub.user32.dll_CharUpperW
xor ebx, ebx
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x43f0c5
sub edx, ecx
add edx, 1
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movsxd rcx, eax
movzx ecx, word [rdi + rcx*2]
xor ebx, ecx
add eax, 1
sub edx, 1
test edx, edx
jne 0x43f0a6
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x43f0d7
mov rcx, rdi
call fcn.00409120
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x45355e
Capabilities:
Create http request
Read data from internet
Receive data
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rcx, qword [0x0079b900]
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rsi, rax
mov qword [rsp + 0x38], 0
mov edx, dword [0x0079b920]
mov edx, edx
mov ecx, 0
call qword [sym.imp.kernel32.dll_LocalAlloc]
mov rbx, rax
mov r8d, 0x104
mov rdx, rax
mov ecx, 0
call qword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.00453502
mov rdi, rax
mov rbx, qword [0x0079b954]
cmp dword [rbx], 0
je 0x4535d5
mov rcx, rax
call fcn.0045352e
cmp dword [rbx + 4], eax
je 0x4535d5
cmp dword [rbx + 8], eax
jne 0x4536cf
mov dword [rsp + 0x34], 0
mov rcx, qword [0x0079b94c]
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
call qword [sym.imp.wininet.dll_InternetOpenW]
test rax, rax
je 0x4536c4
mov ecx, dword [0x0079b8ac]
mov rdx, qword [0x0079b908]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov r9d, 0
mov r8d, 0
mov rcx, rax
call qword [sym.imp.wininet.dll_InternetOpenUrlW]
test rax, rax
je 0x4536c4
lea rbx, [rdi + 0x20a]
mov r8d, dword [0x0079b920]
lea r9, [rsp + 0x34]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
je 0x4536c4
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x4536c4
mov edx, edx
add rdx, rbx
mov r8d, dword [rdi + 0x20a]
mov eax, 0
mov rcx, qword [0x0079b8d8]
mov edi, r8d
add edi, dword [rcx + rax]
mov dword [rdx + rax], edi
add rax, 4
cmp rax, 0x80
jne 0x453680
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x4536c4
mov rdx, qword [0x0079b930]
lea rcx, [rsp + 0x38]
mov r9d, 0
mov r8d, 0
call rax
mov ecx, 0
call qword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, 0
call qword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x492f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
movzx rax, byte [rbp + 0x70]
mov byte [rbp + 0x70], al
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call sub.kernel32.dll_FindResourceW
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x492f3f
mov rcx, rbp
call fcn.00492e20
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x492f5e
mov rcx, rbp
call fcn.00492e20
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_SizeofResource
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.00492790
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x4a3080
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x4a30d0
cmp byte [rcx + 0x1d], 0
jne 0x4a30d0
cmp byte [rcx + 0x40], 0
jne 0x4a30d0
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4a30ed
mov rcx, qword [0x004629b8]
mov dl, 1
mov r8, qword [0x007dc258]
call fcn.0043c3c0
mov rcx, rax
call fcn.0040f030
jmp 0x4a30ed
mov rcx, qword [0x004629b8]
mov dl, 1
mov r8, qword [0x007dc258]
call fcn.0043c3c0
mov rcx, rax
call fcn.0040f030
add rsp, 0x28
ret

Function at 0x4a3720
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.004a2f80
jmp 0x4a377b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x4a37a0
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.004a2f80
cmp esi, 1
jne 0x4a37ca
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x4a7400
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov qword [rsp + 0x40], rcx
cmp qword [0x007e8eb0], 0
jne 0x4a74a6
xor ecx, ecx
mov edx, 0x1000
mov r8d, 0x1000
mov r9d, 0x40
call sub.kernel32.dll_VirtualAlloc
mov rbx, rax
mov rax, qword [0x007e8ea8]
mov qword [rbx], rax
lea rcx, [0x007a3978]
lea rdx, [rbx + 8]
mov r8d, 8
call fcn.004095a0
lea rax, [0x004a73c0]
mov qword [rbx + 0x10], rax
lea rsi, [rbx + 0x18]
mov byte [rsi], 0xe8
mov rcx, rsi
lea rdx, [rbx + 8]
call fcn.004a73f0
mov dword [rsi + 1], eax
mov rax, qword [0x007e8eb0]
mov qword [rsi + 5], rax
mov qword [0x007e8eb0], rsi
add rsi, 0x15
mov rax, rbx
neg rax
lea rax, [rsi + rax]
cmp rax, 0xfed
jl 0x4a7464
mov qword [0x007e8ea8], rbx
mov rax, qword [0x007e8eb0]
mov rsi, qword [0x007e8eb0]
mov rcx, qword [rsi + 5]
mov qword [0x007e8eb0], rcx
mov rcx, qword [rsp + 0x40]
lea rdi, [rsi + 5]
mov rsi, rcx
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x4cdf80
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov edx, 0x40
xor r8, r8
call fcn.0040bcd0
mov byte [rbx], 0x80
mov dword [rbx + 0x50], 0
mov dword [rbx + 0x54], 0
mov dword [rbx + 0x40], 0x67452301
mov dword [rbx + 0x44], 0xefcdab89
mov dword [rbx + 0x48], 0x98badcfe
mov dword [rbx + 0x4c], 0x10325476
lea rcx, [rbx + 0x58]
mov edx, 0x40
xor r8, r8
call fcn.0040bcd0
mov byte [rbx + 0x98], 0
add rsp, 0x20
pop rbx
ret
Function at 0x51d0f0
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor edx, edx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x51d0f7
nop
ret

Function at 0x540090
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.00411370
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
mov rcx, rbx
mov edx, eax
call fcn.0053fb40
add rsp, 0x20
pop rbx
ret

Function at 0x54c770
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r8, rcx
xor eax, eax
xor r9, r9
sub edx, 1
mov ecx, r9d
cmp ecx, edx
jg 0x54c7b0
sub edx, r9d
add edx, 1
mov ecx, eax
and cx, 0xf800
movzx ecx, cx
shr ecx, 0xb
shl eax, 5
or cx, ax
mov eax, ecx
movzx cx, byte [r8]
xor ax, cx
add r8, 1
sub edx, 1
test edx, edx
jne 0x54c788
nop
ret
Function at 0x580890
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rbp, rsp
mov rax, qword [rcx]
mov qword [rbp + 0x64], rax
mov qword [rbp + 0xa8], rdx
xor eax, eax
mov qword [rbp + 0x38], rax
cmp qword [0x007e9b78], 0
je 0x580a51
mov ecx, 0x11
call sub.user32.dll_GetKeyState
mov rcx, qword [0x007dc1c8]
mov rcx, qword [rcx]
test ax, 0x8000
setne al
movzx rcx, byte [rcx + 0x178]
xor cl, al
test cl, cl
je 0x580a51
mov rcx, qword [0x007e9b80]
mov rax, qword [0x007e9b80]
mov rbx, qword [rax]
call qword [rbx + 0x10]
xor eax, eax
mov rcx, qword [0x007e9b78]
mov esi, dword [rcx + 0x10]
sub esi, 1
mov ebx, eax
cmp ebx, esi
jg 0x580a14
sub esi, eax
add esi, 1
mov rcx, qword [0x007e9b78]
mov edx, ebx
call fcn.0048a200
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
cmp rax, qword [rbp + 0xa8]
je 0x580a06
mov rax, qword [rbp + 0x58]
cmp byte [rax + 0x3a1], 0
je 0x580a06
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
call qword [rax + 0xf0]
test al, al
je 0x580a06
mov rcx, qword [rbp + 0x58]
call fcn.00592a80
mov rcx, rax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x580a06
mov rcx, rbp
call fcn.00580830
test al, al
jne 0x580a06
mov rcx, qword [rbp + 0x58]
mov dx, 0xffb8
call fcn.0040d210
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0xa8]
call rax
test al, al
je 0x580a06
mov byte [rbp + 0x6f], 1
mov rcx, qword [rbp + 0x58]
mov dx, 0xffb9
call fcn.0040d210
mov rdi, rax
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0xa8]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x64]
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
call rdi
cmp byte [rbp + 0x6f], 0
je 0x580a06
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0x64]
call fcn.0041bbc0
test al, al
je 0x580a06
mov rcx, qword [0x007e9b80]
mov rdx, qword [rbp + 0x58]
call fcn.0057fad0
add ebx, 1
sub esi, 1
test esi, esi
jne 0x58091d
nop
mov rax, qword [0x007e9b80]
cmp dword [rax + 0x10], 0
jle 0x580a32
mov rcx, qword [0x007e9b80]
call fcn.0057fbd0
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x580a51
mov rcx, rbp
mov rdx, qword [rbp + 0x38]
call fcn.00580650
test al, al
jne 0x580a51
xor eax, eax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x78]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x58d310
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
call sub.user32.dll_GetMessagePos
mov ecx, eax
call fcn.0041be40
mov dword [rbp + 0x3c], eax
movsx rax, word [rbp + 0x3c]
mov dword [rbp + 0x34], eax
movsx rax, word [rbp + 0x3e]
mov dword [rbp + 0x38], eax
mov rcx, rbx
lea rdx, [rbp + 0x34]
call fcn.005840d0
mov qword [rbp + 0x158], rax
test rdi, rdi
jne 0x58d37b
mov rcx, rbx
lea rdx, [rbp + 0x158]
xor r8, r8
xor r9, r9
mov byte [rsp + 0x20], 0
call fcn.0058d1f0
mov rdi, rax
test rdi, rdi
je 0x58d45b
cmp rdi, rbx
je 0x58d3a9
mov eax, dword [rbp + 0x158]
sub eax, dword [rdi + 0x90]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x15c]
sub eax, dword [rdi + 0x94]
mov dword [rbp + 0x44], eax
jmp 0x58d3b4
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x40], rax
movzx eax, word [rsi + 0x10]
mov dword [rbp + 0x48], eax
mov rax, qword [rsi + 8]
mov qword [rbp + 0x50], rax
movzx eax, word [rsi + 0x12]
cmp eax, 0x201
jge 0x58d3ec
sub eax, 0xa1
cmp eax, 2
jb 0x58d409
sub eax, 3
cmp eax, 2
jb 0x58d415
sub eax, 3
cmp eax, 2
jae 0x58d41b
jmp 0x58d40f
sub eax, 0x201
cmp eax, 2
jb 0x58d409
sub eax, 3
cmp eax, 2
jb 0x58d415
sub eax, 3
cmp eax, 2
jae 0x58d41b
jmp 0x58d40f
mov byte [rbp + 0x4c], 0
jmp 0x58d41f
mov byte [rbp + 0x4c], 2
jmp 0x58d41f
mov byte [rbp + 0x4c], 1
jmp 0x58d41f
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x58]
call sub.user32.dll_GetKeyboardState
lea rcx, [rbp + 0x58]
call fcn.006b0490
mov ebx, eax
call fcn.0057edb0
or bx, ax
mov word [rbp + 0x4d], bx
mov rcx, rdi
mov edx, 0xb04b
xor r8, r8
lea r9, [rbp + 0x40]
call fcn.005867c0
mov qword [rsi + 0x18], rax
mov al, 1
jmp 0x58d45d
xor eax, eax
lea rsp, [rbp + 0x168]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x5d9ea0
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
mov ecx, 0xd
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
nop
cmp qword [rbp + 0x38], 0
je 0x5d9ef0
mov rcx, qword [rbp + 0x38]
call sub.kernel32.dll_GlobalLock
mov rcx, qword [rbp + 0x68]
mov rdx, rax
call fcn.00411400
jmp 0x5d9ef9
mov rcx, qword [rbp + 0x68]
call fcn.0040fd60
nop
cmp qword [rbp + 0x38], 0
je 0x5d9f0a
mov rcx, qword [rbp + 0x38]
call sub.kernel32.dll_GlobalUnlock
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
mov rax, qword [rbp + 0x68]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x5d9fb0
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
xor ecx, ecx
call sub.user32.dll_EnumClipboardFormats
mov word [rbp + 0x46], ax
cmp word [rbp + 0x46], 0
je 0x5da042
mov rcx, qword [0x00548830]
movzx rdx, word [rbp + 0x46]
call fcn.005555b0
test al, al
je 0x5da02e
movzx ecx, word [rbp + 0x46]
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x48], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x78]
movzx rdx, word [rbp + 0x46]
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x38]
call fcn.00555450
jmp 0x5da071
movzx ecx, word [rbp + 0x46]
call sub.user32.dll_EnumClipboardFormats
mov word [rbp + 0x46], ax
cmp word [rbp + 0x46], 0
jne 0x5d9fe6
nop
mov rcx, qword [0x005d99e0]
mov dl, 1
mov r8, qword [0x007db990]
call fcn.0043c3c0
mov rcx, rax
call fcn.0040f030
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
jmp 0x5da07c
xor ecx, ecx
mov rdx, qword [rbp + 0x28]
call fcn.005da090
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret

Function at 0x5da0b0
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov ecx, 2
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x68]
mov dx, 2
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x30]
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
call qword [rbx + 0xd0]
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x5da150
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov ecx, 3
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x68]
mov dx, 3
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x30]
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
call qword [rbx + 0xd0]
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x5da270
Capabilities:
Write clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov rcx, qword [rbp + 0x70]
call fcn.005d9b80
mov qword [rbp + 0x38], 0
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0x46]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x38]
call fcn.00555590
movzx ecx, word [rbp + 0x46]
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
cmp qword [rbp + 0x38], 0
je 0x5da2dc
mov ecx, 9
mov rdx, qword [rbp + 0x38]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret

Function at 0x5da320
Capabilities:
Write clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov rcx, qword [rbp + 0x70]
call fcn.005d9b80
mov qword [rbp + 0x38], 0
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0x46]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x38]
mov rax, qword [rbp + 0x78]
mov rbx, qword [rax]
call qword [rbx + 0xd8]
movzx ecx, word [rbp + 0x46]
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
cmp qword [rbp + 0x38], 0
je 0x5da394
mov ecx, 9
mov rdx, qword [rbp + 0x38]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret

Function at 0x5da430
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov word [rbp + 0x68], dx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
movzx ecx, word [rbp + 0x68]
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret