Function at 0x140001670
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
xor esi, esi
mov dword [rbp - 0x79], esi
call qword [sym.imp.mfc140u.dll_AfxInitRichEdit5]
test eax, eax
jne 0x1400016cf
xor edx, edx
lea ecx, [rsi + 0x64]
mov r8d, 0xffffffff
call qword [sym.imp.mfc140u.dll_AfxInitLocalData]
xor eax, eax
jmp 0x140001af2
lea rcx, [rbp - 0x69]
call qword [sym.imp.mfc140u.dll_CColorDialog::CColorDialog]
lea rax, vtable.CTmtCommandLineInfo.0
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x21], rsi
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rbp - 0x69]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCPrintPreviewToolBar::OnToolHitTest]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x71]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
mov rax, qword [rbp - 0x71]
mov rdi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
jne 0x140001846
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ebx, eax
lea r9d, [rdi + 0xa]
lea r8, [rbp - 9]
lea edx, [rdi + 0x5a]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140001ad1
lea r9d, [rdi + 0xa]
lea r8, [rbp + 0xf]
lea edx, [rdi + 0x5b]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140001ad1
lea rdx, [0x140008b54]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rbp - 0x79], 1
mov r9, qword [rbx]
mov eax, dword [r9 - 0x10]
lea rdx, [rbp - 9]
mov rcx, rdi
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1400017a6
mov dword [rsp + 0x20], eax
mov r8d, ecx
lea rdx, [rbp - 9]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbx, rax
mov dword [rbp - 0x79], 3
lea rax, [rbp + 0xf]
mov rcx, rdi
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400017f0
mov rdx, qword [r15]
mov dword [rsp + 0x20], ecx
lea r9, [rbp + 0xf]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, rbx
lea rcx, [rbp - 0x71]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x71]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbx, rax
mov dword [rbp - 0x79], 4
lea r9, [0x140008f08]
mov rcx, rdi
inc rcx
cmp word [r9 + rcx*2], 0
jne 0x140001872
mov rdx, qword [rbp - 0x71]
mov dword [rsp + 0x20], ecx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rbp - 0x79], 0xc
lea r12, [0x140008b58]
mov rcx, rdi
inc rcx
cmp word [r12 + rcx*2], 0
jne 0x1400018c0
mov rdx, qword [rbx]
mov dword [rsp + 0x20], ecx
mov r9, r12
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
xor edx, edx
lea r8d, [rdx + 0x22]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test rbx, rbx
jne 0x1400019e0
lea rdx, str.en_US_
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rbp - 0x79], 0x10
nop dword [rax]
inc rdi
cmp word [r12 + rdi*2], 0
jne 0x140001950
mov rdx, qword [rbx]
mov dword [rsp + 0x20], edi
mov r9, r12
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
xor edx, edx
lea r8d, [rdx + 0x22]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test rbx, rbx
jne 0x1400019e0
mov rdx, r12
lea rcx, [rbp - 0x79]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
lea rdx, str._not_found
lea rcx, [rbp - 0x79]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
nop
lea rcx, [rbp - 0x79]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140001ad1
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov qword [rax + 0x18], rbx
mov edx, 4
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::IsDefaultWinXPPopupButton]
mov ecx, 0xf8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140001a4d
xor edx, edx
mov r8d, 0xf8
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, str.CMTEXTStackView
mov qword [rsp + 0x20], rax
lea r9, str.CMainFrame
lea r8, str.CMTEXTStackDoc
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CResetPropExchange::CResetPropExchange]
mov rbx, rax
jmp 0x140001a50
mov rbx, rsi
mov qword [rsp + 0x20], rsi
lea r9, str.CInPlaceFrame
mov edx, 5
lea r8d, [rdx - 1]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::SetHostNames]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonCommandsListBox::AddCommand]
lea rcx, [r14 + 0x178]
mov dword [rsp + 0x20], esi
mov r9d, 1
mov r8, rbx
lea rdx, [0x140008208]
call qword [sym.imp.mfc140u.dll_CMFCRibbonCollector::CollectCategoryMain]
cmp dword [rbp - 0x5d], 0
jne 0x140001ac6
cmp dword [rbp - 0x59], 0
jne 0x140001ac6
cmp dword [rbp - 0x21], 0
jne 0x140001ad1
cmp dword [rbp - 0x1d], 0
jne 0x140001ad1
xor edx, edx
lea ecx, [rdx + 0x65]
mov r8d, 0xffffffff
call qword [sym.imp.mfc140u.dll_AfxInitLocalData]
jmp 0x140001ad1
call qword [sym.imp.mfc140u.dll_COleIPFrameWndEx::PreTranslateMessage]
mov esi, 1
lea rcx, [rbp - 0x71]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp - 0x69]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400051c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret