joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4794a8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4794e0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004774f6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004774ce
jmp 0x4794ec
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47ad20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47ad62
call fcn.0048123e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47ad62
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47ad59
xor eax, eax
jmp 0x47ad6a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047ad70
pop edi
pop esi
pop ebx
ret 4

Function at 0x48176e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48179c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4817ba
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004816d4
jmp 0x4817ba
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4817ba
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004816d4
test edi, edi
mov eax, edi
jne 0x4817a4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x483fdf
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x484007
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x484018
push 2
call edi
test ax, ax
jge 0x484018
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00478add
cmp dword [esi + 0x30], ebx
jne 0x4840f2
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00478add
cmp eax, dword [esp + 0x34]
jne 0x4840f2
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x48408e
push 1
push pe_nt_image_headers32
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4840d3
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4840f2
cmp eax, 0x205
je 0x4840f2
cmp eax, 0x201
je 0x4840f2
cmp eax, 0x204
je 0x4840f2
cmp eax, ebx
jne 0x4840b9
cmp dword [esp + 0x1c], 0x1b
je 0x4840f2
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x4cc044]
jbe 0x4840e8
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x48404b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x56e030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd2000]
push edi
or ebp, 0xffffffff
jmp 0x56e052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56e059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56e048
mov eax, 1
add ebx, ebx
jne 0x56e06b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56e07c
jne 0x56e09b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56e09b
dec eax
add ebx, ebx
jne 0x56e088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56e060
add ebx, ebx
jne 0x56e097
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56e0ed
xor ecx, ecx
sub eax, 3
jb 0x56e0b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56e122
sar eax, 1
mov ebp, eax
jmp 0x56e0be
add ebx, ebx
jne 0x56e0be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56e08c
inc ecx
add ebx, ebx
jne 0x56e0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56e08c
add ebx, ebx
jne 0x56e0d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56e0ce
jne 0x56e0ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56e0ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56e10c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56e0fe
jmp 0x56e04e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56e10c
add edi, ecx
jmp 0x56e04e
pop esi
mov edi, esi
mov ecx, 0x3828
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56e12a
cmp byte [edi], 0x24
jne 0x56e12a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x56e12f
lea edi, [esi + 0x16b000]
mov eax, dword [edi]
or eax, eax
je 0x56e1a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x172db4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x172ecc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56e15c
mov ecx, edi
jns 0x56e18b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x172ed0]
or eax, eax
je 0x56e1a1
mov dword [ebx], eax
add ebx, 4
jmp 0x56e179
call dword [esi + 0x172ed8]
mov ebp, dword [esi + 0x172ed4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x56e1db
sub esp, 0xffffff80
jmp 0x46edae

Function at 0x43cf66
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43ccda
call fcn.0043cf87
and edx, esi
xor dword [eax], ebx
mov edx, edx
inc eax
or esi, esi
and edx, edx
cmp eax, edi
jne fcn.0043cf66
sub edx, 0x9b43b5d2
inc edx
ret
Function at 0x40294c
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 0x40297b
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.00403d48
jmp 0x402999
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004028d4
mov edi, eax
test ebx, ebx
je 0x402999
cmp dword [esi], 0
je 0x402999
dec ebx
jmp 0x402982
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x402d60
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 0x402df8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402dd8
xor eax, eax
push ebp
push 0x402dd1
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 0x402e14
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 0x402dd8
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 0x403c14
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040272c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x529049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403bdc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405754
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 0x405910
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4057b5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40592c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405827
xor eax, eax
push ebp
push 0x405820
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.004055ac
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405809
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40594c
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 0x405827
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 0x405908
cmp byte [ebp - 0xd], 0
jne 0x405869
cmp byte [ebp - 0x12], 0
je 0x405908
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405882
dec ebx
cmp byte [ebx], 0x2e
je 0x405891
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405881
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405908
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4058be
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 0x405908
cmp byte [ebp - 0xd], 0
je 0x405908
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 0x405908
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 0x405f28
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x405f58
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x405f4e
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.0040282c
or eax, 0xffffffff
jmp 0x405f4c
mov eax, 0x67
call fcn.0040281c
or eax, 0xffffffff
jmp 0x405f4c
Function at 0x405f68
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
mov ecx, dword [ebx + 4]
sub ecx, 0xd7b1
je 0x405f7b
sub ecx, 2
jne 0x405fa4
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_ReadFile
pop edx
dec eax
jne 0x405f98
cmp edx, dword [ebx + 8]
jne 0x405fab
pop ebx
ret
call sub.kernel32.dll_GetLastError
call fcn.0040281c
jmp 0x405f96
mov eax, 0x67
jmp 0x405f9d
mov eax, 0x64
jmp 0x405f9d

Function at 0x406170
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x4061ab
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x40619f
cmp edx, dword [ebx + 8]
jne 0x4061b2
mov eax, ebx
pop ebx
ret
call sub.kernel32.dll_GetLastError
call fcn.0040281c
jmp 0x40619b
mov eax, 5
jmp 0x4061a4
mov eax, 0x65
jmp 0x4061a4

Function at 0x40b6ac
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 0x40b6e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d48
jmp 0x40b6ee
mov eax, ebx
mov edx, esi
call fcn.00403cb4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x4187d8
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4187e8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4187fd
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x41a80c
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 0x41a812
ret

Function at 0x41cef8
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 0x41cf49
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41cf30
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41cf20
jmp 0x41cf49
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 0x41cf31
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c178
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42c1cc
mov eax, dword [0x528430]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42c1a4
push ebx
push 0x42c1d4
call fcn.00447354
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 0x42c1c8
mov ecx, dword [0x527f9c]
mov dl, 1
mov eax, dword [0x407d08]
call fcn.0040befc
call fcn.00403690
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42c1f4
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.0042c178
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c266
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42c23a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403e18
jmp 0x42c241
mov eax, ebx
call fcn.00403c60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c26d
cmp dword [ebp - 8], 0
je 0x42c25d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042c14c
ret

Function at 0x42c274
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.0042c178
xor edx, edx
push ebp
push 0x42c316
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42c2e9
mov edx, ebx
mov eax, dword [0x41a2e0]
call fcn.0041eb0c
test al, al
je 0x42c2d9
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.0041ea1c
call fcn.00403730
jmp 0x42c31d
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42c2a4
mov ecx, dword [0x528080]
mov dl, 1
mov eax, dword [0x407d08]
call fcn.0040befc
call fcn.00403690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c31d
mov eax, dword [ebp - 4]
call fcn.0042c14c
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42c324
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.0042c178
xor eax, eax
push ebp
push 0x42c37c
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 0x42c383
mov eax, dword [ebp - 4]
call fcn.0042c14c
ret
Function at 0x42c38c
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.0042c178
xor edx, edx
push ebp
push 0x42c3e1
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 0x42c3e8
mov eax, dword [ebp - 4]
call fcn.0042c14c
ret

Function at 0x42c458
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.0042c178
xor eax, eax
push ebp
push 0x42c4cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042c130
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.0041eae0
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 0x42c4b7
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 0x42c4d4
mov eax, dword [ebp - 4]
call fcn.0042c14c
ret

Function at 0x42c4dc
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.0042c178
xor eax, eax
push ebp
push 0x42c551
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042c130
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 + 0x5c]
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 0x42c53b
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 0x42c558
mov eax, dword [ebp - 4]
call fcn.0042c14c
ret

Function at 0x42c5ac
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.0042c178
xor eax, eax
push ebp
push 0x42c5f0
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 0x42c5f7
mov eax, dword [ebp - 4]
call fcn.0042c14c
ret
Function at 0x42f468
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x529788], 0
sete dl
or al, dl
jne 0x42f5a8
mov eax, dword [0x52978c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x529788]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42f577
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x529788]
call fcn.004115bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f56f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42f56f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42f56f
mov eax, dword [ebp - 0x14]
call fcn.00437844
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f56f
push ebp
call fcn.0042f424
pop ecx
test al, al
jne 0x42f56f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42f52b
mov eax, dword [ebp - 0x14]
call fcn.004361d0
dec eax
jle 0x42f56f
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.004030d4
cmp byte [ebp - 1], 0
je 0x42f56f
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f56f
mov edx, dword [ebp - 0x14]
mov eax, dword [0x52978c]
call fcn.0042ec70
inc edi
dec esi
jne 0x42f4be
mov eax, dword [0x52978c]
cmp dword [eax + 8], 0
jle 0x42f58f
mov eax, dword [0x52978c]
call fcn.0042ed00
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f5a8
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f28c
pop ecx
test al, al
jne 0x42f5a8
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret