Function at 0x1000fb10
Capabilities:
Check os version
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4565
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x1010df64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], ecx
push eax
push str.dwFlags0x_x
push str.CClientConfigDataCacheManager::Initialize
lea eax, [ebp - 0x120]
push eax
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_991
lea eax, [ebp - 0x11c]
push 2
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], 0
call fcn.1000b340
add esp, 0x1c
or ebx, 0xffffffff
cmp byte [edi], 0
je 0x1000fba2
xor esi, esi
mov dword [ebp - 0x120], esi
jmp 0x1001025d
cmp dword [ebp + 0x10], 0
jne 0x1000fbb8
mov esi, 0x80004003
mov dword [ebp - 0x120], esi
jmp 0x1001025d
lea esi, [edi + 0x2a8]
mov dword [ebp - 0x128], esi
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x138], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
push dword [esi + 0x10]
lea eax, [esi + 4]
mov esi, dword [sym.imp.kernel32.dll_ResetEvent]
mov dword [ebp - 0x124], eax
call esi
mov eax, dword [ebp - 0x124]
push dword [eax + 8]
call esi
mov esi, dword [ebp - 0x124]
push esi
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
cmp dword [esi + 4], 0
jle 0x1000fc11
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
mov dword [edi + 0x2a4], eax
call fcn.10007370
test al, al
je 0x1000fc76
lea eax, [ebp - 0x124]
push eax
lea ecx, [edi + 0xfc]
call fcn.1000b340
push dword [eax]
mov byte [ebp - 4], 3
push str.ClientConfig_file_mutex_is__s.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1007
push 3
call fcn.1000b340
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000fc76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10007370
test al, al
je 0x1000fcce
lea eax, [ebp - 0x124]
push eax
lea ecx, [edi + 0xfc]
call fcn.1000b340
push dword [eax]
mov byte [ebp - 4], 4
push str.ClientConfig_download_mutex_is__s.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1008
push 3
call fcn.1000b340
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000fcce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10007370
test al, al
je 0x1000fd26
lea eax, [ebp - 0x124]
push eax
lea ecx, [edi + 0xfc]
call fcn.1000b340
push dword [eax]
mov byte [ebp - 4], 5
push str.ClientConfig_client_dir_is__s.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1009
push 3
call fcn.1000b340
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000fd26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10007370
test al, al
je 0x1000fd7e
lea eax, [ebp - 0x124]
push eax
lea ecx, [edi + 0xfc]
call fcn.1000b340
push dword [eax]
mov byte [ebp - 4], 6
push str.ClientConfig_client_config_file_is__s.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1010
push 3
call fcn.1000b340
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000fd7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10007370
test al, al
je 0x1000fdd6
lea eax, [ebp - 0x124]
push eax
lea ecx, [edi + 0xfc]
call fcn.1000b340
push dword [eax]
mov byte [ebp - 4], 7
push str.ClientConfig_registry_key_is__s.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1011
push 3
call fcn.1000b340
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000fdd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str..devicedns.live.com
lea ecx, [edi + 0x184]
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0xea60
mov dword [edi + 0x104], 0x7530
mov dword [edi + 0x108], 0x7530
mov dword [edi + 0x120], 0
mov dword [edi + 0x110], 0x5a0
mov dword [edi + 0x114], 0x3c
mov dword [edi + 0x118], 0x2760
mov dword [edi + 0x160], 1
mov dword [edi + 0x180], 0x384
mov dword [edi + 0x190], 5
mov dword [edi + 0x194], 0x3c
mov dword [edi + 0x198], 0
mov dword [edi + 0x164], 3
mov dword [edi + 0x168], 2
mov dword [edi + 0x16c], 0xbb8
mov dword [edi + 0x170], 0x4000000
mov dword [edi + 0x174], 0x2d
mov dword [edi + 0x178], 2
mov dword [edi + 0x17c], 0x64
mov dword [edi + 0x1a0], 0xea60
mov dword [edi + 0x1a4], 0x10000
mov dword [edi + 0x1a8], 0xa
mov dword [edi + 0x19c], 0
mov dword [edi + 0x10c], 3
mov dword [edi + 0x288], 0x15180
call fcn.1000b340
push str.http:__sqm.microsoft.com_sqm_WindowsLive_sqmserver.dll
lea ecx, [edi + 0x1ac]
call fcn.1000b340
push 0x100ca9f8
lea ecx, [edi + 0x18c]
call fcn.1000b340
mov ecx, dword [ebp - 0x134]
mov eax, ecx
shr ecx, 2
and cl, 1
shr eax, 1
push 0xa
and al, 1
mov byte [edi + 0xe4], cl
lea ecx, [edi + 0xe8]
push str.production
mov byte [edi + 0x71], al
call fcn.1000b340
lea eax, [ebp + 8]
lea ecx, [edi + 0x38]
push eax
call fcn.1000b340
mov ecx, edi
call fcn.1000b340
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
push dword [esi + 0xc]
call dword [sym.imp.kernel32.dll_SetEvent]
push dword [ebp - 0x138]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push dword [ebp - 0x130]
mov ecx, edi
call fcn.1000b340
mov esi, eax
mov dword [ebp - 0x120], esi
test esi, esi
js 0x1001025d
call fcn.10007370
test al, al
je 0x1000ffaa
push dword [edi + 0xe8]
push 0x100ca9fc
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1084
push 1
call fcn.1000b340
add esp, 0x10
lea eax, [edi + 0x10]
push eax
lea eax, [edi + 0xc]
push eax
push 0
push 0x1c
mov ecx, edi
call fcn.1000b340
mov esi, eax
mov dword [ebp - 0x120], esi
test esi, esi
jns 0x10010002
cmp esi, 0x8004827d
je 0x1001025d
call fcn.10007370
test al, al
je 0x1000fff8
push dword [ebp - 0x120]
push str.Could_not_check_folder_microsoftMSOIdentityCRL__under_All_Users_Application_Data_folder._This_is_not_an_error_if__it_exists_in_the_Current_Users_app_data_folder._HR_x.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1105
push 0
call fcn.1000b340
add esp, 0x10
mov dword [ebp - 0x120], 0
lea eax, [edi + 0x18]
push eax
lea eax, [edi + 0x14]
push eax
push 0
push 0x1a
mov ecx, edi
call fcn.1000b340
mov dword [ebp - 0x120], eax
test eax, eax
jns 0x1001004c
call fcn.10007370
test al, al
je 0x10010042
push dword [ebp - 0x120]
push str.Could_not_check_folder_microsoftMSOIdentityCRL__under_Current_Users_Application_Data_folder._This_is_not_an_error_if_msoidconfig.dll_and_ppcrlui.dll_are_present_in_the_All_Users_app_data_folder_and_no_download_is_required_later._HR_x.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1122
push 0
call fcn.1000b340
add esp, 0x10
mov dword [ebp - 0x120], 0
lea eax, [edi + 8]
push eax
lea eax, [edi + 4]
push eax
push 1
push 0x1c
mov ecx, edi
call fcn.1000b340
mov esi, eax
mov dword [ebp - 0x120], esi
test esi, esi
jns 0x100100a4
cmp esi, 0x8004827d
je 0x1001025d
call fcn.10007370
test al, al
je 0x1001009a
push dword [ebp - 0x120]
push str.Could_not_check_folder_microsoftMSOIdentityCRL__under_local_profile_folder._HR_x.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1144
push 0
call fcn.1000b340
add esp, 0x10
mov dword [ebp - 0x120], 0
lea eax, [edi + 0x20]
push eax
lea eax, [edi + 0x1c]
push eax
push 1
push 0x1c
mov ecx, edi
call fcn.1000b340
mov esi, eax
mov dword [ebp - 0x120], esi
test esi, esi
jns 0x100100ee
call fcn.10007370
test al, al
je 0x100100e6
push dword [ebp - 0x120]
push str.Could_not_check_folder_microsoftMSOIdentityCRL__under_All_Users_Application_Data_folder._This_is_not_an_error_if_msoidconfig.dll_and_wlidui.dll_are_present_in_the_All_Users_app_data_folder_and_no_download_is_required_later._HR_x.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1162
push 0
call fcn.1000b340
add esp, 0x10
xor esi, esi
mov dword [ebp - 0x120], esi
cmp dword [ebp - 0x130], 0
je 0x1001025d
mov ecx, edi
call fcn.1000b340
cmp byte [edi + 1], 0
mov esi, eax
mov dword [ebp - 0x120], esi
je 0x10010185
cmp byte [edi + 0x70], 0
jne 0x10010158
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
push 1
push 0
push eax
mov ecx, edi
call fcn.1000b340
mov dword [ebp - 0x120], eax
test eax, eax
jns 0x1001018d
call fcn.10007370
test al, al
je 0x10010257
push str.Unable_to_download_files.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1188
push 0
call fcn.1000b340
add esp, 0xc
jmp 0x10010257
call fcn.10007370
test al, al
je 0x10010175
push str.Cannot_download_missing_config_ui_files_in_offline_mode.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_1194
push 0
call fcn.1000b340
add esp, 0xc
mov esi, 0x80048872
mov dword [ebp - 0x120], esi
jmp 0x1001025d
test esi, esi
js 0x1001025d
mov ecx, edi
call fcn.1000b340
lea eax, [edi + 0x2ec]
push eax
mov dword [eax], 0x11c
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [edi + 0x2f0], 6
jb 0x100101dc
push 0x105
lea ecx, [edi + 0x408]
call fcn.1000b340
push eax
push 0
push 0xffffffffffffffff
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [edi + 0x408]
call fcn.1000b340
cmp byte [edi + 0x70], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x12c], xmm0
mov eax, dword [ebp - 0x12c]
mov dword [edi + 0xec], eax
mov eax, dword [ebp - 0x128]
mov dword [edi + 0xf0], eax
movlpd qword [ebp - 0x12c], xmm0
mov eax, dword [ebp - 0x12c]
mov dword [edi + 0xf4], eax
mov eax, dword [ebp - 0x128]
mov dword [edi + 0xf8], eax
jne 0x10010238
mov ecx, edi
call fcn.1000b340
mov esi, eax
mov dword [ebp - 0x120], esi
test esi, esi
js 0x1001025d
push dword [edi + 0xe8]
lea eax, [edi + 0x34]
push str.SoftwareMicrosoftMSOIdentityCRLDeviceIdentities
push str._s_s
push eax
call fcn.1000b340
add esp, 0x10
mov byte [edi], 1
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0
call fcn.1000b340
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x1001028d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001e17
mov esp, ebp
pop ebp
ret 0x10