Function at 0x140009de0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x460]
sub rsp, 0x560
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x3e8
xor r14d, r14d
call fcn.1400376d0
xor eax, eax
lea r9d, [r14 + 9]
xorps xmm0, xmm0
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x50]
mov ecx, 0x800
movups xmmword [rsp + 0x50], xmm0
lea edx, [rax + 0x59]
movups xmmword [rsp + 0x60], xmm0
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
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x140009e75
inc rcx
mov edx, 2
call fcn.14003853c
mov rdi, rax
test rax, rax
jne 0x140009e99
mov rdi, r14
jmp 0x140009ec6
lea rax, [rsp + 0x50]
mov r8, rbx
inc r8
cmp word [rax + r8*2], r14w
jne 0x140009ea1
add r8, r8
lea rdx, [rsp + 0x50]
mov rcx, rdi
lea rax, [r8 + 2]
cmp rax, r8
cmovb r8, rax
call fcn.1400372c0
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
mov rsi, r14
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0xac
call fcn.1400376d0
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x14000a018
xorps xmm0, xmm0
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
movaps xmm0, xmmword [rbp - 0x70]
lea rdx, [rbp + 0x488]
movaps xmm1, xmmword [rsp + 0x40]
lea rcx, [rbp - 0x60]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x74], r14w
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rbp + 0x480]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rax, qword [rbp + 0x480]
xorps xmm0, xmm0
sub rax, qword [rbp + 0x488]
movzx r9d, word [rsp + 0x48]
cvtsi2sd xmm0, rax
mov eax, 0x88888889
mulsd xmm0, qword [0x140072910]
divsd xmm0, qword [0x140072918]
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 0x140009fd1
mov dword [rsp + 0x38], r8d
lea r8, [0x1400727e0]
jmp 0x140009fea
mov eax, r8d
cdq
mov r8d, eax
xor r8d, edx
sub r8d, edx
mov dword [rsp + 0x38], r8d
lea r8, [0x140072800]
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, [rsp + 0x50]
call fcn.140009230
lea rcx, [rsp + 0x50]
call fcn.14003fa28
mov rsi, rax
test rdi, rdi
je 0x14000a068
test rsi, rsi
je 0x14000a04b
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, [0x1400727c8]
mov edx, 0x1f4
lea rcx, [rbp + 0x70]
call fcn.140009230
lea rcx, [rbp + 0x70]
call fcn.14003fa28
mov r14, rax
mov r8, rbx
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x14000a050
add r8, r8
xor edx, edx
mov rcx, rdi
call fcn.1400376d0
mov rcx, rdi
call fcn.140038520
test rsi, rsi
je 0x14000a09a
nop word [rax + rax]
cmp word [rsi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14000a080
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rsi
call fcn.1400376d0
mov rcx, rsi
call fcn.140038520
lea r11, [rsp + 0x560]
mov rax, r14
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret