Function at 0x4596c0
Capabilities:
Get geographical location

Disassembly:
lea r12, [rsp - 0x138]
cmp r12, qword [r14 + 0x10]
jbe 0x459992
sub rsp, 0x1b8
mov qword [rsp + 0x1b0], rbp
lea rbp, [rsp + 0x1b0]
mov qword [rsp + 0x1d8], rdi
mov qword [rsp + 0x78], rcx
cmp byte [0x0092c043], 0
nop dword [rax]
je 0x459803
mov rdx, qword [rdi + 0x30]
test rdx, rdx
je 0x459803
cmp dword [rdx + 0x108], 0
nop word [rax + rax]
jle 0x459803
cmp qword [rdi + 0x70], 0
je 0x459803
mov r12, qword [rdx + 0x110]
nop dword [rax + rax]
test r12, r12
je 0x459803
cmp qword [r12], 0
je 0x459803
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x1e0], rsi
mov ecx, 1
xchg dword [rdx + 0x10c], ecx
mov rcx, qword [rdi + 0x30]
mov rsi, qword [rcx + 0x110]
test byte [rcx], al
mov rax, rdi
lea rdi, [rsp + 0x80]
nop word [rax + rax]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466120
mov rbp, qword [rbp]
mov rcx, qword [rax + 0x30]
mov rcx, qword [rcx + 0x110]
mov qword [rcx], 0
mov rcx, qword [rax + 0x30]
xor edx, edx
xchg dword [rcx + 0x10c], edx
lea rax, [rsp + 0x80]
call fcn.0045aaa0
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x1c8]
mov rsi, qword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1d8]
mov edx, dword [rdi + 0x90]
btr edx, 0xc
cmp edx, 3
jne 0x45981e
mov rax, qword [rdi + 0x78]
mov rbx, qword [rdi + 0x70]
and rsi, 0xfffffffffffffffd
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp], rsi
xor r8d, r8d
mov r9d, 0x64
xor r10d, r10d
xor r11d, r11d
xor esi, esi
call fcn.00457120
test rax, rax
jne 0x45988c
mov rdx, qword [rsp + 0x60]
bt edx, 0
jb 0x45988c
or rdx, 1
mov qword [rsp], rdx
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x1d8]
xor esi, esi
xor r8d, r8d
mov r9d, 0x64
xor r10d, r10d
xor r11d, r11d
call fcn.00457120
cmp rax, 0x64
jne 0x4598ad
call fcn.004392e0
lea rax, [0x00acf36e]
mov ebx, 0x1f
call fcn.00439be0
call fcn.00439360
mov rax, qword [rsp + 0x1d8]
call fcn.00459380
mov rcx, qword [rsp + 0x1d8]
mov rcx, qword [rcx + 0x130]
test rcx, rcx
je 0x4598e3
mov rdx, qword [rcx + 8]
mov r8, qword [rcx]
test rdx, rdx
jle 0x4598f3
mov qword [rsp + 0x58], rdx
xor eax, eax
jmp 0x459915
mov rbp, qword [rsp + 0x1b0]
add rsp, 0x1b8
ret
mov rbp, qword [rsp + 0x1b0]
add rsp, 0x1b8
ret
mov r9, qword [rsp + 0x180]
add r9, 0x28
mov r8, r9
mov rax, rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x180], r8
mov rdx, qword [r8]
mov qword [rsp + 0x188], rdx
movups xmm0, xmmword [r8 + 8]
movups xmmword [rsp + 0x190], xmm0
movups xmm0, xmmword [r8 + 0x18]
movups xmmword [rsp + 0x1a0], xmm0
mov rdx, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
mov rdi, qword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x1a8]
mov rax, rdx
call fcn.004599e0
mov rdx, qword [rsp + 0x50]
inc rdx
mov r8, qword [rsp + 0x58]
cmp r8, rdx
jg 0x459903
jmp 0x4598f3
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.00463440
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp fcn.004596c0