joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
test byte [0x527994], 1
push esi
mov esi, dword [ebp + 8]
jne 0x47e6b5
or dword [0x527994], 1
xor eax, eax
push 0x4e5cf0
mov dword [0x52798c], 7
mov dword [0x527988], ebx
mov word [0x527978], ax
call fcn.00404d01
add esp, 4
cmp byte [0x527974], bl
jne 0x47e77e
lea ecx, [ebp - 0x418]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push 0x80000002
mov byte [0x527974], 1
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47e77e
push 0x410
lea edx, [ebp - 0x414]
push ebx
push edx
mov dword [ebp - 0x41c], ebx
call fcn.004b7180
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x41c]
push edx
push ebx
push str.Debugger
push eax
mov dword [ebp - 0x420], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47e771
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47e750
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x414]
push ecx
mov ecx, 0x527978
call fcn.00406040
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
push ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x527978
mov ecx, esi
mov word [esi], ax
call fcn.004066a0
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x47e7b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e07a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
test byte [0x5279b8], 1
mov dword [ebp - 0x4c], ebx
jne 0x47e817
or dword [0x5279b8], 1
xor eax, eax
push 0x4e5d30
mov dword [0x5279b0], 7
mov dword [0x5279ac], ebx
mov word [0x52799c], ax
call fcn.00404d01
add esp, 4
cmp byte [0x527998], bl
jne 0x47e90f
lea ecx, [ebp - 0x48]
push ecx
mov byte [0x527998], 1
call fcn.0047e660
add esp, 4
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x38], ebx
je 0x47e8f6
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00457c90
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], ebx
je 0x47e8e4
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00457540
add esp, 4
test al, al
je 0x47e8bc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x47e87b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x47e893
push 0x501048
lea ecx, [ebp - 0x2c]
call fcn.00421f10
lea edx, [ebp - 0x2c]
push edx
push 1
sub esp, 0x1c
mov eax, esp
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
mov dword [ebp - 0x4c], esp
mov word [eax], cx
call fcn.00457640
add esp, 0x24
cmp al, bl
je 0x47e8e4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x47e8c8
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47e8e4
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x52799c
call fcn.004066a0
cmp dword [ebp - 0x18], 8
jb 0x47e8f6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406d09
add esp, 4
cmp dword [ebp - 0x34], 8
mov dword [ebp - 4], 0xffffffff
jb 0x47e90f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00406d09
add esp, 4
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x52799c
mov ecx, esi
mov word [esi], dx
call fcn.004066a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x47e950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4448
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
test byte [0x5279dc], 1
mov dword [ebp - 0x30], ebx
jne 0x47e9b7
or dword [0x5279dc], 1
xor eax, eax
push 0x4e5d70
mov dword [0x5279d4], 7
mov dword [0x5279d0], ebx
mov word [0x5279c0], ax
call fcn.00404d01
add esp, 4
cmp byte [0x5279bc], bl
jne 0x47ea23
push ebx
push str.WerFault.exe
lea ecx, [ebp - 0x2c]
push 0x29
push ecx
mov byte [0x5279bc], 1
call fcn.00420570
add esp, 0x10
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x47ea0a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x47e9ee
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47ea0a
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x5279c0
call fcn.004066a0
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x47ea23
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406d09
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov word [esi], cx
push 0x5279c0
mov ecx, esi
call fcn.004066a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret

Function at 0x47ea60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4448
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
test byte [0x527a00], 1
mov dword [ebp - 0x30], ebx
jne 0x47eac7
or dword [0x527a00], 1
xor eax, eax
push 0x4e5db0
mov dword [0x5279f8], 7
mov dword [0x5279f4], ebx
mov word [0x5279e4], ax
call fcn.00404d01
add esp, 4
cmp byte [0x5279e0], bl
jne 0x47eb33
push ebx
push str.DWwin.exe
lea ecx, [ebp - 0x2c]
push 0x25
push ecx
call fcn.00420570
add esp, 0x10
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x47eb13
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x47eaf7
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47eb13
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x5279e4
call fcn.004066a0
cmp dword [ebp - 0x18], 8
mov byte [0x5279e0], 1
mov dword [ebp - 4], 0xffffffff
jb 0x47eb33
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406d09
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov word [esi], cx
push 0x5279e4
mov ecx, esi
call fcn.004066a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x480fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
push esi
mov esi, ecx
test eax, eax
je 0x4810f9
cmp word [eax], 0
je 0x4810f9
cmp edi, 1
jbe 0x4810f9
push str.8895b1c6_b41f_4c1c_a562_0d564250836f
push eax
push str.._sShellEx_s
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00408a50
add esp, 0x14
test eax, eax
js 0x4810e7
lea ecx, [ebp - 0x808]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x804]
push edx
push 0x80000000
mov dword [ebp - 0x808], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4810e7
lea ecx, [edi + edi]
push ecx
lea eax, [edi + edi - 2]
push 0
push esi
mov dword [ebp - 0x810], 1
mov dword [ebp - 0x80c], eax
call fcn.004b7180
mov ecx, dword [ebp - 0x808]
add esp, 0xc
lea edx, [ebp - 0x80c]
push edx
push esi
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4810da
cmp word [esi], ax
je 0x4810d8
lea esp, [esp]
movzx edx, word [esi]
push edx
call fcn.004b8428
add esp, 4
test eax, eax
je 0x4810cf
movzx eax, word [esi]
push eax
call fcn.004b92c7
add esp, 4
mov word [esi], ax
add esi, 2
cmp word [esi], 0
jne 0x4810b0
mov bl, 1
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x48aac0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e22b6
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2d
mov edi, ecx
xor ebx, ebx
xor eax, eax
mov esi, 7
push str.SoftwareAdobeRepairAcrobat_Reader11.0IOD
lea ecx, [ebp - 0x254]
mov byte [ebp - 0x255], bl
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], ax
call fcn.00406040
xor ecx, ecx
push 0x30
mov word [ebp - 0x238], cx
push str.SoftwareAdobeAcrobat_Reader11.0InstallerIOD
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
call fcn.00406040
cmp dword [ebp - 0x240], 8
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 1
jae 0x48ab67
lea eax, [ebp - 0x254]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x25c]
push edx
push 0x20019
push ebx
push eax
push 0x80000002
call esi
test eax, eax
je 0x48abb8
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x48ab9b
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x25c]
push ecx
push 0x20019
push ebx
push eax
push 0x80000002
call esi
test eax, eax
jne 0x48ac69
push 0x20a
lea edx, [ebp - 0x21c]
push ebx
push edx
call fcn.004b7180
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x260]
push edx
push ebx
push str.Library
push eax
mov dword [ebp - 0x264], 0x20a
mov dword [ebp - 0x260], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48ac5c
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x48ac5c
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48ac5c
call fcn.0042f200
test al, al
je 0x48ac5c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x48ac5c
push str.MaintenanceRepair
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [edi], eax
setne byte [ebp - 0x255]
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 8
cmp dword [ebp - 0x224], esi
jb 0x48ac85
mov edx, dword [ebp - 0x238]
push edx
call fcn.00406d09
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
cmp dword [ebp - 0x240], esi
jb 0x48acb5
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00406d09
add esp, 4
mov al, byte [ebp - 0x255]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x48ed30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x214]
push eax
xor edi, edi
push str.SoftwareAdobeDigital_Editions_
mov dword [ebp - 0x218], edi
push 0x80000001
xor bl, bl
mov dword [ebp - 0x214], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x48ede2
push 0x20a
lea ecx, [ebp - 0x210]
push edi
push ecx
mov dword [ebp - 0x21c], 0x20a
mov dword [ebp - 0x218], 1
call fcn.004b7180
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x218]
push ecx
push edi
push str.InstallPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48edcb
mov bl, 1
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x210]
test bl, bl
jne 0x48ede7
mov edx, 0x4e696c
mov dword [esi + 0x10], edi
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x14], 7
mov word [esi], cx
lea edi, [eax + 2]
jmp 0x48ee00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48ee00
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00406040
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
Function at 0x495c40
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x495ce0
test edi, edi
je 0x495ce0
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 8]
push ebx
xor bl, bl
cmp edx, dword [eax]
je 0x495c6b
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push esi
push eax
mov dword [edi + 0x14], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x495cc5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
test eax, eax
je 0x495cce
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
push edi
call fcn.00472160
add esp, 0x10
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
test bl, bl
setne al
pop esi
mov dword [edi + 0x1c], eax
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x10], eax
xor eax, eax
test bl, bl
setne al
pop esi
mov dword [edi + 0x1c], eax
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x495cf0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
test eax, eax
je 0x495da7
test ebx, ebx
je 0x495da7
mov edx, dword [ebx + 4]
mov edx, dword [edx + 8]
mov byte [ebp - 1], 0
cmp edx, dword [eax]
jne 0x495da7
push esi
push edi
mov edi, dword [eax + 8]
cmp edi, ecx
jbe 0x495d2a
mov edi, ecx
push 0xe
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
mov dword [ebx + 0x14], 1
test eax, eax
je 0x495d94
push 0x527ef9
push edi
call fcn.004218c1
mov esi, eax
add esp, 8
test esi, esi
je 0x495d9d
mov eax, dword [ebp - 8]
push esi
push edi
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileBits]
test eax, eax
je 0x495d76
mov ecx, dword [ebp + 0xc]
push edi
push esi
push ecx
push ebx
call fcn.00472160
add esp, 0x10
mov byte [ebp - 1], al
push esi
call fcn.004168eb
mov al, byte [ebp - 1]
add esp, 4
xor edx, edx
cmp byte [ebp - 1], dl
pop edi
setne dl
pop esi
mov dword [ebx + 0x1c], edx
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x10], eax
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x495db0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x495f2e
test esi, esi
je 0x495f2e
mov edx, dword [esi + 4]
mov edx, dword [edx + 8]
push ebx
xor bl, bl
cmp edx, dword [eax]
je 0x495df4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [eax + 8]
mov dword [ebp - 0x34], edi
cmp edi, ecx
jbe 0x495e04
mov dword [ebp - 0x34], ecx
mov edi, ecx
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x38], eax
mov dword [esi + 0x14], 5
test eax, eax
je 0x495f13
push 0x527ef9
push edi
call fcn.004218c1
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
je 0x495f1c
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x2c
lea edx, [ebp - 0x30]
push 0
push edx
call fcn.004b7180
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dx, word [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ax, word [ebp - 0x3e]
push 0
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], dx
mov word [ebp - 0x22], ax
mov dword [ebp - 0x20], 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x495edd
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x38]
push 0
lea ecx, [ebp - 0x30]
push ecx
push edi
push edx
push 0
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ecx, dword [ebp - 0x4c]
movzx eax, word [ebp - 0x40]
mov edx, dword [ebp - 0x48]
mov dword [esi + 0x1c], ecx
movzx ecx, word [ebp - 0x3e]
push ebx
push 0
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x54]
push edx
push edi
push eax
push esi
call fcn.00472160
push edi
mov bl, al
call fcn.004168eb
add esp, 0x14
xor ecx, ecx
test bl, bl
setne cl
pop edi
mov al, bl
pop ebx
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x496020
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x78], esi
test esi, esi
jne 0x496056
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 8
cmp byte [ecx + 0x54], 0
je 0x496042
mov ecx, ebx
call fcn.00495b90
test al, al
je 0x496042
push edi
push ebx
mov byte [ebp - 0x71], 0
xor edi, edi
mov dword [esi + 0x14], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x496122
cmp ebx, 0xe
jne 0x4960be
push 0x68
push eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004b7180
add esp, 0xc
lea ecx, [ebp - 0x70]
push ecx
push 0x6c
push esi
mov dword [ebp - 0x6c], 0x6c
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
test eax, eax
je 0x49611e
mov edi, dword [ebp - 0x40]
mov al, 1
jmp 0x496131
cmp ebx, 2
jne 0x496115
lea edx, [ebp - 0x90]
push edx
push 0x18
push esi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x49611e
movzx edi, word [ebp - 0x7e]
imul edi, dword [ebp - 0x8c]
add edi, 0x1f
shr edi, 5
imul edi, dword [ebp - 0x88]
add edi, edi
add edi, edi
mov al, 1
jmp 0x496131
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
mov al, 1
jmp 0x496131
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x10], eax
mov al, byte [ebp - 0x71]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov dword [edx + 0x1c], edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret 8
Function at 0x4969e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2ca2
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x50], esi
cmp byte [0x527eb1], 0
jne 0x496b56
mov ebx, 1
mov eax, 7
xor ecx, ecx
mov byte [0x527eb1], bl
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
xor edx, edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0CommonInstallRoot
push 0x80000002
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0040a680
lea ecx, [ebp - 0x48]
push ecx
push str.Path
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], ebx
call fcn.00422fd0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x496a9e
cmp dword [ebp - 0x38], esi
je 0x496a9e
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x496a94
lea eax, [ebp - 0x48]
push eax
call edi
mov byte [ebp - 0x49], bl
test eax, eax
jne 0x496aa2
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0040aa90
cmp byte [ebp - 0x49], 0
jne 0x496b19
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0OutlookInstallRoot
push 0x80000002
lea ecx, [ebp - 0x58]
call fcn.0040a680
lea edx, [ebp - 0x2c]
push edx
push str.Path
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 2
call fcn.00422fd0
test eax, eax
jne 0x496b04
cmp dword [ebp - 0x1c], esi
je 0x496b04
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x496afa
lea eax, [ebp - 0x2c]
push eax
call edi
mov byte [ebp - 0x49], bl
test eax, eax
jne 0x496b08
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0040aa90
cmp byte [ebp - 0x49], 0
je 0x496b1f
mov byte [0x527eb0], bl
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x496b35
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406d09
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x496b56
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406d09
add esp, 4
mov al, byte [0x527eb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret