Function at 0x140008670
Capabilities:
Get hostname
Query environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x778]
sub rsp, 0x870
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rdi, rcx
xor esi, esi
mov word [rsp + 0x60], si
mov dword [rsp + 0x58], 0x400
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea edx, [rsi + 0x7d]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov r9, qword [rsp + 0x38]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rdi + 0x6e0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edx, [rsi + 0x7e]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
lea rdx, [0x1400107d4]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, [0x140010b40]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov r9, qword [rsp + 0x38]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rdi + 0x6e0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
mov r8d, operator
lea rcx, str.ADSKSIGTIMESRVR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x14000883d
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
xor ecx, ecx
mov r8d, operator
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_COleControl::ReleaseCaches]
lea rcx, [rsp + 0x30]
test eax, eax
js 0x140008813
mov r8d, eax
lea rdx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140008819
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
call qword [sym.imp.UserData.dll_acudGetProductUILanguage]
mov r8, rax
lea r9, str.timesrvr.txt
lea rdx, str._s_s
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CPane::AllocElements]
jmp 0x140008843
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
mov dword [rsp + 0x48], esi
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140002b20
mov dword [rsp + 0x50], 1
mov word [rsp + 0x54], 0x101
mov rbx, qword [rsp + 0x40]
cmp rbx, 0xffffffffffffffff
je 0x1400088dc
lea rcx, [rsp + 0x40]
call fcn.140002db0
movzx ecx, byte [rsp + 0x54]
test al, al
cmovne ecx, esi
mov byte [rsp + 0x54], cl
nop dword [rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140002c40
test eax, eax
jle 0x1400088d7
cmp word [rsp + 0x60], 0x3b
je 0x1400088a0
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rdi + 0x6e0]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400088a0
mov rbx, qword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, qword [rdi + 0x6e0]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rbx, 0xffffffffffffffff
je 0x140008904
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
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]
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.14000c2d0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret