joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46af5c
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.00407bfc
mov dword [ebp - 0x3c], 0x3c
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov eax, 0x46afbc
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 0x46b440
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.00403098
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 [0x540f08]
cmp byte [edx + 0xc], 0
je 0x46b4a4
mov edx, dword [0x540ef0]
cmp dword [edx], 2
jne 0x46b4a4
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 0x46b4a8
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 0x46b560
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.0046b440
test al, al
je 0x46b542
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004046a8
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x46b542
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.00404a84
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404a84
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004047a8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x46b4fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b567
lea eax, [ebp - 0x2c]
call fcn.004045b8
lea eax, [ebp - 0xc]
call fcn.004045b8
ret
Function at 0x46b79c
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.0046b16c
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.00404a84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46b7fa
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x540a1c]
mov dl, 1
mov eax, dword [0x46b064]
call fcn.0040c6d4
call fcn.00403f78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46b804
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.00404a84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46b85c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x540f1c]
mov dl, 1
mov eax, dword [0x46b064]
call fcn.0040c6d4
call fcn.00403f78
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046b1c0
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 0x46dd44
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.00404a74
xor eax, eax
push ebp
push 0x46dd95
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404adc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46dd79
test al, 0x10
je 0x46dd7d
xor ebx, ebx
jmp 0x46dd7f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dd9c
lea eax, [ebp - 4]
call fcn.004045b8
ret

Function at 0x46dda4
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.00405258
xor eax, eax
push ebp
push 0x46ddf5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ea0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46ddd9
test al, 0x10
je 0x46dddd
xor ebx, ebx
jmp 0x46dddf
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ddfc
lea eax, [ebp - 4]
call fcn.00404cf0
ret

Function at 0x46e0d4
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 0x46e100
mov eax, esi
call fcn.0046dda4
test al, al
je 0x46e100
push 0x20
mov eax, esi
call fcn.00404ea0
push eax
call sub.kernel32.dll_SetFileAttributesW
push ebx
mov ecx, esi
mov dl, 1
mov eax, dword [0x463170]
call fcn.004632c0
cmp dword [eax + 8], 0xffffffff
jne 0x46e11c
call fcn.004037ac
xor eax, eax
pop esi
pop ebx
ret
Function at 0x46e19c
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 0x46e2b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [esi]
mov eax, 0x46e2c8
call fcn.00404bc8
mov ebx, eax
test ebx, ebx
je 0x46e291
cmp ebx, dword [ebp - 8]
je 0x46e291
mov dword [ebp - 8], ebx
mov eax, esi
mov ecx, 1
mov edx, ebx
call fcn.00404b24
mov edx, dword [esi]
mov eax, 0x46e2c8
call fcn.00404bc8
mov edi, eax
test edi, edi
je 0x46e291
lea eax, [ebp - 4]
push eax
mov ecx, edi
sub ecx, ebx
mov eax, dword [esi]
mov edx, ebx
call fcn.00404ae4
mov ecx, edi
sub ecx, ebx
inc ecx
mov eax, esi
mov edx, ebx
call fcn.00404b24
cmp dword [ebp - 4], 0
je 0x46e1c8
push 0x46e2c8
push dword [ebp - 4]
push 0x46e2c8
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040494c
push 0x104
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
call fcn.00404adc
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404820
mov eax, dword [ebp - 0x110]
mov edx, esi
mov ecx, ebx
call fcn.00404b6c
jmp 0x46e1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e2b9
lea eax, [ebp - 0x110]
call fcn.004045b8
lea eax, [ebp - 4]
call fcn.004045b8
ret
Function at 0x46f554
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46f55c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x46f703
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414bcc]
call fcn.0040377c
mov esi, eax
lea edx, [ebp - 8]
mov eax, 0x46f71c
call fcn.0040e444
mov al, byte [0x46f724]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46f730
mov edx, 0x46f73c
mov eax, dword [ebp - 8]
call fcn.0040d9ec
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f724]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46f730
mov edx, 0x46f73c
mov eax, dword [ebp - 8]
call fcn.0040d9ec
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f724]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x46f730
mov edx, 0x46f73c
mov eax, dword [ebp - 8]
call fcn.0040d9ec
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f724]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x46f748
mov edx, 0x46f730
mov eax, dword [ebp - 8]
call fcn.0040d9ec
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.00404650
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 0x46f680
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.004049d0
jne 0x46f67a
mov byte [ebp - 0xd], 1
jmp 0x46f680
inc dword [ebp - 0xc]
dec ebx
jne 0x46f65a
cmp byte [ebp - 0xd], 0
jne 0x46f6d4
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 [0x46f724]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46f730
mov edx, 0x46f748
mov eax, dword [ebp - 8]
call fcn.0040d9ec
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404650
lea eax, [ebp - 8]
call fcn.00404adc
push eax
push 0x46f74c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, esi
call fcn.004037ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f70a
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.004045dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045dc
ret

Function at 0x46f9a4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x46fc34
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403098
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x471190
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov ebp, edx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov dl, 1
mov eax, dword [0x414568]
call fcn.0040377c
mov esi, eax
push esi
push 0x471178
call sub.user32.dll_EnumWindows
mov edi, dword [esi + 8]
dec edi
test edi, edi
jl 0x471210
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.00416e84
cmp ebp, eax
je 0x47120c
push 0x50
lea eax, [esp + 0xc]
push eax
mov edx, ebx
mov eax, esi
call fcn.00416e84
push eax
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x47120c
lea eax, [esp + 8]
mov edx, dword [esp]
call fcn.00409e38
test eax, eax
jne 0x47120c
mov edx, ebx
mov eax, esi
call fcn.00416e84
mov dword [esp + 4], eax
jmp 0x471210
inc ebx
dec edi
jne 0x4711c6
mov eax, esi
call fcn.004037ac
mov eax, dword [esp + 4]
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47128c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x471347
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x4712df
lea ecx, [ebp - 0x88]
mov edx, 0x47135c
mov eax, 0x471370
call fcn.0046c538
mov eax, dword [ebp - 0x88]
mov edx, ebx
call fcn.00408e1c
cmp dword [ebx], 0
jne 0x471329
mov dword [ebp - 4], 0x21
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x83]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x471329
lea eax, [ebp - 0x83]
call fcn.00409d38
mov byte [ebp - 0x84], al
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x84]
call fcn.00404814
mov eax, dword [ebp - 0x8c]
mov edx, ebx
call fcn.00408e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47134e
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004045dc
ret

Function at 0x4713b8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x471422
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x23]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x47140c
lea eax, [ebp - 0x23]
call fcn.00409d38
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00404814
mov eax, dword [ebp - 0x28]
mov edx, ebx
call fcn.00408e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471429
lea eax, [ebp - 0x28]
call fcn.004045b8
ret
Function at 0x471cb8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x471d45
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00404adc
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x471d21
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405944
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x471d2f
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471d4c
lea eax, [ebp - 4]
call fcn.004045b8
ret

Function at 0x471d58
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x471e57
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x471e70
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.00404798
push dword [ebp - 0x40]
push 0x471e80
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040494c
push 0
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp - 8]
call fcn.00404adc
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x471e32
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0xc
call fcn.00403098
push 0
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push esi
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x471e2c
cmp dword [ebp - 0x20], 7
jne 0x471e2c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404798
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
mov ecx, 0x471e8c
call fcn.004048d8
lea eax, [ebp - 8]
call fcn.00404adc
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x471e28
cmp eax, 2
jne 0x471e2c
mov bl, 1
jmp 0x471e34
push esi
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471e5e
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045dc
lea eax, [ebp - 8]
call fcn.004045b8
ret
Function at 0x4737e8
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x473805
test byte [esi + 0x1c], 0x10
je 0x473805
mov eax, 0x473874
call fcn.0043babc
jmp 0x473866
cmp bl, byte [esi + 0x34]
je 0x473866
test bl, bl
je 0x47383e
test byte [esi + 0x1c], 0x10
jne 0x473863
mov cl, 1
mov dl, 1
mov eax, dword [0x47355c]
call fcn.0041f2ec
mov edi, eax
mov dword [esi + 0x50], edi
mov dword [edi + 0x30], esi
mov byte [edi + 0xf], 1
mov eax, edi
call fcn.0041f638
mov eax, esi
call fcn.00473898
jmp 0x473863
test byte [esi + 0x1c], 0x10
jne 0x473863
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.004037ac
mov byte [esi + 0x34], bl
pop edi
pop esi
pop ebx
ret
Function at 0x478ffc
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 4], 0
jne 0x47903e
mov eax, dword [0x540b3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esi + 8], eax
test eax, eax
jne 0x479029
push esi
push 0x47971c
call fcn.00420840
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 0x479040
mov bl, 1
inc dword [esi + 4]
test bl, bl
jne 0x479061
dec dword [esi + 4]
cmp byte [esi + 0xc], 0
je 0x47905c
mov eax, dword [esi + 8]
call fcn.004208f4
mov byte [esi + 0xc], 0
xor eax, eax
mov dword [esi + 8], eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x479088
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.00478ffc
test al, al
jne 0x4790ae
xor eax, eax
jmp 0x47916e
xor edx, edx
push ebp
push 0x479165
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 0x479137
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 0x479126
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.00478fb0
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 0x47912d
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 0x479178
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.00404cf0
mov eax, dword [ebp - 4]
call fcn.00478ffc
test al, al
je 0x4791f3
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4791ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4791c7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4791f3
cmp dword [ebp - 8], 0
je 0x4791e3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00478fcc
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x479224
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.00478ffc
test al, al
je 0x4792d5
xor edx, edx
push ebp
push 0x4792ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4792a1
mov edx, ebx
mov eax, dword [0x421f70]
call fcn.00426558
test al, al
je 0x479291
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.00426468
call fcn.00404024
jmp 0x4792d5
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x47925c
mov ecx, dword [0x540634]
mov dl, 1
mov eax, dword [0x408150]
call fcn.0040c698
call fcn.00403f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4792d5
mov eax, dword [ebp - 4]
call fcn.00478fcc
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4792dc
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.00478ffc
test al, al
je 0x47933f
xor eax, eax
push ebp
push 0x479338
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 0x47933f
mov eax, dword [ebp - 4]
call fcn.00478fcc
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x479348
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.00478ffc
test al, al
je 0x4793a8
xor edx, edx
push ebp
push 0x4793a1
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 0x4793a8
mov eax, dword [ebp - 4]
call fcn.00478fcc
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x479418
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.00478ffc
test al, al
je 0x479498
xor eax, eax
push ebp
push 0x479491
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00478fb0
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.0042652c
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 0x47947b
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 0x479498
mov eax, dword [ebp - 4]
call fcn.00478fcc
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4794a0
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.00478ffc
test al, al
je 0x479520
xor eax, eax
push ebp
push 0x479519
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00478fb0
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 0x479503
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 0x479520
mov eax, dword [ebp - 4]
call fcn.00478fcc
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x479574
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.00478ffc
test al, al
je 0x4795c8
xor eax, eax
push ebp
push 0x4795c1
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 0x4795c8
mov eax, dword [ebp - 4]
call fcn.00478fcc
ret
mov eax, dword [ebp - 8]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4795d0
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.00478ffc
test al, al
je 0x479630
xor eax, eax
push ebp
push 0x479629
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00478fb0
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 0x479630
mov eax, dword [ebp - 4]
call fcn.00478fcc
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret