Function at 0x10009cb0
Capabilities:
Contain obfuscated stackstrings
Copy file
Get common file path
Get startup folder
Write file to startup folder

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1000c8b5
push eax
mov eax, 0x1050
mov dword fs:[0], esp
call fcn.1000ae10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1070]
mov esi, ecx
push edi
call dword [sym.imp.EoRezoTools_17.dll_public:_bool___thiscall_CXmlParser::Load_XML_Document_char_const__]
test al, al
mov byte [esp + 0x13], al
jne 0x10009cf5
mov dword [esi + 0x94], 1
mov eax, dword [esi + 0x94]
mov ebx, dword [sym.imp.EoRezoTools_17.dll_public:_void___thiscall_CRegistry::constructor_void_]
xor ebp, ebp
cmp eax, ebp
je 0x1000a04f
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x94], ebp
call fcn.1000aa48
push 0x5c
lea ecx, [esp + 0x28]
mov dword [esp + 0x106c], ebp
call sub.MFC42.DLL_CString::ReverseFind
or ebp, 0xffffffff
cmp eax, ebp
jne 0x10009d44
mov dword [esp + 0x1068], ebp
lea ecx, [esp + 0x24]
jmp 0x1000a497
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x34]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x106c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x34]
mov byte [esp + 0x1068], 0
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x9c]
push str..cfg
lea eax, [esp + 0x38]
push edi
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne byte [esp + 0x33]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x33]
test al, al
je 0x10009dcf
mov dword [esp + 0x1068], ebp
lea ecx, [esp + 0x24]
jmp 0x1000a497
mov ecx, esi
call sym.EoPhoto.dll_public:_void___thiscall_CXmlPhoto::Free_void_
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFile::CFile
push 1
lea edx, [esp + 0x864]
push 0x1a
push edx
push 0
mov byte [esp + 0x1078], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x98]
lea eax, [esp + 0x14]
push ebp
push 0x10012150
push eax
mov byte [esp + 0x1074], 3
call sub.MFC42.DLL_operator_2
push 0x10012150
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x1074], 4
call sub.MFC42.DLL_operator_1
push edi
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x1074], 5
call sub.MFC42.DLL_operator
push str..cfg
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x1070], 6
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [eax]
lea edx, [esp + 0x860]
push ecx
push edx
lea eax, [esp + 0x30]
push str._s_s
push eax
mov byte [esp + 0x1078], 7
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x1068], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1068], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1068], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1068], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
call ebx
push ebp
lea ecx, [esp + 0x24]
push str.Software_
push ecx
mov byte [esp + 0x1074], 8
call sub.MFC42.DLL_operator_2
push 0x10012150
lea edx, [esp + 0x1c]
push eax
mov byte [esp + 0x1070], 9
push edx
call sub.MFC42.DLL_operator_1
push edi
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1070], 0xa
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push str.PathInstall
push eax
lea ecx, [esp + 0x4c]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1078], 0xb
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CRegistry::ReadStringKey_struct_HKEY_____char_const___char_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1068], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1068], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1068], 0xd
call sub.MFC42.DLL_CString::CString
push edi
lea edx, [esp + 0x20]
push 0x10012150
push edx
call sub.MFC42.DLL_operator_2
push str..cfg
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x1070], 0x10
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x106c], 0x11
call fcn.1000aad8
lea ecx, [esp + 0x38]
mov byte [esp + 0x1068], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1068], 0xd
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x1070]
mov ecx, esi
push eax
call dword [sym.imp.EoRezoTools_17.dll_public:_bool___thiscall_CXmlParser::Load_XML_Document_char_const__]
lea ecx, [esp + 0x44]
mov byte [esp + 0x13], al
mov byte [esp + 0x1068], 8
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1068], 3
call ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x1068], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x1068], 0
call fcn.1000ac82
lea ecx, [esp + 0x24]
mov dword [esp + 0x1068], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x1000a055
mov ebp, dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_]
push 1
lea ecx, [esp + 0x64]
push 0x1a
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x98]
lea edx, [esp + 0x20]
push edi
push 0x10012150
push edx
mov dword [esp + 0x1074], 0x12
call sub.MFC42.DLL_operator_2
push 0x10012150
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x1070], 0x13
push eax
call sub.MFC42.DLL_operator_1
add esi, 0x9c
lea ecx, [esp + 0x14]
push esi
push eax
push ecx
mov byte [esp + 0x1074], 0x14
call sub.MFC42.DLL_operator
push str.eophoto_default.png
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x1074], 0x15
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x60]
push eax
push ecx
lea edx, [esp + 0x34]
push str._s_s
push edx
mov byte [esp + 0x1078], 0x16
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1068], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1068], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1068], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1068], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
jne 0x1000a287
lea ecx, [esp + 0x3c]
call ebx
push edi
lea ecx, [esp + 0x1c]
push str.Software_
push ecx
mov byte [esp + 0x1074], 0x17
call sub.MFC42.DLL_operator_2
push 0x10012150
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x1074], 0x18
call sub.MFC42.DLL_operator_1
push esi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x1070], 0x19
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push str.PathInstall
push eax
lea ecx, [esp + 0x30]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1078], 0x1a
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CRegistry::ReadStringKey_struct_HKEY_____char_const___char_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1068], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1068], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1068], 0x1c
call sub.MFC42.DLL_CString::CString
push esi
lea edx, [esp + 0x3c]
push 0x10012150
push edx
call sub.MFC42.DLL_operator_2
push str._default.png
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x1070], 0x1f
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x106c], 0x20
call fcn.1000aad8
lea ecx, [esp + 0x20]
mov byte [esp + 0x1068], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x1068], 0x1c
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x1068], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1068], 0x12
call ebp
push edi
lea eax, [esp + 0x24]
push 0x10012150
push eax
call sub.MFC42.DLL_operator_2
push 0x10012150
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x1074], 0x21
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x1074], 0x22
call sub.MFC42.DLL_operator
push str.eophoto_loading.png
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x1070], 0x23
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x34]
push str._s_s
push eax
mov byte [esp + 0x1078], 0x24
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1068], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1068], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1068], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1068], 0x12
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
jne 0x1000a488
lea ecx, [esp + 0x34]
call ebx
push edi
lea edx, [esp + 0x1c]
push str.Software_
push edx
mov byte [esp + 0x1074], 0x25
call sub.MFC42.DLL_operator_2
push 0x10012150
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1070], 0x26
push eax
call sub.MFC42.DLL_operator_1
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x1074], 0x27
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push str.PathInstall
push eax
lea edx, [esp + 0x48]
push reloc.OLEAUT32.dll_SysReAllocString
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1078], 0x28
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CRegistry::ReadStringKey_struct_HKEY_____char_const___char_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1068], 0x2c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1068], 0x2b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1068], 0x2a
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x50]
push 0x10012150
push eax
call sub.MFC42.DLL_operator_2
push str._default.png
lea ecx, [esp + 0x4c]
mov bl, 0x2d
push eax
push ecx
mov byte [esp + 0x1074], bl
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x106c], 0x2e
call fcn.1000aad8
lea ecx, [esp + 0x48]
mov byte [esp + 0x1068], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1068], 0x2a
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x40]
mov byte [esp + 0x1068], 0x25
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1068], 0x12
lea ecx, [esp + 0x34]
call ebp
mov dword [esp + 0x1068], 0xffffffff
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1060]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x105c
ret 4