Function at 0x417e8b
Capabilities:
Create directory

Disassembly:
mov eax, 0x4cd07c
call fcn.0046fad0
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 fcn.0046f498
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 0x4e6450
push 1
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x417f91
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x417f87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80004005
jmp 0x4180ae
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 0x41801e
push dword [ebp - 0x2c]
lea eax, [ebp - 0x13c]
lea ecx, [ebp + 8]
push eax
call fcn.0046f7c8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0046f498
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 0x4e5fd0
mov eax, dword [ebx]
push ebx
mov byte [ebp - 4], 8
call dword [eax + 0x1c]
test eax, eax
je 0x41802f
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x41801e
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 0x417f76
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, 0x4e7938
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 0x41808f
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 0x4180ac
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