Function at 0x10082f30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024a6c5
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
jne 0x10082f73
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
call sym.WMCommon.dll_public:_void___thiscall_WM::GMPacker::Clear_void_
cmp byte [ebp + 0xc], 0
push edi
je 0x1008319b
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
je 0x10082f5f
mov dword [ebp - 0x1c], vtable.WM::GMFile.0
mov dword [ebp - 0x18], 0xffffffff
push 0x2000000
push 3
push 3
push accept
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMFile::Create_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int__unsigned_int__unsigned_int__unsigned_int_
test al, al
jne 0x10082fdf
lea ecx, [ebp - 0x1c]
xor bl, bl
call sym.WMCommon.dll_public_virtual:_void___thiscall_WM::GMFile::destructor_void_
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x10082ffa
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10083004
mov eax, dword [edi]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x90
mov dword [ebp + 8], eax
call fcn.1006e6a7
add esp, 4
mov dword [ebp + 0xc], eax
lea ecx, [ebx + 8]
push 0
push ecx
mov ecx, eax
call sym.WMCommon.dll_public:_void___thiscall_WM::GMTocNode::constructor_class_WM::GMTocNode___enum_WM::GMNodeType_
mov esi, eax
lea ecx, [ebp - 0x14]
push esi
mov dword [ebp + 0xc], esi
call fcn.10020ba0
push ecx
push 0x10266284
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10020180
cmp eax, 0xffffffff
je 0x1008311a
push 0xffffffffffffffff
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1001ce30
add esi, 0xc
push eax
mov ecx, esi
call fcn.1001a270
lea ecx, [ebp - 0x4c]
call fcn.1001a5a0
push esi
lea eax, [ebp - 0x4c]
push edi
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::JoinFileName_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 esi, dword [ebp + 0xc]
add esp, 0xc
push eax
lea ecx, [esi + 0x24]
call fcn.1001a270
lea ecx, [ebp - 0x4c]
call fcn.1001a5a0
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x50], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], ecx
cmp dword [ebx + 0x10], ecx
je 0x100830fe
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x100830eb
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
add dword [ebx + 0xc], 8
mov ecx, ebx
mov eax, dword [ebx]
push edi
push esi
mov eax, dword [eax + 0x10]
call eax
mov bl, al
jmp 0x10083125
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebx + 8]
call fcn.10021400
mov eax, dword [ebx]
mov ecx, ebx
push edi
push esi
mov eax, dword [eax + 0x10]
call eax
mov bl, al
jmp 0x10083125
push edi
lea ecx, [esi + 0xc]
call sym.WMCommon.dll_public:_class_WM::GMIniFile____thiscall_WM::GMIniFile::operator_class_WM::GMIniFile_const__
xor bl, bl
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1008317e
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x1008317e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x1008317e
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x100831ba
push edi
call dword [edx]
pop esi
lea ecx, [ebp - 0x1c]
call sym.WMCommon.dll_public_virtual:_void___thiscall_WM::GMFile::destructor_void_
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
pop esi
lea ecx, [ebp - 0x1c]
call sym.WMCommon.dll_public_virtual:_void___thiscall_WM::GMFile::destructor_void_
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
mov ecx, ebx
mov edx, dword [eax + 0x10]
lea eax, [ebx + 8]
push eax
call edx
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call eax
jmp 0x1008317e