Function at 0x1401e5a18
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x54], r12d
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r12w
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r12w
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r12w
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
lea rdx, str.OrgId
lea rcx, [rbp - 0x20]
call fcn.14004d5c4
nop
lea ebx, [r12 + 1]
mov dword [rsp + 0x54], ebx
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.1401e67d0
test al, al
je 0x1401e5b8d
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r12w
lea rdx, str.CyberEndpoint
lea rcx, [rbp - 0x60]
call fcn.14004d5c4
nop
lea ebx, [r12 + 3]
mov dword [rsp + 0x54], ebx
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.1401e67d0
test al, al
je 0x1401e5b8d
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
lea rdx, str.VortexGeoLocation
lea rcx, [rbp - 0x40]
call fcn.14004d5c4
nop
lea ebx, [r12 + 7]
mov dword [rsp + 0x54], ebx
lea r8, [rbp]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1401e67d0
test al, al
je 0x1401e5b8d
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
lea rdx, str.ReadOnlyCnC
lea rcx, [rsp + 0x78]
call fcn.14004d5c4
lea ebx, [r12 + 0xf]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.1401e6590
test al, al
mov byte [rsp + 0x51], 1
jne 0x1401e5b92
mov byte [rsp + 0x51], r12b
test bl, 8
je 0x1401e5ba5
and ebx, 0xfffffff7
lea rcx, [rsp + 0x78]
call fcn.14004e0f0
nop
test bl, 4
je 0x1401e5bb7
and ebx, 0xfffffffb
lea rcx, [rbp - 0x40]
call fcn.14004e0f0
nop
test bl, 2
je 0x1401e5bc9
and ebx, 0xfffffffd
lea rcx, [rbp - 0x60]
call fcn.14004e0f0
nop
and ebx, 0xfffffffe
lea rcx, [rbp - 0x20]
call fcn.14004e0f0
lea r13, [rsi + 0x70]
mov rcx, r13
call fcn.1401e3c7c
lea r14, [rsi + 0x30]
lea rcx, [r14 + 8]
call fcn.1401c83c0
mov edx, 8
mov rcx, r14
call fcn.14006bf00
nop
lea rdi, [0x14049fbb0]
lea r15, [0x140344690]
lea rax, str.SOFTWAREMicrosoftWindows_Advanced_Threat_Protection
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Advanced_Threat_Protection
cmp dword [rdi + 0x20], r12d
cmove rdx, rax
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
lea rcx, [rbp - 0x60]
call fcn.14004d5c4
nop
mov byte [rsp + 0x50], 1
mov ecx, dword [rdi + 0x24]
test ecx, ecx
je 0x1401e5e2d
cmp ecx, 1
jne 0x1401e61a6
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r12w
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.14004d5c4
mov eax, dword [rdi + 0x2c]
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x28], r12b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1401d612c
nop
lea rcx, [rbp - 0x40]
call fcn.14004e0f0
cmp byte [rsp + 0x50], r12b
jne 0x1401e5e1e
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.14004cf4c
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.14004cf4c
nop
or ebx, 0x20
lea r8, [rbp + 0x60]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1401c88c4
nop
lea rcx, [rbp + 0x80]
call fcn.14004e0f0
lea rcx, [rbp + 0x60]
call fcn.14004e0f0
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401e5e1e
lea rax, str.Get_string_registry_value
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 0x34
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401e5d33
mov rcx, qword [rdi]
mov rdx, r15
mov rax, r12
or r8, 0xffffffffffffffff
test rcx, rcx
je 0x1401e5d52
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401e5d48
mov qword [rbp + 0x90], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x98], eax
mov dword [rbp + 0x9c], r12d
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov rdx, r15
mov rax, r12
test rcx, rcx
je 0x1401e5d96
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401e5d8c
mov qword [rbp + 0xa0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xac], r12d
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov rdx, r15
mov rax, r12
test rcx, rcx
je 0x1401e5ddc
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401e5dd2
mov qword [rbp + 0xb0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0xb8], eax
mov dword [rbp + 0xbc], r12d
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403df687]
mov rcx, r10
call fcn.140001158
nop
lea rcx, [rsp + 0x78]
call fcn.14004e0f0
jmp 0x1401e6003
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401e5e3a
mov rdx, qword [rdi]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
lea rcx, [rsp + 0x78]
call fcn.14004d5c4
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x60]
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140059e38
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x78]
call fcn.14004e0f0
cmp byte [rsp + 0x50], r12b
jne 0x1401e6003
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.14004cf4c
mov eax, dword [rsp + 0x54]
mov dword [rbp - 0x68], eax
or ebx, 0x10
mov rax, qword [r13 + 8]
mov r13, qword [rax]
mov r12, qword [r13 + 8]
lea r9, [rsp + 0x78]
mov r8, r12
mov rdx, r13
call fcn.1401e7a64
mov rdx, qword [rsi + 0x80]
movabs rcx, 0x492492492492491
sub rcx, rdx
cmp rcx, 1
jb 0x1401e61d8
lea rcx, [rdx + 1]
mov qword [rsi + 0x80], rcx
mov qword [r13 + 8], rax
mov qword [r12], rax
lea r13, [rsi + 0x70]
mov r9, qword [r13 + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.1401e4984
nop
lea rcx, [rsp + 0x78]
call fcn.14004e0f0
call fcn.14004d8a4
mov r10, qword [rax + 8]
xor r12d, r12d
cmp dword [r10], 4
jbe 0x1401e6003
lea rax, str.Get_integer_registry_value
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 0x36
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401e5f49
mov rcx, qword [rdi]
mov rdx, r15
mov rax, r12
test rcx, rcx
je 0x1401e5f65
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401e5f5b
mov qword [rbp + 0x90], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x98], eax
mov dword [rbp + 0x9c], r12d
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov rdx, r15
mov rax, r12
test rcx, rcx
je 0x1401e5faa
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401e5fa0
mov qword [rbp + 0xa0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xac], r12d
lea rax, [rsp + 0x54]
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], 4
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403df6c8]
mov rcx, r10
call fcn.140001158
nop
lea rcx, [rbp - 0x60]
call fcn.14004e0f0
add rdi, 0x30
lea rax, [0x14049fd60]
cmp rdi, rax
jne 0x1401e5c0a
cmp byte [rsp + 0x51], r12b
je 0x1401e6043
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
lea r9, [rbp]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.1401e6368
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
mov rdx, qword [str.senseGuid]
lea rcx, [rsp + 0x78]
call fcn.14004d5c4
mov rdi, qword [rsi + 0x38]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1401883f8
mov rbx, qword [rax]
lea rcx, [rsp + 0x78]
call fcn.14004e0f0
cmp rbx, rdi
jne 0x1401e620c
mov rcx, rsi
call fcn.1401e748c
mov dword [rsp + 0x58], eax
test eax, eax
jns 0x1401e620c
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x1401e614b
lea rax, [rsp + 0x58]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 4
lea rax, str.Failed_to_generate_Sense_Guid___use_default
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], MsiGetActiveDatabase
mov rax, r12
mov rcx, qword [str.00000000_0000_0000_0000_000000000000]
test rcx, rcx
je 0x1401e610a
mov r15, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401e6100
mov qword [rbp + 0xa0], r15
lea eax, [rax*2 + 2]
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xac], r12d
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403df64c]
mov rcx, r10
call fcn.140001158
mov rax, qword [str.senseGuid]
mov qword [rsp + 0x60], rax
mov rax, qword [str.00000000_0000_0000_0000_000000000000]
mov qword [rsp + 0x68], rax
mov rax, qword [r14 + 8]
mov rbx, qword [rax]
mov rdi, qword [rbx + 8]
lea r9, [rsp + 0x60]
mov r8, rdi
mov rdx, rbx
call fcn.1401e7ac0
mov rdx, rax
mov rax, qword [r14 + 0x10]
movabs rcx, 0x333333333333332
sub rcx, rax
cmp rcx, 1
jae 0x1401e61e6
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.140048a6c
mov r9d, eax
mov rcx, qword [rbp + 0xf8]
lea rax, str.Unexpected_DataType_value
mov qword [rsp + 0x20], rax
lea r8, str.amcorewcd_sourceconfigurationconfigurationconfigurationsnapshot.cpp
mov edx, 0x69
call fcn.14004d1a0
nop
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
inc rax
mov qword [r14 + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rdi], rdx
mov r9, qword [r14 + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.1401c9178
nop
lea rcx, [rbp]
call fcn.14004e0f0
nop
lea rcx, [rbp + 0x20]
call fcn.14004e0f0
nop
lea rcx, [rbp + 0x40]
call fcn.14004e0f0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1402dfdb0
lea r11, [rsp + 0x1d0]
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