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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005ad77
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edi, 0x1000
push 2
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
xor esi, esi
mov dword [esp + 0x1c], edx
cmp edx, esi
jne 0x100022c9
cmp ecx, 3
jne 0x100022c9
push esi
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::CMemFile
push esi
push edi
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb0], esi
call sub.mfc90u.dll_CArchive::CArchive
or edi, 0xffffffff
push edi
mov byte [esp + 0xa4], 1
push esi
mov ecx, ebx
mov dword [esp + 0x58], esi
call sub.mfc90u.dll_CDWordArray::SetSize
push edi
push 0xa
mov ecx, ebx
call sub.mfc90u.dll_CDWordArray::SetSize
mov eax, dword [ebx]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push dword [esp + 0x1c]
mov ecx, ebx
call sub.mfc90u.dll_CDWordArray::SetSize
lea ecx, [esp + 0x4c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CMemFile::Close
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.10057d9e
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.10057d92
cmp dword [esp + 0x10], esi
je 0x100022da
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor eax, eax
cmp dword [esp + 0x1c], esi
sete al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100022fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005ad77
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edi, 0x1000
push 2
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
xor esi, esi
mov dword [esp + 0x1c], edx
cmp edx, esi
jne 0x10002429
cmp ecx, 3
jne 0x10002429
push esi
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::CMemFile
push esi
push edi
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb0], esi
call sub.mfc90u.dll_CArchive::CArchive
or edi, 0xffffffff
push edi
mov byte [esp + 0xa4], 1
push esi
mov ecx, ebx
mov dword [esp + 0x58], esi
call sub.mfc90u.dll_CWordArray::SetSize
push edi
push 0xa
mov ecx, ebx
call sub.mfc90u.dll_CWordArray::SetSize
mov eax, dword [ebx]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push dword [esp + 0x1c]
mov ecx, ebx
call sub.mfc90u.dll_CWordArray::SetSize
lea ecx, [esp + 0x4c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CMemFile::Close
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.10057d9e
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.10057d92
cmp dword [esp + 0x10], esi
je 0x1000243a
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor eax, eax
cmp dword [esp + 0x1c], esi
sete al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000245b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005ad77
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edi, 0x1000
push 2
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
xor esi, esi
mov dword [esp + 0x1c], edx
cmp edx, esi
jne 0x10002585
cmp ecx, 3
jne 0x10002585
push esi
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::CMemFile
push esi
push edi
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb0], esi
call sub.mfc90u.dll_CArchive::CArchive
or edi, 0xffffffff
push edi
push esi
mov ecx, ebx
mov byte [esp + 0xa8], 1
call sub.mfc90u.dll_CStringArray::SetSize
push edi
push 0xa
mov ecx, ebx
call sub.mfc90u.dll_CStringArray::SetSize
mov eax, dword [ebx]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push dword [esp + 0x1c]
mov ecx, ebx
call sub.mfc90u.dll_CStringArray::SetSize
lea ecx, [esp + 0x4c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CMemFile::Close
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.10057d9e
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.10057d92
cmp dword [esp + 0x10], esi
je 0x10002596
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor eax, eax
cmp dword [esp + 0x1c], esi
sete al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100025b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005ad46
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call sub.mfc90u.dll_CDWordArray::CDWordArray
push 0x1e
pop eax
xor ebx, ebx
push 2
mov dword [esp + 0xb4], ebx
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x18]
push eax
push edi
lea eax, [esp + 0x38]
push eax
push ebx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x10002724
cmp dword [esp + 0x30], 3
jne 0x10002724
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push edi
call sub.mfc90u.dll_CMemFile::CMemFile
push ebx
push 0x1000
push 1
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc0], 1
call sub.mfc90u.dll_CArchive::CArchive
push 0xffffffffffffffff
mov byte [esp + 0xb4], 2
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], ebx
call sub.mfc90u.dll_CDWordArray::SetSize
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CDWordArray::SetSize
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CDWordArray::Serialize
lea ecx, [esp + 0x5c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CMemFile::Close
cmp dword [esp + 0x24], ebx
jg 0x100026bd
call sub.mfc90u.dll_AfxThrowInvalidArgException
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [edx + 4], ecx
cmp dword [esp + 0x24], 1
jle 0x100026b8
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov dword [edx + 0xc], ecx
cmp dword [esp + 0x24], 2
jle 0x100026b8
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov dword [edx], ecx
cmp dword [esp + 0x24], 3
jle 0x100026b8
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 1
call fcn.10057d9e
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], bl
call fcn.10057d92
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], 0x10
cmp edi, ebx
je 0x10002745
push edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
or dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.10057dc2
xor eax, eax
cmp dword [esp + 0x14], ebx
jne 0x1000275f
inc eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10002777
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005ad0a
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CDWordArray::CDWordArray
push 0x14
pop eax
xor ebx, ebx
push 2
mov dword [esp + 0xb4], ebx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x24]
push eax
push ebx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x100028be
cmp dword [esp + 0x1c], 3
jne 0x100028be
push ebx
push dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push edi
call sub.mfc90u.dll_CMemFile::CMemFile
push ebx
push 0x1000
push 1
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc0], 1
call sub.mfc90u.dll_CArchive::CArchive
push 0xffffffffffffffff
mov byte [esp + 0xb4], 2
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], ebx
call sub.mfc90u.dll_CDWordArray::SetSize
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CDWordArray::SetSize
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CDWordArray::Serialize
lea ecx, [esp + 0x5c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CMemFile::Close
cmp dword [esp + 0x28], ebx
jg 0x1000287d
call sub.mfc90u.dll_AfxThrowInvalidArgException
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ecx]
mov dword [edx], eax
cmp dword [esp + 0x28], 1
jle 0x10002878
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 1
call fcn.10057d9e
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], bl
call fcn.10057d92
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], 8
cmp edi, ebx
je 0x100028df
push edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
or dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.10057dc2
xor eax, eax
cmp dword [esp + 0x18], ebx
jne 0x100028f9
inc eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100037cd
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x1005f667
call fcn.100596da
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
and dword [ebp - 4], 0
push dword [0x100ab234]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
pop ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.TRIALPAY
call dword [0x1006ce70]
lea eax, [ebp - 0x10]
push eax
call sym.SACOhelper.dll_bool___cdecl_STGetPublishedURL_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
pop ecx
pop ecx
push 3
mov eax, 0x10074b84
push eax
push eax
push dword [ebp - 0x10]
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.100597b2
ret

Function at 0x1000383f
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x1005f667
call fcn.100596da
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
and dword [ebp - 4], 0
push dword [0x100ab238]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
pop ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.WEBSITE
call dword [0x1006ce70]
lea eax, [ebp - 0x10]
push eax
call sym.SACOhelper.dll_bool___cdecl_STGetPublishedURL_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
pop ecx
pop ecx
push 3
mov eax, 0x10074b84
push eax
push eax
push dword [ebp - 0x10]
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.100597b2
ret
Function at 0x100038b1
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x1005f643
call fcn.100596da
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10003932
push 0xffffffffffffffff
push dword [ebp + 8]
call sub.mfc90u.dll_AfxIsValidString
test eax, eax
je 0x10003932
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x1000393b
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x26
je 0x1000393b
lea eax, [ebp + 8]
push 0x1006ee04
push eax
lea ecx, [ebp - 0x10]
call fcn.10004e4d
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x1000393b
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [ebp - 4], 2
push dword [0x100ab23c]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
pop ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x1006ee08
call dword [0x1006ce70]
lea eax, [ebp - 0x14]
push eax
call sym.SACOhelper.dll_bool___cdecl_STGetPublishedURL_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.10004a7a
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 3
mov eax, 0x10074b84
push eax
push eax
push dword [ebp - 0x14]
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.100597b2
ret
Function at 0x100039d2
Capabilities:
Create process on windows

Disassembly:
push 3
mov eax, 0x10074b84
push eax
push eax
push dword [0x100ab230]
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x100051a3
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x100a8050]
xor eax, ebp
mov dword [ebp + 0x398], eax
push esi
mov esi, dword [ebp + 0x3a8]
push edi
xor eax, eax
push 0x40e
mov word [ebp - 0x78], ax
xor edi, edi
lea eax, [ebp - 0x76]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x3a4]
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1000520f
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
inc edi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x398]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1005883e
add ebp, 0x39c
leave
ret

Function at 0x100053db
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x234
mov eax, 0x1005ab31
call fcn.10059779
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x100053fe
push 0xfffffffffffffffc
pop eax
jmp 0x1000545d
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000540f
xor eax, eax
inc eax
jmp 0x1000545d
mov byte [ebp - 4], 1
mov edi, dword [edi]
lea eax, [ebp - 0x240]
push eax
push edi
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
call sub.mfc90u.dll_CFile::GetStatus
cmp eax, esi
jne 0x1000540a
xor eax, eax
jmp 0x1000545d
call fcn.100597d5
ret

Function at 0x10005463
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1000546d
sub eax, ecx
sar eax, 1
jne 0x10005481
xor eax, eax
leave
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10005493
or eax, eax
leave
ret
not al
movzx eax, al
shr eax, 4
and eax, 1
leave
ret
Function at 0x10005b4a
Capabilities:
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x7d0]
sub esp, 0x850
mov eax, dword [0x100a8050]
xor eax, ebp
mov dword [ebp + 0x7cc], eax
mov eax, dword [ebp + 0x7d8]
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x7dc]
push esi
push edi
mov dword [ebp - 0x60], eax
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov esi, 0x410
push esi
push eax
mov word [ebp + 0x3b8], ax
lea eax, [ebp + 0x3ba]
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
push esi
push eax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x5a]
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
lea ecx, [ebp + 0x3b8]
add esp, 0x18
mov edx, eax
sub ecx, eax
movzx esi, word [edx]
mov word [ecx + edx], si
inc edx
inc edx
test si, si
jne 0x10005bc6
mov ecx, dword [eax - 0xc]
xor edx, edx
mov word [ebp + ecx*2 + 0x3ba], dx
mov edx, dword [ebx]
lea edi, [ebp - 0x5c]
mov ecx, edx
sub edi, edx
movzx esi, word [ecx]
mov word [edi + ecx], si
inc ecx
inc ecx
test si, si
jne 0x10005bea
mov ecx, dword [edx - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, 0xa0
push edi
xor edx, edx
push eax
mov word [ebp + ecx*2 - 0x5a], dx
call esi
push edi
push dword [ebx]
call esi
lea eax, [ebp + 0x3b8]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, 0x4614
mov word [ebp - 0x70], ax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x10005c46
mov eax, esi
jmp 0x10005c4d
call fcn.10004ed1
xor eax, eax
mov ecx, dword [ebp + 0x7cc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005883e
add ebp, 0x7d0
leave
ret
Function at 0x10005c65
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0x220
push 0x100838b8
call fcn.100599b8
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x22c], 0
mov byte [ebp - 0x225], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov dword [ebp - 0x230], ebx
or eax, 0xffffffff
cmp ebx, eax
je 0x10005d7e
cmp ebx, 0x10
je 0x10005d7e
push ebx
push esi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call edi
test eax, eax
je 0x10005d8e
test bl, 1
je 0x10005cda
push 0x80
push esi
call edi
test eax, eax
je 0x10005d8e
mov byte [ebp - 0x225], 1
mov byte [ebp - 0x224], 0
push 0x207
push 0
lea eax, [ebp - 0x223]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10005cfc
sub eax, ecx
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCR90.dll_wcstombs]
add esp, 0xc
push 0x12
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10005d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x22c], eax
jmp 0x10005d47
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
cmp byte [ebp - 0x225], 0
je 0x10005d59
push dword [ebp - 0x230]
push esi
call edi
cmp ebx, 0xffffffff
je 0x10005d72
cmp dword [ebp - 0x22c], 0x20
je 0x10005d72
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10005d98
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
jmp 0x10005d98
mov dword [ebp - 4], 0xfffffffe
jmp 0x10005d98
mov dword [ebp - 4], 0xfffffffe
or eax, 0xffffffff
call fcn.10059a00
ret