joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418ffd
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
push ecx
lea ecx, [esp + 0x98]
call fcn.00419252
cmp eax, 0xffffffff
jne 0x41904a
lea ecx, [esp + 0x90]
call fcn.00401ee4
push eax
mov dl, 0x30
lea ecx, [esp + 0x14]
call fcn.0040c5ed
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00401ef3
lea ecx, [esp + 0x10]
call fcn.00401ee9
mov ecx, esi
call fcn.0040245c
lea ecx, [esp + 0x90]
test eax, eax
je 0x41913e
call fcn.00401ee4
mov edx, eax
mov ecx, esi
call fcn.0041a27c
push str._alias_audio
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.00419bca
push eax
lea eax, [esp + 0x98]
mov edx, str.open__
push str.__type
push eax
lea ecx, [esp + 0x68]
call fcn.0040a8cc
pop ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00402ff4
pop ecx
mov edx, eax
lea ecx, [esp + 0x18]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00402ff4
pop ecx
lea ecx, [esp + 0x10]
call fcn.00401ee9
lea ecx, [esp + 0x40]
call fcn.00401ee9
lea ecx, [esp + 0x58]
call fcn.00401ee9
lea ecx, [esp + 0x70]
call fcn.00401ee9
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
push ebx
push ebx
call fcn.00401ee4
push eax
call dword [sym.imp.WINMM.dll_mciSendStringW]
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
push ebx
push ebx
push ebx
push str.play_audio
call esi
sub esp, 0x18
mov edi, 0x463050
mov ecx, esp
push edi
call fcn.00402073
mov ebp, 0x472890
push 0xa9
mov ecx, ebp
call fcn.00404a81
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [0x471a90], eax
jmp 0x419202
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41906e
sub esp, 0x18
mov ecx, esp
push 0x463050
call fcn.00402073
push 0xa8
mov ecx, 0x472890
call fcn.00404a81
jmp 0x41923e
cmp byte [0x471a8d], bl
je 0x41918d
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x471a8d], bl
cmp byte [0x471a8c], bl
je 0x4191a5
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x471a8c], bl
push ebx
push 0x14
lea eax, [esp + 0x18]
push eax
push str.status_audio_mode
call esi
lea eax, [esp + 0x10]
push str.stopped
push eax
call fcn.0043a300
pop ecx
pop ecx
test eax, eax
jne 0x4191d5
push dword [0x471a90]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push 0x1f4
push dword [0x471a90]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x4191fd
push dword [0x471a90]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebx
jmp 0x419134
mov eax, dword [0x471a90]
test eax, eax
jne 0x419175
push ebx
push ebx
push ebx
push str.stop_audio
call esi
push ebx
push ebx
push ebx
push str.close_audio
call esi
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402073
push 0xaa
mov ecx, ebp
call fcn.00404a81
lea ecx, [esp + 0x28]
call fcn.00401ee9
lea ecx, [esp + 0x90]
call fcn.00401ee9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x419ae9
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x419b11
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x41a01b
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
mov edi, ecx
push edi
push eax
call fcn.0043a796
lea eax, [ebp - 0x410]
push 0x46959c
push eax
call fcn.0043f414
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0043a796
lea eax, [ebp - 0x208]
push 0x4632a8
push eax
call fcn.0043f414
add esp, 0x20
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41a172
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0043a796
pop ecx
pop ecx
mov bl, 1
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x41a146
lea ecx, [ebp - 0x634]
call fcn.00419fed
test eax, eax
jne 0x41a153
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0043f414
test byte [ebp - 0x660], 0x10
pop ecx
pop ecx
je 0x41a103
lea ecx, [ebp - 0x208]
call fcn.0041a01b
test eax, eax
je 0x41a16b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x41a12f
test byte [ebp - 0x660], 1
je 0x41a11e
push 0x80
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x41a16b
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0043a796
pop ecx
pop ecx
jmp 0x41a153
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x12
jne 0x41a16b
xor bl, bl
test bl, bl
jne 0x41a09e
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x41a174
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a17b
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
xor ebx, ebx
mov ebp, ecx
push edi
mov edi, edx
sub eax, ebx
je 0x41a1a4
sub eax, 1
jne 0x41a19a
push 4
pop eax
mov ecx, eax
jmp 0x41a1ac
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
jmp 0x41a1ac
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a1cb
xor al, al
jmp 0x41a209
cmp dword [esp + 0x1c], 1
jne 0x41a1eb
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41a1eb
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x41a1c7
push ebx
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x41a200
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41a20f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor ebx, ebx
mov ebp, edx
push ebx
push 0x80
push 3
push ebx
push 3
push connect
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a239
xor al, al
jmp 0x41a277
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
mov ecx, ebp
push ebx
push esi
call fcn.0040242e
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
mov ecx, ebp
call fcn.00401f8b
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
pop esi
test eax, eax
je 0x41a26e
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41a29f
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a2c5
xor eax, eax
jmp 0x41a2d8
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop edi
pop esi
ret
Function at 0x41a76c
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x41a818
sub ecx, 1
je 0x41a80a
sub ecx, 1
je 0x41a7fc
sub ecx, 1
je 0x41a7c9
sub ecx, 1
jne 0x41a85a
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630c0
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0041215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630bc
jmp 0x41a846
push 1
sub esp, 0x18
mov ecx, esp
push 0x469318
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0041215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630c0
jmp 0x41a846
push 1
sub esp, 0x18
mov ecx, esp
push 0x469710
jmp 0x41a7d5
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630a8
jmp 0x41a7d5
push 1
sub esp, 0x18
mov ebx, 0x4630c0
mov ecx, esp
push ebx
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0041215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402073
push str.TileWallpaper
mov edx, esi
call fcn.0041215f
add esp, 0x20
push 3
push edi
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
ret

Function at 0x41aa4f
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc8
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.DLL_AllocConsole]
call dword [0x471ac8]
test bl, bl
mov dword [0x471acc], eax
pop ebx
jne 0x41aa7c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0043a9be
push eax
push 0x469a94
push str.CONOUT_
call fcn.0043f0f0
push 0xc8
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00434c30
lea eax, [ebp - 0x50]
push str.___________________________n
push eax
call fcn.0043f460
lea eax, [ebp - 0x50]
push str.__Remcos_v
push eax
call fcn.0043f460
lea eax, [ebp - 0x50]
push str.3.8.0_Pro
push eax
call fcn.0043f460
lea eax, [ebp - 0x50]
push str._n__BreakingSecurity.net_n
push eax
call fcn.0043f460
lea eax, [ebp - 0x50]
push str.___________________________n_n
push eax
call fcn.0043f460
add esp, 0x44
lea eax, [ebp - 0x50]
push eax
call fcn.0041928b
pop ecx
lea esp, [ebp + 0x78]
pop ebp
ret
Function at 0x40299c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4029cb
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ca8
jmp 0x4029e9
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402924
mov edi, eax
test ebx, ebx
je 0x4029e9
cmp dword [esi], 0
je 0x4029e9
dec ebx
jmp 0x4029d2
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402c54
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x4c4044], 0x8088405
inc edx
mov dword [0x4c4044], edx
mul edx
mov eax, edx
ret

Function at 0x402dac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402e44
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402e24
xor eax, eax
push ebp
push 0x402e1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402e60
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e24
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x405bbc
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405d78
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c1d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405d94
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405c8f
xor eax, eax
push ebp
push 0x405c88
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00405a14
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405c71
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405db4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c8f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405d70
cmp byte [ebp - 0xd], 0
jne 0x405cd1
cmp byte [ebp - 0x12], 0
je 0x405d70
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405cea
dec ebx
cmp byte [ebx], 0x2e
je 0x405cf9
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405ce9
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405d70
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405d26
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405d70
cmp byte [ebp - 0xd], 0
je 0x405d70
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405d70
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406340
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x40639c
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x40638e
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x406383
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x40637e
mov eax, 0x64
jmp 0x406393
call sub.kernel32.dll_GetLastError
call fcn.0040286c
xor eax, eax
jmp 0x40637e
mov eax, 0x67
jmp 0x406393

Function at 0x406488
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x4064b8
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x4064ae
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.0040287c
or eax, 0xffffffff
jmp 0x4064ac
mov eax, 0x67
call fcn.0040286c
or eax, 0xffffffff
jmp 0x4064ac

Function at 0x40932c
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404004
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x409340
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404004
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409362
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40af24
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40af5d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ca8
jmp 0x40af66
mov eax, ebx
mov edx, esi
call fcn.00403c14
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40af70
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40af91
mov al, byte [esp]
jmp 0x40af93
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x417008
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41700e
ret
Function at 0x41984c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41989d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x419884
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x419874
jmp 0x41989d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x419885
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42beec
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42bf40
mov eax, dword [0x4c3254]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42bf18
push ebx
push 0x42bf48
call fcn.00447078
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42bf3c
mov ecx, dword [0x4c2fe0]
mov dl, 1
mov eax, dword [0x40813c]
call fcn.0040b780
call fcn.00403690
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42bf68
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.0042beec
xor edx, edx
push ebp
push 0x42c03a
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 0x42c00c
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 0x42bffb
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004028e4
mov eax, dword [ebp - 4]
call fcn.0042bea4
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 0x42c002
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x42c04c
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, dword [ebp - 4]
call fcn.0042beec
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c0be
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42c092
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403d78
jmp 0x42c099
mov eax, ebx
call fcn.00403bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c0c5
cmp dword [ebp - 8], 0
je 0x42c0b5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042bec0
ret
Function at 0x42c0f4
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.0042beec
xor edx, edx
push ebp
push 0x42c196
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42c169
mov edx, ebx
mov eax, dword [0x416a3c]
call fcn.0041b2bc
test al, al
je 0x42c159
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.0041b1cc
call fcn.00403730
jmp 0x42c19d
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42c124
mov ecx, dword [0x4c3050]
mov dl, 1
mov eax, dword [0x40813c]
call fcn.0040b780
call fcn.00403690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c19d
mov eax, dword [ebp - 4]
call fcn.0042bec0
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42c1a4
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.0042beec
xor eax, eax
push ebp
push 0x42c1fc
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c203
mov eax, dword [ebp - 4]
call fcn.0042bec0
ret

Function at 0x42c20c
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.0042beec
xor edx, edx
push ebp
push 0x42c261
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c268
mov eax, dword [ebp - 4]
call fcn.0042bec0
ret

Function at 0x42c2d8
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.0042beec
xor eax, eax
push ebp
push 0x42c34d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042bea4
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.0041b290
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 0x42c337
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 0x42c354
mov eax, dword [ebp - 4]
call fcn.0042bec0
ret