Function at 0x1400afd90
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
mov qword [rbp - 0x19], rcx
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x18], r13
mov qword [rcx + 0x20], 7
mov word [rcx + 8], r13w
mov dword [rcx + 0x28], 0x409
mov byte [rcx + 0x2c], r13b
lea rdi, [rcx + 0x30]
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx r12d, ax
mov word [rbp - 0x29], r12w
movzx edx, r12w
lea rcx, [rbp - 0x11]
call fcn.1400b0540
nop
movabs r15, 0x7ffffffffffffffe
cmp qword [rbp - 1], r13
je 0x1400affb4
call fcn.1400c1f80
cmp dword [rax + 0x78], 7
jl 0x1400afe91
call fcn.1400c1f80
mov rcx, rax
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov ebx, r12d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
lea rax, str.Attempting_to_load_localized_resources_for_LANGID__04X___s_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xea
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootCommonAppData.cpp
lea r8, str.AppData::AppData
lea edx, [r13 + 7]
call fcn.1400c2500
jmp 0x1400afe94
mov ebx, r12d
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1400b0830
mov qword [rsi], rax
mov edx, ebx
mov rcx, rsi
call fcn.1400b11a0
lea rax, [rbp - 0x11]
cmp rdi, rax
je 0x1400affb4
mov r12, qword [rbp - 1]
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov qword [rbp - 0x21], rax
mov r14, qword [rdi + 0x18]
cmp r12, r14
ja 0x1400aff02
mov rbx, rdi
cmp r14, 8
jb 0x1400afee5
mov rbx, qword [rdi]
mov qword [rdi + 0x10], r12
lea r8, [r12 + r12]
mov rdx, rax
mov rcx, rbx
call fcn.1400f9752
mov word [rbx + r12*2], r13w
jmp 0x1400affaf
cmp r12, r15
ja 0x1400b0385
mov rbx, r12
or rbx, 7
cmp rbx, r15
jbe 0x1400aff1c
mov rbx, r15
jmp 0x1400aff3d
mov rcx, r14
shr rcx, 1
mov rax, r15
sub rax, rcx
cmp r14, rax
jbe 0x1400aff32
mov rbx, r15
jmp 0x1400aff3d
lea rax, [r14 + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
mov rcx, rdi
call fcn.1400521e0
mov r13, rax
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rbx
lea rbx, [r12 + r12]
mov r8, rbx
mov rdx, qword [rbp - 0x21]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + r13], ax
cmp r14, 8
jb 0x1400affa9
mov rcx, qword [rdi]
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1400affa4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400b02e2
mov rcx, r8
call fcn.1400e6a28
mov qword [rdi], r13
xor r13d, r13d
movzx r12d, word [rbp - 0x29]
cmp qword [rsi], 0
jne 0x1400b0311
movzx r14d, r12w
mov eax, 0x3ff
and r14w, ax
movzx edx, r14w
lea rcx, [rbp + 0xf]
call fcn.1400b0540
mov rbx, rax
lea rax, [rbp - 0x11]
cmp rax, rbx
je 0x1400b0050
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400b0020
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b001b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b0087
call fcn.1400e6a28
mov qword [rbp - 1], r13
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r13w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400b0093
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b008e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b008e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
cmp qword [rbp - 1], 0
je 0x1400b021c
call fcn.1400c1f80
cmp dword [rax + 0x78], 7
jl 0x1400b0105
call fcn.1400c1f80
mov r10, rax
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
movzx ebx, r12w
movzx eax, r14w
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebx
lea rax, str.Cant_load_localized_resources_for_LANGID__04X._Attempting_to_load_Primary_LANGID__04X___s_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xf8
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootCommonAppData.cpp
lea r8, str.AppData::AppData
mov edx, 7
mov rcx, r10
call fcn.1400c2500
jmp 0x1400b0109
movzx ebx, r12w
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1400b0830
mov qword [rsi], rax
mov edx, ebx
mov rcx, rsi
call fcn.1400b11a0
lea rax, [rbp - 0x11]
cmp rdi, rax
je 0x1400b021c
mov rbx, qword [rbp - 1]
lea r13, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r13, qword [rbp - 0x11]
mov r14, qword [rdi + 0x18]
cmp rbx, r14
ja 0x1400b0176
mov r15, rdi
cmp r14, 8
jb 0x1400b0156
mov r15, qword [rdi]
mov qword [rdi + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r13
mov rcx, r15
call fcn.1400f9752
xor r14d, r14d
mov word [r15 + rbx*2], r14w
jmp 0x1400b021f
cmp rbx, r15
ja 0x1400b0385
mov rcx, rbx
or rcx, 7
cmp rcx, r15
ja 0x1400b01aa
mov rdx, r14
shr rdx, 1
mov rax, r15
sub rax, rdx
cmp r14, rax
ja 0x1400b01aa
lea rax, [r14 + rdx]
mov r15, rcx
cmp rcx, rax
cmovb r15, rax
lea rdx, [r15 + 1]
mov rcx, rdi
call fcn.1400521e0
mov r12, rax
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r15
add rbx, rbx
mov r8, rbx
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [r12 + rbx], ax
cmp r14, 8
jb 0x1400b0214
mov rcx, qword [rdi]
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1400b020f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400b02e2
mov rcx, r8
call fcn.1400e6a28
mov qword [rdi], r12
movzx r12d, word [rbp - 0x29]
xor r14d, r14d
cmp qword [rsi], 0
jne 0x1400b0311
call fcn.1400c1f80
cmp dword [rax + 0x78], 7
jl 0x1400b0270
call fcn.1400c1f80
mov rcx, rax
movzx eax, r12w
mov dword [rsp + 0x30], eax
lea rax, str.Cant_load_localized_resources_for__04X._Defaulting_to_English
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x102
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootCommonAppData.cpp
lea r8, str.AppData::AppData
mov edx, 7
call fcn.1400c2500
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r14w
mov r8d, 2
lea rdx, [0x14027e268]
lea rcx, [rbp + 0xf]
call fcn.1400523d0
nop
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.1400b0830
mov qword [rsi], rax
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400b02ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b02e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b02e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov edx, 0x409
mov rcx, rsi
call fcn.1400b11a0
mov r8d, 2
lea rdx, [0x14027e268]
mov rcx, rdi
call fcn.1400523d0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400b0355
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b034f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b034f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
nop
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e6b50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140052190
nop
int3