joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b4d8
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 [0x541f08]
cmp byte [edx + 0xc], 0
je 0x46b53c
mov edx, dword [0x541ef0]
cmp dword [edx], 2
jne 0x46b53c
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 0x46b540
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 0x46b5f8
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.0046b4d8
test al, al
je 0x46b5da
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 0x46b5da
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 0x46b593
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b5ff
lea eax, [ebp - 0x2c]
call fcn.004045b8
lea eax, [ebp - 0xc]
call fcn.004045b8
ret

Function at 0x46b834
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.0046b204
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 0x46b892
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x541a1c]
mov dl, 1
mov eax, dword [0x46b0fc]
call fcn.0040c748
call fcn.00403f78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46b89c
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 0x46b8f4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x541f1c]
mov dl, 1
mov eax, dword [0x46b0fc]
call fcn.0040c748
call fcn.00403f78
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046b258
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 0x46dddc
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 0x46de2d
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 0x46de11
test al, 0x10
je 0x46de15
xor ebx, ebx
jmp 0x46de17
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46de34
lea eax, [ebp - 4]
call fcn.004045b8
ret

Function at 0x46de3c
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 0x46de8d
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 0x46de71
test al, 0x10
je 0x46de75
xor ebx, ebx
jmp 0x46de77
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46de94
lea eax, [ebp - 4]
call fcn.00404cf0
ret

Function at 0x46e16c
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 0x46e198
mov eax, esi
call fcn.0046de3c
test al, al
je 0x46e198
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 [0x4631e4]
call fcn.00463358
cmp dword [eax + 8], 0xffffffff
jne 0x46e1b4
call fcn.004037ac
xor eax, eax
pop esi
pop ebx
ret
Function at 0x46e234
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 0x46e34a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [esi]
mov eax, 0x46e360
call fcn.00404bc8
mov ebx, eax
test ebx, ebx
je 0x46e329
cmp ebx, dword [ebp - 8]
je 0x46e329
mov dword [ebp - 8], ebx
mov eax, esi
mov ecx, 1
mov edx, ebx
call fcn.00404b24
mov edx, dword [esi]
mov eax, 0x46e360
call fcn.00404bc8
mov edi, eax
test edi, edi
je 0x46e329
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 0x46e260
push 0x46e360
push dword [ebp - 4]
push 0x46e360
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 0x46e260
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e351
lea eax, [ebp - 0x110]
call fcn.004045b8
lea eax, [ebp - 4]
call fcn.004045b8
ret
Function at 0x46f5ec
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46f5f4
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 0x46f79b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414c40]
call fcn.0040377c
mov esi, eax
lea edx, [ebp - 8]
mov eax, 0x46f7b4
call fcn.0040e4b8
mov al, byte [0x46f7bc]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46f7c8
mov edx, 0x46f7d4
mov eax, dword [ebp - 8]
call fcn.0040da60
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f7bc]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46f7c8
mov edx, 0x46f7d4
mov eax, dword [ebp - 8]
call fcn.0040da60
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f7bc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x46f7c8
mov edx, 0x46f7d4
mov eax, dword [ebp - 8]
call fcn.0040da60
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404650
mov al, byte [0x46f7bc]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x46f7e0
mov edx, 0x46f7c8
mov eax, dword [ebp - 8]
call fcn.0040da60
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 0x46f718
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 0x46f712
mov byte [ebp - 0xd], 1
jmp 0x46f718
inc dword [ebp - 0xc]
dec ebx
jne 0x46f6f2
cmp byte [ebp - 0xd], 0
jne 0x46f76c
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 [0x46f7bc]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46f7c8
mov edx, 0x46f7e0
mov eax, dword [ebp - 8]
call fcn.0040da60
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404650
lea eax, [ebp - 8]
call fcn.00404adc
push eax
push 0x46f7e4
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 0x46f7a2
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.004045dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045dc
ret

Function at 0x46fa3c
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 0x46fccc
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 0x471228
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 [0x4145dc]
call fcn.0040377c
mov esi, eax
push esi
push 0x471210
call sub.user32.dll_EnumWindows
mov edi, dword [esi + 8]
dec edi
test edi, edi
jl 0x4712a8
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.00416ef8
cmp ebp, eax
je 0x4712a4
push 0x50
lea eax, [esp + 0xc]
push eax
mov edx, ebx
mov eax, esi
call fcn.00416ef8
push eax
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x4712a4
lea eax, [esp + 8]
mov edx, dword [esp]
call fcn.00409eac
test eax, eax
jne 0x4712a4
mov edx, ebx
mov eax, esi
call fcn.00416ef8
mov dword [esp + 4], eax
jmp 0x4712a8
inc ebx
dec edi
jne 0x47125e
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 0x471324
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 0x4713df
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x471377
lea ecx, [ebp - 0x88]
mov edx, 0x4713f4
mov eax, 0x471408
call fcn.0046c5d0
mov eax, dword [ebp - 0x88]
mov edx, ebx
call fcn.00408e1c
cmp dword [ebx], 0
jne 0x4713c1
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 0x4713c1
lea eax, [ebp - 0x83]
call fcn.00409dac
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 0x4713e6
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004045dc
ret

Function at 0x471450
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 0x4714ba
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 0x4714a4
lea eax, [ebp - 0x23]
call fcn.00409dac
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 0x4714c1
lea eax, [ebp - 0x28]
call fcn.004045b8
ret
Function at 0x471d50
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 0x471ddd
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 0x471db9
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 0x471dc7
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 0x471de4
lea eax, [ebp - 4]
call fcn.004045b8
ret

Function at 0x471df0
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 0x471eef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x471f08
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.00404798
push dword [ebp - 0x40]
push 0x471f18
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 0x471eca
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 0x471ec4
cmp dword [ebp - 0x20], 7
jne 0x471ec4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404798
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
mov ecx, 0x471f24
call fcn.004048d8
lea eax, [ebp - 8]
call fcn.00404adc
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x471ec0
cmp eax, 2
jne 0x471ec4
mov bl, 1
jmp 0x471ecc
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 0x471ef6
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045dc
lea eax, [ebp - 8]
call fcn.004045b8
ret

Function at 0x47300c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
push 0
push esi
lea eax, [esp + 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x47303b
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404820
jmp 0x473042
mov eax, ebx
call fcn.004045b8
add esp, 0x108
pop esi
pop ebx
ret
Function at 0x4738c0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x4738dd
test byte [esi + 0x1c], 0x10
je 0x4738dd
mov eax, 0x47394c
call fcn.0043bb30
jmp 0x47393e
cmp bl, byte [esi + 0x34]
je 0x47393e
test bl, bl
je 0x473916
test byte [esi + 0x1c], 0x10
jne 0x47393b
mov cl, 1
mov dl, 1
mov eax, dword [0x473634]
call fcn.0041f360
mov edi, eax
mov dword [esi + 0x50], edi
mov dword [edi + 0x30], esi
mov byte [edi + 0xf], 1
mov eax, edi
call fcn.0041f6ac
mov eax, esi
call fcn.00473970
jmp 0x47393b
test byte [esi + 0x1c], 0x10
jne 0x47393b
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 0x4790d4
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 4], 0
jne 0x479116
mov eax, dword [0x541b3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esi + 8], eax
test eax, eax
jne 0x479101
push esi
push 0x4797f4
call fcn.004208b4
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 0x479118
mov bl, 1
inc dword [esi + 4]
test bl, bl
jne 0x479139
dec dword [esi + 4]
cmp byte [esi + 0xc], 0
je 0x479134
mov eax, dword [esi + 8]
call fcn.00420968
mov byte [esi + 0xc], 0
xor eax, eax
mov dword [esi + 8], eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x479160
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.004790d4
test al, al
jne 0x479186
xor eax, eax
jmp 0x479246
xor edx, edx
push ebp
push 0x47923d
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 0x47920f
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 0x4791fe
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.00479088
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 0x479205
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 0x479250
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.004790d4
test al, al
je 0x4792cb
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4792c4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x47929f
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 0x4792cb
cmp dword [ebp - 8], 0
je 0x4792bb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.004790a4
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4792fc
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.004790d4
test al, al
je 0x4793ad
xor edx, edx
push ebp
push 0x4793a6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x479379
mov edx, ebx
mov eax, dword [0x421fe4]
call fcn.004265cc
test al, al
je 0x479369
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.004264dc
call fcn.00404024
jmp 0x4793ad
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x479334
mov ecx, dword [0x541634]
mov dl, 1
mov eax, dword [0x408150]
call fcn.0040c70c
call fcn.00403f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4793ad
mov eax, dword [ebp - 4]
call fcn.004790a4
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4793b4
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.004790d4
test al, al
je 0x479417
xor eax, eax
push ebp
push 0x479410
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 0x479417
mov eax, dword [ebp - 4]
call fcn.004790a4
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x479420
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.004790d4
test al, al
je 0x479480
xor edx, edx
push ebp
push 0x479479
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 0x479480
mov eax, dword [ebp - 4]
call fcn.004790a4
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4794f0
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.004790d4
test al, al
je 0x479570
xor eax, eax
push ebp
push 0x479569
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479088
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.004265a0
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 0x479553
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 0x479570
mov eax, dword [ebp - 4]
call fcn.004790a4
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x479578
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.004790d4
test al, al
je 0x4795f8
xor eax, eax
push ebp
push 0x4795f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479088
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 0x4795db
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 0x4795f8
mov eax, dword [ebp - 4]
call fcn.004790a4
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47964c
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.004790d4
test al, al
je 0x4796a0
xor eax, eax
push ebp
push 0x479699
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 0x4796a0
mov eax, dword [ebp - 4]
call fcn.004790a4
ret
mov eax, dword [ebp - 8]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4796a8
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.004790d4
test al, al
je 0x479708
xor eax, eax
push ebp
push 0x479701
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479088
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 0x479708
mov eax, dword [ebp - 4]
call fcn.004790a4
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret