Function at 0x449218
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x454
push ebx
push ebp
push esi
push edi
push dword [0x491cac]
xor ebp, ebp
mov ebx, edx
push dword [0x491ca4]
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x491ca0
mov ecx, esi
call fcn.00403f28
push esi
mov esi, 0x491eb8
mov ecx, esi
call fcn.00403897
push 0x5c
mov ecx, esi
call fcn.00404588
test eax, eax
jle 0x44927c
mov ecx, dword [0x491ebc]
test ecx, ecx
je 0x44927c
cmp eax, dword [0x491ec0]
jae 0x44927c
xor edx, edx
mov dword [0x491ec0], eax
mov word [ecx + eax*2], dx
push 0x4c74f0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
lea ecx, [esp + 0x248]
call fcn.00403621
lea ecx, [esp + 0x30]
call fcn.00403621
push dword [esp + 0x24c]
push ebp
push ebp
push 0x1a
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x248]
call fcn.00403f28
push dword [esp + 0x24c]
lea eax, [esp + 0x34]
push str._sMetaQuotes
push eax
call fcn.004011fb
add esp, 0xc
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0xffffffff
je 0x449316
test al, 0x10
je 0x449316
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, 0x80
push esi
push dword [esp + 0x38]
call edi
mov ecx, dword [esp + 0x34]
call fcn.0040f639
test al, al
jne 0x44933a
mov ecx, dword [esp + 0x34]
call fcn.0040f1d6
jmp 0x44933a
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, 0x80
push esi
push dword [esp + 0x38]
call edi
push dword [esp + 0x34]
call ebp
push 0
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [esp + 0x24c]
lea eax, [esp + 0x34]
push str._sMetaQuotesWebInstall
push eax
call fcn.004011fb
add esp, 0xc
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44942e
test al, 0x10
je 0x44942e
push esi
push dword [esp + 0x38]
call edi
mov ecx, dword [esp + 0x34]
call fcn.0040f639
test al, al
jne 0x44938b
mov ecx, dword [esp + 0x34]
call fcn.0040f1d6
xor ebp, ebp
sub esp, 0x20
call fcn.0040ef68
push ecx
push str.main
push ecx
mov esi, 0x4ba0a0
mov ecx, esi
call fcn.00403759
push str.core.exe
mov ecx, 0x4ba91c
call fcn.00403485
push 1
push 0x470fd8
push str.acoaoprbuhxvkfywgweedlovptddahwozl
push 0x471050
call fcn.0043ff02
sub esp, 0xc
call fcn.0044520c
sub esp, 0x10
call fcn.00443f30
cmp byte [0x4c6f19], 0
jne 0x449408
mov edi, 0x4c366c
mov ecx, edi
call fcn.00403b5c
test al, al
jne 0x449408
push 0x400000
push esi
push 0x40ea62
mov ecx, edi
call fcn.00403afb
push 0x44953d
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0x449560
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test ebx, ebx
je 0x44944d
xor eax, eax
cmp word [ebx], bp
cmovne eax, ebx
jmp 0x44944f
push esi
push dword [esp + 0x38]
call edi
push dword [esp + 0x34]
call ebp
xor ebp, ebp
push ebp
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x44938d
mov eax, ebp
push ecx
push eax
call fcn.0044bab6
call fcn.0044bbe9
push eax
call fcn.00443ee2
push ecx
call fcn.004451b4
cmp dword [0x4c74e8], 0
jne 0x449499
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 1
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ebp
push eax
push 0x4c74e8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
pop ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 8
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [0x4926a0]
mov esi, 0x47197c
mov edi, 0x4c74d8
mov dword [0x4ba054], ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [0x49269c]
jmp 0x4494fb
mov eax, dword [esi]
test eax, eax
je 0x4494f9
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x4926a0]
add esi, ebx
cmp esi, ecx
jb 0x4494e6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x4ba058], eax
mov dword [0x4ba05c], ebp
call fcn.0041b01c
pop ecx
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [0x4ba05c], eax
mov dword [0x4ba060], ebp
call fcn.0040e29f
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x454
ret