Function at 0x1800095d0
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov r12, r8
mov r13, rdx
mov r9, rcx
mov rax, rcx
cqo
and edx, 0x3ff
add rax, rdx
and eax, 0x3ff
sub rax, rdx
mov rsi, rax
movsxd r8, eax
mov rax, rcx
sub rax, r8
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
cdq
and edx, 0x3ff
add eax, edx
and eax, 0x3ff
sub eax, edx
mov ebx, eax
mov ecx, eax
shl ecx, 0xa
movsxd rdx, ecx
mov rax, r9
sub rax, rdx
sub rax, r8
cqo
and edx, 0xfffff
add rax, rdx
sar rax, 0x14
cdq
and edx, 0x3ff
lea edi, [rdx + rax]
and edi, 0x3ff
sub edi, edx
mov rax, r9
cqo
and edx, 0x3fffffff
lea r14, [rdx + rax]
sar r14, 0x1e
mov r9d, 3
lea r8, [r11 + 0x20]
lea edx, [r9 + 0xb]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1800096ad
mov eax, 0x2c
mov word [rsp + 0x88], ax
test r14d, r14d
jne 0x18000983c
cmp edi, 0x3e7
jg 0x18000983c
test edi, edi
jne 0x1800097b5
cmp ebx, 0x3e7
jg 0x1800097b5
test ebx, ebx
je 0x180009765
imul esi, esi, 0x3e8
mov eax, esi
cdq
and edx, 0x3ff
lea edi, [rdx + rax]
sar edi, 0xa
cmp byte [0x1800a98e8], r14b
jne 0x180009708
lea rcx, [0x1800a9600]
call fcn.180006570
mov rcx, qword [0x1800a97b8]
test rcx, rcx
je 0x18000971d
cmp dword [0x1800a97c0], 0
jne 0x180009724
lea rcx, [0x1800a97c4]
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str._d_s_02d___s
mov rdx, r12
mov rcx, r13
call fcn.18005ac08
jmp 0x1800098bf
cmp byte [0x1800a98e8], 0
jne 0x18000977a
lea rcx, [0x1800a9600]
call fcn.180006570
mov rax, qword [0x1800a97d0]
test rax, rax
je 0x18000978f
cmp dword [0x1800a97d8], 0
jne 0x180009796
lea rax, [0x1800a97dc]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, str._d___s
mov rdx, r12
mov rcx, r13
call fcn.18005ac08
jmp 0x1800098bf
imul ebx, ebx, 0x3e8
mov eax, ebx
cdq
and edx, 0x3ff
lea ebx, [rdx + rax]
sar ebx, 0xa
cmp byte [0x1800a98e8], 0
jne 0x1800097df
lea rcx, [0x1800a9600]
call fcn.180006570
mov rcx, qword [0x1800a97a0]
test rcx, rcx
je 0x1800097f4
cmp dword [0x1800a97a8], 0
jne 0x1800097fb
lea rcx, [0x1800a97ac]
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str._d_s_02d___s
mov rdx, r12
mov rcx, r13
call fcn.18005ac08
jmp 0x1800098bf
imul edi, edi, 0x3e8
mov eax, edi
cdq
and edx, 0x3ff
lea ebx, [rdx + rax]
sar ebx, 0xa
cmp byte [0x1800a98e8], 0
jne 0x180009866
lea rcx, [0x1800a9600]
call fcn.180006570
mov rcx, qword [0x1800a9788]
test rcx, rcx
je 0x18000987b
cmp dword [0x1800a9790], 0
jne 0x180009882
lea rcx, [0x1800a9794]
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, str._d_s_02d___s
mov rdx, r12
mov rcx, r13
call fcn.18005ac08
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop r12
ret