Function at 0x1400098b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x490]
sub rsp, 0x590
xor edx, edx
lea rcx, [rbp + 0xa0]
mov r8d, 0x3e8
xor r14d, r14d
call fcn.14002ec20
xor eax, eax
lea r9d, [r14 + 9]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov ecx, 0x800
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea edx, [rax + 0x59]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r8, [rsp + 0x52]
mov ecx, 0x800
dec eax
lea r9d, [r14 + 9]
movsxd rdx, eax
mov eax, 0x2d
mov word [rsp + rdx*2 + 0x50], ax
lea r8, [r8 + rdx*2]
lea edx, [rax + 0x2d]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x50]
mov rcx, rbx
nop
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x140009950
inc rcx
mov edx, 2
call fcn.14002f9e8
mov rdi, rax
test rax, rax
jne 0x140009974
mov rdi, r14
jmp 0x14000999a
lea rax, [rsp + 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140009980
add r8, r8
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14002e590
xor eax, eax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rsi, r14
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0xac
call fcn.14002ec20
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x140009af1
xor eax, eax
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x78], rax
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
movaps xmm0, xmmword [rbp - 0x80]
lea rdx, [rbp + 0x4b8]
movaps xmm1, xmmword [rsp + 0x40]
lea rcx, [rbp - 0x70]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x14], r14w
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rax, qword [rbp + 0x4b0]
xorps xmm0, xmm0
sub rax, qword [rbp + 0x4b8]
movzx r9d, word [rsp + 0x48]
cvtsi2sd xmm0, rax
mov eax, 0x88888889
mulsd xmm0, qword [0x140067830]
divsd xmm0, qword [0x140067838]
cvttsd2si ecx, xmm0
imul ecx
mov r8d, ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
sub r8d, eax
mov eax, 0x77777777
imul ecx
mov r10d, edx
sub r10d, ecx
sar r10d, 5
mov eax, r10d
shr eax, 0x1f
add r10d, eax
test ecx, ecx
movzx ecx, word [rsp + 0x4a]
jle 0x140009aac
mov dword [rsp + 0x38], r8d
lea r8, [0x140067700]
jmp 0x140009ac5
mov eax, r8d
cdq
mov r8d, eax
xor r8d, edx
sub r8d, edx
mov dword [rsp + 0x38], r8d
lea r8, [0x140067720]
movzx eax, word [rsp + 0x4c]
mov edx, 0x1e
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x50]
call fcn.140008750
lea rcx, [rbp - 0x50]
call fcn.1400343b0
mov rsi, rax
test rdi, rdi
je 0x140009b48
test rsi, rsi
je 0x140009b2a
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, [0x1400676e8]
mov edx, 0x1f4
lea rcx, [rbp + 0xa0]
call fcn.140008750
lea rcx, [rbp + 0xa0]
call fcn.1400343b0
mov r14, rax
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140009b30
add r8, r8
xor edx, edx
mov rcx, rdi
call fcn.14002ec20
mov rcx, rdi
call fcn.14002fc28
test rsi, rsi
je 0x140009b7a
nop word [rax + rax]
cmp word [rsi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x140009b60
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rsi
call fcn.14002ec20
mov rcx, rsi
call fcn.14002fc28
lea r11, [rsp + 0x590]
mov rax, r14
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret