Function at 0x140038688
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14010d0f8]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.UxTheme.dll_IsThemeActive]
nop dword [rax + rax]
xor ebp, ebp
lea r8, [rsp + 0x20]
test eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
setne sil
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
xor r9d, r9d
lea edx, [rbp + 0x10]
lea ecx, [rbp + 0x42]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
nop dword [rax + rax]
lea r14d, [rbp + 1]
test eax, eax
je 0x1400386fd
test byte [rsp + 0x24], r14b
jne 0x14003872c
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColor]
nop dword [rax + rax]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSysColor]
nop dword [rax + rax]
test ebx, ebx
je 0x14003872c
mov dil, bpl
test eax, eax
jne 0x14003872f
mov dil, r14b
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rcx, rax
mov edx, 0x58
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov edx, 0x5a
mov rcx, rbx
mov dword [0x14010d528], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rbx
xor ecx, ecx
mov dword [0x14010d524], eax
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
mov byte [0x140114f11], sil
mov byte [0x140114f12], dil
movzx ebx, bpl
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
test ax, ax
je 0x1400387d8
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
movzx ecx, ax
lea r8, [rsp + 0x20]
lea edx, [r9 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x1400387d8
mov eax, 0x800
test word [rsp + 0x2e], ax
cmovne ebx, r14d
mov byte [0x140114f08], bl
mov esi, 0x88
lea rbx, [0x1401102c0]
mov edi, 6
cmp byte [0x140114f11], bpl
jne 0x1400387fd
test byte [rbx], r14b
jmp 0x140038800
test byte [rbx], dil
je 0x14003883c
cmp byte [0x140114f10], bpl
jne 0x140038810
test byte [rbx], 3
jmp 0x140038813
test byte [rbx], 4
je 0x14003883c
cmp byte [0x140114f11], bpl
jne 0x14003888d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14003888d
mov rax, qword [rcx]
mov edx, r14d
mov rax, qword [rax]
call qword [case.0x140066f27.0]
mov qword [rbx + 0x20], rbp
jmp 0x14003888d
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140038858
mov rax, qword [rcx]
mov edx, r14d
mov rax, qword [rax]
call qword [case.0x140066f27.0]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140038874
mov rax, qword [rcx]
mov edx, r14d
mov rax, qword [rax]
call qword [case.0x140066f27.0]
mov qword [rbx + 0x20], rbp
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14003888d
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
mov qword [rbx + 0x48], rbp
add rbx, 0x70
sub rsi, r14
jne 0x1400387ef
lea rbx, [0x14010d540]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400388b8
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
mov qword [rbx], rbp
add rbx, 0x18
sub rdi, r14
jne 0x1400388a1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e6ab0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret