joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6780fdc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6797fdd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
lea ecx, [esp + 0x14]
call fcn.6797d946
xor ebx, ebx
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::Attach
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call sym.MfcHlpr520.dll_public:_static_int___cdecl_CMHPImageManagerIcon::GetBitmapBits_class_CDC___struct_HBITMAP_____struct_tagBITMAPINFO____void____unsigned_int__
add esp, 0x14
test eax, eax
jne 0x6780fe49
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
mov ecx, dword [esp + 8]
push ebp
neg eax
sbb eax, eax
push esi
push edi
and eax, edx
push ebx
lea edx, [esp + 0x1c]
push ebx
push edx
push ebx
push ecx
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, dword [esp + 0x18]
mov ebp, eax
cmp edi, ebx
je 0x6780fe96
cmp ebp, ebx
je 0x6780fe96
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll_free]
cmp eax, ebx
je 0x6780feae
push eax
call esi
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x6780fec0
push eax
call esi
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x6780fece
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x67812520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67980064
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.6797d7b4
xor edi, edi
mov ecx, 0x11
mov eax, 0xa
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], 0x6799620c
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0x679961f8
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], 0x679961e4
mov dword [esi + 0x5c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], 0x679961d0
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], eax
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPImageManager::vftable
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x88], 0x10aaa
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov byte [esp + 0x14], 4
je 0x678125e0
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], 0x7f
mov dword [esi + 0x8c], 2
mov dword [esi + 0x20], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x67812820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
and edi, 0xffff
jne 0x67812835
pop edi
xor eax, eax
pop esi
ret 0x10
push 0xf1
push edi
call sub.MFC42.DLL_AfxFindResourceHandle
mov esi, eax
push 0xf1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x67812858
pop edi
pop esi
ret 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x67812869
pop edi
pop esi
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x6781287b
pop edi
pop esi
ret 0x10
xor eax, eax
push ebx
mov ax, word [esi + 6]
push ebp
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor edi, edi
add esp, 4
mov dword [ebp], eax
mov dword [ebx], 0
cmp word [esi + 6], di
jbe 0x678128db
mov ecx, esi
call fcn.678a3e50
cmp word [eax + edi*2], 0
je 0x678128d0
mov ecx, esi
call fcn.678a3e50
mov edx, dword [ebx]
xor ecx, ecx
mov cx, word [eax + edi*2]
mov eax, dword [ebp]
mov dword [eax + edx*4], ecx
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
xor ecx, ecx
inc edi
mov cx, word [esi + 6]
cmp edi, ecx
jl 0x678128a8
mov edx, dword [esp + 0x20]
xor eax, eax
mov ax, word [esi + 2]
xor ecx, ecx
mov cx, word [esi + 4]
pop ebp
pop ebx
mov dword [edx], eax
pop edi
mov dword [edx + 4], ecx
mov eax, 1
pop esi
ret 0x10
Function at 0x67812f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x67980118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
test ebx, ebx
push edi
mov dword [esp + 0x1c], ecx
je 0x67812f4f
mov eax, dword [ebx + 4]
test eax, eax
jne 0x67812f56
xor eax, eax
jmp 0x678130a5
mov edi, dword [esp + 0x6c]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
test edi, edi
jne 0x67812f75
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x67812f75
push eax
call esi
mov dword [esp + 0x6c], eax
mov edi, eax
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x67812fc6
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x67812fc6
test edi, edi
jle 0x67812fc6
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x30]
push eax
push 0
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageInfo]
lea edx, [esp + 0x40]
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, ebp
sub ecx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ecx, dword [ebx + 4]
push ecx
call esi
xor edx, edx
cmp eax, edi
sete dl
xor ebx, ebx
mov dword [esp + 0x18], edx
test edi, edi
mov dword [esp + 0x14], ebx
jle 0x678130a0
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x6781300a
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x6781300a
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
je 0x67813084
mov edx, dword [esp + 0x64]
push 0
push ebx
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
test esi, esi
je 0x67812f4f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x67813035
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
jmp 0x67813039
mov edi, dword [esp + 0x14]
push 1
push esi
lea ecx, [esp + 0x38]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::constructor_struct_HICON_____int_
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ebp
push edx
push eax
lea ecx, [esp + 0x3c]
push edi
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x70], 0
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManager::SetIcon_class_CMHPImageManagerIconHandle_const___unsigned_int__class_CSize__enum_MHPImageState_
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 0xffffffff
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x6c]
inc ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
add edx, 4
cmp eax, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x67812ff1
mov eax, 1
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x18
Function at 0x67813a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x679801f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x67995a04
mov ecx, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0x20], 0
call sym.MfcHlpr520.dll_public:_static_struct_HBITMAP______cdecl_CMHPImageManagerIcon::LoadBitmapFromResource_char_const___int__
add esp, 8
test eax, eax
jne 0x67813abe
mov dword [esp + 8], 0x67995a18
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManager::SetIcons_class_CBitmap___unsigned_int___int__class_CSize__enum_MHPImageState__int_
mov esi, eax
mov dword [esp + 8], 0x67995a18
lea ecx, [esp + 8]
mov dword [esp + 0x18], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
Function at 0x678143e0
Capabilities:
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x679802e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push 0x400
lea ecx, [esp + 0x10]
call fcn.6797dba4
push 0
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x90], 0
call fcn.6797db9e
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x88], 1
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManager::Serialize_unsigned_int__class_CArchive__
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CArchive::Flush
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CMemFile::GetPosition
lea ecx, [esp + 0xc]
mov esi, eax
call sub.MFC42.DLL_CMemFile::Detach
push esi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x678144af
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [sym.MfcHlpr520.dll_unsigned_short_int_CMHPImageManager::m_nImageClipFormat]
push ebp
and ecx, 0xffff
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CArchive::Close
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CMemFile::Close
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0
call sub.MFC42.DLL_CArchive::CArchive
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], 0xffffffff
call sub.MFC42.DLL_CMemFile::CMemFile
mov ecx, dword [esp + 0x78]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4

Function at 0x67816200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x679804ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.6797d7b4
xor edi, edi
mov dword [esi + 0x20], 0x679962e8
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], 0x679962d4
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call fcn.678161a0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], edi
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPNotifyConnection::vftable
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x67816216
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x679804ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.6797d7b4
xor edi, edi
mov dword [esi + 0x20], 0x679962e8
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], 0x679962d4
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call fcn.678161a0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], edi
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPNotifyConnection::vftable
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x67818e80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x67980779
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.6797d7b4
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_4
lea edi, [esi + 0x4c]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.6797d946
mov dword [edi], 0x67996460
mov dword [edi + 0x10], ebx
lea ebp, [esi + 0x6c]
push 0xa
mov ecx, ebp
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CMapStringToPtr::CMapStringToPtr
push ebx
push 0xc7
mov ecx, ebp
mov byte [esp + 0x24], 3
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPOffice2007Images::vftable
call sub.MFC42.DLL_CMapStringToPtr::InitHashTable
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x68], ebx
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPOffice2007Images::SetHandle_struct_HINSTANCE_____char_const___int_
lea eax, [esi + 0x64]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call sym.MfcHlpr520.dll_public:_static_struct_HBITMAP______cdecl_CMHPImageManager::Create32BPPDIBSection_struct_HDC_____int__int__unsigned_char___
add esp, 0x10
mov dword [esi + 0x60], eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::Attach
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x67819260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798083f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x30]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString_6
push ecx
mov byte [esp + 0x28], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x67a724dc
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_public:_class_CString___thiscall_CMHPOffice2007Images::GetImageString_class_CString__class_CString_
mov edx, dword [esp + 8]
mov byte [esp + 0x20], 3
mov eax, dword [edx - 8]
test eax, eax
je 0x678192e2
lea eax, [esp + 8]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::operator_3
push 0x5f
push 0x2e
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Replace
push 0x5f
push 0x5c
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Replace
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_6
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x678196b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x679808c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x678196e1
cmp dword [esi + 0x30], edi
je 0x678196e1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ebp
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
cmp dword [eax - 8], edi
jne 0x6781970a
push str.OFFICE2007BLUE_INI
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
push 0x5f
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x30], ecx
mov ecx, esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPOffice2007Images::RemoveAll_void_
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
push str.TEXTFILE
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x6781975a
test ebp, ebp
jne 0x6781975a
push ebx
mov ecx, esi
call sym.MfcHlpr520.dll_private:_struct_HRSRC______thiscall_CMHPOffice2007Images::FindResourceIniFile_struct_HINSTANCE____
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x67819791
mov ecx, dword [esi + 0x24]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x67819791
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x24]
push edi
push edx
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esi + 0x28]
mov ebx, 1
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x678197a8
push 0
push 0
push 0
push 0x294f
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPNotifyConnection::SendEvent_unsigned_long_int__unsigned_int__long_int__unsigned_long_int_
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x67819990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67980940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_6
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString_6
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x34], 1
call sym.MfcHlpr520.dll_public:_class_CString___thiscall_CMHPOffice2007Images::GetImageValue_class_CString__class_CString_
mov eax, dword [esp + 8]
xor ebx, ebx
cmp dword [eax - 8], ebx
jne 0x67819a39
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x24
ret 8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push edx
push ecx
push str._i__i__i
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x28]
xor edx, edx
mov dh, byte [esp + 0x20]
and eax, 0xff
mov dl, byte [esp + 0x24]
add esp, 0x14
shl edx, 8
or edx, eax
lea ecx, [esp + 8]
mov esi, edx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8
Function at 0x6781a760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67980ad7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x34]
mov ebx, 1
mov dword [esp + 0x28], ebx
fld qword [esi]
call sub.MSVCRT.dll__ftol
test eax, eax
jne 0x6781a7d0
lea eax, [esp + 0x34]
push str._H:_M:_S
push eax
mov ecx, esi
call sub.MFC42.DLL_COleDateTime::Format
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::operator_3
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
jmp 0x6781a851
mov ecx, dword [esi]
mov edx, dword [esi + 4]
fld qword [esi]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
fild qword [esp + 0x10]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x40
je 0x6781a829
lea eax, [esp + 0x34]
push str._Y__d__m
push eax
mov ecx, esi
call sub.MFC42.DLL_COleDateTime::Format
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator_3
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
jmp 0x6781a851
lea ecx, [esp + 0x34]
push str._Y__d__mT_H:_M:_S
push ecx
mov ecx, esi
call sub.MFC42.DLL_COleDateTime::Format
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::operator_3
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x30]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_6
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret