joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce80c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ce823
add esp, 0xfffffff0
call fcn.00483540
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043d958
mov eax, dword [0x5e7504]
cmp byte [eax], 0
jne 0x4ce850
push 0
call sub.OLE32.DLL_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5e7544]
cmp word [eax + 2], 0
jne 0x4ce86a
mov eax, dword [0x5e7544]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004d08d4
mov eax, dword [0x5e7548]
cmp word [eax + 2], 0
jne 0x4ce884
mov eax, dword [0x5e7548]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004d0ad8
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4aacf0]
call fcn.004b1278
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4d1050
mov dl, 1
mov eax, dword [0x425f88]
call fcn.00482fe0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x425f88]
call fcn.00482fe0
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 [0x4af3ec]
call fcn.004ba7d0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4cea64
mov eax, dword [0x5e74fc]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004bac64
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4d1338
mov dl, 1
mov eax, dword [0x425f88]
call fcn.00482fe0
mov dword [ebx + 0x98], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5e74fc]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004697c8
test eax, eax
je 0x4ce995
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00469564
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004697ac
test eax, eax
je 0x4ce9ad
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.0048589c
push ebx
push 0x4d02c0
call fcn.004c4514
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x5e7504]
cmp byte [eax], 0
jne 0x4ce9fe
mov eax, ebx
call fcn.004cebd8
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.004d1564
mov eax, ebx
call fcn.004d2194
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4cea5b
call fcn.00483598
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ceea4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4cef46
cmp dword [ebx + 0x94], 0
jne 0x4cef40
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4cedf0
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4cef40
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 0x4cef06
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4cef40
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.0043134c
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4cef15
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5ed380]
cmp dword [eax + 0x170], 0
je 0x4cf2c9
test bl, bl
jne 0x4cf217
cmp dword [esi + 0x9c], 0
jne 0x4cf20c
mov eax, esi
call fcn.004d1fe4
push eax
push 0x4cf070
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4cf1dd
mov eax, dword [0x5ed380]
cmp byte [eax + 0xd3], 0
je 0x4cf1dd
mov eax, dword [esi + 0xd8]
call fcn.004869a8
mov edi, eax
cmp edi, 0
jl 0x4cf1dd
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 0x4cf1c6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cf20c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043134c
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4cf1ec
inc dword [esi + 0x9c]
jmp 0x4cf2c9
cmp dword [esi + 0x9c], 0
jle 0x4cf2c9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4cf2c9
cmp dword [esi + 0x44], 0
je 0x4cf274
mov eax, dword [0x5ed380]
cmp byte [eax + 0xd3], 0
je 0x4cf274
mov eax, dword [esi + 0xd8]
call fcn.004869a8
mov edi, eax
cmp edi, 0
jl 0x4cf274
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 0x4cf25d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cf2a3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043134c
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4cf283
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 [0x4c23ec]
call fcn.00486b68
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cff0c
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 0x4cff77
cmp byte [ebx + 0xd3], 0
jne 0x4cff77
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.00484b1c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cff64
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cff84
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00484d74
jmp 0x4cff84
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00484d74
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4d174c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4d17ba
mov eax, esi
call fcn.004ee7cc
test al, al
je 0x4d17ba
mov eax, dword [ebx + 0x84]
call fcn.004ee420
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4d17ba
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4d17ae
push 0
mov eax, dword [ebx + 0x84]
call fcn.004ee420
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004e539c
jmp 0x4d17ba
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004d1584
pop esi
pop ebx
ret

Function at 0x4d5bc4
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.00484a78
xor eax, eax
push ebp
push 0x4d5d03
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x4d5cd6
xor edx, edx
push ebp
push 0x4d5ccf
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4d5c11
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4d5ca4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4d5c93
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4d5c56
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.004857f8
lea ecx, [esi + 2]
mov edx, ebx
call fcn.004825cc
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5c9a
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x5e7998]
mov dl, 1
mov eax, dword [0x46200c]
call fcn.0046dc3c
call fcn.0048419c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5d0a
lea eax, [ebp - 4]
call fcn.00484994
ret
Function at 0x4e2a2c
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 [0x5ed448], 0
je 0x4e2b6d
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5e7530]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4e2b6d
mov eax, dword [0x5ed44c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5ed448]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4e2b3c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5ed448]
call fcn.0043134c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4e2b34
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x4e2b34
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x4e2b34
mov eax, dword [ebp - 0x14]
call fcn.004ee420
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4e2b34
push ebp
call fcn.004e29e8
pop ecx
test al, al
jne 0x4e2b34
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00483298
test al, al
je 0x4e2b34
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.00483298
cmp byte [ebp - 1], 0
je 0x4e2b34
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0047ec3c
test al, al
je 0x4e2b34
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5ed44c]
call fcn.004e2140
inc edi
dec ebx
jne 0x4e2a91
mov eax, dword [0x5ed44c]
cmp dword [eax + 8], 0
jle 0x4e2b54
mov eax, dword [0x5ed44c]
call fcn.004e21f8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4e2b6d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004e284c
pop ecx
test al, al
jne 0x4e2b6d
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 0x4eaf98
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.0047ec24
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.004e4fac
test ebx, ebx
jne 0x4eafeb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004eae14
mov ebx, eax
test ebx, ebx
je 0x4eb0e1
cmp esi, ebx
je 0x4eb014
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 0x4eb029
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 0x4eb061
add eax, 0xffffff5f
sub eax, 2
jb 0x4eb079
dec eax
sub eax, 2
jb 0x4eb08d
dec eax
sub eax, 2
jb 0x4eb083
jmp 0x4eb097
add eax, 0xfffffdff
sub eax, 2
jb 0x4eb079
dec eax
sub eax, 2
jb 0x4eb08d
dec eax
sub eax, 2
jb 0x4eb083
jmp 0x4eb097
mov byte [esp + 0x120], 0
jmp 0x4eb09f
mov byte [esp + 0x120], 2
jmp 0x4eb09f
mov byte [esp + 0x120], 1
jmp 0x4eb09f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004c45c4
mov esi, eax
call fcn.004e182c
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.004e6994
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4eb0e3
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4f8068
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 0x4f8155
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 0x4f8127
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 0x4f8116
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004825cc
mov eax, dword [ebp - 4]
call fcn.004f7da8
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
test eax, eax
jne 0x4f80ff
mov ecx, dword [0x5e78a4]
mov dl, 1
mov eax, dword [0x425b0c]
call fcn.0046dc3c
call fcn.0048419c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f811d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x4f8334
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 0x4f83dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4f83af
mov edx, ebx
mov eax, dword [0x4ad9a4]
call fcn.004b5d80
test al, al
je 0x4f839f
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.004b5c98
call fcn.00484290
jmp 0x4f83e3
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4f8367
mov ecx, dword [0x5e7990]
mov dl, 1
mov eax, dword [0x4f7cbc]
call fcn.0046dc3c
call fcn.0048419c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f83e3
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 0x4f83ec
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 0x4f8448
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 0x4f844f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f8458
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 0x4f84ad
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 0x4f84b4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4f8524
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 0x4f8599
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f7da8
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.004b5d5c
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 0x4f8583
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 0x4f85a0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f85a8
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 0x4f861d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f7da8
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 0x4f8607
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 0x4f8624
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4fa0f8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4fa126
mov eax, ebx
call fcn.004fabac
cmp dword [ebx + 0x40], 0
je 0x4fa11f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4fa197
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4fa189
cmp dword [ebx + 8], 0
je 0x4fa148
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4fa15a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4fa189
cmp dword [ebx + 8], 0
je 0x4fa13b
cmp eax, 3
je 0x4fa16d
dec eax
jne 0x4fa13b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4fa13b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4fa13b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4fa1b5
cmp dword [ebx + 0x14], 0xcc
je 0x4fa1b5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004fa1c0
pop ebx
ret
Function at 0x510214
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5ed4e0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x510236
shr eax, 1
xor eax, 0xedb88320
jmp 0x510238
shr eax, 1
dec edx
jne 0x510224
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x51021d
mov byte [0x5ed8e0], 1
pop esi
pop ebx
ret

Function at 0x510254
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5ed8e0], 0
jne 0x51026b
call fcn.00510214
mov eax, edi
dec eax
test eax, eax
jl 0x510293
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5ed4e0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x510275
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x513020
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.0x5130ba.0
jmp dword [ecx*4 + 0x513053]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x513085
sub dl, 8
je 0x513094
jmp case.0x5130ba.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512cc8
jmp case.0x5130ba.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512d20
jmp case.0x5130ba.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5130ba.0
movzx ecx, byte [ecx + 0x5130c1]
jmp dword [ecx*4 + 0x5130d2]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512dcc
jmp case.0x5130ba.0
cmp dl, 3
jne 0x5130ff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512e24
jmp case.0x5130ba.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512de0
jmp case.0x5130ba.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512e68
jmp case.0x5130ba.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x51312a
sub dl, 8
je 0x513136
jmp case.0x5130ba.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512e94
jmp case.0x5130ba.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512f00
jmp case.0x5130ba.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x513155
sub dl, 8
je 0x513161
jmp case.0x5130ba.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512fbc
jmp case.0x5130ba.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x512fe4
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 0x513203
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.005121cc
test eax, eax
je 0x513203
mov eax, ebx
call fcn.0051320c
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 0x51319c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8