joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4efa90
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x55d6a0]
cmp dword [eax + 0x30], 0
je 0x4efb3a
cmp dword [ebx + 0x94], 0
jne 0x4efb34
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4efa20
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4efb34
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_GetWindowLongA
test al, 8
je 0x4efafa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4efb34
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.00496114
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4efb09
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4f0618
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4f064d
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004b6d14
jmp 0x4f065a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004b6c78
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4f1690
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4f16d1
mov eax, esi
call fcn.00501f88
test al, al
je 0x4f16d1
mov eax, dword [ebx + 0x84]
call fcn.00501c84
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4f16d1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00501c84
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x4f52dc
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.004b70c4
xor eax, eax
push ebp
push 0x4f540a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x4f53dd
xor eax, eax
push ebp
push 0x4f53d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b6edc
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f53ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4f539a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b6edc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004b70d4
mov edx, ebx
pop ecx
call fcn.004b5254
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 0x4f53a1
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x55b0c0]
mov dl, 1
mov eax, dword [0x4a24d4]
call fcn.004a768c
call fcn.004b6884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5411
lea eax, [ebp - 4]
call fcn.004b6c24
ret
Function at 0x4f5418
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 - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f55c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004b72c4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4f55e0
call fcn.004b6f28
mov eax, ebx
call fcn.0049e918
mov edi, eax
dec edi
test edi, edi
jl 0x4f54d0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0049e8ec
mov edx, dword [0x4c0860]
call fcn.004b6264
test al, al
je 0x4f54cc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0049e8ec
lea edx, [ebp - 0x14]
call fcn.004fb54c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004b72c4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004b6f9c
inc esi
dec edi
jne 0x4f547e
mov al, byte [0x4f55e4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4f55f0
mov eax, dword [ebp - 0xc]
call fcn.004a8af0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004b6cbc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004fb54c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4f55e0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.004fb54c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4f55e0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4f55e0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4f55fc
call fcn.004a4a18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f55d0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004b6c48
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b6c48
lea eax, [ebp - 0x14]
call fcn.004b6c24
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004b6c48
ret
Function at 0x4f908c
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 - 9]
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 [0x55d744], 0
je 0x4f91db
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x55af7c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4f91db
mov eax, dword [0x55d748]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x55d744]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4f91aa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x55d744]
call fcn.00496114
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4f91a2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4f91a2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4f91a2
mov eax, dword [ebp - 0x14]
call fcn.00501c84
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4f91a2
push ebp
call fcn.004f9048
pop ecx
test al, al
jne 0x4f91a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4f915e
mov eax, dword [ebp - 0x14]
call fcn.00500770
dec eax
jle 0x4f91a2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004b62d4
cmp byte [ebp - 1], 0
je 0x4f91a2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x4f91a2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x55d748]
call fcn.004f8810
inc edi
dec ebx
jne 0x4f90f1
mov eax, dword [0x55d748]
cmp dword [eax + 8], 0
jle 0x4f91c2
mov eax, dword [0x55d748]
call fcn.004f88a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4f91db
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004f8eb0
pop ecx
test al, al
jne 0x4f91db
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 0x4fc7cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4fc818
mov eax, esi
call fcn.004e7b3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4fc818
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4fc818
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4fc957
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4fc858
cmp eax, 0x108
ja 0x4fc858
mov eax, esi
call fcn.004e7b3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4fc94e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4fc957
jmp 0x4fc94e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4fc937
cmp eax, 0x20a
ja 0x4fc937
test byte [esi + 0x50], 0x80
jne 0x4fc88a
sub eax, 0x203
je 0x4fc887
sub eax, 3
je 0x4fc887
sub eax, 3
jne 0x4fc88a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4fc89e
dec eax
je 0x4fc8b3
dec eax
je 0x4fc8d0
dec eax
je 0x4fc8b3
jmp 0x4fc8d7
mov ecx, ebx
mov eax, dword [0x55af7c]
mov eax, dword [eax]
mov edx, esi
call fcn.004f1548
jmp 0x4fc94e
cmp byte [esi + 0x5d], 1
jne 0x4fc8c9
mov eax, esi
mov si, 0xffed
call fcn.004b62d4
jmp 0x4fc957
or word [esi + 0x54], 1
jmp 0x4fc94e
and word [esi + 0x54], 0xfffe
jmp 0x4fc94e
mov eax, dword [0x55d700]
cmp byte [eax + 0x20], 0
je 0x4fc94e
mov eax, dword [0x55d700]
cmp dword [eax + 0x1c], 0
je 0x4fc94e
mov eax, dword [ebx]
mov edx, dword [0x55d700]
cmp eax, dword [edx + 0x1c]
jne 0x4fc94e
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004e7a60
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004b62d4
jmp 0x4fc957
cmp eax, 0xb00b
jne 0x4fc94e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004fb0ec
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ffe0c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4ffe28
cmp dword [esi + 4], 0
je 0x4ffe55
test byte [ebx + 0x55], 1
jne 0x4ffe47
mov eax, ebx
call fcn.004fea64
test eax, eax
jne 0x4ffe47
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4fff65
mov edx, esi
mov eax, ebx
call fcn.004ff92c
jmp 0x4fff65
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4fff5e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00501c84
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004fc700
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004ffe0c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00501c84
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fff65
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5064ec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x55af6c]
cmp byte [eax + 0xc], 0
je 0x506659
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x506652
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55d754], 0
jne 0x506540
push 0x506660
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x506668
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d754], eax
cmp dword [0x556a40], 0
jne 0x50663b
push 0x506678
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x556a40], eax
cmp dword [0x556a40], 0
je 0x50663b
push 0x506684
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d758], eax
push 0x506694
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d75c], eax
push 0x5066a8
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d760], eax
push 0x5066c0
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d764], eax
push 0x5066d8
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d768], eax
push 0x5066ec
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d76c], eax
push 0x506704
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d770], eax
push 0x50671c
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d774], eax
push 0x506738
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d778], eax
push 0x506744
mov eax, dword [0x556a40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x55d77c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506659
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x50bd98
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50be70
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55d790], 0
jne 0x50be54
lea eax, [ebp - 4]
mov edx, 0x50be88
call fcn.004b6cbc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004b70d4
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x50be54
mov eax, ebx
call fcn.004b4f78
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x50be4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x50be37
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x50be98
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x50be37
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x55d790], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50be54
mov eax, dword [ebp - 0xc]
call fcn.004b4f98
ret
mov ebx, dword [0x55d790]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50be77
lea eax, [ebp - 4]
call fcn.004b6c24
ret

Function at 0x51e4fc
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x55d7b4], 0
jne 0x51e51f
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x51e470
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x55d7b4], eax
ret

Function at 0x520298
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 0x52036a
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 0x52033c
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 0x52032b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004b5254
mov eax, dword [ebp - 4]
call fcn.005201d4
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520332
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x52039c
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 0x52040e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x5203e2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.004b6e14
jmp 0x5203e9
mov eax, ebx
call fcn.004b6c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520415
cmp dword [ebp - 8], 0
je 0x520405
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 0x52041c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x5204be
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x520491
mov edx, ebx
mov eax, dword [0x4dbd08]
call fcn.004e03cc
test al, al
je 0x520481
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.004e02dc
call fcn.004b6930
jmp 0x5204c5
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x52044c
mov ecx, dword [0x55b1d8]
mov dl, 1
mov eax, dword [0x4a24d4]
call fcn.004a768c
call fcn.004b6884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5204c5
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x5204cc
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 0x520524
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 0x52052b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x520534
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 0x520589
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 0x520590
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x520600
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 0x520675
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005201d4
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.004e03a0
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 0x52065f
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 0x52067c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x520684
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 0x5206f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005201d4
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 0x5206e3
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 0x520700
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x529d7c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x529dde
call fcn.00529d2c
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00524448
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00524448
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret