Function at 0x40a110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40bd5b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x41901c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
mov eax, dword [0x41901c]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xa0], ebx
mov esi, ecx
push str.00000000000000
mov ecx, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], ebx
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_wchar_t_const__]
mov dword [esp + 0xa0], ebx
cmp byte [esi + 0xc], bl
mov dword [esp + 0x10], 1
jne 0x40a1b0
mov eax, dword [esi + 8]
mov ecx, eax
and ecx, 0x20006
cmp ecx, 0x20006
sete dl
mov ecx, esi
push edx
push eax
push 0x40f8d4
push SysReAllocString
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_]
cmp al, bl
mov byte [esi + 0xc], al
je 0x40a2f2
lea ecx, [esp + 0x40]
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 eax, [esp + 0x40]
push eax
push str.Time
mov ecx, esi
mov dword [esp + 0xa8], 1
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMRegFile::GetValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
test al, al
je 0x40a2e1
cmp dword [esp + 0x54], 0x14
lea ecx, [esp + 0x40]
jne 0x40a2e5
push 0xa
push ecx
lea edx, [esp + 0x80]
push edx
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::GMStringUtils::Left_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int_]
push 0xa
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0xb8], 2
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::GMStringUtils::Right_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int_]
add esp, 0x18
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x40a236
lea eax, [esp + 0x7c]
mov esi, dword [sym.imp.K8Common.dll_public:_static_unsigned_long_long_unsigned___int64____cdecl_GameMgr::GMStringUtils::ConvertStringToUInt64_wchar_t_const___wchar_t_const___]
push ebx
push eax
call esi
add esp, 8
cmp dword [esp + 0x74], 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
jae 0x40a256
lea eax, [esp + 0x60]
push ebx
push eax
call esi
add esp, 8
lea edx, [esp + 0x30]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x40a2bd
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test eax, eax
je 0x40a2bd
movzx eax, word [esp + 0x20]
movzx ecx, word [esp + 0x1e]
movzx edx, word [esp + 0x1c]
push eax
movzx eax, word [esp + 0x1e]
push ecx
movzx ecx, word [esp + 0x1e]
push edx
movzx edx, word [esp + 0x20]
push eax
push ecx
push edx
push str._04d_02d_02d_02d_02d_02d
push edi
call dword [sym.imp.K8Common.dll_public:_static_void___cdecl_GameMgr::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__]
add esp, 0x20
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 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_]
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 1
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_]
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], bl
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, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0040af16
add esp, 0x98
ret