joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc6a8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cc853
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4cc834
mov dl, 1
mov eax, dword [0x425760]
call fcn.0043206c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.004808d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4cc823
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004f2e00
test al, al
je 0x4cc816
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4cc864
lea eax, [ebp - 0x394]
call fcn.00465554
push eax
push closesocket
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x4cc816
xor eax, eax
push ebp
push 0x4cc80f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4cc8d4
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x4cc7f8
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.004817e0
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4cc7f8
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.004817e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc816
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4cc719
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00431fa8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc85a
lea eax, [ebp - 0x3a0]
call fcn.004808d4
ret

Function at 0x4cd3b0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x58513c]
cmp byte [eax + 0xad], 0
jne 0x4cd422
cmp dword [0x585154], 0
jne 0x4cd3e2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x5707b0]
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExW
mov dword [0x585154], eax
cmp dword [0x585150], 0
jne 0x4cd3fd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x585150], eax
cmp dword [0x585158], 0
jne 0x4cd422
push esp
push 0
push 0
mov eax, dword [0x5708b8]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x585158], eax
pop edx
ret
Function at 0x4cd738
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4cd74f
add esp, 0xfffffff0
call fcn.0047f450
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043a9e4
mov eax, dword [0x57d698]
cmp byte [eax], 0
jne 0x4cd77c
push 0
call sub.OLE32.DLL_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x57d6e0]
cmp word [eax + 2], 0
jne 0x4cd796
mov eax, dword [0x57d6e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cf800
mov eax, dword [0x57d6e4]
cmp word [eax + 2], 0
jne 0x4cd7b0
mov eax, dword [0x57d6e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cfa04
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4a9bb8]
call fcn.004b01a4
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4cff7c
mov dl, 1
mov eax, dword [0x422f84]
call fcn.0047eef0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x422f84]
call fcn.0047eef0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4ae2b4]
call fcn.004b96fc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4cd990
mov eax, dword [0x57d690]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004b9b90
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4d0264
mov dl, 1
mov eax, dword [0x422f84]
call fcn.0047eef0
mov dword [ebx + 0x98], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x57d690]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0046537c
test eax, eax
je 0x4cd8c1
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00465130
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00465360
test eax, eax
je 0x4cd8d9
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.USER32.DLL_CharNextW
push eax
call sub.USER32.DLL_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.004817e0
push ebx
push 0x4cf1ec
call fcn.004c3440
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x57d698]
cmp byte [eax], 0
jne 0x4cd92a
mov eax, ebx
call fcn.004cdb04
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004d0490
mov eax, ebx
call fcn.004d10c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4cd987
call fcn.0047f4a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cddd0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4cde72
cmp dword [ebx + 0x94], 0
jne 0x4cde6c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4cdd1c
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4cde6c
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongW
test al, 8
je 0x4cde32
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4cde6c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042e2f8
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4cde41
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4ce090
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x58513c]
cmp dword [eax + 0x170], 0
je 0x4ce1f5
test bl, bl
jne 0x4ce143
cmp dword [esi + 0x9c], 0
jne 0x4ce138
mov eax, esi
call fcn.004d0f10
push eax
push 0x4cdf9c
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4ce109
mov eax, dword [0x58513c]
cmp byte [eax + 0xd3], 0
je 0x4ce109
mov eax, dword [esi + 0xd8]
call fcn.0048274c
mov edi, eax
cmp edi, 0
jl 0x4ce109
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ce0f2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ce138
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042e2f8
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ce118
inc dword [esi + 0x9c]
jmp 0x4ce1f5
cmp dword [esi + 0x9c], 0
jle 0x4ce1f5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4ce1f5
cmp dword [esi + 0x44], 0
je 0x4ce1a0
mov eax, dword [0x58513c]
cmp byte [eax + 0xd3], 0
je 0x4ce1a0
mov eax, dword [esi + 0xd8]
call fcn.0048274c
mov edi, eax
cmp edi, 0
jl 0x4ce1a0
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ce189
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ce1cf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042e2f8
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ce1af
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4c1318]
call fcn.0048290c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cee38
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4ceea3
cmp byte [ebx + 0xd3], 0
jne 0x4ceea3
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.USER32.DLL_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00480a3c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cee90
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ceeb0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00480c94
jmp 0x4ceeb0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00480c94
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4d0678
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4d06e6
mov eax, esi
call fcn.004ecd04
test al, al
je 0x4d06e6
mov eax, dword [ebx + 0x84]
call fcn.004ec958
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4d06e6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4d06da
push 0
mov eax, dword [ebx + 0x84]
call fcn.004ec958
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004e38d4
jmp 0x4d06e6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004d04b0
pop esi
pop ebx
ret
Function at 0x4e0f64
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
cmp dword [0x585204], 0
je 0x4e10a5
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x57d6cc]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4e10a5
mov eax, dword [0x585208]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x585204]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4e1074
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x585204]
call fcn.0042e2f8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4e106c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x4e106c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x4e106c
mov eax, dword [ebp - 0x14]
call fcn.004ec958
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4e106c
push ebp
call fcn.004e0f20
pop ecx
test al, al
jne 0x4e106c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0047f1a8
test al, al
je 0x4e106c
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 si, 0xffbc
call fcn.0047f1a8
cmp byte [ebp - 1], 0
je 0x4e106c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0047a6c0
test al, al
je 0x4e106c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x585208]
call fcn.004e0678
inc edi
dec ebx
jne 0x4e0fc9
mov eax, dword [0x585208]
cmp dword [eax + 8], 0
jle 0x4e108c
mov eax, dword [0x585208]
call fcn.004e0730
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4e10a5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004e0d84
pop ecx
test al, al
jne 0x4e10a5
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
Function at 0x4e94d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.0047a6a8
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004e34e4
test ebx, ebx
jne 0x4e9523
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004e934c
mov ebx, eax
test ebx, ebx
je 0x4e9619
cmp esi, ebx
je 0x4e954c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4e9561
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4e9599
add eax, 0xffffff5f
sub eax, 2
jb 0x4e95b1
dec eax
sub eax, 2
jb 0x4e95c5
dec eax
sub eax, 2
jb 0x4e95bb
jmp 0x4e95cf
add eax, 0xfffffdff
sub eax, 2
jb 0x4e95b1
dec eax
sub eax, 2
jb 0x4e95c5
dec eax
sub eax, 2
jb 0x4e95bb
jmp 0x4e95cf
mov byte [esp + 0x120], 0
jmp 0x4e95d7
mov byte [esp + 0x120], 2
jmp 0x4e95d7
mov byte [esp + 0x120], 1
jmp 0x4e95d7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004c34f0
mov esi, eax
call fcn.004dfd64
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004e4ecc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4e961b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4f6bf4
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 0x4f6ce1
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 0x4f6cb3
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 0x4f6ca2
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.0047dfd8
mov eax, dword [ebp - 4]
call fcn.004f6934
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
test eax, eax
jne 0x4f6c8b
mov ecx, dword [0x57d92c]
mov dl, 1
mov eax, dword [0x422b08]
call fcn.004694a4
call fcn.004800ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6ca9
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x4f6ec0
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 0x4f6f68
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4f6f3b
mov edx, ebx
mov eax, dword [0x4ac86c]
call fcn.004b4cac
test al, al
je 0x4f6f2b
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.004b4bc4
call fcn.004801a0
jmp 0x4f6f6f
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4f6ef3
mov ecx, dword [0x57da80]
mov dl, 1
mov eax, dword [0x4f6848]
call fcn.004694a4
call fcn.004800ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6f6f
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 0x4f6f78
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 0x4f6fd4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6fdb
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f6fe4
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 0x4f7039
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 + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7040
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4f70b0
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 0x4f7125
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f6934
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.004b4c88
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 0x4f710f
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 0x4f712c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f7134
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 0x4f71a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f6934
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 + 0x68]
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 0x4f7193
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 0x4f71b0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4faffc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x585294
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4fb01e
shr eax, 1
xor eax, 0xedb88320
jmp 0x4fb020
shr eax, 1
dec edx
jne 0x4fb00c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4fb005
mov byte [0x585694], 1
pop esi
pop ebx
ret

Function at 0x4fb03c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x585694], 0
jne 0x4fb053
call fcn.004faffc
mov eax, edi
dec eax
test eax, eax
jl 0x4fb07b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x585294]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4fb05d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4fde08
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4fdea2.0
jmp dword [ecx*4 + 0x4fde3b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4fde6d
sub dl, 8
je 0x4fde7c
jmp case.0x4fdea2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdab0
jmp case.0x4fdea2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdb08
jmp case.0x4fdea2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4fdea2.0
movzx ecx, byte [ecx + 0x4fdea9]
jmp dword [ecx*4 + 0x4fdeba]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdbb4
jmp case.0x4fdea2.0
cmp dl, 3
jne 0x4fdee7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdc0c
jmp case.0x4fdea2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdbc8
jmp case.0x4fdea2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdc50
jmp case.0x4fdea2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4fdf12
sub dl, 8
je 0x4fdf1e
jmp case.0x4fdea2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdc7c
jmp case.0x4fdea2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdce8
jmp case.0x4fdea2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4fdf3d
sub dl, 8
je 0x4fdf49
jmp case.0x4fdea2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fdda4
jmp case.0x4fdea2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4fddcc
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x4fdfeb
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004fcfb4
test eax, eax
je 0x4fdfeb
mov eax, ebx
call fcn.004fdff4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4fdf84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8