joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x11a4
call fcn.004013c0
push ebx
push ebp
push esi
push edi
mov ecx, 0x10
mov esi, str.softwaremicrosoftwindowscurrentversion_app_paths_
lea edi, [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x30]
push str.winzip32.exe
push eax
mov dword [esp + 0x30], str.wzcl32.dll
mov dword [esp + 0x34], str.wzcline.dll
mov dword [esp + 0x20], str.12345678.123
mov dword [esp + 0x24], 0
movsw word es:[edi], word [esi]
call ebp
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401091
push 0x4030e0
push 0xea6a
push 0x65
call fcn.00401250
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11a4
ret
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1b4]
push eax
push ecx
push 0
push 0
push 0x4030e4
push edx
mov dword [esp + 0x2c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4010e8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4030e8
push 0xea6a
push 0x6a
call fcn.00401250
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11a4
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x401116
push 0x4030ec
push 0xea6a
push 0x6d
call fcn.00401250
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11a4
ret
lea edx, [esp + 0x74]
lea eax, [esp + 0x1b4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x40114d
push 0x4030f0
push 0xea6a
push 0x70
call fcn.00401250
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11a4
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1b4]
lea edx, [esp + 0x1b4]
push ecx
push edx
call fcn.00401360
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 8
xor esi, esi
lea eax, [esp + 0x1b4]
lea ecx, [esp + 0x9b4]
push eax
push ecx
call edi
mov edx, dword [esp + esi + 0x28]
lea eax, [esp + 0x9b4]
push edx
push eax
call ebp
lea ecx, [esp + 0x9b4]
push ecx
call ebx
test eax, eax
mov dword [esp + esi + 0x20], eax
je 0x4011ed
add esi, 4
cmp esi, 8
jl 0x40117a
mov eax, dword [esp + 0x24]
push str.wzmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x40120f
push str.wzcline.dll
push 0xea60
push 0x81
call fcn.00401250
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11a4
ret
lea edx, [esp + 0x9b4]
push edx
push 0xea60
push 0x7b
call fcn.00401250
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11a4
ret
mov ecx, dword [esp + 0x18]
push str.wzunzip
push ecx
call edi
lea edx, [esp + 0x18]
push edx
push 1
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
add esp, 8
mov ebp, eax
lea esi, [esp + 0x20]
mov edi, 2
mov eax, dword [esi]
push eax
call ebx
add esi, 4
dec edi
jne 0x401238
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x11a4
ret
Function at 0x4013a0
Capabilities:
Terminate process

Disassembly:
push 0
push 0
call fcn.00401000
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0xf27b34
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf27b3e
pushal
call 0xf27b44
pop ebp
sub ebp, 0x10
sub ebp, 0xb27b34
jmp 0xf27b5a
mov eax, 0xb27b34
add eax, ebp
add eax, 0x4c
mov ecx, 0x580
mov edx, 0xb38045b4
xor byte [eax], dl
inc eax
dec ecx
jne 0xf27b71
jmp 0xf27b84
aas
jns 0xf27bc6
cmp eax, 0xb4b4b488
xor eax, 0xb4b44c75
mov ah, 0xb7
jns 0xf27ba1
mov cl, 0xb4
mov ah, 0xb4
push cs
pushfd
mov ah, 0xb4
mov ah, 0x43
inc ebx
push esi
mov bh, 0x7c
aas
jl 0xf27be2
xor eax, 0xb4b4b4b8
mov bh, 0x71
in al, 0xe4
fdivr st(0), st(0)
arpl word [ebx + 0x1744dcb4], bp
mov ah, 0xb5
cwde
nop
fcom qword [eax]
jne 0xf27b9e
sahf
pop esp
mov cl, 0xb4
mov ah, 0xb4
pop ebp
pushfd
mov ah, 0xb4
mov ah, 0xe1
aas
mov ah, 0xb4
loope 0xf27c09
pop eax
aas
xor dword [esp + esi*4 + 0x213fb4b4], edi
mov eax, 0x3fb4b4b4
cmp dword [esp + esi*4 + 0x5d75b4b4], esp
mov dh, 0x85
mov dh, 0x37
aaa
jbe 0xf27b95
std
mov ebx, 0x4b4b4031
dec ebx
jmp 0x40a73467
mov ah, 0x5d
mov esi, dword [esi - 0x1f1e4b4c]
jmp 0x4cab3d61

Function at 0x101b5b83
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 8]
je 0x100f4a8e
pushfd
bt bx, dx
test cl, ch
test ax, 0xa0e0
sub al, 0x30
pushfd
clc
cmp al, 9
pushfd
call fcn.100f65b9
jmp 0x100f662f
Function at 0x403504
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e5020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40359c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40357c
xor eax, eax
push ebp
push 0x403575
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 0x4035b8
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 0x40357c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4e5020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e5020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4043c0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f404c], 0
je 0x404421
cmp word [0x4f4220], 0xd7b2
jne 0x4043e9
cmp dword [0x4f4228], 0
jbe 0x4043e9
mov eax, 0x4f421c
call dword [0x4f4238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4e506c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404448
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e5030], 0
jne 0x40443d
push 0
push 0x4e5064
push 0x4e506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4068e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406946
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004047b4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030c8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406930
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40694d
lea eax, [ebp - 0x10]
call fcn.00404544
ret

Function at 0x40c9c4
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 0x40c9fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404634
jmp 0x40ca06
mov eax, ebx
mov edx, esi
call fcn.00404598
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ca10
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 0x40ca31
mov al, byte [esp]
jmp 0x40ca33
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40da54
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40db2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045dc
lea eax, [ebp - 8]
call fcn.00404a54
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a04
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40db14
mov eax, ebx
call fcn.00402b4c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40db0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a04
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40daf7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40db3c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40daf7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db14
mov eax, dword [ebp - 0x10]
call fcn.00402b7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db31
lea eax, [ebp - 8]
call fcn.00404544
ret
Function at 0x40e110
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e174
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047b4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004094d8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e17b
lea eax, [ebp - 0xc]
call fcn.00404544
ret

Function at 0x40e96c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov eax, dword [0x4f33e0]
cmp dword [eax], 0
je 0x40e9a2
push 0xa
push 0x40e9f8
mov eax, dword [0x4f33e0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x4f33e0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
jmp 0x40e9ee
xor eax, eax
mov dword [esp], eax
mov eax, dword [0x4f374c]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x40e9ee
mov ebx, dword [esp + 4]
push 0xa
push 0x40e9f8
mov esi, dword [ebx + 4]
push esi
call sub.kernel32.dll_FindResourceA
push eax
push esi
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
cmp dword [esp], 0
jne 0x40e9ee
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x40e9b9
mov eax, dword [esp]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4274b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f4888
cmp dword [edi], 0
jne 0x427534
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f4884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e564c
mov ecx, 2
call fcn.00402d6c
mov edx, 0x427490
lea eax, [esi + 5]
call fcn.004274b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004274b0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x427509
mov dword [0x4f4884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x428af0
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 0x428af6
ret
Function at 0x42b298
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 0x42b2e9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42b2d0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42b2c0
jmp 0x42b2e9
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 0x42b2d1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4351dc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049f4
xor eax, eax
push ebp
push 0x43530a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4352dd
xor eax, eax
push ebp
push 0x4352d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404804
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4352ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x43529a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404804
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404a04
mov edx, ebx
pop ecx
call fcn.00402d6c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4352a1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4f3274]
mov dl, 1
mov eax, dword [0x407ee0]
call fcn.0040d270
call fcn.00403f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435311
lea eax, [ebp - 4]
call fcn.00404544
ret
Function at 0x435318
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4354c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404bf4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4354e0
call fcn.00404850
mov eax, ebx
call fcn.00426a4c
mov edi, eax
dec edi
test edi, edi
jl 0x4353d0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00426a20
mov edx, dword [0x443664]
call fcn.00403830
test al, al
je 0x4353cc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00426a20
lea edx, [ebp - 0x14]
call fcn.0045225c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404bf4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004048c4
inc esi
dec edi
jne 0x43537e
mov al, byte [0x4354e4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4354f0
mov eax, dword [ebp - 0xc]
call fcn.0040e6ec
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004045dc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0045225c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4354e0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0045225c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4354e0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4354e0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4354fc
call fcn.0040a0e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4354d0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404568
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404568
lea eax, [ebp - 0x14]
call fcn.00404544
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404568
ret
Function at 0x43a10c
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43a1de
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 0x43a1b0
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 0x43a19f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402d6c
mov eax, dword [ebp - 4]
call fcn.0043a048
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 0x43a1a6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x43a1f0
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]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43a262
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x43a236
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0040473c
jmp 0x43a23d
mov eax, ebx
call fcn.00404544
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a269
cmp dword [ebp - 8], 0
je 0x43a259
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43a298
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43a33a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43a30d
mov edx, ebx
mov eax, dword [0x4285b4]
call fcn.0042caa0
test al, al
je 0x43a2fd
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.0042c9b0
call fcn.00403fe8
jmp 0x43a341
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43a2c8
mov ecx, dword [0x4f3318]
mov dl, 1
mov eax, dword [0x407ee0]
call fcn.0040d270
call fcn.00403f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a341
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43a348
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43a3a0
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 0x43a3a7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43a3b0
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43a405
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 0x43a40c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43a47c
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43a4f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043a048
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.0042ca74
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 0x43a4db
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 0x43a4f8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43a500
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43a575
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043a048
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 0x43a55f
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 0x43a57c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret