Function at 0x40ce9f
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x58ef8a
call fcn.0055690c
sub esp, 0x114
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
call fcn.0044e1b0
mov eax, dword [0x5eb854]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x108], eax
mov eax, dword [0x5eb854]
lea ebx, [esi + 0x134]
mov dword [ebx], eax
lea eax, [esi + 0x138]
mov dword [eax], method.CCommandLineInfo.virtual_0
mov dword [eax + 4], edi
mov dword [eax + 8], 0x11
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], 0xa
lea ecx, [esi + 0x15c]
mov byte [ebp - 4], 3
call fcn.0044a600
lea ecx, [esi + 0x278]
mov byte [ebp - 4], 4
call fcn.00447a90
lea ecx, [esi + 0x520]
mov byte [ebp - 4], 5
call fcn.00445580
lea ecx, [esi + 0x5e0]
mov byte [ebp - 4], 6
call fcn.00442610
mov dword [esi], 0x5a44a8
mov byte [ebp - 4], 7
mov dword [0x600e80], esi
call fcn.00586f5e
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x120]
push 0x104
push ecx
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.005726ca
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0056b00b
cmp eax, edi
jle 0x40cfa0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0056af93
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.00572795
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0057265c
jmp 0x40cfa8
lea ecx, [ebp - 0x10]
call fcn.005725e7
lea eax, [ebp - 0x10]
push str.Styles_
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.005728f1
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.00572a74
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0057265c
mov eax, dword [0x5eb854]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push str.Styles
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xb
call fcn.005728f1
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00572a74
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0057265c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40d021
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x18
lea eax, [esi + 0xf0]
push edi
push eax
mov dword [esi + 0xec], edi
mov dword [esi + 0x128], 1
mov dword [esi + 0x12c], edi
call fcn.005561a0
lea eax, [ebp - 0x120]
push 0x2e
push eax
call dword [0x5c6788]
add esp, 0x14
push str..xml
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x120]
lea ecx, [esi + 0x108]
push eax
call fcn.005727e5
lea ecx, [ebp - 0x18]
mov dword [esi + 0x118], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0x10c], 0x806b
mov byte [ebp - 4], 8
call fcn.0057265c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0057265c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret