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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov qword [rcx], rdx
add rcx, 8
mov rdx, r8
call fcn.14000e3b8
nop
mov qword [rdi + 0x60], r15
lea r14, [rdi + 0x70]
mov qword [r14], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x48], r15
mov rax, qword [rdi]
mov qword [rbp - 0x68], rax
lea rsi, str.PCHealthCheckHostWindow
mov qword [rbp - 0x40], rsi
lea rax, [0x14004a830]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x7c], 8
mov dword [rbp - 0x80], 0x50
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r15
lea edx, [r15 + 0x6b]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp - 0x60], rax
lea edx, [r15 + 0x6c]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x14004a05d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x582
jne 0x14004a2ac
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rbp - 0x30]
lea edx, [r9 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov bl, 1
test eax, eax
je 0x14004a08c
movzx eax, word [rbp - 0x22]
shr ax, 0xb
and al, bl
jmp 0x14004a08f
mov al, r15b
movzx ecx, al
shl ecx, 0x16
mov qword [rsp + 0x58], r15
mov rax, qword [rdi]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0xca0000
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rdi + 0x68], rax
mov rcx, qword [rbp + 0x48]
test rax, rax
je 0x14004a2c2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, rdi
mov edx, 0xffffffeb
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
jne 0x14004a10e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14004a111
mov bl, r15b
mov rcx, qword [rbp + 0x48]
test bl, bl
jne 0x14004a29a
call fcn.140049c44
movsd qword [rdi + 0x78], xmm0
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14004a138
call qword [sym.imp.USER32.dll_GetDpiForWindow]
jmp 0x14004a13e
call qword [sym.imp.USER32.dll_GetDpiForSystem]
mov ebx, eax
mov eax, 0x60
test ebx, ebx
cmove ebx, eax
call fcn.140049c44
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x140063e00]
mulsd xmm0, xmm1
movsd qword [rdi + 0x80], xmm0
mov rbx, qword [rdi + 0x68]
mov r12d, SafeArrayPutElement
mov ecx, r12d
call fcn.140052234
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_fc75e409f6de4e5aa237c6aed10deb03___void__wchar_t_const____ptr64__int__int__unsigned_long_int__wchar_t_const____ptr64_.0
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rbx
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x48], rcx
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_1d38e9713e70fc889956a1c5c2871701___void__wchar_t_const____ptr64__unsigned_long_int_.0
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rbx
lea rcx, [rbp - 0x30]
mov qword [rbp + 8], rcx
mov dword [rsp + 0x60], 3
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rcx
movsd xmm3, qword [rdi + 0x80]
mov r8, qword [rdi + 0x68]
mov rdx, rdi
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14004a214
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140040d62.0]
mov qword [rbp + 8], r15
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14004a234
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140040d62.0]
lea rax, [rsp + 0x68]
cmp r14, rax
je 0x14004a256
mov rsi, qword [r14]
mov qword [r14], rbx
test rsi, rsi
je 0x14004a26f
mov rcx, rsi
call fcn.14004fc48
mov rcx, rsi
jmp 0x14004a266
test rbx, rbx
je 0x14004a26f
mov rcx, rbx
call fcn.14004fc48
mov rcx, rbx
mov rdx, r12
call fcn.14005222c
nop
mov rax, rdi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400521d0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea r8, [0x140063008]
mov edx, 0x49
call fcn.14000e3a4
int3
mov rcx, qword [rbp + 0x48]
lea r8, [0x140063008]
mov edx, 0x121
call fcn.14000e3a4
int3
lea r8, [0x140063008]
mov edx, 0x7d
call fcn.14000e3a4
int3