Function at 0x413f00
Capabilities:
Delete directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45f613
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd8]
mov esi, ecx
xor edi, edi
push eax
lea ecx, [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x24], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x44]
mov dword [esp + 0xd0], edi
mov ebp, dword [sym.imp.K8Common.dll_public:_static_void___cdecl_GameMgr::GMFileName::NormalizePath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____unsigned_int_]
push 0x10
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x7c]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMFileInfo::constructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 1
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMFindFile::constructor_void_]
push 0x46c3bc
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0xdc], 2
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 3
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMFindFile::FindFirst_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_GameMgr::GMFileInfo__]
lea ecx, [esp + 0x60]
mov byte [esp + 0x17], al
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [esp + 0x17], bl
je 0x414269
lea ecx, [esp + 0x7c]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMFileInfo::IsDots_void_const]
test al, al
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ebp, dword [sym.imp.K8Common.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____thiscall_GameMgr::GMFileInfo::GetFileName_void_const]
jne 0x414100
lea ecx, [esp + 0x7c]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMFileInfo::IsDir_void_const]
test al, al
je 0x41405b
lea ecx, [esp + 0x7c]
call ebp
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x68]
push eax
call edi
add esp, 0xc
mov ecx, dword [esp + 0xdc]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0xd8], 4
call fcn.00413f00
lea ecx, [esp + 0x60]
mov ebx, eax
mov dword [esp + 0x20], edx
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x414100
cmp byte [esp + 0xdc], 0
je 0x4140f3
lea ecx, [esp + 0x7c]
call ebp
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x68]
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xd4], 5
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::RemoveFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
add dword [esi + 0x220], 1
mov eax, dword [esi + 0x220]
push 0
adc dword [esi + 0x224], 0
mov edx, dword [esi + 0x224]
push 0
push 0x64
push edx
push eax
call fcn.0045db10
mov ecx, dword [esi + 0x21c]
push ecx
mov ecx, dword [esi + 0x218]
push ecx
push edx
push eax
call fcn.0045daa0
mov edx, dword [esi + 4]
push eax
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x60]
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ebx, 1
mov dword [esp + 0x20], 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMFindFile::FindNext_class_GameMgr::GMFileInfo__]
test al, al
je 0x41425f
jmp 0x414120
push 0
lea ecx, [esi + 0x22c]
call dword [sym.imp.K8Common.dll_public:_void____thiscall_GameMgr::GMBaseEvent::operator_void__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41425f
lea ecx, [esp + 0x7c]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMFileInfo::IsDots_void_const]
test al, al
jne 0x414248
lea ecx, [esp + 0x7c]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMFileInfo::IsDir_void_const]
test al, al
je 0x4141a8
lea ecx, [esp + 0x7c]
call ebp
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x68]
push edx
call edi
add esp, 0xc
mov ecx, dword [esp + 0xdc]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0xd8], 6
call fcn.00413f00
add ebx, eax
adc dword [esp + 0x20], edx
lea ecx, [esp + 0x60]
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x414248
cmp byte [esp + 0xdc], 0
je 0x414240
lea ecx, [esp + 0x7c]
call ebp
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x68]
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xd4], 7
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::RemoveFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
add dword [esi + 0x220], 1
mov eax, dword [esi + 0x220]
push 0
adc dword [esi + 0x224], 0
mov edx, dword [esi + 0x224]
push 0
push 0x64
push edx
push eax
call fcn.0045db10
mov ecx, dword [esi + 0x21c]
push ecx
mov ecx, dword [esi + 0x218]
push ecx
push edx
push eax
call fcn.0045daa0
mov edx, dword [esi + 4]
push eax
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x60]
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add ebx, 1
adc dword [esp + 0x20], 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMFindFile::FindNext_class_GameMgr::GMFileInfo__]
test al, al
jne 0x414120
mov edi, dword [esp + 0x20]
mov ebp, dword [sym.imp.K8Common.dll_public:_static_void___cdecl_GameMgr::GMFileName::NormalizePath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____unsigned_int_]
lea ecx, [esp + 0x18]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMFindFile::Close_void_]
cmp byte [esp + 0xdc], 0
je 0x414394
lea ecx, [esp + 0x44]
push 0x20
push ecx
call ebp
add esp, 8
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0xd4], 8
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFileSystemUtils::MyGetCurrentDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
add esp, 4
test al, al
je 0x414305
lea eax, [esp + 0x60]
push 0x20
push eax
call ebp
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0x10
test al, al
je 0x414305
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::GetParentDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push eax
mov byte [esp + 0xdc], 9
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFileSystemUtils::MySetCurrentDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0xd0], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x48]
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jae 0x414318
lea eax, [esp + 0x48]
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x48]
jae 0x41432f
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add dword [esi + 0x220], 1
mov eax, dword [esi + 0x220]
push 0
adc dword [esi + 0x224], 0
mov edx, dword [esi + 0x224]
push 0
push 0x64
push edx
push eax
call fcn.0045db10
mov ecx, dword [esi + 0x21c]
push ecx
mov ecx, dword [esi + 0x218]
push ecx
push edx
push eax
call fcn.0045daa0
mov edx, dword [esi + 4]
push eax
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x60]
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add ebx, 1
lea ecx, [esp + 0x18]
adc edi, 0
mov byte [esp + 0xd0], 1
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMFindFile::destructor_void_]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd0], 0
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMFileInfo::destructor_void_]
lea ecx, [esp + 0x44]
mov dword [esp + 0xd0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebx
mov edx, edi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0045d098
add esp, 0xc0
ret 8