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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45ead8
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4548e1
push esi
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::CString_5
xor ebx, ebx
push 0x471c90
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], ebx
call sub.MFC42u.DLL_CString::TrimLeft
push 0x471c8c
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::TrimLeft
push 0x46fe70
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::TrimLeft
push 0x472d54
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::Find_3
cmp eax, 1
je 0x454696
push 0x472d4c
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::Find_3
cmp eax, 1
jne 0x45494e
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 8]
mov cx, word [eax + ecx*2 - 2]
cmp cx, 0x5c
je 0x4546dc
lea eax, [esp + 0x44]
push 0x471b48
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 1
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x44]
mov esi, 0x4646f4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xa
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x3c], 2
cmp dword [eax - 8], 3
jl 0x4547b7
push ebx
push eax
call edi
test eax, eax
jne 0x454824
call ebp
cmp eax, 0xb7
je 0x4547e2
call ebp
cmp eax, 3
jne 0x45480d
mov edx, dword [esp + 0x20]
push ebx
push edx
lea ecx, [esp + 0x20]
call fcn.00456130
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 8]
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x45476a
mov dword [eax], esi
jmp 0x45476e
mov dword [esp + 0x1c], esi
push 0x5c
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], esi
call sub.MFC42u.DLL_CString::ReverseFind
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 6
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x44]
mov esi, 0x4646f4
jmp 0x454712
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x3c], 3
cmp esi, ebx
je 0x454929
lea edx, [esi + 8]
push 1
push edx
call sub.MFC42u.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebx
jne 0x4547cc
jmp 0x454929
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x3c], 4
cmp esi, ebx
je 0x4548ab
lea eax, [esi + 8]
push 1
push eax
call sub.MFC42u.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebx
jne 0x4547f7
jmp 0x4548ab
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004560f0
jmp 0x454946
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esp + 0x24]
mov byte [esp + 0x3c], 7
cmp eax, ebx
je 0x45487b
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00455dd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 8
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 7
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x10]
push ebx
push edx
call edi
test eax, eax
je 0x4548f9
cmp dword [esp + 0x24], ebx
jne 0x45483a
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x3c], 0xa
cmp esi, ebx
je 0x4548ab
lea ecx, [esi + 8]
push 1
push ecx
call sub.MFC42u.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebx
jne 0x45489a
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], 0x45ffec
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x3c], 9
cmp esi, ebx
je 0x454929
lea eax, [esi + 8]
push 1
push eax
call sub.MFC42u.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebx
jne 0x454918
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CPlex::FreeDataChain
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], 0x45ffec
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret