Function at 0x449c3b
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.00403fdc
push esi
mov esi, 0x491eb8
mov ecx, esi
call fcn.004038c3
push 0x5c
mov ecx, esi
call fcn.0040456a
test eax, eax
jle 0x449c9f
mov ecx, dword [0x491ebc]
test ecx, ecx
je 0x449c9f
cmp eax, dword [0x491ec0]
jae 0x449c9f
xor edx, edx
mov dword [0x491ec0], eax
mov word [ecx + eax*2], dx
push 0x4c7500
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push 6
push ebp
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea ecx, [esp + 0x248]
call fcn.00403624
lea ecx, [esp + 0x30]
call fcn.00403624
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.00403fdc
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 0x449d42
test al, 0x10
je 0x449d42
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.0040f732
test al, al
jne 0x449d66
mov ecx, dword [esp + 0x34]
call fcn.0040f2cf
jmp 0x449d66
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 0x449e5a
test al, 0x10
je 0x449e5a
push esi
push dword [esp + 0x38]
call edi
mov ecx, dword [esp + 0x34]
call fcn.0040f732
test al, al
jne 0x449db7
mov ecx, dword [esp + 0x34]
call fcn.0040f2cf
xor ebp, ebp
sub esp, 0x20
call fcn.0040f061
push ecx
push str.main
push ecx
mov esi, 0x4ba070
mov ecx, esi
call fcn.00403785
push str.core.exe
mov ecx, 0x4ba8ec
call fcn.00403488
push 1
push 0x4710d0
push str.acoaoprbuhxvkfywgweedlovptddahwozl
push 0x471148
call fcn.00440906
sub esp, 0xc
call fcn.00445e1a
sub esp, 0x10
call fcn.00444cea
cmp byte [0x4c6ef1], 0
jne 0x449e34
mov edi, 0x4c363c
mov ecx, edi
call fcn.00403c08
test al, al
jne 0x449e34
push 0x400000
push esi
push 0x40eb7a
mov ecx, edi
call fcn.00403ba7
push 0x449f6b
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0x449f93
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test ebx, ebx
je 0x449e79
xor eax, eax
cmp word [ebx], bp
cmovne eax, ebx
jmp 0x449e7b
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 0x449db9
mov eax, ebp
push ecx
push eax
call fcn.0044c4f0
call fcn.0044c623
push eax
call fcn.00444c9c
push 0x45e435
mov ecx, 0x4b9590
call fcn.00445d88
cmp dword [0x4c74f8], 0
jne 0x449ece
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 1
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ebp
push eax
push 0x4c74f8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
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 [0x4926a4]
mov esi, 0x471a7c
mov edi, 0x4c74e8
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 [0x4926a0]
jmp 0x449f29
mov eax, dword [esi]
test eax, eax
je 0x449f27
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x4926a4]
add esi, ebx
cmp esi, ecx
jb 0x449f14
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x4ba058], eax
mov dword [0x4ba05c], ebp
call fcn.0041bf3c
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.0040e3d8
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x454
ret