joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0c08
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 0x4a0db9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00461270
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4a0dd0
call fcn.00460ed4
mov eax, ebx
call fcn.0044a3cc
mov edi, eax
dec edi
test edi, edi
jl 0x4a0cc0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0044a3a0
mov edx, dword [0x46e274]
call fcn.004601bc
test al, al
je 0x4a0cbc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0044a3a0
lea edx, [ebp - 0x14]
call fcn.004a6fc8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00461270
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00460f48
inc esi
dec edi
jne 0x4a0c6e
mov al, byte [0x4a0dd4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4a0de0
mov eax, dword [ebp - 0xc]
call fcn.00453834
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00460c58
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.004a6fc8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4a0dd0
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.004a6fc8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4a0dd0
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, 0x4a0dd0
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, 0x4a0dec
call fcn.00450444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0dc0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00460be4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00460be4
lea eax, [ebp - 0x14]
call fcn.00460bc0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00460be4
ret
Function at 0x4a4b08
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 [0x4dc128], 0
je 0x4a4c57
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4daf68]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4a4c57
mov eax, dword [0x4dc12c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4dc128]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4a4c26
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4dc128]
call fcn.00441ddc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4a4c1e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4a4c1e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4a4c1e
mov eax, dword [ebp - 0x14]
call fcn.004ad7b8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4a4c1e
push ebp
call fcn.004a4ac4
pop ecx
test al, al
jne 0x4a4c1e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4a4bda
mov eax, dword [ebp - 0x14]
call fcn.004ac34c
dec eax
jle 0x4a4c1e
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.0046022c
cmp byte [ebp - 1], 0
je 0x4a4c1e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x4a4c1e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4dc12c]
call fcn.004a428c
inc edi
dec ebx
jne 0x4a4b6d
mov eax, dword [0x4dc12c]
cmp dword [eax + 8], 0
jle 0x4a4c3e
mov eax, dword [0x4dc12c]
call fcn.004a431c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4a4c57
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004a492c
pop ecx
test al, al
jne 0x4a4c57
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 0x4a8294
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 0x4a82e0
mov eax, esi
call fcn.0048ce94
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a82e0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4a82e0
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 0x4a841f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4a8320
cmp eax, 0x108
ja 0x4a8320
mov eax, esi
call fcn.0048ce94
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a8416
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4a841f
jmp 0x4a8416
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4a83ff
cmp eax, 0x20a
ja 0x4a83ff
test byte [esi + 0x50], 0x80
jne 0x4a8352
sub eax, 0x203
je 0x4a834f
sub eax, 3
je 0x4a834f
sub eax, 3
jne 0x4a8352
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4a8366
dec eax
je 0x4a837b
dec eax
je 0x4a8398
dec eax
je 0x4a837b
jmp 0x4a839f
mov ecx, ebx
mov eax, dword [0x4daf68]
mov eax, dword [eax]
mov edx, esi
call fcn.00496ab8
jmp 0x4a8416
cmp byte [esi + 0x5d], 1
jne 0x4a8391
mov eax, esi
mov si, 0xffed
call fcn.0046022c
jmp 0x4a841f
or word [esi + 0x54], 1
jmp 0x4a8416
and word [esi + 0x54], 0xfffe
jmp 0x4a8416
mov eax, dword [0x4dc0e4]
cmp byte [eax + 0x20], 0
je 0x4a8416
mov eax, dword [0x4dc0e4]
cmp dword [eax + 0x1c], 0
je 0x4a8416
mov eax, dword [ebx]
mov edx, dword [0x4dc0e4]
cmp eax, dword [edx + 0x1c]
jne 0x4a8416
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.0048cdd8
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.0046022c
jmp 0x4a841f
cmp eax, 0xb00b
jne 0x4a8416
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004a6b68
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 0x4ab9e8
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 0x4aba04
cmp dword [esi + 4], 0
je 0x4aba31
test byte [ebx + 0x55], 1
jne 0x4aba23
mov eax, ebx
call fcn.004aa640
test eax, eax
jne 0x4aba23
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4abb41
mov edx, esi
mov eax, ebx
call fcn.004ab508
jmp 0x4abb41
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 0x4abb3a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004ad7b8
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.004a81c8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004ab9e8
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.004ad7b8
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abb41
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 0x4aed04
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 [0x4daf6c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x4aeecb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a6ff8
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a826c
mov eax, dword [esi]
call fcn.00493a48
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x4aed76
mov eax, dword [esi]
call fcn.00493a48
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00493a54
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4aed9a
mov eax, dword [esi]
call fcn.00493a54
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00493a3c
cmp eax, dword [ebp - 0x18]
jle 0x4aedb0
mov eax, dword [esi]
call fcn.00493a3c
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00493a30
cmp eax, dword [ebp - 0xc]
jle 0x4aedc6
mov eax, dword [esi]
call fcn.00493a30
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.004ad7b8
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 0x4aee8d
mov eax, ebx
call fcn.00460e88
cmp eax, 0x64
jge 0x4aee8d
cmp dword [0x4d7334], 0
je 0x4aee8d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.USER32.DLL_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x4aee8d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.USER32.DLL_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x4aee50
mov bl, 2
jmp 0x4aee6b
lea edx, [ebp - 0x20]
mov eax, dword [0x4dc0e4]
call fcn.004b1f54
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4aee69
xor ebx, ebx
jmp 0x4aee6b
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4d743c]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004ad7b8
push eax
call dword [0x4d7334]
push 4
mov eax, dword [ebp - 4]
call fcn.004ad7b8
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 0x4aeed2
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 0x4b2064
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4dad6c]
cmp byte [eax + 0xc], 0
je 0x4b21d1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b21ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dc138], 0
jne 0x4b20b8
push 0x4b21d8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4b21e0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc138], eax
cmp dword [0x4d7464], 0
jne 0x4b21b3
push 0x4b21f0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4d7464], eax
cmp dword [0x4d7464], 0
je 0x4b21b3
push 0x4b21fc
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc13c], eax
push 0x4b220c
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc140], eax
push 0x4b2220
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc144], eax
push 0x4b2238
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc148], eax
push 0x4b2250
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc14c], eax
push 0x4b2264
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc150], eax
push 0x4b227c
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc154], eax
push 0x4b2294
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc158], eax
push 0x4b22b0
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc15c], eax
push 0x4b22bc
mov eax, dword [0x4d7464]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dc160], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b21d1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b6f5c
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 0x4b7034
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dc174], 0
jne 0x4b7018
lea eax, [ebp - 4]
mov edx, 0x4b704c
call fcn.00460c58
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00461080
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b7018
mov eax, ebx
call fcn.0045f130
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b7011
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 0x4b6ffb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b705c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4b6ffb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4dc174], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7018
mov eax, dword [ebp - 0xc]
call fcn.0045f150
ret
mov ebx, dword [0x4dc174]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b703b
lea eax, [ebp - 4]
call fcn.00460bc0
ret

Function at 0x4c5a08
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 0x4c5ada
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 0x4c5aac
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 0x4c5a9b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.0045f394
mov eax, dword [ebp - 4]
call fcn.004c5944
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 0x4c5aa2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret

Function at 0x4c5aec
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 0x4c5b5e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4c5b32
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00460dc0
jmp 0x4c5b39
mov eax, ebx
call fcn.00460bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5b65
cmp dword [ebp - 8], 0
je 0x4c5b55
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 0x4c5b94
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 0x4c5c36
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4c5c09
mov edx, ebx
mov eax, dword [0x4812f4]
call fcn.00485844
test al, al
je 0x4c5bf9
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.00485754
call fcn.00460888
jmp 0x4c5c3d
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4c5bc4
mov ecx, dword [0x4db0d4]
mov dl, 1
mov eax, dword [0x44e2cc]
call fcn.0045270c
call fcn.004607dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5c3d
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 0x4c5c44
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 0x4c5c9c
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 0x4c5ca3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4c5cac
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 0x4c5d01
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 0x4c5d08
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4c5d78
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 0x4c5ded
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004c5944
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.00485818
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 0x4c5dd7
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 0x4c5df4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4c5dfc
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 0x4c5e71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004c5944
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 0x4c5e5b
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 0x4c5e78
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4c5ecc
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]
xor eax, eax
push ebp
push 0x4c5f10
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5f17
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4ce7b8
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 0x4ce81a
call fcn.004ce768
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004c97dc
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.004c97dc
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 0x4ce898
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4d9340], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4ce972
cmp dword [0x4d933c], 0
jne 0x4ce972
cmp dword [0x4d9520], 0
je 0x4ce92c
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.004ce668
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4ce912
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004ce668
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4ce912
lea ebx, [ebp - 0x84]
jmp 0x4ce913
inc ebx
call fcn.004ce854
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4ce9ad
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4d9344
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004c97dc
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4d9347
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4ce9ad
cmp dword [0x4d933c], 0
je 0x4ce98c
cmp dword [0x4d933c], 0xffffffff
je 0x4ce9ad
push esi
call dword [0x4d933c]
pop ecx
mov eax, dword [0x4d9340]
test eax, eax
je 0x4ce9ad
cmp dword [0x4d9340], 0xffffffff
je 0x4ce9ad
cmp byte [eax], 0
je 0x4ce9ad
push esi
push eax
call fcn.004ce7b8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret