Function at 0x140050f3c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14007edf8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov qword [rbp - 0x61], rcx
lea rax, vtable.C2R::CommonTelemetry.0
mov qword [rcx], rax
lea rbx, [rcx + 8]
mov ecx, 7
mov qword [rbx + 0x18], rcx
xor r13d, r13d
mov qword [rbx + 0x10], r13
cmp rcx, 8
jb 0x140050fa5
mov rax, qword [rbx]
jmp 0x140050fa8
mov rax, rbx
mov word [rax], r13w
lea rsi, [r14 + 0x28]
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x10], r13
cmp rcx, 8
jb 0x140050fc3
mov rax, qword [rsi]
jmp 0x140050fc6
mov rax, rsi
mov word [rax], r13w
lea rdi, [r14 + 0x50]
mov qword [rdi + 0x18], rcx
mov qword [rdi + 0x10], r13
cmp rcx, 8
jb 0x140050fe1
mov rax, qword [rdi]
jmp 0x140050fe4
mov rax, rdi
mov word [rax], r13w
lea r15, [r14 + 0x70]
mov qword [r15 + 0x18], rcx
mov qword [r15 + 0x10], r13
cmp rcx, 8
jb 0x140050fff
mov rax, qword [r15]
jmp 0x140051002
mov rax, r15
mov word [rax], r13w
lea rcx, [rbp - 0x59]
call fcn.1400518f0
mov r12, rax
cmp rbx, rax
je 0x140051030
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.140004d54
mov rdx, r12
mov rcx, rbx
call fcn.140004aac
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.140004d54
lea rcx, [rbp - 0x39]
call fcn.140051cc0
mov rbx, rax
cmp rsi, rax
je 0x140051068
xor r8d, r8d
mov dl, 1
mov rcx, rsi
call fcn.140004d54
mov rdx, rbx
mov rcx, rsi
call fcn.140004aac
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.140004d54
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [r14 + 0x48], eax
lea rcx, [rbp - 0x19]
call fcn.14005175c
mov rbx, rax
cmp r15, rax
je 0x1400510af
xor r8d, r8d
mov dl, 1
mov rcx, r15
call fcn.140004d54
mov rdx, rbx
mov rcx, r15
call fcn.140004aac
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x19]
call fcn.140004d54
call fcn.140054be8
mov rcx, rax
call fcn.140054cf0
test al, al
je 0x140051153
lea rcx, [rbp - 0x79]
call fcn.1400129a8
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
sete al
or rsi, 0xffffffffffffffff
test al, al
jne 0x14005111e
lea rdx, [rbp + 7]
call fcn.140053d2c
nop
cmp rdi, rax
je 0x14005110f
mov r9, rsi
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140005154
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 7]
call fcn.140004d54
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x140051153
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x140051153
mov rbx, qword [rbp - 0x71]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140051153
mov rcx, qword [rbp - 0x71]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rdi + 0x10], r13
sete al
test al, al
je 0x140051175
mov r8d, 7
lea rdx, str.0.0.0.0
mov rcx, rdi
call fcn.14000528c
jmp 0x14005117c
mov byte [0x1400b99d8], r13b
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003a6d0
lea r11, [rsp + 0xd0]
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