Function at 0x1400f6d58
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x670]
sub rsp, 0x770
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x660], rax
mov rbx, rcx
mov rdi, rdx
lea rcx, [0x14037cad8]
call fcn.1400bc1cc
xor r12d, r12d
test al, al
je 0x1400f71d4
xor edx, edx
mov qword [rbx + 0x48], rdi
lea r8d, [r12 + 0x48]
lea rcx, [rbp - 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [0x1400f8660]
mov edx, 0x7f00
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov rax, qword [0x14037b618]
mov qword [rbp - 0x58], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
nop dword [rax + rax]
mov r9d, dword [0x14037bdbc]
lea r8, [0x14030ccb8]
mov edi, 0x100
mov qword [rbp - 0x48], rax
mov edx, edi
lea rcx, [rbp + 0x460]
call fcn.14002e4b8
lea rax, [rbp + 0x460]
lea r14d, [r12 + 8]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x5c], r14d
call qword [0x14039e790]
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x60]
call qword [case.0x14006c37f.0]
mov rcx, qword [0x14037b618]
lea r8, [rbp + 0x50]
mov r9d, edi
test al, al
jne 0x1400f6e6d
mov edx, 0x61a8
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
jne 0x1400f6e95
lea r8, str.News_and_interests
jmp 0x1400f6e89
mov edx, 0x292
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
jne 0x1400f6e95
lea r8, str.Search_highlights_icon_opens_search_home_window
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.14002e4b8
mov rax, qword [0x14037b618]
lea r8, [rbp + 0x50]
mov rdx, qword [rbp - 0x30]
mov r9d, 0x50010000
mov qword [rsp + 0x58], rbx
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [0x14039e798]
nop dword [rax + rax]
lea rsi, [rbx + 0x70]
mov qword [rsp + 0x78], rax
mov rcx, rsi
lea rdx, [rsp + 0x78]
call fcn.1400f65d4
lea rcx, [rsp + 0x78]
call fcn.1401f420c
cmp qword [rsi], r12
jne 0x1400f6f26
mov edx, SHFindFiles
mov rcx, qword [rbp + 0x698]
lea r8, str.pcshell_shellexplorer_feedscontent_feedscontent.cpp
call fcn.140188698
jmp 0x1400f71d6
mov eax, dword [0x14037a780]
mov r15, qword [0x14037b618]
cmp eax, 0xffffffff
jne 0x1400f6f71
mov edi, r12d
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x14037b628], ax
test ax, ax
je 0x1400f6f5d
movzx ecx, ax
call fcn.14006c2c0
mov edi, eax
mov ecx, r12d
test edi, edi
setne cl
xchg dword [0x14037a780], ecx
mov eax, dword [0x14037a780]
mov dword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, str.tooltips_class32
mov qword [rsp + 0x58], r12
mov ecx, 0x400008
mov qword [rsp + 0x50], r15
cmp eax, 1
mov qword [rsp + 0x48], r12
mov r9d, 0x80000001
mov qword [rsp + 0x40], r12
cmove r14d, ecx
mov dword [rsp + 0x38], r12d
xor r8d, r8d
mov dword [rsp + 0x30], r12d
mov ecx, r14d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.api_ms_win_rtcore_ntuser_private_l1_1_0.dll_CreateWindowInBand]
nop dword [rax + rax]
lea rdi, [rbx + 0x78]
mov qword [rbp - 0x80], rax
mov rcx, rdi
lea rdx, [rbp - 0x80]
call fcn.1400f65d4
lea rcx, [rbp - 0x80]
call fcn.1401f420c
cmp qword [rdi], r12
jne 0x1400f6ff8
mov edx, Ordinal_109
jmp 0x1400f6f0e
xor edx, edx
mov dword [rbp], 0x48
lea rcx, [rbp + 4]
lea r8d, [rdx + 0x44]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rsi]
lea rdx, str.ExtendedUIHoverTime
xor r8d, r8d
mov qword [rbp + 8], rax
lea rcx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
mov qword [rbp + 0x10], rax
mov dword [rbp + 4], Ordinal_183
call fcn.140056248
lea rcx, [0x14037cb18]
mov dword [rbx + 0xa0], eax
call fcn.1400ad2f0
test al, al
je 0x1400f708c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x60]
call qword [case.0x14006c37f.0]
mov rcx, qword [0x14037b618]
lea r8, [rbp + 0x250]
mov r9d, 0x104
mov edx, 0x293
test al, al
jne 0x1400f707e
mov edx, 0x61a9
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
nop dword [rax + rax]
jmp 0x1400f70cd
mov rcx, qword [0x14037b618]
lea r8, [rbp + 0x250]
mov r9d, 0x104
mov edx, 0x61a9
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
jne 0x1400f70cd
lea r8, str.View_your_news_and_interests
mov edx, 0x104
lea rcx, [rbp + 0x250]
call fcn.14002e4b8
mov rcx, qword [rdi]
lea rax, [rbp + 0x250]
lea r9, [rbp]
mov qword [rbp + 0x30], rax
xor r8d, r8d
mov edx, 0x432
call qword [case.0x14004551b.0]
nop dword [rax + rax]
test rax, rax
jne 0x1400f7116
mov rcx, qword [rbp + 0x698]
lea r8, str.pcshell_shellexplorer_feedscontent_feedscontent.cpp
mov r9d, 0x80004005
mov edx, reloc.UxTheme.dll_GetThemeBackgroundContentRect
call fcn.14009d7ec
mov rcx, qword [rdi]
mov r9d, 0x12c
xor r8d, r8d
mov edx, 0x418
call qword [case.0x14004551b.0]
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x90]
call qword [case.0x14006c37f.0]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.WTSAPI32.dll_WTSRegisterSessionNotification]
nop dword [rax + rax]
mov rax, qword [rbx]
mov edx, 7
mov rcx, rbx
mov rax, qword [rax + 0x80]
call qword [case.0x14006c37f.0]
lea rcx, [rbp - 0x20]
call fcn.1400f69e8
lea r9, [rsp + 0x74]
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x70]
mov ecx, dword [rax + 0x18]
mov dword [rbx + 0xa4], ecx
mov cl, byte [rax + 0x10]
mov byte [rsp + 0x70], cl
mov rcx, qword [rax + 8]
mov qword [rbp - 0x78], rcx
lea rcx, [rbx + 0xa4]
mov eax, dword [rax]
mov dword [rsp + 0x74], eax
call fcn.1400f6128
mov r9d, dword [rbx + 0xa4]
lea r8, str.DeviceTier
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
mov rcx, 0xffffffff80000001
call fcn.14018f138
xor eax, eax
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x770]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret