Function at 0x4189f2
Capabilities:
Create directory

Disassembly:
mov eax, 0x4e852c
call fcn.00475fe0
sub esp, 0x130
push ebx
mov dword [ebp - 0x38], ecx
push esi
push edi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_4
and dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetInstallFolder_void_]
pop ecx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator_1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_4
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push dword [ebp - 0x24]
push str._s_d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
mov edi, str.ewh.db
mov ebx, str._s_s
push edi
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 4
push ebx
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov esi, str.matrix.db
lea eax, [ebp - 0x28]
push esi
push dword [ebp - 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CString::Format
and dword [ebp - 0x14], 0
add esp, 0x10
mov ebx, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x84]
mov byte [ebp - 4], 5
and dword [ebp - 0x34], 0
push edx
mov ecx, dword [eax]
push 0x503588
push 1
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x418af8
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x418aee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80004005
jmp 0x418c15
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x13c]
push edx
push 0
push dword [ebp + 8]
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c], 0x104
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
test eax, eax
jne 0x418b85
push dword [ebp - 0x2c]
lea eax, [ebp - 0x13c]
lea ecx, [ebp + 8]
push eax
call fcn.00475cce
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
and dword [ebp - 0x10], 0
mov ebx, dword [ebx + 0x84]
lea ecx, [ebp - 0x10]
push ecx
push 0x503128
mov eax, dword [ebx]
push ebx
mov byte [ebp - 4], 8
call dword [eax + 0x1c]
test eax, eax
je 0x418b96
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x418b85
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
jmp 0x418add
mov eax, dword [ebp - 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, 0x504bd8
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
push str.MatrixMatrix.db
push dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x418bf6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x418c13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4