Function at 0x1000d290
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x15c
cmp eax, 1
push esi
jne 0x1000d5dc
lea ecx, [esp + 0x2c]
call dword [sym.imp.EoRezoTools_17.dll_public:_void___thiscall_CTools::constructor_void_]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
call dword [sym.imp.EoRezoTools_17.dll_public:_void___thiscall_CRegistry::constructor_void_]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str.EoRezo
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
push 0x1002c1f8
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push 0x1002c7c8
push ecx
push 0x1002c7c8
lea edx, [esp + 0x28]
push 0
push edx
lea ecx, [esp + 0x44]
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CTools::GetAppDataDir_int_]
push eax
lea eax, [esp + 0x38]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x30]
push eax
push edx
call sub.MFC42.DLL_operator_1
push eax
lea eax, [esp + 0x3c]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFile::CFile
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x48]
push ecx
push edx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x1000d39f
push eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push 0x1002c7c8
push edx
lea eax, [esp + 0x2c]
push str.Software_
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x1c]
push eax
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov esi, dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CRegistry::ReadStringKey_struct_HKEY_____char_const___char_const__]
push str.PathInstall
push eax
lea ecx, [esp + 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
lea ecx, [esp + 0x20]
call esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 8]
lea eax, [esp + 0x18]
push edx
push str.Software_
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push str.Language
push eax
lea ecx, [esp + 0x1c]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
lea ecx, [esp + 0x20]
call esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x1000d4df
mov eax, dword [esp + 0x164]
push eax
push 0x1002d740
call sub.MFC42.DLL_AfxInitExtensionModule
test eax, eax
je 0x1000d56f
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x1000d486
push 0
push 0x1002d740
mov ecx, eax
call sub.MFC42.DLL_CDynLinkLibrary::CDynLinkLibrary
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
call fcn.1001c280
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
call dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CTools::destructor_void_]
mov eax, 1
pop esi
add esp, 0x15c
ret 0xc
lea ecx, [esp + 0x14]
push str..dll
lea edx, [esp + 8]
push ecx
push edx
lea eax, [esp + 0x28]
push 0x1002c7c8
lea ecx, [esp + 0x38]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x2c]
push eax
push edx
call sub.MFC42.DLL_operator
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x1000d560
mov edx, dword [esp + 0x164]
push edx
jmp 0x1000d561
push esi
push 0x1002d740
call sub.MFC42.DLL_AfxInitExtensionModule
test eax, eax
jne 0x1000d5c5
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
call fcn.1001c280
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
call dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CTools::destructor_void_]
xor eax, eax
pop esi
add esp, 0x15c
ret 0xc
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x1000d486
jmp 0x1000d478
test eax, eax
jne 0x1000d5eb
push eax
push 0x1002d740
call sub.MFC42.DLL_AfxTermExtensionModule
mov eax, 1
pop esi
add esp, 0x15c
ret 0xc