Function at 0x14006d3dc
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400ece98]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 1], rdx
and dword [rbp - 0x11], 0
mov rcx, qword [rcx + 0x4a0]
mulsd xmm2, qword [0x1400c3ca8]
test rcx, rcx
je 0x14006d43c
mov rax, qword [rsi + 0x4a8]
sub rax, rcx
sar rax, 3
test rax, rax
jne 0x14006d450
addsd xmm2, qword [0x1400c3c10]
cvttsd2si eax, xmm2
movd xmm2, eax
cvtdq2pd xmm2, xmm2
cvttsd2si eax, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm2, xmm0
jp 0x14006d469
jne 0x14006d469
xor dil, dil
jmp 0x14006d46c
mov dil, 1
movzx r9d, dil
movsd qword [rsp + 0x20], xmm2
lea r8, str._0.f
mov edx, 0x14
lea rcx, [rbp + 0x17]
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 + 0x17]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetNumberFormatEx]
nop dword [rax + rax]
test eax, eax
jg 0x14006d4f4
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
test dil, dil
jne 0x14006d542
mov r9d, 8
lea r8, [rbp + 7]
lea edx, [r9 + 6]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop dword [rax + rax]
movzx edx, word [rbp + 7]
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_COleControlContainer::XOleIPFrame::SetMenu]
nop dword [rax + rax]
test eax, eax
jle 0x14006d542
xor r8d, r8d
mov edx, eax
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_CRecordset::SkipDeletedRecords]
nop dword [rax + rax]
mov rcx, rbx
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 0x14006d5a5
mov rax, qword [rcx]
mov r8d, 2
lea rdx, [rbp + 7]
mov rax, qword [rax + 0x10]
call qword [case.0x14004e05b.0]
nop
mov r8, qword [rbp - 0x19]
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
nop dword [rax + rax]
nop
lea rcx, [rbp + 7]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
jmp 0x14006d61b
mov r9d, 8
lea r8, [rbp + 7]
lea edx, [r9 + 0x6d]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop dword [rax + rax]
movzx ecx, word [rbp + 7]
sub ecx, 0x30
mov r8, qword [rbp - 0x19]
je 0x14006d604
sub ecx, 1
je 0x14006d5fb
sub ecx, 1
je 0x14006d5f2
cmp ecx, 1
mov rcx, rbx
je 0x14006d5e9
lea rdx, [0x1400c13c8]
jmp 0x14006d60e
lea rdx, str.____s
jmp 0x14006d60e
lea rdx, [0x1400c13f8]
jmp 0x14006d60b
lea rdx, [0x1400c13c8]
jmp 0x14006d60b
lea rdx, str._s___
mov rcx, rbx
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, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400842d0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret