Function at 0x1400850e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400fc1e8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 9], rdx
and dword [rbp - 0x11], 0
mulsd xmm2, qword [0x1400dbbe8]
mov rax, qword [rcx + 0x4a0]
cmp qword [rcx + 0x498], rax
jne 0x14008513c
addsd xmm2, qword [0x1400dbb50]
cvttsd2si eax, xmm2
movd xmm2, eax
cvtdq2pd xmm2, xmm2
cvttsd2si eax, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm2, xmm0
jp 0x140085154
jne 0x140085154
xor bl, bl
jmp 0x140085156
mov bl, 1
movzx r9d, bl
movsd qword [rsp + 0x20], xmm2
lea r8, str._0.f
mov edx, 0x14
lea rcx, [rbp + 0xf]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
mov edx, SafeArrayCopy
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_CConnectionPoint::XConnPt::GetConnectionInterface]
nop dword [rax + rax]
mov dword [rsp + 0x28], SafeArrayCopy
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0xf]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetNumberFormatEx]
nop dword [rax + rax]
test eax, eax
jg 0x1400851de
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
test bl, bl
jne 0x14008522b
mov r9d, 8
lea r8, [rbp - 1]
lea edx, [r9 + 6]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop dword [rax + rax]
movzx edx, word [rbp - 1]
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_COleControlContainer::XOleIPFrame::SetMenu]
nop dword [rax + rax]
test eax, eax
jle 0x14008522b
xor r8d, r8d
mov edx, eax
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_CRecordset::SkipDeletedRecords]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
mov dword [rbp - 0x11], 1
mov rcx, qword [rsi + 0x488]
test rcx, rcx
je 0x14008529b
mov rbx, qword [rbp - 0x19]
mov rax, qword [rcx]
movabs r10, 0xba2816801a5ba070
mov r8d, 2
lea rdx, [rbp - 1]
mov rax, qword [rax + 0x10]
call qword [case.0x140063541.0]
nop
mov r8, rbx
mov rdx, qword [rax]
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
nop dword [rax + rax]
nop
lea rcx, [rbp - 1]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
jmp 0x140085311
mov r9d, 8
lea r8, [rbp - 1]
lea edx, [r9 + 0x6d]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop dword [rax + rax]
movzx ecx, word [rbp - 1]
sub ecx, 0x30
mov r8, qword [rbp - 0x19]
je 0x1400852fa
sub ecx, 1
je 0x1400852f1
sub ecx, 1
je 0x1400852e8
cmp ecx, 1
mov rcx, rdi
je 0x1400852df
lea rdx, [0x1400d6ed0]
jmp 0x140085304
lea rdx, str.____s
jmp 0x140085304
lea rdx, [0x1400d6f00]
jmp 0x140085301
lea rdx, [0x1400d6ed0]
jmp 0x140085301
lea rdx, str._s___
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14000bdb0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret