Function at 0x14000c850
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140065010]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, r8
mov rsi, rdx
lea rdx, str.VSPerf_Rule_Definitions.xml
lea rcx, [rsp + 0x30]
call fcn.14000d8ac
nop
call fcn.140001424
mov rcx, rax
xor r15d, r15d
test rax, rax
jne 0x14000c8be
mov ecx, 0x80004005
call fcn.140003cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
call fcn.140001424
mov rcx, rax
test rax, rax
jne 0x14000c8e5
mov ecx, 0x80004005
call fcn.140003cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or r14d, 0xffffffff
test eax, eax
je 0x14000cb12
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140006ba8
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000d7c4
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000c959
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov r12d, 0x5c
mov edx, r12d
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.140027da4
test rax, rax
je 0x14000c9db
sub rax, rbx
sar rax, 1
cmp eax, r14d
je 0x14000c9db
lea r8d, [rax + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000d098
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000d7c4
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000c9c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov r8d, r12d
lea rdx, str..._c
lea rcx, [rsp + 0x28]
call fcn.140007408
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14000d7c4
mov rdx, qword [rsp + 0x30]
mov r8d, dword [rdx - 0x10]
mov rcx, rdi
call fcn.140006dc4
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov r9d, 0x55
lea r8, [rsp + 0x60]
lea edx, [r9 + 4]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14000d7c4
test edi, edi
je 0x14000caff
movzx eax, word [0x1400504e0]
cmp ax, word [rsp + 0x60]
jne 0x14000ca5b
movzx eax, word [0x1400504e2]
cmp ax, word [rsp + 0x62]
jne 0x14000ca5b
movzx eax, word [0x1400504e4]
cmp ax, word [rsp + 0x64]
je 0x14000caff
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140006ba8
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call fcn.140006dc4
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000ca9c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsi]
mov edi, dword [rax - 0x10]
lea ebx, [rdi + 1]
test ebx, ebx
jns 0x14000cab4
mov ecx, 0x80070057
call fcn.140003cb0
int3
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or eax, ecx
jge 0x14000cacf
mov edx, ebx
mov rcx, rsi
call fcn.1400072ac
mov rcx, qword [rsi]
mov word [rcx + rdi*2], r12w
mov rax, qword [rsi]
cmp ebx, dword [rax - 0xc]
jg 0x14000caf4
mov dword [rax - 0x10], ebx
movsxd rcx, ebx
mov rax, qword [rsi]
mov word [rax + rcx*2], r15w
mov rbx, qword [rsp + 0x20]
jmp 0x14000caff
mov ecx, 0x80070057
call fcn.140003cb0
int3
mov rdx, qword [rsp + 0x30]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call fcn.140006dc4
jmp 0x14000cb2b
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000d7c4
mov rdx, rax
mov rcx, rsi
call fcn.14000d7c4
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000cb48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000cb6a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000cb8b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140026390
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret