joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4088c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433d88
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x449620]
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
mov dword [ebp - 0x44], edx
mov edi, ecx
mov dword [ebp - 0x54], edi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x408903
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0xbb8
mov esi, eax
push 0
push edi
mov dword [ebp - 0x50], esi
call fcn.0041dd50
xor edi, edi
mov dword [ebp - 0x4c], 0
add esp, 0xc
mov dword [ebx], 0
cmp dword [ebp - 0x48], edi
jle 0x408a4b
mov edx, dword [esi + edi*4]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
je 0x408972
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408963
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x40]
call fcn.004040e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push dword [ebp - 0x50]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
lea eax, [ecx + eax*2]
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404670
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x54]
add esi, dword [ebp - 0x4c]
push eax
mov eax, 0xbb8
sub eax, dword [ebp - 0x4c]
push eax
push esi
call fcn.0041d203
mov eax, dword [ebx]
add esp, 0x10
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4], esi
mov ecx, dword [ebp - 0x4c]
inc dword [ebx]
inc ecx
add ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x4c], ecx
jb 0x408a06
push dword [ebp - 0x28]
call fcn.0040c6f7
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x408a30
push dword [ebp - 0x40]
call fcn.0040c6f7
add esp, 4
mov esi, dword [ebp - 0x50]
inc edi
cmp edi, dword [ebp - 0x48]
jl 0x408942
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4], 0
jmp 0x408a53
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4], edi
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.0041b617
mov esp, ebp
pop ebp
ret
Function at 0x40bd40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4340f2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x449620]
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
mov esi, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call fcn.00403310
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x23
push 0
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40bdd3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bdc6
jmp 0x40bdfd
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40be12
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bdf2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004031c0
jmp 0x40be1e
push 0x44e7d4
mov ecx, esi
call fcn.00404d00
mov eax, dword [esi]
mov edi, dword [eax - 0xc]
lea ebx, [edi - 1]
test ebx, ebx
js 0x40bea1
cmp ebx, edi
jg 0x40bea1
cmp word [eax + ebx*2], 0x5c
jne 0x40be67
test ebx, ebx
js 0x40bea1
cmp ebx, edi
jge 0x40bea1
cmp dword [eax - 4], 1
jle 0x40be4b
push edi
mov ecx, esi
call fcn.00402ff0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + ebx*2], cx
test edi, edi
js 0x40bea1
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x40bea1
mov dword [eax - 0xc], edi
mov eax, dword [esi]
mov word [eax + edi*2], cx
push 1
push 0x441f44
mov ecx, esi
call fcn.00404340
push 9
push 0x4403c8
mov ecx, esi
call fcn.00404340
mov eax, esi
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.0041b617
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403170
int3

Function at 0x40de33
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4342e3
call fcn.0041e3a6
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0040df14
and dword [ebp - 4], 0
mov dword [ebx], vtable.CHttpConnection.0
call fcn.0040cce5
push eax
lea ecx, [ebx + 0x18]
call fcn.00402d40
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.00403280
push dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 4], eax
test eax, eax
jne 0x40dea9
push eax
push dword [ebx + 8]
call fcn.0040e598
push dword [ebx + 0xc]
mov ecx, 0x44b7a4
push eax
call fcn.0040efd7
mov eax, ebx
call fcn.0041e374
ret 0x18
Function at 0x40e01a
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x40e043
call fcn.004165ee
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x40e070
push esi
push eax
mov ecx, 0x44b7a4
call fcn.0040efd7
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.0040e598
int3
Function at 0x42cafd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x449620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00422b29
mov dword [ebp - 0x14], eax
cmp dword [0x44e674], esi
jne 0x42cbf0
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42cb7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42ccd0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42ccd0
push 0x43ad40
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ccd0
push eax
call ebx
push 0x43ad4c
push edi
mov dword [0x44e674], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x43ad5c
push edi
mov dword [0x44e678], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x44e67c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44e684], eax
test eax, eax
je 0x42cbed
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44e680], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42cc15
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42cc08
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42cc2a
push 4
pop eax
jmp 0x42ccd2
cmp dword [ebp - 0x14], esi
je 0x42cc2a
push dword [0x44e674]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42cc0f
mov eax, dword [0x44e680]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42cc88
cmp dword [0x44e684], edi
je 0x42cc88
push eax
call ebx
push dword [0x44e684]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42cc88
test eax, eax
je 0x42cc88
call ecx
test eax, eax
je 0x42cc7d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42cc7d
test byte [ebp - 8], 1
jne 0x42cc88
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42ccb8
mov eax, dword [0x44e678]
cmp eax, edi
je 0x42ccb5
push eax
call ebx
test eax, eax
je 0x42ccb5
call eax
mov esi, eax
test esi, esi
je 0x42ccb5
mov eax, dword [0x44e67c]
cmp eax, edi
je 0x42ccb5
push eax
call ebx
test eax, eax
je 0x42ccb5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44e674]
call ebx
test eax, eax
je 0x42ccd0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42ccd2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b617
mov esp, ebp
pop ebp
ret
Function at 0x100013a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1000b268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 8]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_2
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_2
lea eax, [edi + 0x10]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 0x14]
mov byte [esp + 0x14], 3
push ecx
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea edx, [edi + 0x18]
lea ecx, [esi + 0x18]
push edx
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_2
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 0x20]
mov byte [esp + 0x14], 6
push ecx
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::CString_2
lea edx, [edi + 0x24]
lea ecx, [esi + 0x24]
push edx
mov byte [esp + 0x18], 7
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x5c], ecx
mov edx, dword [edi + 0x60]
mov dword [esi + 0x60], edx
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x6c]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x6c], edx
mov dword [esi], sym.EoPhoto.dll_const_CCfgPhoto::vftable
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x10003aa0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push 0x7d0
test eax, eax
mov eax, dword [esi + 0x20]
push eax
jne 0x10003b02
call dword [sym.imp.USER32.dll_KillTimer]
test esi, esi
mov dword [esi + 0x194], 0
jne 0x10003acc
xor eax, eax
jmp 0x10003acf
mov eax, dword [esi + 0x20]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x180]
mov edx, dword [esi + 0x20]
push 0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
push 0x7d0
push edx
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
pop esi
ret 8
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
lea edx, [esi + 0x174]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
mov dword [esi + 0x194], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.10003bc0
test esi, esi
jne 0x10003b34
xor eax, eax
jmp 0x10003b37
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x184]
mov ecx, dword [esi + 0x20]
push 0
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 5
push eax
push 0x7d0
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
pop esi
ret 8
Function at 0x10006c40
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x140
cmp eax, 1
jne 0x10006e31
mov eax, dword [esp + 0x144]
push eax
push 0x10012878
call sub.MFC42.DLL_AfxInitExtensionModule
test eax, eax
jne 0x10006c72
add esp, 0x140
ret 0xc
lea ecx, [esp + 0x14]
call dword [sym.imp.EoRezoTools_17.dll_public:_void___thiscall_CRegistry::constructor_void_]
lea ecx, [esp + 0x20]
call dword [sym.imp.EoRezoTools_17.dll_public:_void___thiscall_CTools::constructor_void_]
push str.EoRezo
lea ecx, [esp + 0x10]
call fcn.1000aa48
push 0x100120e4
lea ecx, [esp + 0xc]
call fcn.1000aa48
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0x10012150
push edx
push 0x10012150
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CTools::GetAppDataDir_int_]
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x1c]
push eax
push edx
call sub.MFC42.DLL_operator
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 8]
push eax
push ecx
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 4]
lea edx, [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x10006d36
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ecx
mov ecx, esp
mov dword [esp + 4], esp
push str.EoPhotoSkinClassicGris.pcb
call fcn.1000aa48
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push str.images_classic_gris
call fcn.1000aa48
call fcn.10006e50
add esp, 4
mov ecx, esp
mov dword [esp + 4], esp
push str.EoPhotoSkinBigBleu.pcb
call fcn.1000aa48
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push str.images_big_bleu
call fcn.1000aa48
call fcn.10006e50
add esp, 4
mov ecx, esp
mov dword [esp + 4], esp
push str.EoPhotoSkinClassicBleu.pcb
call fcn.1000aa48
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push str.images_classic_bleu
call fcn.1000aa48
call fcn.10006e50
add esp, 4
mov ecx, esp
mov dword [esp + 4], esp
push str.EoPhotoSkinClassic.pcb
call fcn.1000aa48
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push str.images_classic
call fcn.1000aa48
call fcn.10006e50
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0xc
test eax, eax
je 0x10006df4
push 0
push 0x10012878
mov ecx, eax
call sub.MFC42.DLL_CDynLinkLibrary::CDynLinkLibrary
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CTools::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_]
mov eax, 1
add esp, 0x140
ret 0xc
test eax, eax
jne 0x10006e40
push eax
push 0x10012878
call sub.MFC42.DLL_AfxTermExtensionModule
mov eax, 1
add esp, 0x140
ret 0xc
Function at 0x100079a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1000c1cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x81c
push esi
mov esi, ecx
push str.EoRezo
lea ecx, [esp + 0x10]
call fcn.1000aa48
push 0x100120e4
lea ecx, [esp + 0xc]
mov dword [esp + 0x82c], 0
call fcn.1000aa48
lea ecx, [esp + 4]
mov byte [esp + 0x828], 1
call sub.MFC42.DLL_CString::CString_1
push 1
lea eax, [esp + 0x24]
push 0x1a
push eax
push 0
mov byte [esp + 0x838], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0x100122b8
push edx
call sub.MFC42.DLL_operator_2
push 0x10012150
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x830], 3
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x834], 4
call sub.MFC42.DLL_operator
push str..cfg
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x830], 5
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x834], 6
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x828], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x828], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x828], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x828], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 4]
lea ecx, [esi + 0x10]
push eax
call sym.EoPhoto.dll_public:_bool___thiscall_CXmlPhoto::Load_XML_Document_char_const__
mov ecx, dword [esi + 8]
pop esi
test ecx, ecx
je 0x10007ae9
mov edx, dword [ecx]
call dword [edx + 0xd8]
lea ecx, [esp]
mov byte [esp + 0x824], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x824], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x824], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x81c]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x828
ret
Function at 0x10007b40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1000c22d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x858
push esi
mov esi, ecx
mov dword [esp + 0x30], 0x2c
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10007d09
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x10007d09
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_CWnd::GetWindowPlacement
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x10007d09
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0xa0]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 4]
mov dword [eax + 0x2c], edx
call sub.MFC42.DLL_CString::CString_1
push str.EoRezo
lea ecx, [esp + 0x10]
mov dword [esp + 0x868], 0
call fcn.1000aa48
push 0x100120e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x868], 1
call fcn.1000aa48
push 1
lea eax, [esp + 0x60]
push 0x1a
push eax
push 0
mov byte [esp + 0x874], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push 0x100122b8
push edx
call sub.MFC42.DLL_operator_2
push 0x10012150
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x86c], 3
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x870], 4
call sub.MFC42.DLL_operator
push str..cfg
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x86c], 5
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x870], 6
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x864], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x864], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x864], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x864], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 4]
lea ecx, [esi + 0x10]
push eax
call sym.EoPhoto.dll_public:_int___thiscall_CXmlPhoto::Build_char_const__
mov byte [esp + 0x864], 1
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x864], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x864], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x85c]
pop esi
mov dword fs:[0], ecx
add esp, 0x864
ret
Function at 0x10007e20
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x1000c268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call fcn.10007e10
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push 0x100120e4
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 8]
push str.___0
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x10007ec5
mov edx, dword [eax + 0x30]
push edi
push edi
push 0x12
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
cmp eax, edi
je 0x10007ec5
mov eax, dword [esi + 0xc]
push 0x7d0
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x10007ec2
cmp eax, edi
je 0x10007ec2
cmp eax, 0x102
jne 0x10007ec5
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x2c]
cmp eax, edi
je 0x10007ec5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xc], edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret