joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452e80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48de7c]
cmp byte [eax + 0xc], 0
je 0x452fed
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452fe6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x491574], 0
jne 0x452ed4
push 0x452ff4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x452ffc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x491574], eax
cmp dword [0x484798], 0
jne 0x452fcf
push 0x45300c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x484798], eax
cmp dword [0x484798], 0
je 0x452fcf
push 0x453018
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x491578], eax
push 0x453028
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49157c], eax
push 0x45303c
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x491580], eax
push 0x453054
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x491584], eax
push 0x45306c
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x491588], eax
push 0x453080
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49158c], eax
push 0x453098
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x491590], eax
push 0x4530b0
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x491594], eax
push 0x4530cc
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x491598], eax
push 0x4530d8
mov eax, dword [0x484798]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49159c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452fed
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x459094
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4590e8]
test si, 4
je 0x4590a9
or bl, 1
test si, 8
je 0x4590b3
or bl, 4
test si, 1
je 0x4590bd
or bl, 8
test si, 2
je 0x4590c7
or bl, 0x10
test si, 0x10
je 0x4590d1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4590e0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4590ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x459128]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459106
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459115
or bl, 4
test esi, 0x20000000
je 0x459120
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x459178
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045912c
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x4607fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46080e
add esp, 0xfffffff0
call fcn.00403c4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004232d0
mov eax, dword [0x48daa8]
mov dword [eax + 4], ebx
mov dword [eax], 0x460ba0
mov eax, dword [0x48dab4]
mov dword [eax + 4], ebx
mov dword [eax], 0x460bac
mov eax, ebx
call fcn.00460bb8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417bf0]
call fcn.004038b8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417bf0]
call fcn.004038b8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417bf0]
call fcn.004038b8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417bf0]
call fcn.004038b8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417bf0]
call fcn.004038b8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45c650
push eax
push 0
push 0
mov eax, dword [0x48dc38]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426f20]
call fcn.00428774
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426f20]
call fcn.00428774
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426f20]
call fcn.00428774
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461030
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460f00
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460f00
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460f00
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46094b
call fcn.00403ca4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460ce4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460e8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460e70
mov dl, 1
mov eax, dword [0x4182c0]
call fcn.004038b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404754
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460e5f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004531dc
test al, al
je 0x460e52
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x460ea0
lea eax, [ebp - 0x254]
call fcn.00409968
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460e52
xor eax, eax
push ebp
push 0x460e4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x460ed8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460e34
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049c4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460e34
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460e52
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460d55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041cd20
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460e96
lea eax, [ebp - 0x260]
call fcn.00404754
ret

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

Disassembly:
push ecx
mov eax, dword [0x4915ac]
cmp byte [eax + 0xad], 0
jne 0x461879
cmp dword [0x4915c4], 0
jne 0x46183a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4617c4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4915c4], eax
cmp dword [0x4915c0], 0
jne 0x461855
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4915c0], eax
cmp dword [0x4915c8], 0
jne 0x461879
push esp
push 0
push 0
push 0x461768
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4915c8], eax
pop edx
ret
Function at 0x461aa8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461abf
add esp, 0xfffffff0
call fcn.00403c4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004232d0
mov eax, dword [0x48dc1c]
cmp word [eax + 2], 0
jne 0x461ae7
mov eax, dword [0x48dc1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463558
mov eax, dword [0x48dce4]
cmp word [eax + 2], 0
jne 0x461b01
mov eax, dword [0x48dce4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463764
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417bf0]
call fcn.004038b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417bf0]
call fcn.004038b8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417bf0]
call fcn.004038b8
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 [0x427a30]
call fcn.0042f500
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x461cb8
mov eax, dword [0x48db24]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f8d4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463e24
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48db24]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d194
test eax, eax
je 0x461c08
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409320
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1c8
test eax, eax
je 0x461c1c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004049c4
mov byte [ebx + 0xd4], 0
push ebx
push 0x4630b8
call fcn.00424460
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48d9c8]
cmp byte [eax], 0
jne 0x461c6d
mov eax, ebx
call fcn.00461dfc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00464000
mov eax, ebx
call fcn.00464b60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461cad
call fcn.00403ca4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46207c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4915ac]
cmp dword [eax + 0x30], 0
je 0x462126
cmp dword [ebx + 0x94], 0
jne 0x462120
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46200c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462120
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 0x4620e6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462120
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.0041a570
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4620f5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462e40
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x462e75
push pe_nt_image_headers32
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.00404844
jmp 0x462e82
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4641e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464252
mov eax, esi
call fcn.0044debc
test al, al
je 0x464252
mov eax, dword [ebx + 0x84]
call fcn.0044db1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464252
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x464246
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044db1c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00445ef8
jmp 0x464252
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00464020
pop esi
pop ebx
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4b182dac
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x222f0f0e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403500
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x403514
inc dword [0x4c86a8]
add dword [0x4c4a14], 0x108
mov edx, dword [0x4c4a14]
push esi
push edi
mov ecx, 0x42
mov esi, 0x4c7170
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov esi, edx
mov dword [esi + 0x2c], ecx
test al, al
je 0x403543
push 0
mov eax, 0x4c9718
call fcn.004165d0
cmp dword [0x4c86d4], 0
mov dword [0x4ca1f8], 0
mov dword [0x4ca1fc], 0
je 0x40356b
push 0x4c8d40
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x4035ef
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x40359a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x40359a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4ca204], 0
je 0x4035ac
cmp dword [0x4ca200], 0
jne 0x4035b5
cmp byte [esi + 0xee], 0
je 0x4035ef
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x4035ef
cmp dword [0x4ca204], 0
jge 0x4035d7
pop edi
mov dword [esi + 0xe0], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xdc], eax
mov edx, dword [0x4ca204]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x4042d0
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x4042f3
call fcn.004045a0
test eax, eax
jne 0x4042f3
push str.Cant_open_clipboard_for_writing.
call fcn.004043d0
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40432c
cmp dword [esi + 0x18], ebx
je 0x40431e
cmp dword [esi + 8], ebx
je 0x404313
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4a1bf4
call fcn.004043d0
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp eax, ebx
je 0x404365
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x40438c
cmp word [ecx], bx
push eax
sete byte [esp + 0x13]
call edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
cmp byte [esp + 0xf], bl
je 0x40438c
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], ebx
je 0x404382
cmp dword [esi + 8], ebx
je 0x404377
mov ecx, dword [esi]
push ecx
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov edx, dword [esi + 4]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4043a1
mov dword [esi + 4], ebx
jmp 0x404365
cmp dword [esi + 0x18], ebx
je 0x4043be
cmp dword [esi + 8], ebx
je 0x4043b3
mov eax, dword [esi]
push eax
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4a1c14
call fcn.004043d0
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4044a0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x4044b0
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x40457f
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.0048e707
add esp, 0xc
test eax, eax
je 0x404576
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.0048deb9
add esp, 8
test eax, eax
je 0x404576
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.0048deb9
add esp, 8
test eax, eax
je 0x404576
lea edx, [esp]
push str.Native
push edx
call fcn.0048deb9
add esp, 8
test eax, eax
je 0x404576
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.0048deb9
add esp, 8
test eax, eax
je 0x404576
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.0048deb9
add esp, 8
test eax, eax
je 0x40456c
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.0048deb9
add esp, 8
test eax, eax
jne 0x404585
test esi, esi
je 0x404576
mov dword [esi], 1
xor eax, eax
add esp, 0x20c
ret
xor eax, eax
mov word [esp], ax
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x20c
ret
Function at 0x4045a0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ecx + 0x18], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
jne 0x40462a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, eax
mov eax, dword [0x4c8538]
push eax
call ebx
test eax, eax
jne 0x40461f
mov eax, dword [0x4c4918]
cmp eax, 0xffffffff
je 0x4045ef
test eax, eax
je 0x404636
call esi
mov ecx, dword [0x4c4918]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x404636
push 1
push 0x8000012f
mov dword [0x4c491c], 0
call fcn.004013d0
mov edx, dword [0x4c8538]
add esp, 8
push edx
mov dword [0x4c491c], 1
call ebx
test eax, eax
je 0x4045d0
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407780
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4c743d], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x40783b
mov al, byte [0x4c743f]
cmp al, 0xa0
je 0x4077a6
cmp al, 0x10
jne 0x40783b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c7440]
cmp eax, 0x16
jae 0x40783b
test ebp, 0x100
jne case.0x4077d7.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x4077d7.13
movzx eax, byte [eax + 0x4079e0]
jmp dword [eax*4 + 0x4079d8]
mov cl, 1
jmp 0x4077e4
xor cl, cl
cmp byte [0x4c743e], 0
jne 0x407801
xor ecx, ecx
nop
cmp byte [ecx + 0x4c7424], 0
jne 0x40780c
inc ecx
cmp ecx, 0x16
jl 0x4077f0
jmp 0x40783b
cmp byte [esp + 0x1c], 0
je 0x407815
test cl, cl
je 0x40783b
mov byte [0x4c7446], 1
jmp 0x407819
test cl, cl
je 0x40783b
mov cl, byte [0x4c743c]
mov dl, byte [0x4c743b]
mov al, byte [0x4c743a]
mov byte [0x4c8537], cl
mov byte [0x4c8568], dl
mov byte [0x4c85f8], al
mov cl, byte [0x4c8537]
mov dl, byte [0x4c8568]
movzx esi, byte [esp + 0x14]
mov al, byte [0x4c85f8]
mov byte [0x4c743c], cl
mov byte [0x4c743b], dl
mov edx, dword [0x4c8f74]
lea ecx, [esi + esi*4]
mov bl, byte [edx + ecx*4 + 8]
mov byte [0x4c743a], al
test bl, bl
je case.default.0x4079af
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x40788f
xor al, al
jmp 0x4078a4
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00407a40
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x40797b
cmp byte [esp + 0x20], 0
jne 0x4078ce
mov cl, bl
not cl
and byte [0x4c8535], cl
test dl, dl
je 0x4078ce
and byte [0x4c8536], cl
cmp byte [esp + 0x18], 0
je case.default.0x4079af
not bl
and byte [0x4c8537], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4c8558], 0
cmp ecx, 5
ja case.default.0x4079af
jmp dword [ecx*4 + 0x407a04]
mov cl, byte [0x4c85f9]
mov byte [0x4c8568], cl
jmp case.default.0x4079af
mov dl, byte [0x4c85f8]
mov byte [0x4c8568], dl
jmp case.default.0x4079af
mov al, byte [0x4c85fb]
mov byte [0x4c8569], al
jmp case.default.0x4079af
mov cl, byte [0x4c85fa]
mov byte [0x4c8569], cl
jmp case.default.0x4079af
mov dl, byte [0x4c85fd]
mov byte [0x4c856a], dl
jmp case.default.0x4079af
mov al, byte [0x4c85fc]
mov byte [0x4c856a], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4c7444], bp
pop ebp
mov byte [0x4c743f], al
mov byte [0x4c743e], cl
pop ebx
je 0x4079bd
xor al, al
mov byte [0x4c743d], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c7440], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407992
or byte [0x4c8535], bl
test dl, dl
je 0x407992
or byte [0x4c8536], bl
test al, al
je case.default.0x4079af
or byte [0x4c8537], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4c8558], al
cmp ecx, 5
ja case.default.0x4079af
jmp dword [ecx*4 + 0x407a1c]
mov byte [0x4c8568], al
jmp case.default.0x4079af
push ecx
call fcn.00407a40
add esp, 4
mov byte [0x4c743d], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c7440], eax
pop ecx
ret
Function at 0x407a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407a4f
cmp al, 0x10
jne case.0x407aa6.13
cmp byte [esp + 8], 0
jne case.0x407aa6.13
cmp byte [0x4c7446], 0
je 0x407a7b
xor eax, eax
cmp byte [eax + 0x4c7424], 0
jne 0x407a7b
inc eax
cmp eax, 0x16
jl 0x407a61
mov byte [0x4c7446], 0
xor al, al
pop esi
ret
cmp byte [0x4c743e], 0
je case.0x407aa6.13
test dword [0x4c7444], 0x100
jne case.0x407aa6.13
movzx eax, byte [0x4c743f]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407aa6.13
movzx eax, byte [eax + 0x407ad4]
jmp dword [eax*4 + 0x407acc]
call esi
sub eax, dword [0x4c7440]
cmp eax, 0x16
jb 0x407a77
call esi
mov dword [0x4ca3e0], eax
mov dword [0x4ca3dc], eax
mov al, 1
pop esi
ret