joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ada34
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 [0x4eb588], 0
je 0x4adb83
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ea214]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4adb83
mov eax, dword [0x4eb58c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4eb588]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4adb52
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4eb588]
call fcn.00444e30
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4adb4a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4adb4a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4adb4a
mov eax, dword [ebp - 0x14]
call fcn.004b6764
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4adb4a
push ebp
call fcn.004ad9f0
pop ecx
test al, al
jne 0x4adb4a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4adb06
mov eax, dword [ebp - 0x14]
call fcn.004b52c0
dec eax
jle 0x4adb4a
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.00462fd8
cmp byte [ebp - 1], 0
je 0x4adb4a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x4adb4a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4eb58c]
call fcn.004ad1b8
inc edi
dec ebx
jne 0x4ada99
mov eax, dword [0x4eb58c]
cmp dword [eax + 8], 0
jle 0x4adb6a
mov eax, dword [0x4eb58c]
call fcn.004ad248
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4adb83
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004ad858
pop ecx
test al, al
jne 0x4adb83
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 0x4b11c0
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 0x4b120c
mov eax, esi
call fcn.00495d2c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b120c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4b120c
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 0x4b134b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4b124c
cmp eax, 0x108
ja 0x4b124c
mov eax, esi
call fcn.00495d2c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b1342
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4b134b
jmp 0x4b1342
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4b132b
cmp eax, 0x20a
ja 0x4b132b
test byte [esi + 0x50], 0x80
jne 0x4b127e
sub eax, 0x203
je 0x4b127b
sub eax, 3
je 0x4b127b
sub eax, 3
jne 0x4b127e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4b1292
dec eax
je 0x4b12a7
dec eax
je 0x4b12c4
dec eax
je 0x4b12a7
jmp 0x4b12cb
mov ecx, ebx
mov eax, dword [0x4ea214]
mov eax, dword [eax]
mov edx, esi
call fcn.0049f950
jmp 0x4b1342
cmp byte [esi + 0x5d], 1
jne 0x4b12bd
mov eax, esi
mov si, 0xffed
call fcn.00462fd8
jmp 0x4b134b
or word [esi + 0x54], 1
jmp 0x4b1342
and word [esi + 0x54], 0xfffe
jmp 0x4b1342
mov eax, dword [0x4eb544]
cmp byte [eax + 0x20], 0
je 0x4b1342
mov eax, dword [0x4eb544]
cmp dword [eax + 0x1c], 0
je 0x4b1342
mov eax, dword [ebx]
mov edx, dword [0x4eb544]
cmp eax, dword [edx + 0x1c]
jne 0x4b1342
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.00495c70
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.00462fd8
jmp 0x4b134b
cmp eax, 0xb00b
jne 0x4b1342
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004afa94
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 0x4b495c
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 0x4b4978
cmp dword [esi + 4], 0
je 0x4b49a5
test byte [ebx + 0x55], 1
jne 0x4b4997
mov eax, ebx
call fcn.004b35b4
test eax, eax
jne 0x4b4997
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4b4ab5
mov edx, esi
mov eax, ebx
call fcn.004b447c
jmp 0x4b4ab5
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 0x4b4aae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004b6764
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.004b10f4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004b495c
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.004b6764
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4ab5
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 0x4b7cb0
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4ea218]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x4b7e77
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004aff24
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004b1198
mov eax, dword [esi]
call fcn.0049c8e0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x4b7d22
mov eax, dword [esi]
call fcn.0049c8e0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0049c8ec
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4b7d46
mov eax, dword [esi]
call fcn.0049c8ec
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0049c8d4
cmp eax, dword [ebp - 0x18]
jle 0x4b7d5c
mov eax, dword [esi]
call fcn.0049c8d4
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0049c8c8
cmp eax, dword [ebp - 0xc]
jle 0x4b7d72
mov eax, dword [esi]
call fcn.0049c8c8
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004b6764
push eax
call sub.USER32.DLL_SetWindowPos
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x4b7e39
mov eax, ebx
call fcn.00463c2c
cmp eax, 0x64
jge 0x4b7e39
cmp dword [0x4e6248], 0
je 0x4b7e39
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.USER32.DLL_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x4b7e39
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.USER32.DLL_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x4b7dfc
mov bl, 2
jmp 0x4b7e17
lea edx, [ebp - 0x20]
mov eax, dword [0x4eb544]
call fcn.004baf00
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4b7e15
xor ebx, ebx
jmp 0x4b7e17
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4e6350]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004b6764
push eax
call dword [0x4e6248]
push 4
mov eax, dword [ebp - 4]
call fcn.004b6764
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7e7e
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4bb010
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ea008]
cmp byte [eax + 0xc], 0
je 0x4bb17d
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb176
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4eb598], 0
jne 0x4bb064
push 0x4bb184
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4bb18c
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb598], eax
cmp dword [0x4e6378], 0
jne 0x4bb15f
push 0x4bb19c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4e6378], eax
cmp dword [0x4e6378], 0
je 0x4bb15f
push 0x4bb1a8
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb59c], eax
push 0x4bb1b8
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5a0], eax
push 0x4bb1cc
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5a4], eax
push 0x4bb1e4
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5a8], eax
push 0x4bb1fc
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5ac], eax
push 0x4bb210
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5b0], eax
push 0x4bb228
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5b4], eax
push 0x4bb240
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5b8], eax
push 0x4bb25c
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5bc], eax
push 0x4bb268
mov eax, dword [0x4e6378]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4eb5c0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb17d
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4bff08
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 0x4bffe0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4eb5d4], 0
jne 0x4bffc4
lea eax, [ebp - 4]
mov edx, 0x4bfff8
call fcn.004639fc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00463e24
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4bffc4
mov eax, ebx
call fcn.00461edc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4bffbd
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 0x4bffa7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4c0008
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4bffa7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4eb5d4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bffc4
mov eax, dword [ebp - 0xc]
call fcn.00461efc
ret
mov ebx, dword [0x4eb5d4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bffe7
lea eax, [ebp - 4]
call fcn.00463964
ret

Function at 0x4ce9b4
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 0x4cea86
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 0x4cea58
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 0x4cea47
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00462140
mov eax, dword [ebp - 4]
call fcn.004ce8f0
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 0x4cea4e
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret

Function at 0x4cea98
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 0x4ceb0a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4ceade
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00463b64
jmp 0x4ceae5
mov eax, ebx
call fcn.00463964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ceb11
cmp dword [ebp - 8], 0
je 0x4ceb01
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 0x4ceb40
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 0x4cebe2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4cebb5
mov edx, ebx
mov eax, dword [0x489b84]
call fcn.0048e18c
test al, al
je 0x4ceba5
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.0048e09c
call fcn.00463634
jmp 0x4cebe9
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4ceb70
mov ecx, dword [0x4ea43c]
mov dl, 1
mov eax, dword [0x4515f4]
call fcn.004554d0
call fcn.00463588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cebe9
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 0x4cebf0
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 0x4cec48
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 0x4cec4f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4cec58
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 0x4cecad
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 0x4cecb4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4ced24
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 0x4ced99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ce8f0
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.0048e160
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 0x4ced83
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 0x4ceda0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4ceda8
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 0x4cee1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ce8f0
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 0x4cee07
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 0x4cee24
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4d8368
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 0x4d83ca
call fcn.004d8318
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004d273c
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.004d273c
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
Function at 0x4d8448
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4e82fc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4d8522
cmp dword [0x4e82f8], 0
jne 0x4d8522
cmp dword [0x4e84dc], 0
je 0x4d84dc
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004d8218
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4d84c2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004d8218
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4d84c2
lea ebx, [ebp - 0x84]
jmp 0x4d84c3
inc ebx
call fcn.004d8404
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4d855d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4e8300
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004d273c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4e8303
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4d855d
cmp dword [0x4e82f8], 0
je 0x4d853c
cmp dword [0x4e82f8], 0xffffffff
je 0x4d855d
push esi
call dword [0x4e82f8]
pop ecx
mov eax, dword [0x4e82fc]
test eax, eax
je 0x4d855d
cmp dword [0x4e82fc], 0xffffffff
je 0x4d855d
cmp byte [eax], 0
je 0x4d855d
push esi
push eax
call fcn.004d8368
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd570
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x689140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 4]
mov dword [ecx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
lea ebx, [ecx + 0x24]
mov dword [ebp - 0x14], eax
lea edi, [ecx + 0x28]
mov dword [eax], 0
push 8
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.005988b3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00596424
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
mov dword [eax + 0x34], esi
lea esi, [eax + 4]
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret