joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40104f
push esi
mov esi, str.http:__kurs.ru_index0.html
push esi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push esi
push 1
push 0
push str.Start_Page
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x401177
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
push esi
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x660]
push eax
call edi
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x660]
push 0x408138
push eax
call esi
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x868]
push eax
call edi
lea eax, [ebp - 0x660]
push 0x408130
push eax
call esi
add esp, 0x20
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x401291
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x224]
push 0x40812c
push eax
call ebx
pop ecx
test eax, eax
pop ecx
je 0x40126f
lea eax, [ebp - 0x224]
push 0x408124
push eax
call ebx
pop ecx
test eax, eax
pop ecx
je 0x40126f
test byte [ebp - 0x250], 0x10
je 0x40126f
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x458]
push eax
call edi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x458]
push eax
call esi
lea eax, [ebp - 0x458]
push str.prefs.js
push eax
call esi
lea eax, [ebp - 0x458]
push eax
call fcn.004039a4
add esp, 0x1c
test al, al
je 0x40126f
lea eax, [ebp - 0x458]
push eax
call fcn.00401051
pop ecx
lea eax, [ebp - 0x250]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4011f0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x40169f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push edi
lea eax, [ebp - 0x410]
xor edi, edi
push eax
push edi
push edi
push 0x1c
push edi
call esi
lea eax, [ebp - 0x208]
push eax
push edi
push edi
push 0x1a
push edi
call esi
call fcn.00401000
lea eax, [ebp - 0x208]
push eax
call fcn.004015f2
lea eax, [ebp - 0x410]
push eax
call fcn.00401295
lea eax, [ebp - 0x208]
push eax
call fcn.00401177
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x4039a4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

Function at 0x403a6a
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
call fcn.00403a20
mov edi, eax
pop ecx
test edi, edi
jle 0x403a93
push 0x408454
push dword [esp + 0x10]
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
jne 0x403a97
xor eax, eax
jmp 0x403ad2
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, esi
call fcn.00402889
test eax, eax
jne 0x403aac
xor esi, esi
jmp 0x403ab9
mov eax, dword [esi]
mov dword [eax - 8], edi
mov eax, dword [esi]
and byte [eax + edi], 0
mov esi, dword [esi]
push ebx
push edi
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
pop esi
pop edi
pop ebx
ret

Function at 0x403b79
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x40845c
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x403bac
push esi
push 1
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop esi
ret

Function at 0x403bae
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x408460
push dword [esp + 0x10]
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x403beb
mov ecx, dword [esp + 8]
push esi
mov eax, dword [ecx]
mov eax, dword [eax - 8]
push eax
push 1
push 0
call fcn.00402889
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop esi
ret
Function at 0x403f2d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
xor eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret

Function at 0x403f51
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push ebx
xor ebx, ebx
push eax
push 0x20219
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403fdd
push esi
lea eax, [ebp + 0xc]
push edi
push eax
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x403fd2
mov eax, dword [ebp + 0xc]
push 1
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x403fd2
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x403fca
push edi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0040298a
mov bl, 1
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x403fe2
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, 0x405530
call fcn.004050b0
sub esp, 0x20
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push 0x406444
push 4
push ebx
push 0x406424
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov eax, dword [ebp - 0x10]
jl 0x404141
cmp eax, ebx
je 0x404141
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push edx
push 0x4084b8
push eax
call dword [ecx]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4040de
push esi
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x406434
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x4040cc
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x40407e
mov dword [eax + 0xc], ebx
mov ecx, dword [0x408010]
mov dword [eax + 0x10], ecx
mov dword [eax], 0x406408
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x404080
xor esi, esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x4040cc
mov eax, dword [ebp - 0x1c]
push edi
mov dword [esi + 8], eax
push dword [ebp - 0x10]
lea eax, [esi + 0xc]
push eax
call fcn.0040441a
cmp dword [ebp + 8], ebx
lea edi, [esi + 0x10]
jne 0x4040b1
xor eax, eax
jmp 0x4040ba
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 8]
mov ecx, edi
push eax
call fcn.0040298a
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, ebx
pop esi
je 0x4040de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov word [ebp - 0x2c], bx
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push dword [ebp + 8]
call fcn.004043ca
pop ecx
mov dword [ebp + 8], eax
pop ecx
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
push edx
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
push edx
push dword [ebp + 8]
push eax
call dword [ecx + 0x2c]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x404138
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
jmp 0x404145
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40414f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4042fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x404375
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jbe 0x404375
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404375
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x404375
mov esi, dword [ebp + 0x10]
push edi
mov ecx, esi
call fcn.00402889
test eax, eax
jne 0x404356
xor esi, esi
jmp 0x404363
mov eax, dword [esi]
mov dword [eax - 8], edi
mov eax, dword [esi]
and byte [eax + edi], 0
mov esi, dword [esi]
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov al, 1
jmp 0x404377
xor al, al
pop edi
pop esi
pop ebp
ret

Function at 0x40452d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x405578
call fcn.004050b0
sub esp, 0x34
mov eax, dword [0x408588]
push ebx
push esi
mov dword [ebp - 0x10], ecx
movzx ecx, word [ebp + 8]
push edi
push dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x404631
mov eax, dword [0x408588]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
jbe 0x404631
mov eax, dword [0x408588]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x404631
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00404df1
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], edi
call fcn.00404e0b
test eax, eax
je 0x404625
lea eax, [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
mov dword [ebp + 0xc], edi
call fcn.00404e5a
test eax, eax
je 0x404625
mov eax, dword [ebp - 0x10]
push 0x3ed
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0x4044ea
push eax
push 2
push 0x449
push ebx
mov dword [ebp - 0x20], edi
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push 0x4de
push ebx
mov dword [ebp - 0x14], edi
call esi
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404e4c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4049b6
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov dword [0x408564], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0040496e
pop esi
ret 4

Function at 0x404e5a
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx], edi
je 0x404ffa
mov esi, 0x104
push edi
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00404cf0
push edi
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.00404cf0
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403b79
add esp, 0x24
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.00405003
test eax, eax
je 0x404ffa
and byte [ebp - 0x30c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x30b]
and byte [ebp - 0x208], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x404f28
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x30c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
mov byte [ebp - 0x208], 0x2e
pop ecx
mov byte [ebp - 0x207], 0x5c
jmp 0x404f59
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x30c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x104]
sub esi, eax
lea eax, [ebp - 0x104]
inc esi
push esi
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
push 0
push 0x404d52
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x30c]
push eax
push dword [ebx]
call sub.Cabinet.dll_FDICopy
add esp, 0x1c
test eax, eax
je 0x404ffa
lea eax, [ebp - 0x410]
push eax
call fcn.004039d6
mov esi, eax
pop ecx
test esi, esi
jle 0x404ffa
lea eax, [esi + 1]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov edi, eax
lea eax, [ebp - 0x410]
push 0x408450
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x404ff2
push ebx
push 1
push esi
push edi
call dword [sym.imp.MSVCRT.dll_fread]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0x10]
push 1
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
pop eax
jmp 0x404ffc
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4035c0
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x4035d4
inc dword [0x4c8634]
add dword [0x4c48ec], 0x110
mov edx, dword [0x4c48ec]
push esi
push edi
mov ecx, 0x44
mov esi, 0x4c70f8
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 0x403603
push 0
mov eax, 0x4ca650
call fcn.00415d90
cmp dword [0x4c8664], 0
mov dword [0x4cb120], 0
mov dword [0x4cb124], 0
je 0x40362b
push 0x4c8cc8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x4036af
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x40365a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x40365a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4cb12c], 0
je 0x40366c
cmp dword [0x4cb128], 0
jne 0x403675
cmp byte [esi + 0xee], 0
je 0x4036af
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x4036af
cmp dword [0x4cb12c], 0
jge 0x403697
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 [0x4cb12c]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x404310
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x404334
push esi
call fcn.004045e0
test eax, eax
jne 0x404334
push str.Cant_open_clipboard_for_writing.
call fcn.00404410
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40436d
cmp dword [esi + 0x18], ebx
je 0x40435f
cmp dword [esi + 8], ebx
je 0x404354
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 0x4a1bb4
call fcn.00404410
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 0x4043a6
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4043cd
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 0x4043cd
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 0x4043c3
cmp dword [esi + 8], ebx
je 0x4043b8
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 0x4043e2
mov dword [esi + 4], ebx
jmp 0x4043a6
cmp dword [esi + 0x18], ebx
je 0x4043ff
cmp dword [esi + 8], ebx
je 0x4043f4
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 0x4a1bd4
call fcn.00404410
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4044e0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x4044f0
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4045bf
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.0048e247
add esp, 0xc
test eax, eax
je 0x4045b6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.0048d9f9
add esp, 8
test eax, eax
je 0x4045b6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.0048d9f9
add esp, 8
test eax, eax
je 0x4045b6
lea edx, [esp]
push str.Native
push edx
call fcn.0048d9f9
add esp, 8
test eax, eax
je 0x4045b6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.0048d9f9
add esp, 8
test eax, eax
je 0x4045b6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.0048d9f9
add esp, 8
test eax, eax
je 0x4045ac
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.0048d9f9
add esp, 8
test eax, eax
jne 0x4045c5
test esi, esi
je 0x4045b6
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 0x4045e0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x4045f2
mov eax, 1
ret 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x4c84c8]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebx
test eax, eax
jne 0x404660
mov eax, dword [0x4c48b0]
cmp eax, 0xffffffff
je 0x404631
test eax, eax
je 0x404676
call esi
mov edx, dword [0x4c48b0]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x404676
push 1
push 0x8000012f
mov dword [0x4c48b4], 0
call fcn.00401360
mov eax, dword [0x4c84c8]
add esp, 8
push eax
mov dword [0x4c48b4], 1
call ebx
test eax, eax
je 0x404612
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx + 0x18], 1
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x407a60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4c73d0], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x407b1b
mov al, byte [0x4c73d2]
cmp al, 0xa0
je 0x407a86
cmp al, 0x10
jne 0x407b1b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c73cc]
cmp eax, 0x16
jae 0x407b1b
test ebp, 0x100
jne case.0x407ab7.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407ab7.13
movzx eax, byte [eax + 0x407cc4]
jmp dword [eax*4 + 0x407cbc]
mov cl, 1
jmp 0x407ac4
xor cl, cl
cmp byte [0x4c73d1], 0
jne 0x407ae1
xor ecx, ecx
nop
cmp byte [ecx + 0x4c73b4], 0
jne 0x407aec
inc ecx
cmp ecx, 0x16
jl 0x407ad0
jmp 0x407b1b
cmp byte [esp + 0x1c], 0
je 0x407af5
test cl, cl
je 0x407b1b
mov byte [0x4c73d3], 1
jmp 0x407af9
test cl, cl
je 0x407b1b
mov cl, byte [0x4c73cb]
mov dl, byte [0x4c73ca]
mov al, byte [0x4c72d7]
mov byte [0x4c84c7], cl
mov byte [0x4c84f8], dl
mov byte [0x4c8588], al
mov cl, byte [0x4c84c7]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4c84f8]
mov al, byte [0x4c8588]
mov byte [0x4c73cb], cl
lea ecx, [esi + esi*8]
mov byte [0x4c73ca], dl
mov edx, dword [0x4c8efc]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4c72d7], al
test bl, bl
je case.default.0x407c92
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x407b72
xor al, al
jmp 0x407b87
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00407d20
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x407c5e
cmp byte [esp + 0x20], 0
jne 0x407bb1
mov cl, bl
not cl
and byte [0x4c84c5], cl
test dl, dl
je 0x407bb1
and byte [0x4c84c6], cl
cmp byte [esp + 0x18], 0
je case.default.0x407c92
not bl
and byte [0x4c84c7], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4c84e8], 0
cmp ecx, 5
ja case.default.0x407c92
jmp dword [ecx*4 + 0x407ce8]
mov cl, byte [0x4c8589]
mov byte [0x4c84f8], cl
jmp case.default.0x407c92
mov dl, byte [0x4c8588]
mov byte [0x4c84f8], dl
jmp case.default.0x407c92
mov al, byte [0x4c858b]
mov byte [0x4c84f9], al
jmp case.default.0x407c92
mov cl, byte [0x4c858a]
mov byte [0x4c84f9], cl
jmp case.default.0x407c92
mov dl, byte [0x4c858d]
mov byte [0x4c84fa], dl
jmp case.default.0x407c92
mov al, byte [0x4c858c]
mov byte [0x4c84fa], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4c73d4], bp
pop ebp
mov byte [0x4c73d2], al
mov byte [0x4c73d1], cl
pop ebx
je 0x407ca0
xor al, al
mov byte [0x4c73d0], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c73cc], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407c75
or byte [0x4c84c5], bl
test dl, dl
je 0x407c75
or byte [0x4c84c6], bl
test al, al
je case.default.0x407c92
or byte [0x4c84c7], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4c84e8], al
cmp ecx, 5
ja case.default.0x407c92
jmp dword [ecx*4 + 0x407d00]
mov byte [0x4c84f8], al
jmp case.default.0x407c92
push ecx
call fcn.00407d20
add esp, 4
mov byte [0x4c73d0], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c73cc], eax
pop ecx
ret
Function at 0x407d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407d2f
cmp al, 0x10
jne case.0x407d86.13
cmp byte [esp + 8], 0
jne case.0x407d86.13
cmp byte [0x4c73d3], 0
je 0x407d5b
xor eax, eax
cmp byte [eax + 0x4c73b4], 0
jne 0x407d5b
inc eax
cmp eax, 0x16
jl 0x407d41
mov byte [0x4c73d3], 0
xor al, al
pop esi
ret
cmp byte [0x4c73d1], 0
je case.0x407d86.13
test dword [0x4c73d4], 0x100
jne case.0x407d86.13
movzx eax, byte [0x4c73d2]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407d86.13
movzx eax, byte [eax + 0x407db0]
jmp dword [eax*4 + 0x407da8]
call esi
sub eax, dword [0x4c73cc]
cmp eax, 0x16
jb 0x407d57
call esi
mov dword [0x4cb2e8], eax
mov al, 1
pop esi
ret