Function at 0x1401d4ca0
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 + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x44], r13d
movdqa xmm0, xmmword [0x14034f9a0]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r13w
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r13w
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r13w
lea rdx, str.OrgId
lea rcx, [rsp + 0x58]
call fcn.14004a9e4
nop
lea edi, [r13 + 1]
mov dword [rsp + 0x44], edi
lea r8, [rbp + 0x20]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1401d59c0
test al, al
je 0x1401d4dce
lea rdx, str.CyberEndpoint
lea rcx, [rbp + 0x40]
call fcn.14004a9e4
nop
lea edi, [r13 + 3]
mov dword [rsp + 0x44], edi
lea r8, [rbp]
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.1401d59c0
test al, al
je 0x1401d4dce
lea rdx, str.VortexGeoLocation
lea rcx, [rbp - 0x40]
call fcn.14004a9e4
nop
lea edi, [r13 + 7]
mov dword [rsp + 0x44], edi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1401d59c0
test al, al
je 0x1401d4dce
lea rdx, str.ReadOnlyCnC
lea rcx, [rsp + 0x78]
call fcn.14004a9e4
lea edi, [r13 + 0xf]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.1401d5780
test al, al
mov byte [rsp + 0x41], 1
jne 0x1401d4dd3
mov byte [rsp + 0x41], r13b
mov r12d, 8
test r12b, dil
je 0x1401d4dec
and edi, 0xfffffff7
lea rcx, [rsp + 0x78]
call fcn.14004b500
nop
test dil, 4
je 0x1401d4dff
and edi, 0xfffffffb
lea rcx, [rbp - 0x40]
call fcn.14004b500
nop
test dil, 2
je 0x1401d4e12
and edi, 0xfffffffd
lea rcx, [rbp + 0x40]
call fcn.14004b500
nop
and edi, 0xfffffffe
lea rcx, [rsp + 0x58]
call fcn.14004b500
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 0x1401d4e5c
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.14004b500
mov rcx, rsi
call fcn.1402aed28
mov rsi, rbx
cmp rbx, qword [r14 + 0x78]
jne 0x1401d4e3f
mov rdx, r12
lea rcx, [r14 + 0x70]
call fcn.140068c98
nop
lea rsi, [r14 + 0x30]
lea rcx, [rsi + 8]
call fcn.1401b87f8
mov rdx, r12
mov rcx, rsi
call fcn.140068c98
nop
lea rbx, [0x140463bb0]
lea r12, [0x14030cae0]
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 + 0x78]
call fcn.14004a9e4
nop
mov byte [rsp + 0x40], 1
mov ecx, dword [rbx + 0x24]
test ecx, ecx
je 0x1401d5095
cmp ecx, 1
jne 0x1401d53ed
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.14004a9e4
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 + 0x78]
lea r8, [rbp - 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401c5ecc
nop
lea rcx, [rbp - 0x68]
call fcn.14004b500
cmp byte [rsp + 0x40], r13b
jne 0x1401d5086
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.14004a36c
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x80]
call fcn.14004a36c
nop
or edi, 0x20
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.1401b8cdc
nop
lea rcx, [rbp + 0x80]
call fcn.14004b500
lea rcx, [rbp + 0x60]
call fcn.14004b500
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401d5086
lea rax, str.Get_string_registry_value
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 0x34
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d4f98
mov rcx, qword [rbx]
mov rdx, r12
mov rax, r13
or r8, 0xffffffffffffffff
test rcx, rcx
je 0x1401d4fb7
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401d4fad
mov qword [rbp + 0x90], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x98], eax
mov dword [rbp + 0x9c], r13d
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401d4ffd
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401d4ff3
mov qword [rbp + 0xa0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xac], r13d
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401d5044
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401d503a
mov qword [rbp + 0xb0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0xb8], eax
mov dword [rbp + 0xbc], r13d
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14039cfb0]
mov rcx, r10
call fcn.140001158
nop
lea rcx, [rsp + 0x58]
call fcn.14004b500
jmp 0x1401d525f
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d50a2
mov rdx, qword [rbx]
lea rcx, [rbp - 0x68]
call fcn.14004a9e4
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x78]
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.140056fa4
mov dword [rsp + 0x44], eax
lea rcx, [rbp - 0x68]
call fcn.14004b500
cmp byte [rsp + 0x40], r13b
jne 0x1401d525f
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14004a36c
mov eax, dword [rsp + 0x44]
mov dword [rbp - 0x48], eax
or edi, 0x10
mov rax, qword [r14 + 0x78]
mov r13, qword [rax]
mov rax, qword [r13 + 8]
mov qword [rsp + 0x58], rax
lea r9, [rbp - 0x68]
mov r8, rax
mov rdx, r13
call fcn.1401d6be4
mov r8, rax
mov rdx, qword [r14 + 0x80]
movabs rcx, 0x492492492492491
sub rcx, rdx
cmp rcx, 1
jb 0x1401d541f
lea rcx, [rdx + 1]
mov qword [r14 + 0x80], rcx
mov qword [r13 + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [rax], r8
mov r9, qword [r14 + 0x78]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x40]
lea rcx, [r14 + 0x70]
call fcn.1401d3bb4
nop
lea rcx, [rbp - 0x68]
call fcn.14004b500
call fcn.14004acb4
mov r10, qword [rax + 8]
xor r13d, r13d
cmp dword [r10], 4
jbe 0x1401d525f
lea rax, str.Get_integer_registry_value
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 0x36
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d51a3
mov rcx, qword [rbx]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401d51bf
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401d51b5
mov qword [rbp + 0x90], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x98], eax
mov dword [rbp + 0x9c], r13d
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov rdx, r12
mov rax, r13
test rcx, rcx
je 0x1401d5206
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401d51fc
mov qword [rbp + 0xa0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xac], r13d
lea rax, [rsp + 0x44]
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, [0x14039cf6f]
mov rcx, r10
call fcn.140001158
nop
lea rcx, [rsp + 0x78]
call fcn.14004b500
add rbx, 0x30
lea rax, [0x140463d60]
cmp rbx, rax
jne 0x1401d4e90
cmp byte [rsp + 0x41], r13b
je 0x1401d52a0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x20]
lea r8, [rbp]
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.1401d55ac
mov rdx, qword [0x140437290]
lea rcx, [rbp - 0x68]
call fcn.14004a9e4
mov rdi, qword [r14 + 0x38]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14017c2b8
mov rbx, qword [rax]
lea rcx, [rbp - 0x68]
call fcn.14004b500
cmp rbx, rdi
jne 0x1401d5453
mov rcx, r14
call fcn.1401d663c
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1401d5453
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x1401d5392
lea rax, [rsp + 0x48]
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], 0x2c
mov rax, r13
mov rcx, qword [str.00000000_0000_0000_0000_000000000000]
test rcx, rcx
je 0x1401d5351
mov r12, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1401d5347
mov qword [rbp + 0xa0], r12
lea eax, [rax*2 + 2]
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xac], r13d
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14039cff1]
mov rcx, r10
call fcn.140001158
mov rax, qword [0x140437290]
mov qword [rsp + 0x58], rax
mov rax, qword [str.00000000_0000_0000_0000_000000000000]
mov qword [rsp + 0x60], rax
mov rax, qword [rsi + 8]
mov rbx, qword [rax]
mov rdi, qword [rbx + 8]
lea r9, [rsp + 0x58]
mov r8, rdi
mov rdx, rbx
call fcn.1401d6c40
mov rdx, rax
mov rax, qword [rsi + 0x10]
movabs rcx, 0x333333333333332
sub rcx, rax
cmp rcx, 1
jae 0x1401d542d
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.140045e78
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.14004a5c0
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 [rsi + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rdi], rdx
mov r9, qword [rsi + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1401b9598
nop
lea rcx, [rbp - 0x20]
call fcn.14004b500
nop
lea rcx, [rbp]
call fcn.14004b500
nop
lea rcx, [rbp + 0x20]
call fcn.14004b500
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1402ae860
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