Function at 0x14007c6ec
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 [0x1400ff2b8]
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]
test rcx, rcx
je 0x14007c74e
mov rax, qword [rsi + 0x4a8]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x14007c74e
mulsd xmm2, qword [0x1400d53a0]
jmp 0x14007c76a
mulsd xmm2, qword [0x1400d53a0]
addsd xmm2, qword [0x1400d5308]
cvttsd2si eax, xmm2
movd xmm2, eax
cvtdq2pd xmm2, xmm2
cvttsd2si eax, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm2, xmm0
jp 0x14007c783
jne 0x14007c783
xor dil, dil
jmp 0x14007c786
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 0x14007c80e
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
test dil, dil
jne 0x14007c85c
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 0x14007c85c
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 0x14007c8bf
mov rax, qword [rcx]
mov r8d, 2
lea rdx, [rbp + 7]
mov rax, qword [rax + 0x10]
call qword [str._S_t_]
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 0x14007c935
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 0x14007c91e
sub ecx, 1
je 0x14007c915
sub ecx, 1
je 0x14007c90c
cmp ecx, 1
mov rcx, rbx
je 0x14007c903
lea rdx, str._s__
jmp 0x14007c928
lea rdx, str.____s
jmp 0x14007c928
lea rdx, [0x1400d0640]
jmp 0x14007c925
lea rdx, str._s__
jmp 0x14007c925
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.140093810
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret