joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2d70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4a2db9
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x4a2f09
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a2e34
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x4a2e3b
cmp eax, 4
jne 0x4a2e34
cmp dword [ebp - 0x14c], 0x5a
jae 0x4a2e3b
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x4a2ef8
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x4a2ef8
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4a2ea0
add ecx, 0xfffffd64
jmp 0x4a2ea2
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.00597db0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4a2ee7
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x4a2dd6
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b31f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6515b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CClipboardView.1.0
mov dword [esi + 0x50], vtable.CClipboardView.0
mov dword [ebp - 4], 8
mov eax, dword [esi + 0x32c]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [esi + 0x380]
xor edi, edi
test eax, eax
je 0x4b3265
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp edi, eax
jae 0x4b33a7
mov ecx, dword [esi + 0x37c]
lea eax, [ecx + edi*4]
mov eax, dword [eax]
push eax
call ebx
inc edi
cmp edi, dword [esi + 0x380]
jb 0x4b324e
mov byte [ebp - 4], 7
lea ecx, [esi + 0x37c]
call fcn.00507e10
mov byte [ebp - 4], 6
lea ecx, [esi + 0x330]
call fcn.00526d30
mov bl, 5
mov byte [ebp - 4], bl
lea edi, [esi + 0x308]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, edi
call fcn.004b18a0
mov byte [ebp - 4], bl
mov edi, dword [edi + 4]
push edi
call fcn.0060faf6
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [esi + 0x2f8]
call fcn.004a9db0
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x2d4]
xor ebx, ebx
cmp eax, ebx
je 0x4b32e6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x4b32e6
mov dword [esi + 0x2d4], ebx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x29c]
call fcn.004ebda0
mov byte [ebp - 4], 1
lea eax, [esi + 0x26c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
add eax, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b332e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [esi + 0x50]
call fcn.005b1090
mov dword [ebp - 4], 0xd
lea edi, [esi + 0x24]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xf
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x4b335e
push eax
call fcn.0061056f
add esp, 4
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov byte [ebp - 4], 0xd
push fcn.004496b0
push 2
push 4
add edi, 8
push edi
call fcn.006124e1
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0xc]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x4b3399
push eax
call fcn.0060ec68
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004011d0
int3
Function at 0x4be260
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4be2a9
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x4be3f6
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4be324
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x4be32b
cmp eax, 4
jne 0x4be324
cmp dword [ebp - 0x14c], 0x5a
jae 0x4be32b
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x4be3e5
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x4be3e5
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4be38d
add ecx, 0xffffffb0
jmp 0x4be38f
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.004bd2b0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4be3d4
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x4be2c6
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4be6d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6529ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], ebx
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
call fcn.004ebcf0
mov dword [ebp - 4], 6
lea eax, [esi + 0x50]
mov dword [ebp - 0x10], eax
mov dword [eax + 0x10], edi
mov byte [ebp - 4], 7
lea ecx, [eax + 0x20]
mov dword [ebp - 0x18], ecx
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov byte [ebp - 4], 9
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 0xc0c0c0
mov dword [eax], 0x10
mov dword [eax + 4], 0xf
mov dword [eax + 8], 0x16
mov dword [eax + 0xc], 0x15
mov byte [ebp - 4], 0xa
mov dword [esi], vtable.CEmailListView.0
mov dword [esi + 0x84], edi
mov byte [ebp - 4], 0xb
mov edx, dword [0x700724]
lea eax, [esi + 0xb4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xd
lea eax, [esi + 0xbc]
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0xf
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x10
mov dword [eax + 0x20], ebx
mov byte [ebp - 4], 0x12
mov dword [eax], vtable.CPagedHeaderCtrl.0
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov byte [ebp - 4], 0x13
mov byte [esi + 0x104], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4bffd0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652b67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 4
mov dword [esi], vtable.CEmailMessageDlg.0
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x20]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 6
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x24]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 8
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x28]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xa
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x2c]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xc
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x30]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x34]
call fcn.004bdf70
mov byte [ebp - 4], 0xf
lea ebx, [esi + 0x60]
mov dword [ebp - 0x14], ebx
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x11
mov dword [esi + 0x64], edi
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x6c]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x13
mov dword [esi + 0x74], edi
call fcn.0048ef80
lea eax, [esi + 0x78]
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x15
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x16
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x18
mov dword [eax], vtable.CEditWithoutMenu.0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c23e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor esi, esi
push esi
push esi
mov edi, ecx
mov eax, dword [edi + 0x1d4]
push 0x1004
push eax
call ebx
test eax, eax
jle 0x4c2463
push 0x34
lea ecx, [ebp - 0x34]
push 0
push ecx
call fcn.006100a0
mov eax, dword [edi + 0x1d4]
add esp, 0xc
lea edx, [ebp - 0x34]
push edx
push 0
push 0x104b
push eax
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0
call ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4c244c
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [edi + 0x1d4]
push 0
push 0
push 0x1004
push edx
inc esi
call ebx
cmp esi, eax
jl 0x4c2407
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4c29c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 2
push 0xffffffffffffffff
mov esi, ecx
mov eax, dword [esi + 0x1d4]
push 0x100c
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x4c2a4f
push 0x34
lea ecx, [ebp - 0x34]
push 0
push ecx
call fcn.006100a0
mov eax, dword [esi + 0x1d4]
add esp, 0xc
lea edx, [ebp - 0x34]
push edx
push 0
push 0x104b
push eax
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
call ebx
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4c2a4f
mov eax, dword [ecx]
cmp dword [eax - 4], 1
mov esi, ecx
jle 0x4c2a39
mov edx, dword [eax - 0xc]
push edx
call fcn.00401370
mov eax, dword [esi]
push 7
push 0
push 0
push eax
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c2e10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4c2e59
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x4c2fa6
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4c2ed4
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x4c2edb
cmp eax, 4
jne 0x4c2ed4
cmp dword [ebp - 0x14c], 0x5a
jae 0x4c2edb
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x4c2f95
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x4c2f95
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4c2f3d
add ecx, 0xffffffd8
jmp 0x4c2f3f
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.004c2260
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4c2f84
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x4c2e76
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c3aa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652f76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CEmailLogView.1.0
mov dword [esi + 0x24], vtable.CEmailLogView.0
mov dword [ebp - 4], 7
mov edi, dword [esi + 0x1f0]
cmp edi, dword [esi + 0x1f4]
je 0x4c3b00
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4c3af0
mov eax, dword [edi]
push eax
call ebx
add edi, 4
cmp edi, dword [esi + 0x1f4]
jne 0x4c3af0
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x1f0]
test edi, edi
je 0x4c3b3e
mov ebx, dword [esi + 0x1f4]
cmp edi, ebx
je 0x4c3b2f
lea eax, [esi + 0x1fc]
push edi
push eax
call fcn.0043b410
add edi, 4
add esp, 8
cmp edi, ebx
jne 0x4c3b18
mov eax, dword [esi + 0x1f0]
push eax
call fcn.0060faf6
add esp, 4
xor eax, eax
mov cl, 5
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1f8], eax
mov byte [ebp - 4], cl
lea eax, [esi + 0x1e4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], cl
mov eax, dword [eax]
sub eax, 0x10
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c3b83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
lea eax, [esi + 0x1dc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c3bb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov cl, 3
mov byte [ebp - 4], cl
lea eax, [esi + 0x168]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], cl
add eax, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], cl
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c3bd8
push eax
call fcn.0060ec68
mov cl, 2
mov byte [ebp - 4], cl
lea eax, [esi + 0x100]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], cl
add eax, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], cl
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c3bff
push eax
call fcn.0060ec68
mov byte [ebp - 4], 1
lea ecx, [esi + 0x58]
call fcn.004bc9b0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x28]
call fcn.004ebda0
mov dword [ebp - 4], edi
lea eax, [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
mov eax, dword [eax + 0xc]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4c3c33
push eax
call fcn.0060ec68
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c4b20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
push edi
sub eax, 0x10
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004011f0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
mov edx, dword [esi + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0xb0
push 0x481
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jne 0x4c4bac
mov eax, dword [esi + 0x20]
mov eax, dword [eax - 0xc]
cmp eax, edi
je 0x4c4c45
lea ecx, [eax + eax + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
jmp 0x4c4c48
sub eax, ecx
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00414520
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.004078d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c4bfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00427cb0
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.004078d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c4c40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x10]
jmp 0x4c4c48
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x4c4c95
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov ecx, ebx
sub edx, ebx
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x4c4c60
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4c4cb8
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10