joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ee99
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push edi
push 2
mov edi, eax
lea edx, [eax + 2]
pop ebx
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x47eeac
sub eax, edx
sar eax, 1
push esi
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004498c2
lea ecx, [esi + esi + 2]
push ecx
push 0
push eax
mov dword [ebp - 8], eax
call fcn.0044d300
movzx ecx, word [edi]
add esp, 0x10
mov eax, edi
test cx, cx
je 0x47ef03
movzx ecx, cx
cmp cx, 0x20
je 0x47ef03
add eax, ebx
movzx ecx, word [eax]
test cx, cx
jne 0x47eef3
sub eax, edi
sar eax, 1
push eax
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.0044a427
add esp, 0xc
push 0x10
pop esi
call fcn.0047b8e9
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x47ef7a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x47ef3a
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
xor ebx, ebx
inc ebx
push ebx
push 0
push 0x491400
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x47ef71
push edi
call fcn.0044a3fd
pop ecx
pop edi
mov al, bl
pop ebx
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x47ef64

Function at 0x47f289
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push eax
push 0x47f21e
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esi, eax
push 0x3a98
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
ret

Function at 0x47ffc6
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
push esi
push edi
mov ecx, 0x49c4ec
lea esi, [ebp - 0x80]
call fcn.00401411
xor esi, esi
push 0x228
lea eax, [ebp - 0x78]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.0044d300
add esp, 0xc
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x48003a
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.004027bb
mov ecx, dword [ebp + 0x1b0]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004498d8
add ebp, 0x1b4
leave
ret
lea eax, [ebp - 0x7c]
push eax
push edi
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
jmp 0x480062
mov eax, dword [ebp + 0x1bc]
cmp eax, dword [ebp - 0x74]
je 0x48006f
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x48004d
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x480016
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [ebp - 0x64]
jmp 0x480016
Function at 0x48007b
Capabilities:
Enumerate processes

Disassembly:
push 0x234
mov eax, 0x481734
call fcn.0044db5f
mov ecx, 0x49c4ec
lea esi, [ebp - 0x240]
call fcn.00401411
xor edi, edi
push 0x228
lea eax, [ebp - 0x238]
push edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x23c], edi
call fcn.0044d300
add esp, 0xc
push edi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4800df
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
call fcn.004027bb
mov eax, edi
call fcn.0044dbe2
ret
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
jmp 0x480110
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x234]
je 0x48011d
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4800f8
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4800c9
lea eax, [ebp - 0x218]
push eax
push 0x490bd8
push ebx
call fcn.00404880
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor edi, edi
inc edi
jmp 0x4800c9

Function at 0x48013e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x10
pop esi
mov edi, eax
call fcn.0047b8e9
xor ebx, ebx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x480174
xor eax, eax
inc eax
jmp 0x4801c0
cmp dword [edi + 0x18], 8
mov eax, dword [edi + 0x14]
jb 0x480182
mov ecx, dword [edi + 4]
jmp 0x480185
lea ecx, [edi + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add eax, eax
push eax
push ecx
push 1
push ebx
push str.path
push dword [ebp - 4]
call esi
cmp dword [edi + 0x34], 8
mov eax, dword [edi + 0x30]
jb 0x4801aa
mov edi, dword [edi + 0x20]
jmp 0x4801ad
add edi, 0x20
add eax, eax
push eax
push edi
push 1
push ebx
push 0x490c38
push dword [ebp - 4]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4801c5
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
push edi
push 0x10
pop esi
mov dword [ebp - 0x80], eax
call fcn.0047b8e9
lea ecx, [ebp - 0x78]
push ecx
push 0x20019
xor esi, esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48025b
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp ebx, esi
je 0x4802b6
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
call fcn.0044d300
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push esi
push 0x490bf8
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x208
call edi
test eax, eax
je 0x480277
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.004498d8
add ebp, 0x198
leave
ret 8
lea eax, [ebp - 0x74]
push eax
push 0x104
push ebx
call fcn.0044a38e
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x480299
mov word [ebx], ax
jmp 0x480252
push 0x490c04
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x480252
cmp dword [ebp - 0x80], esi
je 0x4802e2
mov eax, dword [ebp + 0x1a4]
cmp eax, esi
je 0x4802e2
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
push esi
push esi
push 0x490c1c
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x4802e2
xor esi, esi
inc esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x48025e
Function at 0x48049e
Capabilities:
Encode data using xor
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push 0x40c
mov eax, 0x48166e
call fcn.0044daf6
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileSize]
xor ebx, ebx
push ebx
push ebx
call esi
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
push ebx
push eax
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402e75
push ebx
lea eax, [ebp - 0x18]
push eax
push edi
push edi
lea esi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00402710
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.00402ee6
xor eax, eax
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x480524
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x480526
shr ecx, 1
dec edx
jne 0x480515
mov dword [ebp + eax*4 - 0x418], ecx
inc eax
cmp eax, 0x100
jl 0x480510
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov ecx, edi
cmp edi, ebx
je 0x480561
movzx edi, byte [eax]
mov edx, esi
and edx, 0xff
xor edx, edi
shr esi, 8
xor esi, dword [ebp + edx*4 - 0x418]
dec ecx
inc eax
cmp ecx, ebx
jne 0x480544
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027bb
mov eax, esi
not eax
call fcn.0044dbce
ret
Function at 0x402a24
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004046b4
test esi, esi
jne 0x402a5a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004047a4
jmp 0x402a78
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402938
mov edi, eax
test esi, esi
je 0x402a78
cmp dword [ebx], 0
je 0x402a78
dec esi
jmp 0x402a61
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4037dc
Capabilities:
Query or enumerate registry value

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

Function at 0x404538
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49a048], 0
je 0x404599
cmp word [0x49a21c], 0xd7b2
jne 0x404561
cmp dword [0x49a224], 0
jbe 0x404561
mov eax, 0x49a218
call dword [0x49a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x496070
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 0x4045c0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x496030], 0
jne 0x4045b5
push 0
push 0x496068
push 0x496070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406264
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 0x4062ca
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.00404924
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403244
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062b4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062d1
lea eax, [ebp - 0x10]
call fcn.004046b4
ret

Function at 0x40b950
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 0x40b989
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047a4
jmp 0x40b992
mov eax, ebx
mov edx, esi
call fcn.00404708
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c044
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bebc
mov eax, dword [0x499378]
cmp byte [eax], 0
je 0x40c0c0
mov eax, dword [0x499098]
call fcn.00402e78
call fcn.00402864
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408f28
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c108
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c0f6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x499024]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x49a664]
call fcn.00405778
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c980
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 0x40ca56
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040474c
lea eax, [ebp - 8]
call fcn.00404bc4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b74
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ca40
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ca39
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.00404b74
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ca23
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ca68
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ca23
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 0x40ca40
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca5d
lea eax, [ebp - 8]
call fcn.004046b4
ret

Function at 0x40cfd4
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 0x40d038
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.00404924
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004089c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d03f
lea eax, [ebp - 0xc]
call fcn.004046b4
ret

Function at 0x41b5e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49a884
cmp dword [edi], 0
jne 0x41b664
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49a880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x496470
mov ecx, 2
call fcn.004028f8
mov edx, 0x41b5c0
lea eax, [esi + 5]
call fcn.0041b5e0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b5e0
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 0x41b639
mov dword [0x49a880], 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 0x41cc38
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 0x41cc3e
ret
Function at 0x41f5d8
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 0x41f629
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41f610
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41f600
jmp 0x41f629
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 0x41f611
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aec4
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 0x42af36
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42af0a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.004048ac
jmp 0x42af11
mov eax, ebx
call fcn.004046b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42af3d
cmp dword [ebp - 8], 0
je 0x42af2d
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 0x42af44
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 0x42afe6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42afb9
mov edx, ebx
mov eax, dword [0x41c6fc]
call fcn.00420e38
test al, al
je 0x42afa9
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.00420d48
call fcn.0040419c
jmp 0x42afed
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42af74
mov ecx, dword [0x499014]
mov dl, 1
mov eax, dword [0x4076c8]
call fcn.0040c1ec
call fcn.004040f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42afed
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 0x42aff4
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 0x42b04c
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 0x42b053
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x42b05c
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 0x42b0b1
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 0x42b0b8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42b128
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 0x42b19d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042ae00
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.00420e0c
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 0x42b187
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 0x42b1a4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42b1ac
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 0x42b221
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042ae00
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 0x42b20b
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 0x42b228
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x438884
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4387d0
call sub.user32.dll_EnumWindows
ret