joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7bfc
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
cmp dword [ebp - 8], 0
jne 0x4c7c27
mov ecx, 0x321
mov edx, 0x4c7e08
mov eax, 0x4c7e30
call fcn.00404f58
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c7b84
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
mov eax, pe_nt_image_headers32
call fcn.00403608
mov byte [ebp - 9], al
movzx esi, word [ebx + 0xc]
and si, 0xffff
or si, 2
movzx eax, si
xor si, 1
movzx edx, si
imul edx
shr eax, 8
mov esi, eax
movzx edx, byte [ebp - 9]
mov eax, dword [ebx + 4]
call fcn.0044a0d4
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
and eax, 0xff
add dword [ebx + 8], eax
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx + 8]
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.0044a0d4
mov dword [ebx + 0xc], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x4c7c3b
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c7b84
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
movzx esi, word [ebx + 0xc]
and si, 0xffff
or si, 2
movzx eax, si
xor si, 1
movzx edx, si
imul edx
shr eax, 8
mov esi, eax
movzx edx, byte [edi]
mov eax, dword [ebx + 4]
call fcn.0044a0d4
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
and eax, 0xff
add dword [ebx + 8], eax
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx + 8]
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.0044a0d4
mov dword [ebx + 0xc], eax
mov eax, esi
xor byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x4c7cbd
movzx eax, byte [ebp + 0xa]
mov byte [ebp - 9], al
movzx esi, word [ebx + 0xc]
and si, 0xffff
or si, 2
movzx eax, si
xor si, 1
movzx edx, si
imul edx
shr eax, 8
mov esi, eax
movzx edx, byte [ebp - 9]
mov eax, dword [ebx + 4]
call fcn.0044a0d4
mov edi, eax
mov dword [ebx + 4], edi
and edi, 0xff
add dword [ebx + 8], edi
imul edi, dword [ebx + 8], 0x8088405
inc edi
mov dword [ebx + 8], edi
mov edx, edi
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.0044a0d4
mov dword [ebx + 0xc], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp + 0xb]
mov byte [ebp - 9], al
movzx esi, word [ebx + 0xc]
and si, 0xffff
or si, 2
movzx eax, si
xor si, 1
movzx edx, si
imul edx
shr eax, 8
mov esi, eax
movzx edx, byte [ebp - 9]
mov eax, dword [ebx + 4]
call fcn.0044a0d4
mov edi, eax
mov dword [ebx + 4], edi
and edi, 0xff
add dword [ebx + 8], edi
imul edi, dword [ebx + 8], 0x8088405
inc edi
mov dword [ebx + 8], edi
mov edx, edi
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.0044a0d4
mov dword [ebx + 0xc], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x11], al
mov byte [ebx + 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c7e6c
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov esi, edx
mov edi, ecx
dec edi
test edi, edi
jl 0x4c7efe
inc edi
movzx eax, word [ebp - 0xc]
and ax, 0xffff
or ax, 2
movzx ebx, byte [esi]
movzx edx, ax
xor ax, 1
movzx eax, ax
imul edx, eax
shr edx, 8
xor dl, bl
mov byte [ebp - 5], dl
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0044a0d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 0xff
add dword [ebp - 0x10], eax
imul ebx, dword [ebp - 0x10], 0x8088405
inc ebx
mov dword [ebp - 0x10], ebx
mov edx, ebx
shr edx, 0x18
mov eax, dword [ebp - 0xc]
call fcn.0044a0d4
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 5]
mov byte [esi], al
inc esi
dec edi
jne 0x4c7e9d
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca854
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004bb3cc
mov ebx, eax
mov eax, ebx
call fcn.00488ed0
mov byte [ebp - 0x11], al
mov eax, ebx
call fcn.00488ea0
mov byte [ebp - 0x12], al
mov eax, ebx
call fcn.00488e70
mov byte [ebp - 0x13], al
cmp byte [ebp - 0x11], 0
jne 0x4ca8a4
cmp byte [ebp - 0x12], 0
jne 0x4ca8a4
cmp byte [ebp - 0x13], 0
jne 0x4ca8a4
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4ca9ad
mov eax, ebx
call fcn.00488e04
mov byte [ebp - 0x14], al
mov eax, ebx
call fcn.00488dcc
mov ebx, eax
mov dl, 1
mov eax, dword [0x438d4c]
call fcn.00403fdc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4ca9a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, 1
call fcn.004a7fe8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ca96d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004aac10
mov esi, eax
dec esi
test esi, esi
jl 0x4ca957
inc esi
xor edi, edi
push ebp
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
push ebx
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.004aac18
movzx ecx, byte [ebp - 0x12]
movzx edx, byte [ebp - 0x11]
call fcn.004ca7bc
pop ecx
test al, al
je 0x4ca953
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.004aac18
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_SuspendThread
cmp eax, 0xffffffff
je 0x4ca953
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.004aac18
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043b4e4
inc edi
dec esi
jne 0x4ca8fe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca974
lea eax, [ebp - 0xc]
call fcn.0040f894
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ca9b8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test eax, eax
je 0x4caa12
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4caa0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4ca9f5
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0043b644
push eax
call sub.kernel32.dll_ResumeThread
inc esi
dec ebx
jne 0x4ca9e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caa12
lea eax, [ebp - 4]
call fcn.0040f894
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4d3b90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
push 0
push 0
push 0xe
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
inc edi
mov eax, esi
mov edx, edi
call fcn.00405794
mov eax, esi
call fcn.00405564
mov edx, 1
dec edx
test eax, eax
je 0x4d3bdd
cmp edx, dword [eax - 4]
jb 0x4d3be2
call fcn.00403edc
inc edx
lea eax, [eax + edx - 1]
push eax
push edi
push 0xd
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov edx, eax
mov eax, esi
call fcn.00405794
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4d41b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
movzx eax, byte [ebp - 0xe5]
and al, 0x80
cmp al, 0x80
sete al
mov esp, ebp
pop ebp
ret
Function at 0x4ddf6c
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x4ddf8a
mov byte [ebp - 5], 1
jmp 0x4de062
mov byte [ebp - 5], 0
mov esi, dword [ebp - 4]
cmp esi, 0x10000
jb 0x4de062
cmp esi, ebx
jb 0x4de062
mov eax, esi
sub eax, ebx
cmp eax, 0x7ffffffe
jge 0x4de062
mov edx, esi
sub edx, ebx
inc edx
mov eax, ebx
call fcn.0040eaa8
test al, al
je 0x4de062
xor eax, eax
push ebp
push 0x4de058
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4de042
lea ecx, [ebp - 0x58]
xor edx, edx
mov eax, ebx
call fcn.00414210
cmp byte [ebp - 0x4f], 0
je 0x4ddfef
cmp ebx, dword [ebp - 0x54]
jne 0x4ddff9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4de062
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
cmp esi, 0xcc
je 0x4de038
cmp esi, 0xc2
je 0x4de038
cmp esi, 0xc3
je 0x4de038
cmp byte [ebp - 0x35], 0
je 0x4de042
mov edi, dword [ebp - 0x48]
cmp edi, 0xe9
je 0x4de038
cmp edi, 0xe8
je 0x4de038
cmp edi, 0xff
jne 0x4de042
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4de062
mov eax, dword [ebp - 4]
dec eax
cmp eax, ebx
ja 0x4ddfd8
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4de062
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f6e90
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.004054fc
xor eax, eax
push ebp
push 0x4f6fc5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4f6f98
xor edx, edx
push ebp
push 0x4f6f91
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x4f6edd
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f6f66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4f6f55
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4f6f1c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040550c
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403348
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 0x4f6f5c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x581d8c]
mov dl, 1
mov eax, dword [0x426ea4]
call fcn.0042c7d4
call fcn.00404984
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6fcc
lea eax, [ebp - 4]
call fcn.0040502c
ret
Function at 0x4f6fd4
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f718f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004057f8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4f71a8
call fcn.00405358
mov eax, ebx
call fcn.004454ec
mov edi, eax
dec edi
test edi, edi
jl 0x4f708c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004454c0
mov edx, dword [0x4e7e40]
call fcn.00404198
test al, al
je 0x4f7088
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.004454c0
lea edx, [ebp - 0x14]
call fcn.00517dc0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004057f8
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004053cc
inc esi
dec edi
jne 0x4f703a
movzx eax, byte [0x4f71ac]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4f71b8
mov eax, dword [ebp - 8]
call fcn.0042dc60
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004050c4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00517dc0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4f71a8
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00517dc0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4f71a8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4f71a8
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4f71c4
call fcn.00429a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7196
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405050
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405050
lea eax, [ebp - 0x14]
call fcn.0040502c
lea eax, [ebp - 0x10]
call fcn.0040502c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405050
ret
Function at 0x4f7d24
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 0x4f7d96
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4f7d6a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00405224
jmp 0x4f7d71
mov eax, ebx
call fcn.0040502c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7d9d
cmp dword [ebp - 8], 0
je 0x4f7d8d
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 0x4f7da4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], 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 0x4f7e4c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4f7e1f
mov edx, ebx
mov eax, dword [0x491da8]
call fcn.00496450
test al, al
je 0x4f7e0f
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00496360
call fcn.00404a30
jmp 0x4f7e53
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4f7dd7
mov ecx, dword [0x581e5c]
mov dl, 1
mov eax, dword [0x426ea4]
call fcn.0042c7d4
call fcn.00404984
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7e53
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4f7e5c
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 0x4f7eb4
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 0x4f7ebb
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4f7ec4
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 0x4f7f19
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 0x4f7f20
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f7f90
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 0x4f8005
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f7c60
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.00496424
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 0x4f7fef
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 0x4f800c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f8014
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 0x4f8089
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f7c60
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 0x4f8073
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 0x4f8090
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4fa3f4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040502c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4fa442
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040529c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fe4c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fe5f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x45b80c]
call fcn.0045b8dc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4fe5cd
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0045b97c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.0040529c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4fe60c
call fcn.00405358
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0045b9e0
lea ecx, [ebp - 4]
mov edx, 0x4fe648
mov eax, dword [ebp - 0xc]
call fcn.0045bc10
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042e64c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4fe5b0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4fe654
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x580970]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe5b7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4fe6a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4fe6eb
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4fe6ce
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4fe6df
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4fe6eb
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x502c90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x502ce4]
test si, 4
je 0x502ca5
or bl, 1
test si, 8
je 0x502caf
or bl, 4
test si, 1
je 0x502cb9
or bl, 8
test si, 2
je 0x502cc3
or bl, 0x10
test si, 0x10
je 0x502ccd
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x502cdc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x502ce8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x502d24]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x502d02
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x502d11
or bl, 4
test esi, 0x20000000
je 0x502d1c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x50a500
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x50a512
add esp, 0xfffffff0
call fcn.00404370
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00444eac
mov eax, dword [0x581e88]
mov dword [eax + 4], ebx
mov dword [eax], 0x50a8a4
mov eax, dword [0x581e98]
mov dword [eax + 4], ebx
mov dword [eax], 0x50a8b0
mov eax, ebx
call fcn.0050a8bc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x438d4c]
call fcn.00403fdc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x438d4c]
call fcn.00403fdc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x438d4c]
call fcn.00403fdc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x438d4c]
call fcn.00403fdc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x438d4c]
call fcn.00403fdc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x506354
push eax
push 0
push 0
mov eax, dword [0x58211c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x491690]
call fcn.00492ee4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x491690]
call fcn.00492ee4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x491690]
call fcn.00492ee4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0050acec
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50abbc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50abbc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50abbc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50a64f
call fcn.004043c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret