Function at 0x14006c38c
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 [0x1400ebe98]
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 [0x1400c2ca8]
test rcx, rcx
je 0x14006c3ec
mov rax, qword [rsi + 0x4a8]
sub rax, rcx
sar rax, 3
test rax, rax
jne 0x14006c400
addsd xmm2, qword [0x1400c2c10]
cvttsd2si eax, xmm2
movd xmm2, eax
cvtdq2pd xmm2, xmm2
cvttsd2si eax, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm2, xmm0
jp 0x14006c419
jne 0x14006c419
xor dil, dil
jmp 0x14006c41c
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 0x14006c4a4
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
test dil, dil
jne 0x14006c4f2
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 0x14006c4f2
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 0x14006c555
mov rax, qword [rcx]
mov r8d, 2
lea rdx, [rbp + 7]
mov rax, qword [rax + 0x10]
call qword [str._N_b_]
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 0x14006c5cb
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 0x14006c5b4
sub ecx, 1
je 0x14006c5ab
sub ecx, 1
je 0x14006c5a2
cmp ecx, 1
mov rcx, rbx
je 0x14006c599
lea rdx, [0x1400c03c8]
jmp 0x14006c5be
lea rdx, str.____s
jmp 0x14006c5be
lea rdx, [0x1400c03f8]
jmp 0x14006c5bb
lea rdx, [0x1400c03c8]
jmp 0x14006c5bb
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.140083280
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret