Function at 0x1400854c0
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x500
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov dword [rsp + 0x44], r8d
mov r13, rdx
mov r12, rcx
mov dword [rsp + 0x60], 0
mov ebx, 2
mov dword [rsp + 0x40], ebx
xor esi, esi
mov dword [rsp + 0x48], esi
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax + 0x298]
mov r15d, dword [rcx + 0x3188]
cmp dword [rcx + 0x2794], esi
je 0x14008554b
mov r14d, 1
mov esi, r14d
mov dword [rsp + 0x48], r14d
xor ebx, ebx
mov dword [rsp + 0x40], ebx
jmp 0x140085551
mov r14d, 1
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.14003f0f0
nop
mov dword [rsp + 0x60], r14d
mov rax, qword [rax]
cmp qword [rax - 0x10], 0
jne 0x140085579
cmp r15d, 4
je 0x140085579
mov dil, 1
jmp 0x14008557c
xor dil, dil
mov eax, r14d
and eax, 0xfffffffe
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x50]
call fcn.14002d2c0
test dil, dil
je 0x1400855ad
lea r8, str.SendMailMsg:_Null_destination_address.__Reporting_successful_send.
xor edx, edx
mov rcx, r12
call fcn.140084da0
xor eax, eax
jmp 0x140085be5
mov rcx, qword [r12 + 0x40]
call fcn.1400316d0
test eax, eax
jne 0x1400855d3
lea r8, str.SendMail::SendMailMsg:_Internet_connection_not_available.
xor edx, edx
mov rcx, r12
call fcn.140084da0
mov eax, ebx
jmp 0x140085be5
mov dword [rsp + 0x64], 0
mov rax, qword [r12 + 0x40]
mov r8, qword [rax + 0x298]
add r8, 0x2570
lea rdx, str.X_SpectorSerial
mov rcx, r13
call fcn.14003ef70
mov rdx, qword [r12 + 0x40]
mov rcx, qword [rdx + 0x298]
add rcx, 0x2685
lea rdx, [rsp + 0x3f0]
nop
nop
movzx eax, byte [rcx]
mov byte [rdx], al
add rcx, 1
add rdx, 1
test al, al
jne 0x140085620
lea rdi, [rsp + 0x3f0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [0x1400fc434]
mov dword [rdi - 1], eax
movzx eax, byte [0x1400fc438]
mov byte [rdi + 3], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x3f0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov eax, 0x100
sub rax, rcx
mov dword [rsp + 0x64], eax
lea rcx, [rsp + rcx + 0x3f0]
lea rdx, [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea r8, [rsp + 0x3f0]
lea rdx, str.X_SpectorMachineID
mov rcx, r13
call fcn.14003ef70
mov rax, qword [r12 + 0x40]
mov r8, qword [rax + 0x298]
add r8, 0x2581
lea rdx, str.X_SpectorComputerID
mov rcx, r13
call fcn.14003ef70
mov rdx, qword [r12 + 0x40]
mov rax, qword [rdx + 0x298]
mov r8d, dword [rax + 0x1688]
lea rdx, [0x1400e4e80]
lea rcx, [rsp + 0x3f0]
call fcn.1400c2cf0
lea r8, [rsp + 0x3f0]
lea rdx, str.X_SpectorBuild
mov rcx, r13
call fcn.14003ef70
mov edx, r14d
mov edi, dword [rsp + 0x44]
test esi, esi
jne 0x140085bdd
test r15d, r15d
je 0x140085bdd
test edx, edx
je 0x140085bdd
mov ecx, r15d
sub ecx, 1
je 0x140085af5
sub ecx, 1
je 0x1400859b8
sub ecx, 1
je 0x1400857ac
cmp ecx, 1
jne 0x140085bd6
lea rcx, [rsp + 0x130]
call fcn.140045710
nop
mov rdx, r13
lea rcx, [rsp + 0x130]
call fcn.140044bd0
mov rdx, qword [r12 + 0x40]
mov rdx, qword [rdx + 0x298]
add rdx, 0x329c
lea rcx, [rsp + 0x130]
call fcn.140045870
test eax, eax
je 0x14008578e
xor ebx, ebx
mov dword [rsp + 0x40], ebx
jmp 0x140085792
test ebx, ebx
jne 0x14008579a
mov esi, r14d
mov dword [rsp + 0x48], r14d
lea rcx, [rsp + 0x130]
call fcn.140044380
jmp 0x140085bd6
mov rax, qword [r12 + 0x40]
mov rcx, qword [rax + 0x298]
cmp byte [rcx + 0x2934], 0
je 0x140085bd6
mov rax, qword [r12 + 0x38]
cmp dword [rax + 0x84], 0
je 0x140085bd6
lea r8, str.Using_Relay_SMTP
mov edx, r14d
mov rcx, r12
call fcn.140084da0
lea rdx, [0x1400e4ec8]
lea rcx, [rsp + 0x50]
call fcn.14002e750
nop
lea rdx, [0x1400e4ec8]
lea rcx, [rsp + 0x70]
call fcn.14002e750
nop
lea rdx, [0x1400e4ec8]
lea rcx, [rsp + 0x68]
call fcn.14002e750
nop
mov rax, qword [r12 + 0x40]
mov rdx, qword [rax + 0x298]
add rdx, 0x2934
lea rcx, [rsp + 0x50]
call fcn.14002d430
mov rdx, qword [r12 + 0x40]
mov rdx, qword [rdx + 0x298]
add rdx, 0x2a38
lea rcx, [rsp + 0x70]
call fcn.14002d430
mov rdx, qword [r12 + 0x40]
mov rdx, qword [rdx + 0x298]
add rdx, 0x2b3c
lea rcx, [rsp + 0x68]
call fcn.14002d430
mov rdx, qword [r12 + 0x40]
mov rax, qword [rdx + 0x298]
mov ebx, dword [rax + 0x1574]
mov edi, dword [rax + 0x3298]
mov eax, dword [rax + 0x3290]
mov dword [0x140169048], eax
mov rax, qword [r12 + 0x40]
mov rcx, qword [rax + 0x298]
mov eax, dword [rcx + 0x3294]
mov dword [0x140169484], eax
mov eax, dword [r13 + 0x1ac]
mov dword [rsp + 0x78], eax
mov dword [r13 + 0x1ac], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r12 + 0x38]
lea rcx, [rsp + 0x1d0]
call fcn.14003a170
nop
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, qword [rsp + 0x50]
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.140039e10
mov rdx, r13
lea rcx, [rsp + 0x1d0]
call fcn.140039f40
mov rdx, qword [rsp + 0x218]
mov edi, dword [rsp + 0x44]
mov dword [rdx + 0x1468], edi
lea rcx, [rsp + 0x1d0]
call fcn.14003aee0
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x14008595f
cmp dword [r12 + 0x10], eax
je 0x14008595f
lea rcx, [rsp + 0x1d0]
call fcn.14003b070
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x1d0]
call fcn.140039da0
mov edx, dword [rsp + 0x78]
mov dword [r13 + 0x1ac], edx
test ebx, ebx
cmove esi, r14d
mov dword [rsp + 0x48], esi
lea rcx, [rsp + 0x1d0]
call fcn.14003a340
nop
lea rcx, [rsp + 0x68]
call fcn.14002d2c0
nop
lea rcx, [rsp + 0x70]
call fcn.14002d2c0
nop
lea rcx, [rsp + 0x50]
call fcn.14002d2c0
mov edi, dword [rsp + 0x44]
jmp 0x140085bd6
mov rax, qword [0x140160e18]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x98]
mov rcx, r13
call fcn.14003f240
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14002d3c0
nop
lea rcx, [rsp + 0x98]
call fcn.14002d2c0
lea rdx, [0x1400e4ec8]
mov rcx, r13
call fcn.1400422f0
lea rdx, [rsp + 0x80]
mov rcx, r13
call fcn.14003f0f0
nop
mov r9d, edi
mov r8, r13
mov rdx, qword [rax]
mov rcx, r12
call fcn.1400850c0
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x80]
call fcn.14002d2c0
test ebx, ebx
jne 0x140085ad2
mov esi, r14d
mov dword [rsp + 0x48], r14d
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.14003f1d0
nop
mov rax, qword [rax]
cmp qword [rax - 0x10], 0
setne dil
lea rcx, [rsp + 0x88]
call fcn.14002d2c0
test dil, dil
je 0x140085aa9
lea rdx, [rsp + 0x90]
mov rcx, r13
call fcn.14003f1d0
nop
mov edi, dword [rsp + 0x44]
mov r9d, edi
mov r8, r13
mov rdx, qword [rax]
mov rcx, r12
call fcn.1400850c0
nop
lea rcx, [rsp + 0x90]
call fcn.14002d2c0
jmp 0x140085aad
mov edi, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x58]
cmp qword [rdx - 0x10], 0
je 0x140085ad9
mov r9d, edi
mov r8, r13
mov rcx, r12
call fcn.1400850c0
mov rdx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x44]
jmp 0x140085add
mov rdx, qword [rsp + 0x58]
jmp 0x140085add
mov edi, dword [rsp + 0x44]
mov rcx, r13
call fcn.1400422f0
nop
lea rcx, [rsp + 0x58]
call fcn.14002d2c0
jmp 0x140085bd6
mov rax, qword [r12 + 0x40]
mov rcx, qword [rax + 0x298]
cmp dword [rcx + 0x2798], 0
jne 0x140085bb7
lea r8, str.Using_Default_method
mov edx, r14d
mov rcx, r12
call fcn.140084da0
lea rdx, str.X_SpectorSerial
mov rcx, r13
call fcn.1400414e0
lea rdx, str.X_SpectorMachineID
mov rcx, r13
call fcn.1400414e0
lea rdx, str.X_SpectorComputerID
mov rcx, r13
call fcn.1400414e0
xor edx, edx
lea rcx, [rsp + 0xa8]
call fcn.140038c80
nop
mov r8, qword [r12 + 0x38]
mov rdx, qword [r12 + 0x40]
lea rcx, [rsp + 0xd0]
call fcn.140031ea0
nop
mov rdx, r13
lea rcx, [rsp + 0xd0]
call fcn.140031b00
xor ebx, ebx
test eax, eax
sete bl
mov dword [rsp + 0x40], ebx
test ebx, ebx
cmove esi, r14d
mov dword [rsp + 0x48], esi
lea rcx, [rsp + 0xd0]
call fcn.1400318c0
nop
lea rcx, [rsp + 0xa8]
call fcn.1400394e0
jmp 0x140085bd6
lea r8, str.SendMailMsg:_Internal_email_disabled.
xor edx, edx
mov rcx, r12
call fcn.140084da0
mov esi, r14d
mov dword [rsp + 0x48], r14d
xor ebx, ebx
mov dword [rsp + 0x40], ebx
xor edx, edx
jmp 0x140085708
jmp 0x140085be3
mov eax, ebx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret