Function at 0x140008740
Capabilities:
Get hostname
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x7a8]
sub rsp, 0x890
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140018020]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov rdi, rcx
xor r12d, r12d
mov word [rbp - 0x80], r12w
mov dword [rsp + 0x50], 0x400
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rcx, [rsp + 0x48]
call qword [0x14000fd10]
nop
lea edx, [r12 + 0x7d]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100u.dll_CDaoRecordset::IsBOF]
mov r9, qword [rsp + 0x48]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rdi + 0x668]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edx, [r12 + 0x7e]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100u.dll_CDaoRecordset::IsBOF]
lea rdx, [0x14001089c]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100u.dll_COleCurrency::operator_]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100u.dll_COleCurrency::operator_]
lea rdx, [0x140010c10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100u.dll_COleCurrency::operator_]
mov r9, qword [rsp + 0x48]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rdi + 0x668]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x40]
call qword [0x14000fd10]
nop
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100u.dll_CTaskDialog::FreeStruct]
mov rdx, rax
mov r8d, new[]
lea rcx, str.ADSKSIGTIMESRVR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
or edx, 0xffffffff
lea rcx, [rsp + 0x40]
test eax, eax
jne 0x140008911
call qword [sym.imp.mfc100u.dll_CMFCAcceleratorKeyAssignCtrl::PreTranslateMessage]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100u.dll_CTaskDialog::FreeStruct]
mov rdx, rax
xor ecx, ecx
mov r8d, new[]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or edx, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100u.dll_CMFCAcceleratorKeyAssignCtrl::PreTranslateMessage]
lea edx, [r12 + 0x5c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100u.dll_CBrowserControlSite::Release]
lea rcx, [rsp + 0x40]
test eax, eax
js 0x1400088e7
mov r8d, eax
lea rdx, [rsp + 0x70]
call qword [sym.imp.mfc100u.dll_CDWordArray::InsertAt]
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100u.dll_CView::CView]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
jmp 0x1400088ed
call qword [sym.imp.mfc100u.dll_CMFCTabCtrl::Draw3DTab]
call qword [sym.imp.UserData.dll_acudGetProductUILanguage]
mov r8, rax
lea r9, str.timesrvr.txt
lea rdx, str._s_s
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100u.dll_COleSafeArray::AllocDescriptor]
jmp 0x140008917
call qword [sym.imp.mfc100u.dll_CMFCAcceleratorKeyAssignCtrl::PreTranslateMessage]
mov rax, qword [rsp + 0x40]
lea rcx, [0x140010470]
test rax, rax
cmovne rcx, rax
mov esi, 1
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x58], rax
mov ecx, esi
cmp rax, 0xffffffffffffffff
cmovne ecx, esi
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x68], esi
mov word [rsp + 0x6c], 0x101
je 0x1400089c9
lea rcx, [rsp + 0x58]
call fcn.140002dd0
movzx ecx, byte [rsp + 0x6c]
test al, al
cmovne ecx, r12d
mov byte [rsp + 0x6c], cl
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140002c70
test eax, eax
jle 0x1400089c4
cmp word [rbp - 0x80], 0x3b
je 0x140008990
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rdi + 0x668]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140008990
mov rbx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, qword [rdi + 0x668]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rbx, 0xffffffffffffffff
je 0x1400089f1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.14000c160
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret