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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rdx + 0x10], r15d
mov dword [rdx + 0x6c], 1
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea r12, vtable.CefStringBase_struct_CefStringTraitsUTF8_.0
test ax, ax
je 0x140158e8c
movzx edi, ax
lea r9d, [r15 + 0x10]
lea r8, [rbp + 0x27]
lea edx, [r15 + 0x59]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
setg bl
lea r9d, [r15 + 0x10]
lea r8, [rbp + 0x37]
lea edx, [r15 + 0x5a]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
setg al
or bl, al
je 0x140158e8c
mov qword [rbp - 0x19], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], recv
mov byte [rbp - 0x19], r15b
lea rax, [rbp + 0x27]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r15b
jne 0x140158c76
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x19]
call fcn.1400f6dc0
nop
mov qword [rbp + 7], r15
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], recv
mov byte [rbp + 7], 0
lea rax, [rbp + 0x37]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140158cb0
mov r8, rbx
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 7]
call fcn.1400f6dc0
nop
lea r8, [rbp + 7]
lea rdx, [0x14048c674]
lea rcx, [rbp - 0x39]
call fcn.140151b80
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140158cef
mov r9, qword [rax]
mov rcx, qword [rbp - 9]
mov rdx, qword [rbp - 1]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140158d2e
lea rax, [rcx + rdi]
mov qword [rbp - 9], rax
lea rbx, [rbp - 0x19]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x19]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.140320ff0
mov byte [rbx + rdi], 0
jmp 0x140158d43
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.1400f8cc0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140158d7e
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140158d79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015907d
call fcn.14031dc44
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], recv
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140158dc9
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140158dc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159083
call fcn.14031dc44
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], recv
mov byte [rbp + 7], 0
lea rax, [r14 + 0xf8]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r15
mov byte [rbp - 0x29], 0
test rax, rax
je 0x140158df9
mov qword [rbp - 0x31], rax
mov byte [rbp - 0x29], 0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.14015c590
nop
mov qword [rbp - 0x39], r12
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x140158e41
cmp byte [rbp - 0x29], 0
je 0x140158e39
mov rcx, rbx
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, rbx
call fcn.14031dc44
mov qword [rbp - 0x31], r15
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140158e7c
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140158e77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159077
call fcn.14031dc44
mov qword [rbp - 9], r15
mov qword [rbp - 1], recv
mov byte [rbp - 0x19], 0
movzx eax, byte [rsi + 0x288]
neg al
sbb ecx, ecx
and ecx, 0xff000000
mov dword [r14 + 0x184], ecx
mov rax, qword [rsi + 0x10]
lea rdx, [0x1404830ad]
test rax, rax
cmovne rdx, rax
lea rax, [r14 + 0x78]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r15
mov byte [rbp - 0x29], 0
test rax, rax
je 0x140158ed3
mov qword [rbp - 0x31], rax
mov byte [rbp - 0x29], 0
lea rcx, [rbp - 0x39]
call fcn.140115f20
nop
mov qword [rbp - 0x39], r12
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x140158f0d
cmp byte [rbp - 0x29], 0
je 0x140158f05
mov rcx, rbx
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, rbx
call fcn.14031dc44
mov qword [rbp - 0x31], r15
mov byte [rbp - 0x29], 0
lea rdi, [r14 + 0xe0]
mov qword [rbp - 0x39], r12
mov rbx, r15
mov qword [rbp - 0x31], rbx
xor sil, sil
mov byte [rbp - 0x29], sil
test rdi, rdi
je 0x140158f36
mov rbx, rdi
mov qword [rbp - 0x31], rbx
mov byte [rbp - 0x29], sil
test rdi, rdi
cmove rdi, r15
test rdi, rdi
jne 0x140158f67
lea ecx, [rdi + 0x18]
call fcn.14031dc78
mov rbx, rax
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov sil, 1
mov byte [rbp - 0x29], sil
mov rdi, rbx
mov r9d, 1
mov r8, rdi
lea edx, [r9 + 0x11]
lea rcx, str.Valve_Steam_Client
call sub.libcef.dll_cef_string_utf8_set
nop
mov qword [rbp - 0x39], r12
test rdi, rdi
je 0x140158fac
test sil, sil
je 0x140158fa4
mov rcx, rbx
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, rbx
call fcn.14031dc44
mov qword [rbp - 0x31], r15
mov byte [rbp - 0x29], 0
lea rdi, [r14 + 0x1c0]
mov qword [rbp - 0x39], r12
mov rbx, r15
mov qword [rbp - 0x31], rbx
xor sil, sil
mov byte [rbp - 0x29], sil
test rdi, rdi
je 0x140158fd5
mov rbx, rdi
mov qword [rbp - 0x31], rbx
mov byte [rbp - 0x29], sil
test rdi, rdi
cmove rdi, r15
test rdi, rdi
jne 0x140159006
lea ecx, [rdi + 0x18]
call fcn.14031dc78
mov rbx, rax
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov sil, 1
mov byte [rbp - 0x29], sil
mov rdi, rbx
mov r9d, 1
mov r8, rdi
lea edx, [r9 + 0x5e]
lea rcx, str.http:__localhost__http:__steamloopback.host__https:__steamloopback.host__https:__localhost_
call sub.libcef.dll_cef_string_utf8_set
nop
mov qword [rbp - 0x39], r12
test rdi, rdi
je 0x14015904b
test sil, sil
je 0x140159043
mov rcx, rbx
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, rbx
call fcn.14031dc44
mov qword [rbp - 0x31], r15
mov byte [rbp - 0x29], 0
mov dword [r14 + 0xc4], 1
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14032c23c
nop
call fcn.14032c23c
nop
call fcn.14032c23c
int3