Function at 0x140198e50
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.140247340
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1510], rbx
mov rdi, rcx
call fcn.14000af00
test eax, eax
je 0x1401994aa
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x66]
movzx edx, word [rsp + 0x64]
movzx r8d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea r8, str._02u_02u_02u_04u
mov edx, VariantTimeToDosDateTime
lea rcx, [rbp - 0x80]
call fcn.14000b150
mov r9d, 1
lea r8, [rbp - 0x80]
lea rdx, [0x1402c4ad4]
mov rcx, rdi
call fcn.140009cd0
cmp byte [0x14034e8d8], 0
je 0x140198f0d
lea r8, [0x14034e8d8]
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.140253604
jmp 0x140198f63
mov r9d, dword [0x14034e8d4]
mov eax, 0x6b5fca6b
mul r9d
mov r8d, edx
shr r8d, 0x16
imul eax, r8d, 0x989680
mov ecx, r9d
sub ecx, eax
mov eax, 0xd1b71759
mul ecx
shr edx, 0xd
imul eax, r8d, 0x3e8
add eax, edx
imul ecx, eax, 0x2710
sub r9d, ecx
mov dword [rsp + 0x20], r9d
mov r9d, edx
lea rdx, str._03d__03d__04d
lea rcx, [rbp - 0x60]
call fcn.140006bc0
lea rbx, [0x140286ae1]
lea rcx, [rbp + 0x1418]
call fcn.1401eb590
sub eax, 0x400
je 0x140198fb9
sub eax, 1
je 0x140198fb0
sub eax, 1
je 0x140198f95
cmp eax, 1
jne 0x140198fc0
lea rbx, str.TECH
jmp 0x140198fc0
lea rbx, [0x1402c4ae8]
lea rax, str.EXPIREDPRO
cmp dword [rbp + 0x1418], 0
cmove rbx, rax
jmp 0x140198fc0
lea rbx, str.TRIAL
jmp 0x140198fc0
lea rbx, str.FREE
mov r9d, 1
lea r8, [0x14034ef40]
lea rdx, str.SASAPPID
mov rcx, rdi
call fcn.140009cd0
mov r8, qword [0x14037ae08]
test r8, r8
je 0x140199001
mov r9d, 1
mov r8, qword [r8 + 0x18]
lea rdx, str.SASHARDWAREID
mov rcx, rdi
call fcn.140009cd0
mov r9d, 1
lea r8, [rbp - 0x60]
lea rdx, str.SASREGCODE
mov rcx, rdi
call fcn.140009cd0
mov r9d, 1
mov r8, rbx
lea rdx, str.SASAPPSTATE
mov rcx, rdi
call fcn.140009cd0
mov r9d, 1
lea r8, [0x14037d0a0]
lea rdx, str.SASVERSION
mov rcx, rdi
call fcn.140009cd0
mov r8d, dword [0x140350478]
lea rdx, str.SASCORE
mov rcx, rdi
call fcn.140009ea0
lea r12, vtable.CSABString.0
mov qword [rsp + 0x68], r12
xor esi, esi
mov dword [rsp + 0x78], esi
lea ecx, [rsi + 0x10]
call fcn.140247068
mov r15, rax
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov dword [rsp + 0x7c], 1
lea rbx, [rsi - 1]
cmp qword [0x1403517f8], rax
je 0x14019922b
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
lea ecx, [rsi + 0x10]
call fcn.140247068
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsp + 0x54], 1
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1403517f8]
call fcn.140004ef0
cmp dword [rsp + 0x50], esi
je 0x140199210
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x1428]
call fcn.14000bd30
nop
mov rdx, qword [rax]
lea rcx, [rbp + 0x3d0]
call fcn.1400b9970
nop
mov rcx, qword [rbp + 0x1428]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0x3d0]
call fcn.1400bb680
mov r13, rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, ebx
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r14d, eax
test eax, eax
je 0x140199203
lea ecx, [rax + 1]
mov r12d, ecx
call fcn.140247068
mov rsi, rax
test rax, rax
je 0x1401991fc
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.140249b10
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
mov r9d, ebx
mov r8, r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test r15, r15
je 0x1401991b8
mov rcx, r15
call fcn.140247060
mov qword [rsp + 0x70], r12
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], r12b
jne 0x1401991c0
mov dword [rsp + 0x78], eax
inc eax
mov r14d, eax
mov ecx, eax
call fcn.140247068
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401991f4
mov r8d, r14d
mov rdx, rsi
mov rcx, rax
call fcn.1402496a0
mov rcx, rsi
call fcn.140247060
lea r12, vtable.CSABString.0
lea rcx, [rbp + 0x3d0]
call fcn.1400b9c00
nop
mov qword [rsp + 0x40], r12
add dword [rsp + 0x54], 0xffffffff
jne 0x14019922b
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14019922b
call fcn.140247060
mov r9d, 1
mov r8, r15
lea rdx, str.AVIRAKEYMD5
mov rcx, rdi
call fcn.140009cd0
call fcn.140192ef0
mov r9d, 1
lea rdx, str.AVIRAALLOWED
mov rcx, rdi
test eax, eax
lea r8, [0x1402b7dd0]
jne 0x14019926a
lea r8, [0x1402bdee0]
call fcn.140009cd0
cmp byte [0x14037ae40], 0
je 0x1401992a3
xor ecx, ecx
call fcn.140192aa0
cmp dword [0x14037ae28], eax
jne 0x1401992a3
mov r9d, 1
lea r8, [0x14037ae40]
lea rdx, str.SASINSTALL
mov rcx, rdi
call fcn.140009cd0
mov dword [rbp + 0x1420], 0x104
lea rdx, [rbp + 0x1420]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x140199331
lea r14, [rbp + 0x1c0]
lea rax, [rbp + 0xb0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401992d3
test ebx, ebx
je 0x140199315
lea rsi, [rbp + 0xb0]
mov ebx, ebx
nop dword [rax]
movsx r8d, byte [rsi]
add r8d, 2
lea rdx, [0x14028a478]
mov rcx, r14
call fcn.140006bc0
add r14, 2
lea rsi, [rsi + 1]
sub rbx, 1
jne 0x1401992f0
mov r9d, 1
lea r8, [rbp + 0x1c0]
lea rdx, str.SASCPU
mov rcx, rdi
call fcn.140009cd0
cmp byte [0x140350c04], 0
je 0x140199356
mov r9d, 1
lea r8, [0x140350c04]
lea rdx, str.SDMSEMAIL
mov rcx, rdi
call fcn.140009cd0
cmp byte [0x140350d08], 0
je 0x14019937b
mov r9d, 1
lea r8, [0x140350d08]
lea rdx, str.SDMSPID
mov rcx, rdi
call fcn.140009cd0
cmp byte [0x140350e0c], 0
je 0x1401993a0
mov r9d, 1
lea r8, [0x140350e0c]
lea rdx, str.SDMSTENANT
mov rcx, rdi
call fcn.140009cd0
cmp byte [0x140351044], 0
je 0x1401993c5
mov r9d, 1
lea r8, [0x140351044]
lea rdx, str.AFFILIATEID
mov rcx, rdi
call fcn.140009cd0
cmp byte [0x140351148], 0
je 0x1401993ea
mov r9d, 1
lea r8, [0x140351044]
lea rdx, str.SUBAFFILIATEID
mov rcx, rdi
call fcn.140009cd0
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x3d0]
call fcn.140249b10
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx r8d, ax
lea rdx, str._04x
lea rcx, [rbp + 0x3d0]
call fcn.140006bc0
xor r9d, r9d
lea r8, [rbp + 0x3d0]
lea rdx, str.SASLANGUAGE
mov rcx, rdi
call fcn.140009cd0
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x3d0]
call fcn.140249b10
lea rdx, str.SEARS
lea rcx, [0x140351044]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ecx, 0x1e
mov r8d, SafeArrayGetDim
test eax, eax
cmove r8d, ecx
lea rdx, [0x140286ae4]
lea rcx, [rbp + 0x3d0]
call fcn.140006bc0
mov r9d, 1
lea r8, [rbp + 0x3d0]
lea rdx, str.TRIALPERIODDAYS
mov rcx, rdi
call fcn.140009cd0
nop
test r15, r15
je 0x1401994aa
mov rcx, r15
call fcn.140247060
mov rbx, qword [rsp + 0x1510]
add rsp, 0x14d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret