joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4631ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
mov eax, dword [ebx + 0x6c]
sub edi, eax
mov edx, dword [ebx + 0x64]
sub edi, edx
test edi, edi
jne 0x46321c
mov ecx, dword [ebx + 0x64]
test ecx, ecx
jne 0x46321c
mov eax, dword [ebx + 0x6c]
test eax, eax
jne 0x46321c
mov edi, esi
jmp 0x4632b0
cmp edi, 0xffffffff
jne 0x463227
dec edi
jmp 0x4632b0
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
mov edx, dword [ebx + 0x64]
cmp eax, edx
ja 0x4632b0
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00462268
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x3c]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
mov ecx, dword [esp]
cmp esi, ecx
ja 0x46327a
mov cx, word [esp]
sub cx, si
jmp 0x46327c
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x463261
mov eax, esi
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x38]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
mov ecx, dword [esp]
cmp esi, ecx
ja 0x4632a6
mov cx, word [esp]
sub cx, si
jmp 0x4632a8
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x46328d
add edi, esi
mov ebp, dword [ebx]
mov eax, dword [ebp + 4]
test eax, eax
je 0x463318
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
add edx, ecx
mov eax, dword [ebx + 0x6c]
add edx, eax
mov ecx, edi
mov eax, ebp
call fcn.00462f7c
add dword [ebx + 0x6c], eax
mov edx, dword [ebx + 0x6c]
cmp edx, 3
jb 0x463301
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x64]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
mov edx, dword [ebx + 0x4c]
and eax, edx
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x6c]
cmp eax, 0x106
jae 0x463318
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4631f6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4696ec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a0c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x469705
test al, 0x10
jne 0x469709
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x469bb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407b3c
mov dword [ebp - 0x3c], 0x3c
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov eax, 0x469c18
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46a09c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0040303c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x530a38]
cmp byte [edx + 0xc], 0
je 0x46a100
mov edx, dword [0x530a28]
cmp dword [edx], 2
jne 0x46a100
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x46a104
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46a1bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0046a09c
test al, al
je 0x46a19e
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040464c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x46a19e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a0c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404a0c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040474c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x46a157
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a1c3
lea eax, [ebp - 0x2c]
call fcn.0040455c
lea eax, [ebp - 0xc]
call fcn.0040455c
ret

Function at 0x46a3e4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00469dc8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404a0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46a442
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5305f4]
mov dl, 1
mov eax, dword [0x469cc0]
call fcn.0040c508
call fcn.00403f1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46a44c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46a4a4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x530a4c]
mov dl, 1
mov eax, dword [0x469cc0]
call fcn.0040c508
call fcn.00403f1c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00469e1c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46c3fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x46c44d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404a64
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46c431
test al, 0x10
je 0x46c435
xor ebx, ebx
jmp 0x46c437
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c454
lea eax, [ebp - 4]
call fcn.0040455c
ret

Function at 0x46c45c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004051e0
xor eax, eax
push ebp
push 0x46c4ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e28
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46c491
test al, 0x10
je 0x46c495
xor ebx, ebx
jmp 0x46c497
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c4b4
lea eax, [ebp - 4]
call fcn.00404c78
ret

Function at 0x46c78c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
and ax, 0xffff
cmp ax, 0xffff
jne 0x46c7b8
mov eax, esi
call fcn.0046c45c
test al, al
je 0x46c7b8
push 0x20
mov eax, esi
call fcn.00404e28
push eax
call sub.kernel32.dll_SetFileAttributesW
push ebx
mov ecx, esi
mov dl, 1
mov eax, dword [0x461da8]
call fcn.00461f1c
cmp dword [eax + 8], 0xffffffff
jne 0x46c7d4
call fcn.00403750
xor eax, eax
pop esi
pop ebx
ret
Function at 0x46c7d8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46c8ee
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [esi]
mov eax, 0x46c904
call fcn.00404b50
mov ebx, eax
test ebx, ebx
je 0x46c8cd
cmp ebx, dword [ebp - 8]
je 0x46c8cd
mov dword [ebp - 8], ebx
mov eax, esi
mov ecx, 1
mov edx, ebx
call fcn.00404aac
mov edx, dword [esi]
mov eax, 0x46c904
call fcn.00404b50
mov edi, eax
test edi, edi
je 0x46c8cd
lea eax, [ebp - 4]
push eax
mov ecx, edi
sub ecx, ebx
mov eax, dword [esi]
mov edx, ebx
call fcn.00404a6c
mov ecx, edi
sub ecx, ebx
inc ecx
mov eax, esi
mov edx, ebx
call fcn.00404aac
cmp dword [ebp - 4], 0
je 0x46c804
push 0x46c904
push dword [ebp - 4]
push 0x46c904
lea eax, [ebp - 4]
mov edx, 3
call fcn.004048d4
push 0x104
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
call fcn.00404a64
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.004047c4
mov eax, dword [ebp - 0x110]
mov edx, esi
mov ecx, ebx
call fcn.00404af4
jmp 0x46c804
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c8f5
lea eax, [ebp - 0x110]
call fcn.0040455c
lea eax, [ebp - 4]
call fcn.0040455c
ret
Function at 0x46da60
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46da68
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x46dc0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414a08]
call fcn.00403720
mov esi, eax
lea edx, [ebp - 8]
mov eax, 0x46dc28
call fcn.0040e280
mov al, byte [0x46dc30]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46dc3c
mov edx, 0x46dc48
mov eax, dword [ebp - 8]
call fcn.0040d820
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004045f4
mov al, byte [0x46dc30]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46dc3c
mov edx, 0x46dc48
mov eax, dword [ebp - 8]
call fcn.0040d820
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.004045f4
mov al, byte [0x46dc30]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x46dc3c
mov edx, 0x46dc48
mov eax, dword [ebp - 8]
call fcn.0040d820
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004045f4
mov al, byte [0x46dc30]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x46dc54
mov edx, 0x46dc3c
mov eax, dword [ebp - 8]
call fcn.0040d820
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.004045f4
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov byte [ebp - 0xd], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x46db8c
inc ebx
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00404958
jne 0x46db86
mov byte [ebp - 0xd], 1
jmp 0x46db8c
inc dword [ebp - 0xc]
dec ebx
jne 0x46db66
cmp byte [ebp - 0xd], 0
jne 0x46dbe0
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov al, byte [0x46dc30]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46dc3c
mov edx, 0x46dc54
mov eax, dword [ebp - 8]
call fcn.0040d820
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.004045f4
lea eax, [ebp - 8]
call fcn.00404a64
push eax
push 0x46dc58
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, esi
call fcn.00403750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dc16
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00404580
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404580
ret

Function at 0x46e048
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040303c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x46f2e4
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x46f301
test byte [esi + 0x1c], 0x10
je 0x46f301
mov eax, 0x46f370
call fcn.0043a6f4
jmp 0x46f362
cmp bl, byte [esi + 0x34]
je 0x46f362
test bl, bl
je 0x46f33a
test byte [esi + 0x1c], 0x10
jne 0x46f35f
mov cl, 1
mov dl, 1
mov eax, dword [0x46f058]
call fcn.0041f128
mov edi, eax
mov dword [esi + 0x50], edi
mov dword [edi + 0x30], esi
mov byte [edi + 0xf], 1
mov eax, edi
call fcn.0041f474
mov eax, esi
call fcn.0046f394
jmp 0x46f35f
test byte [esi + 0x1c], 0x10
jne 0x46f35f
mov eax, dword [esi + 0x30]
push eax
call sub.winmm.dll_timeKillEvent
push 0
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [esi + 0x50]
call fcn.00403750
mov byte [esi + 0x34], bl
pop edi
pop esi
pop ebx
ret
Function at 0x474af8
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 4], 0
jne 0x474b3a
mov eax, dword [0x5306f0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esi + 8], eax
test eax, eax
jne 0x474b25
push esi
push 0x475218
call fcn.0042067c
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
mov eax, dword [esi + 8]
push eax
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb ebx, ebx
inc ebx
mov byte [esi + 0xd], 0
jmp 0x474b3c
mov bl, 1
inc dword [esi + 4]
test bl, bl
jne 0x474b5d
dec dword [esi + 4]
cmp byte [esi + 0xc], 0
je 0x474b58
mov eax, dword [esi + 8]
call fcn.00420730
mov byte [esi + 0xc], 0
xor eax, eax
mov dword [esi + 8], eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x474b84
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
jne 0x474baa
xor eax, eax
jmp 0x474c6a
xor edx, edx
push ebp
push 0x474c61
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x474c33
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x474c22
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402974
mov eax, dword [ebp - 4]
call fcn.00474aac
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474c29
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x474c74
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00404c78
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
je 0x474cef
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x474ce8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x474cc3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404dc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474cef
cmp dword [ebp - 8], 0
je 0x474cdf
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00474ac8
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x474d20
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
je 0x474dd1
xor edx, edx
push ebp
push 0x474dca
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x474d9d
mov edx, ebx
mov eax, dword [0x421dac]
call fcn.0042635c
test al, al
je 0x474d8d
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042626c
call fcn.00403fc8
jmp 0x474dd1
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x474d58
mov ecx, dword [0x530298]
mov dl, 1
mov eax, dword [0x408090]
call fcn.0040c4cc
call fcn.00403f1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474dd1
mov eax, dword [ebp - 4]
call fcn.00474ac8
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x474dd8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
je 0x474e3b
xor eax, eax
push ebp
push 0x474e34
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474e3b
mov eax, dword [ebp - 4]
call fcn.00474ac8
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x474e44
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
je 0x474ea4
xor edx, edx
push ebp
push 0x474e9d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474ea4
mov eax, dword [ebp - 4]
call fcn.00474ac8
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x474f14
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
je 0x474f94
xor eax, eax
push ebp
push 0x474f8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00474aac
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00426330
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x474f77
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474f94
mov eax, dword [ebp - 4]
call fcn.00474ac8
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x474f9c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
je 0x47501c
xor eax, eax
push ebp
push 0x475015
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00474aac
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x474fff
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47501c
mov eax, dword [ebp - 4]
call fcn.00474ac8
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x475070
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
je 0x4750c4
xor eax, eax
push ebp
push 0x4750bd
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4750c4
mov eax, dword [ebp - 4]
call fcn.00474ac8
ret
mov eax, dword [ebp - 8]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4750cc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00474af8
test al, al
je 0x47512c
xor eax, eax
push ebp
push 0x475125
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00474aac
push esi
movzx eax, bx
push eax
call sub.user32.dll_SetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47512c
mov eax, dword [ebp - 4]
call fcn.00474ac8
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret