Function at 0x14000ddc0
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.1400452a0
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
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x14000de60
inc rcx
mov edx, 2
call fcn.1400462ec
mov rdi, rax
test rax, rax
jne 0x14000de84
mov rdi, r14
jmp 0x14000deb5
lea rax, [rsp + 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x14000de90
add r8, r8
lea rdx, [rsp + 0x50]
mov rcx, rdi
lea rax, [r8 + 2]
cmp rax, r8
cmovb r8, rax
call fcn.140044e90
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 - 0x10]
mov r8d, 0xac
call fcn.1400452a0
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x14000e005
xorps xmm0, xmm0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
movups xmmword [rbp - 0x80], xmm0
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 [0x1400839d8]
divsd xmm0, qword [0x1400839e0]
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 0x14000dfc0
mov dword [rsp + 0x38], r8d
lea r8, [0x140083850]
jmp 0x14000dfd9
mov eax, r8d
cdq
mov r8d, eax
xor r8d, edx
sub r8d, edx
mov dword [rsp + 0x38], r8d
lea r8, [0x140083870]
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.14000c930
lea rcx, [rbp - 0x50]
call fcn.14004db8c
mov rsi, rax
test rdi, rdi
je 0x14000e061
test rsi, rsi
je 0x14000e03e
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, [0x140083838]
mov edx, 0x1f4
lea rcx, [rbp + 0xa0]
call fcn.14000c930
lea rcx, [rbp + 0xa0]
call fcn.14004db8c
mov r14, rax
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x14000e041
add r8, r8
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
call fcn.1400462d0
test rsi, rsi
je 0x14000e092
nop word [rax + rax]
cmp word [rsi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14000e070
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rsi
call fcn.1400452a0
mov rcx, rsi
call fcn.1400462d0
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