Function at 0x1401c69c8
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x48], r13d
movdqa xmm0, xmmword [0x140307960]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r13w
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r13w
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r13w
lea rdx, str.OrgId
lea rcx, [rbp - 0x30]
call fcn.140048750
nop
lea edi, [r13 + 1]
mov dword [rsp + 0x48], edi
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.1401c76f0
test al, al
je 0x1401c6ac2
lea rdx, str.CyberEndpoint
lea rcx, [rsp + 0x68]
call fcn.140048750
nop
lea edi, [r13 + 3]
mov dword [rsp + 0x48], edi
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.1401c76f0
test al, al
je 0x1401c6ac2
lea rdx, str.VortexGeoLocation
lea rcx, [rbp - 0x50]
call fcn.140048750
lea edi, [r13 + 7]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.1401c76f0
test al, al
mov byte [rsp + 0x41], 1
jne 0x1401c6ac7
mov byte [rsp + 0x41], r13b
test dil, 4
je 0x1401c6ada
and edi, 0xfffffffb
lea rcx, [rbp - 0x50]
call fcn.1400492c0
nop
test dil, 2
je 0x1401c6aee
and edi, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.1400492c0
nop
and edi, 0xfffffffe
lea rcx, [rbp - 0x30]
call fcn.1400492c0
nop
mov rax, qword [r14 + 0x78]
mov rsi, qword [rax]
mov qword [rax], rax
mov rax, qword [r14 + 0x78]
mov qword [rax + 8], rax
mov qword [r14 + 0x80], r13
cmp rsi, qword [r14 + 0x78]
je 0x1401c6b37
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.1400492c0
mov rcx, rsi
call fcn.14027abd8
mov rsi, rbx
cmp rbx, qword [r14 + 0x78]
jne 0x1401c6b1a
mov ebx, 8
mov edx, ebx
lea rcx, [r14 + 0x70]
call fcn.1400515d0
nop
lea rsi, [r14 + 0x30]
lea rcx, [rsi + 8]
call fcn.1401a81f8
mov edx, ebx
mov rcx, rsi
call fcn.1400515d0
nop
lea rbx, [0x1404050e0]
lea r12, [0x1402cb810]
lea rax, str.SOFTWAREMicrosoftWindows_Advanced_Threat_Protection
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Advanced_Threat_Protection
cmp dword [rbx + 0x20], r13d
cmove rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140048750
nop
mov byte [rsp + 0x40], 1
mov ecx, dword [rbx + 0x24]
test ecx, ecx
je 0x1401c6dc4
cmp ecx, 1
jne 0x1401c6fc5
mov rdx, r12
lea rcx, [rbp - 0x78]
call fcn.140048750
mov eax, dword [rbx + 0x2c]
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x28], r13b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x78]
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.1401b65ac
nop
lea rcx, [rbp - 0x78]
call fcn.1400492c0
cmp byte [rsp + 0x40], r13b
jne 0x1401c6db6
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.14005517c
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x70]
call fcn.14005517c
nop
or edi, 0x10
mov rax, qword [rsi + 8]
mov r13, qword [rax]
lea r9, [rbp + 0x50]
mov r8, qword [r13 + 8]
mov rdx, r13
call fcn.1401c8884
mov rdx, qword [rsi + 0x10]
movabs rcx, 0x333333333333332
sub rcx, rdx
cmp rcx, 1
jb 0x1401c6fb7
lea rcx, [rdx + 1]
mov qword [rsi + 0x10], rcx
mov qword [r13 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov r9, qword [rsi + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1401a8df0
nop
lea rcx, [rbp + 0x70]
call fcn.1400492c0
lea rcx, [rbp + 0x50]
call fcn.1400492c0
call fcn.140048a14
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401c6db6
or r8, 0xffffffffffffffff
mov rax, r8
xor r13d, r13d
lea rcx, str.Get_string_registry_value
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401c6ca6
mov qword [rbp + 0x70], rcx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], r13d
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401c6ccf
mov rcx, qword [rbx]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401c6cea
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401c6ce0
mov qword [rbp + 0x80], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x8c], r13d
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401c6d30
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401c6d26
mov qword [rbp + 0x90], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x98], eax
mov dword [rbp + 0x9c], r13d
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401c6d74
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401c6d6a
mov qword [rbp + 0xa0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xac], r13d
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034df8a]
mov rcx, r10
call fcn.140001078
nop
lea rcx, [rbp - 0x50]
call fcn.1400492c0
jmp 0x1401c6f92
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401c6dd1
mov rdx, qword [rbx]
lea rcx, [rbp - 0x78]
call fcn.140048750
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x68]
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1401b585c
mov dword [rsp + 0x48], eax
lea rcx, [rbp - 0x78]
call fcn.1400492c0
cmp byte [rsp + 0x40], r13b
jne 0x1401c6f92
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.14005517c
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x58], eax
or edi, 8
mov rax, qword [r14 + 0x78]
mov r13, qword [rax]
lea r9, [rbp - 0x78]
mov r8, qword [r13 + 8]
mov rdx, r13
call fcn.1401c8820
mov rdx, qword [r14 + 0x80]
movabs rcx, 0x492492492492491
sub rcx, rdx
cmp rcx, 1
jb 0x1401c6ff7
lea rcx, [rdx + 1]
mov qword [r14 + 0x80], rcx
mov qword [r13 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov r9, qword [r14 + 0x78]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x30]
lea rcx, [r14 + 0x70]
call fcn.140058bfc
nop
lea rcx, [rbp - 0x78]
call fcn.1400492c0
call fcn.140048a14
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401c6f92
or r8, 0xffffffffffffffff
mov rax, r8
xor r13d, r13d
lea rcx, str.Get_integer_registry_value
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401c6eae
mov qword [rbp + 0x70], rcx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], r13d
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401c6ed7
mov rcx, qword [rbx]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401c6ef2
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401c6ee8
mov qword [rbp + 0x80], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x8c], r13d
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401c6f38
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401c6f2e
mov qword [rbp + 0x90], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x98], eax
mov dword [rbp + 0x9c], r13d
lea rax, [rsp + 0x48]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], 4
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034dfcb]
mov rcx, r10
call fcn.140001078
jmp 0x1401c6f95
xor r13d, r13d
lea rcx, [rsp + 0x68]
call fcn.1400492c0
add rbx, 0x30
lea rax, [0x140405260]
cmp rbx, rax
je 0x1401c7005
xor r13d, r13d
jmp 0x1401c6b6e
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
mov ecx, 0x80070057
call fcn.1400443b8
mov r9d, eax
mov rcx, qword [rbp + 0xe8]
lea rax, str.Unexpected_DataType_value
mov qword [rsp + 0x20], rax
lea r8, str.amcorewcd_sourceconfigurationconfigurationconfigurationsnapshot.cpp
mov edx, 0x67
call fcn.140048380
nop
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
cmp byte [rsp + 0x41], r13b
je 0x1401c7020
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.1401c72ec
mov rdx, qword [0x1403dc1f0]
lea rcx, [rbp - 0x78]
call fcn.140048750
mov rbx, qword [r14 + 0x38]
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140095684
mov rdi, qword [rax]
lea rcx, [rbp - 0x78]
call fcn.1400492c0
cmp rdi, rbx
jne 0x1401c718e
mov rcx, r14
call fcn.1401c83c4
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1401c718e
call fcn.140048a14
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x1401c710c
lea rax, [rsp + 0x48]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], 4
lea rax, str.Failed_to_generate_Sense_Guid___use_default
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 0x2c
mov rax, r13
mov rcx, qword [str.00000000_0000_0000_0000_000000000000]
test rcx, rcx
je 0x1401c70cb
mov r12, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401c70c1
mov qword [rbp + 0x90], r12
lea eax, [rax*2 + 2]
mov dword [rbp + 0x98], eax
mov dword [rbp + 0x9c], r13d
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034e044]
mov rcx, r10
call fcn.140001078
mov rax, qword [0x1403dc1f0]
mov qword [rsp + 0x50], rax
mov rax, qword [str.00000000_0000_0000_0000_000000000000]
mov qword [rsp + 0x58], rax
mov rax, qword [rsi + 8]
mov rbx, qword [rax]
lea r9, [rsp + 0x50]
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.1401c8904
mov rcx, rax
mov rax, qword [rsi + 0x10]
movabs rdx, 0x333333333333332
sub rdx, rax
cmp rdx, 1
jae 0x1401c7164
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
mov qword [rsi + 0x10], rax
mov qword [rbx + 8], rcx
mov rax, qword [rcx + 8]
mov qword [rax], rcx
mov r9, qword [rsi + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.1401a8df0
nop
lea rcx, [rbp - 0x10]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x10]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x30]
call fcn.1400492c0
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14027a710
lea r11, [rsp + 0x1c0]
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