Function at 0x18005f0b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x18007cf38]
xor rax, rsp
mov qword [rbp + 0xf0], rax
lea eax, [rdx + 0x13]
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x5c], eax
mov r14, r9
mov ebx, dword [rsp + 0x5c]
mov r15d, edx
mov qword [rbp - 0x50], rcx
mov rsi, rcx
cmp edx, eax
jae case.0x18005f16e.98
movups xmm3, xmmword [rbp - 0x40]
mov eax, dword [rsp + 0x5c]
lea rdx, [0x180000000]
movups xmm1, xmmword [rbp - 0x40]
lea r12, [0x1800686d0]
mov r13, qword [rbp - 0x50]
movsd xmm2, qword [rbp - 0x30]
xor r9d, r9d
movsd xmm0, qword [rbp - 0x30]
movups xmmword [rsp + 0x78], xmm3
mov dword [rsp + 0x58], eax
movups xmmword [rsp + 0x68], xmm1
movsd qword [rsp + 0x50], xmm2
movsd qword [rsp + 0x40], xmm0
lea eax, [r15 - 0x5e]
mov edi, 4
cmp eax, 0x30
ja case.0x18005f16e.111
movzx eax, byte [rdx + rax + 0x5fb1c]
mov ecx, dword [rdx + rax*4 + 0x5fad4]
add rcx, rdx
jmp rcx
xorps xmm0, xmm0
mov qword [rsp + 0x30], r14
xor eax, eax
mov qword [rsp + 0x28], r9
mov dword [rbp + 0xb4], eax
xor r9d, r9d
lea rax, [rbp + 0x80]
mov dword [rbp + 0x80], 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xd1
movsd qword [rbp + 0xc8], xmm2
xor ecx, ecx
movaps xmmword [rbp + 0xd0], xmm3
movups xmmword [rbp + 0x84], xmm0
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
movups xmmword [rbp + 0xb8], xmm3
movsd qword [rbp + 0xe0], xmm2
call fcn.18000e0d0
test eax, eax
je 0x18005fabe
xor r9d, r9d
mov r8, qword [rsp + 0x60]
lea rdx, [0x180000000]
movups xmm3, xmmword [rsp + 0x78]
movsd xmm2, qword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x68]
movsd xmm0, qword [rsp + 0x40]
jmp case.0x18005f16e.111
cmp dword [r8], 0
mov edi, r9d
mov dword [rsp + 0x58], r9d
mov r12d, r9d
jle 0x18005f363
nop word [rax + rax]
mov r8, qword [rsi]
test r8, r8
je 0x18005f32d
mov qword [rsp + 0x28], r9
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], r9
mov edx, 0x3e
mov qword [rsp + 0x48], r9
mov r9, r14
call fcn.180021ac0
test eax, eax
je 0x18005f27e
sub eax, 1
je 0x18005f324
cmp eax, 1
jne 0x18005f324
inc edi
mov dword [rsp + 0x58], edi
jmp 0x18005f324
mov edi, 0xf
xor r15d, r15d
cmp edi, 0xf
je 0x18005f2ba
cmp edi, 0xc6
je 0x18005f2a0
cmp edi, 0x17d
jne 0x18005f30e
mov qword [rsi], r15
jmp 0x18005f30e
mov r9, qword [rsi]
mov r8, r14
mov rdx, r13
mov dword [rsp + 0x20], 0xb9
xor ecx, ecx
call fcn.180029990
jmp 0x18005f30e
xor r8d, r8d
xor ecx, ecx
lea edx, [r8 + 0x51]
call fcn.180027f80
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r15b
jne 0x18005f2d7
mov r9d, 0x1a
mov dword [rbp - 0x70], eax
lea r8, [rbp - 0x70]
mov rcx, r13
call fcn.180011030
mov r9, qword [r14]
mov r8d, 0xba
mov rdx, rax
mov qword [rsp + 0x48], rax
mov rcx, r13
call fcn.18000ac90
add edi, 0xb7
cmp edi, 0x234
jb 0x18005f286
mov edi, dword [rsp + 0x58]
mov r15d, 0x71
xor r9d, r9d
mov r8, qword [rsp + 0x60]
inc r12d
add rsi, 8
cmp r12d, dword [r8]
jl 0x18005f230
movsd xmm0, qword [rsp + 0x40]
lea rdx, [0x180000000]
movups xmm1, xmmword [rsp + 0x68]
mov rsi, qword [rbp - 0x50]
movsd xmm2, qword [rsp + 0x50]
movups xmm3, xmmword [rsp + 0x78]
lea r12, [0x1800686d0]
inc r15d
cmp r15d, dword [rsp + 0x5c]
jb 0x18005f14a
mov eax, ebx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.180065820
mov rbx, qword [rsp + 0x248]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x78], r9
mov qword [rbp - 0x60], r9
mov qword [rbp - 0x58], r9
jmp case.0x18005f16e.111
cmp qword [r14 + 0xa8], 1
jae case.0x18005f16e.111
mov r9, r14
mov qword [rsp + 0x48], 1
mov r8d, 0x86
lea rdx, [rsp + 0x48]
xor ecx, ecx
call fcn.180063280
test eax, eax
je case.0x18005f16e.109
jmp 0x18005f1e8
mov rcx, qword [r14 + 0x98]
movzx eax, byte [rcx]
cmp al, 0xd
je 0x18005f42f
cmp al, 0xa
je 0x18005f42f
cmp al, 0xc2
jne 0x18005f403
cmp byte [rcx + 1], 0x85
je 0x18005f42f
cmp al, 0xe2
jne 0x18005f528
movzx eax, byte [rcx + 1]
cmp al, 0x80
jne 0x18005f528
cmp byte [rcx + 2], 0xa8
je 0x18005f42f
cmp al, al
jne 0x18005f528
cmp byte [rcx + 2], 0xa9
jne 0x18005f528
cmp qword [r14 + 0xa8], 2
jae 0x18005f462
mov r9, r14
mov qword [rsp + 0x48], 2
mov r8d, 0x86
lea rdx, [rsp + 0x48]
xor ecx, ecx
call fcn.180063280
test eax, eax
je case.0x18005f16e.109
xor r9d, r9d
mov rdx, qword [r14 + 0x98]
movzx eax, byte [rdx]
cmp al, 0xd
jne 0x18005f49d
cmp byte [rdx + 1], 0xa
jne 0x18005f4c7
add qword [r14 + 0xe0], 2
lea rax, [rdx + 2]
inc qword [r14 + 0xe8]
add qword [r14 + 0xa8], 0xfffffffffffffffe
mov qword [r14 + 0xf0], r9
jmp 0x18005f521
cmp al, 0xa
je 0x18005f4c7
cmp al, 0xc2
jne 0x18005f4ab
cmp byte [rdx + 1], 0x85
je 0x18005f4c7
cmp al, 0xe2
jne 0x18005f528
movzx eax, byte [rdx + 1]
cmp al, 0x80
jne 0x18005f528
cmp byte [rdx + 2], 0xa8
je 0x18005f4c7
cmp al, al
jne 0x18005f528
cmp byte [rdx + 2], 0xa9
jne 0x18005f528
inc qword [r14 + 0xe0]
inc qword [r14 + 0xe8]
dec qword [r14 + 0xa8]
mov qword [r14 + 0xf0], r9
movzx ecx, byte [rdx]
test cl, cl
js 0x18005f4f1
mov eax, 1
jmp 0x18005f51e
movzx eax, cl
and al, 0xe0
cmp al, 0xc0
jne 0x18005f501
mov eax, 2
jmp 0x18005f51e
movzx eax, cl
and al, 0xf0
cmp al, 0xe0
jne 0x18005f511
mov eax, 3
jmp 0x18005f51e
and cl, 0xf8
mov rax, r9
cmp cl, 0xf0
cmove rax, rdi
add rax, rdx
mov qword [r14 + 0x98], rax
mov rdx, qword [rbp - 0x78]
mov ecx, 0x89
call fcn.18003c520
jmp 0x18005f1e8
mov dword [r14 + 0x194], 1
mov ebx, 1
jmp case.0x18005f16e.111
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x18], r9
movups xmm3, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], r9
movsd xmm2, qword [rbp - 0x10]
movups xmmword [rsp + 0x78], xmm3
movsd qword [rsp + 0x50], xmm2
jmp case.0x18005f16e.111
movups xmm1, xmmword [r14 + 0xe0]
movsd xmm0, qword [r14 + 0xf0]
movups xmmword [rsp + 0x68], xmm1
movsd qword [rsp + 0x40], xmm0
jmp case.0x18005f16e.111
inc qword [r14 + 0xe0]
inc qword [r14 + 0xf0]
dec qword [r14 + 0xa8]
mov rdx, qword [r14 + 0x98]
movzx ecx, byte [rdx]
test cl, cl
js 0x18005f5d4
mov eax, 1
add rax, rdx
lea rdx, [0x180000000]
mov qword [r14 + 0x98], rax
jmp case.0x18005f16e.111
movzx eax, cl
and al, 0xe0
cmp al, 0xc0
jne 0x18005f5f8
mov eax, 2
add rax, rdx
lea rdx, [0x180000000]
mov qword [r14 + 0x98], rax
jmp case.0x18005f16e.111
movzx eax, cl
and al, 0xf0
cmp al, 0xe0
jne 0x18005f61c
mov eax, 3
add rax, rdx
lea rdx, [0x180000000]
mov qword [r14 + 0x98], rax
jmp case.0x18005f16e.111
and cl, 0xf8
mov rax, r9
cmp cl, 0xf0
cmove rax, rdi
add rax, rdx
lea rdx, [0x180000000]
mov qword [r14 + 0x98], rax
jmp case.0x18005f16e.111
cmp dword [r14 + 0x194], 0
je case.0x18005f16e.111
mov eax, 1
jmp 0x18005f37a
mov rdx, qword [rbp - 0x60]
mov ecx, 0x89
call fcn.18003c520
mov rdx, qword [rbp - 0x78]
mov ecx, 0x89
call fcn.18003c520
xor r9d, r9d
mov ebx, r9d
jmp 0x18005f1eb
mov r9d, 0x90
movaps xmmword [rbp], xmm1
mov r8, r14
movsd qword [rbp + 0x10], xmm0
lea rdx, [rbp - 0x78]
lea rcx, [rbp]
call fcn.18004acf0
test eax, eax
je case.0x18005f16e.109
mov rdx, qword [rbp - 0x78]
lea r8, str.YAML
xor r9d, r9d
mov ecx, r9d
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x18005f789
cmp rcx, 5
jne 0x18005f6c0
mov edi, 0x18
nop dword [rax]
mov eax, edi
sub eax, 0x17
je 0x18005f730
cmp eax, 1
jne 0x18005f779
movups xmm0, xmmword [rsp + 0x68]
lea rax, [rbp - 0x68]
mov r9d, 0xd3
lea r8, [rbp - 0x64]
mov qword [rsp + 0x20], rax
movaps xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
movsd xmm0, qword [rsp + 0x40]
mov rdx, r14
movsd qword [rbp + 0x30], xmm0
call fcn.18001c390
test eax, eax
je case.0x18005f16e.109
xor r9d, r9d
jmp 0x18005f779
movups xmm2, xmmword [r14 + 0xe0]
movsd xmm1, qword [r14 + 0xf0]
mov qword [rsi], 3
mov qword [rsi + 0x10], r9
mov qword [rsi + 0x18], r9
movups xmm0, xmmword [rsp + 0x68]
mov eax, dword [rbp - 0x68]
mov dword [rsi + 8], eax
mov eax, dword [rbp - 0x64]
movups xmmword [rsi + 0x20], xmm0
mov dword [rsi + 0xc], eax
movsd xmm0, qword [rsp + 0x40]
movups xmmword [rsi + 0x38], xmm2
movsd qword [rsi + 0x30], xmm0
movsd qword [rsi + 0x48], xmm1
dec edi
cmp edi, 0x16
ja 0x18005f6e0
jmp 0x18005f1eb
mov rcx, r9
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x18005f833
cmp rcx, rdi
jne 0x18005f790
movups xmm0, xmmword [rsp + 0x68]
lea rax, [rbp - 0x58]
mov r9d, 0x50
lea r8, [rbp - 0x60]
mov qword [rsp + 0x20], rax
movaps xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
movsd xmm0, qword [rsp + 0x40]
mov rcx, r14
movsd qword [rbp + 0x50], xmm0
call fcn.180022120
test eax, eax
je case.0x18005f16e.109
movups xmm2, xmmword [r14 + 0xe0]
xor r9d, r9d
movsd xmm1, qword [r14 + 0xf0]
mov qword [rsi], 4
mov qword [rsi + 0x18], r9
movups xmm0, xmmword [rsp + 0x68]
mov rax, qword [rbp - 0x60]
mov qword [rsi + 8], rax
mov rax, qword [rbp - 0x58]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x10], rax
movsd xmm0, qword [rsp + 0x40]
movups xmmword [rsi + 0x38], xmm2
movsd qword [rsi + 0x30], xmm0
movsd qword [rsi + 0x48], xmm1
jmp 0x18005f1eb
movups xmm0, xmmword [rsp + 0x68]
lea r9, str.Geolocation_RequestValidator
lea rdx, str.HostProfileValidationState
movaps xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbp + 0x70], xmm0
jmp 0x18005fa96
mov rdx, qword [r14 + 0x98]
movzx eax, byte [rdx]
cmp al, 0x20
je 0x18005f876
cmp al, 9
jne 0x18005f90e
mov r8, qword [r14 + 0xa8]
inc qword [r14 + 0xe0]
dec r8
inc qword [r14 + 0xf0]
mov qword [r14 + 0xa8], r8
movzx ecx, byte [rdx]
test cl, cl
js 0x18005f8a3
mov eax, 1
jmp 0x18005f8d0
movzx eax, cl
and al, 0xe0
cmp al, 0xc0
jne 0x18005f8b3
mov eax, 2
jmp 0x18005f8d0
movzx eax, cl
and al, 0xf0
cmp al, 0xe0
jne 0x18005f8c3
mov eax, 3
jmp 0x18005f8d0
and cl, 0xf8
mov rax, r9
cmp cl, 0xf0
cmove rax, rdi
add rax, rdx
mov qword [r14 + 0x98], rax
cmp r8, 1
jae case.0x18005f16e.106
mov r9, r14
mov qword [rsp + 0x48], 1
mov r8d, 0x86
lea rdx, [rsp + 0x48]
xor ecx, ecx
call fcn.180063280
test eax, eax
je case.0x18005f16e.109
xor r9d, r9d
jmp case.0x18005f16e.106
cmp al, 0x23
jne 0x18005fa25
mov r8, rdx
nop dword [rax]
movzx ecx, al
mov rdx, r8
cmp al, 0xa
je 0x18005fa25
cmp al, 0xc2
jne 0x18005f93d
cmp byte [r8 + 1], 0x85
je 0x18005fa25
cmp cl, 0xe2
jne 0x18005f96e
movzx r9d, byte [r8 + 1]
cmp r9b, 0x80
jne 0x18005f96b
cmp byte [r8 + 2], 0xa8
mov rdx, r8
je 0x18005fa25
cmp r9b, r9b
jne 0x18005f96b
cmp byte [r8 + 2], 0xa9
je 0x18005fa25
xor r9d, r9d
mov rdx, r8
test cl, cl
je 0x18005fa25
mov rdx, qword [r14 + 0xa8]
inc qword [r14 + 0xe0]
dec rdx
inc qword [r14 + 0xf0]
mov qword [r14 + 0xa8], rdx
movzx ecx, byte [r8]
test cl, cl
js 0x18005f9a7
mov eax, 1
jmp 0x18005f9d4
movzx eax, cl
and al, 0xe0
cmp al, 0xc0
jne 0x18005f9b7
mov eax, 2
jmp 0x18005f9d4
movzx eax, cl
and al, 0xf0
cmp al, 0xe0
jne 0x18005f9c7
mov eax, 3
jmp 0x18005f9d4
and cl, 0xf8
mov rax, r9
cmp cl, 0xf0
cmove rax, rdi
add rax, r8
mov qword [r14 + 0x98], rax
cmp rdx, 1
jae 0x18005fa0a
mov r9, r14
mov qword [rsp + 0x48], 1
mov r8d, 0x86
lea rdx, [rsp + 0x48]
xor ecx, ecx
call fcn.180063280
test eax, eax
je case.0x18005f16e.109
mov rdx, qword [r14 + 0x98]
mov r9d, 0
mov r8, rdx
movzx eax, byte [rdx]
cmp al, 0xd
jne 0x18005f920
cmp al, 0xd
je 0x18005f1e8
cmp al, 0xa
je 0x18005f1e8
cmp al, 0xc2
jne 0x18005fa43
cmp byte [rdx + 1], 0x85
je 0x18005f1e8
cmp al, 0xe2
jne 0x18005fa68
movzx ecx, byte [rdx + 1]
cmp cl, 0x80
jne 0x18005fa68
cmp byte [rdx + 2], 0xa8
je 0x18005f1e8
cmp cl, cl
jne 0x18005fa68
cmp byte [rdx + 2], 0xa9
je 0x18005f1e8
test al, al
je 0x18005f1e8
movups xmm0, xmmword [rsp + 0x68]
lea r9, str.msocbvcrrbcontextualtab04bkgdgradientmiddle
lea rdx, str.std.ctype_wchar_t_.toupper
movaps xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbp - 0x30], xmm0
mov r8, r14
mov dword [rsp + 0x20], 0x106
call fcn.180062ec0
mov rdx, qword [rbp - 0x58]
mov r15d, 0x8c
lea ecx, [r15 - 3]
call fcn.18003c520
jmp 0x18005f1e8
xor r15d, r15d
mov eax, r15d
jmp 0x18005f37a
mov eax, dword [rsp + 0x58]
jmp 0x18005f37a