Function at 0x140216544
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, rdx
mov r12, rcx
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [str.p76_]
cmp eax, 5
jne 0x1402165df
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402165d8
lea rax, str.GeoLocations_JSON_configuration_string_is_empty
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0x60
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14047a311]
call fcn.140001208
mov al, 1
jmp 0x140216ac6
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [str.p76_]
cmp eax, 4
je 0x140216658
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140216651
mov dword [rsp + 0x30], 0x80004005
lea rax, [rsp + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 4
lea rax, str.Parsing_the_JSON_configuration_string_has_failed_because_GeoLocations_doesnt_have_an_array_type
mov qword [rbp], rax
mov qword [rbp + 8], 0xc2
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140482216]
call fcn.140001208
xor al, al
jmp 0x140216ac6
mov eax, dword [0x14055d990]
mov dword [rsp + 0x40], eax
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
xor r8d, r8d
xor edx, edx
call fcn.1401aa7fc
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [0x14055d990]
lea rcx, [rsp + 0x40]
call fcn.14020bb88
nop
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x98]
call qword [str.p76_]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14008af48
nop
mov rdi, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x68]
cmp rdi, rsi
je 0x1402169f6
mov r14d, 7
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r14
mov word [rbp - 0x50], r15w
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r14
mov word [rbp - 0x30], r15w
mov qword [rbp], r15
mov qword [rbp + 8], r14
mov word [rbp - 0x10], r15w
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r14
mov word [rbp + 0x10], r15w
lea rdx, [0x1403f0e90]
lea rcx, [rbp + 0x10]
call fcn.140055574
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.140097b30
mov bl, al
lea rcx, [rbp + 0x10]
call fcn.140055f70
test bl, bl
je 0x1402169cf
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r14
mov word [rbp + 0x10], r15w
lea rdx, [0x1403f0e78]
lea rcx, [rbp + 0x10]
call fcn.140055574
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.140097b30
mov bl, al
lea rcx, [rbp + 0x10]
call fcn.140055f70
test bl, bl
je 0x1402169c8
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r14
mov word [rbp + 0x10], r15w
lea rdx, [0x1403f0e60]
lea rcx, [rbp + 0x10]
call fcn.140055574
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.140097b30
mov bl, al
lea rcx, [rbp + 0x10]
call fcn.140055f70
test bl, bl
je 0x1402169c1
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1402168c7
lea rax, str.GeoLocations_JSON_parsing___insert_assign_entry
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0x60
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
lea r9, [0x1403cb630]
mov rdx, r9
mov rcx, r15
or r8, 0xffffffffffffffff
test rax, rax
je 0x140216819
mov rdx, rax
mov rcx, r8
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14021680f
mov qword [rbp + 0x40], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], r15d
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov rdx, r9
mov rax, r15
test rcx, rcx
je 0x140216854
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14021684a
mov qword [rbp + 0x50], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x5c], r15d
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
mov rdx, r9
mov rax, r15
test rcx, rcx
je 0x14021688f
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140216885
mov qword [rbp + 0x60], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x6c], r15d
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140483637]
mov rcx, r10
call fcn.140001208
mov r8b, 1
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.14006d604
nop
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401a7b04
mov rbx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
cmp rbx, rax
jne 0x14021695c
mov rbx, qword [rax]
mov r14, qword [rbx + 8]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
mov r8, r14
mov rdx, rbx
call fcn.1402170b8
movabs rcx, 0x249249249249248
mov rdx, qword [rsp + 0x50]
sub rcx, rdx
cmp rcx, 1
jb 0x1402169ad
inc rdx
mov qword [rsp + 0x50], rdx
mov qword [rbx + 8], rax
mov qword [r14], rax
mov r9, qword [rsp + 0x48]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14020c28c
jmp 0x14021697e
lea rdx, [rbp - 0x30]
lea rcx, [rbx + 0x30]
call fcn.14006fe84
lea rcx, [rbx + 0x50]
lea rdx, [rbp - 0x10]
call fcn.14006fe84
mov qword [rbp - 0x80], rbx
mov byte [rbp - 0x78], r15b
lea rcx, [rbp + 0x10]
call fcn.140055f70
nop
lea rcx, [rbp - 0x10]
call fcn.140055f70
lea rcx, [rbp - 0x30]
call fcn.140055f70
nop
lea rcx, [rbp - 0x50]
call fcn.140055f70
add rdi, 8
jmp 0x1402166c6
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
nop
call fcn.140329e68
jmp 0x1402169d5
call fcn.140329e68
jmp 0x1402169d5
call fcn.140329e68
nop
lea rcx, [rbp - 0x10]
call fcn.140055f70
lea rcx, [rbp - 0x30]
call fcn.140055f70
nop
lea rcx, [rbp - 0x50]
call fcn.140055f70
jmp 0x140216aaf
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r15w
lea rdx, str.DEFAULT
lea rcx, [rbp + 0x10]
call fcn.140055574
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401a7b04
lea rcx, [rbp + 0x10]
call fcn.140055f70
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x30], rax
jne 0x140216a9f
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140216aaf
mov dword [rsp + 0x30], 0x80004005
lea rax, [rsp + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 4
lea rax, str.GeoLocations_JSON_parsing___no_default_value_is_set
mov qword [rbp], rax
mov qword [rbp + 8], 0x68
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140482216]
call fcn.140001208
jmp 0x140216aaf
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.140216c94
mov r15b, 1
lea rcx, [rbp - 0x70]
call fcn.14008b020
nop
lea rcx, [rsp + 0x40]
call fcn.14020b6fc
mov al, r15b
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret