Function at 0x1400c19c0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rdx
mov rbx, rcx
xor r13d, r13d
movabs r14, 0x746c7561666564
mov qword [rsp + 0xa0], rsi
nop dword [rax + rax]
lea rdx, [0x14024d112]
lea rcx, [rbx + 0x1498]
mov dword [rbx + 0x14bc], r13d
call fcn.1400ca6a0
mov eax, dword [str.EHLO]
mov rcx, qword [rbx + 0x14c0]
mov dword [rcx], eax
movzx eax, word [0x14022e59c]
mov word [rcx + 4], ax
test rbp, rbp
je 0x1400c1a61
cmp byte [rbp], r13b
je 0x1400c1a61
mov rdi, qword [rbx + 0x14c0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
movzx eax, byte [rcx + rbp]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x1400c1a50
jmp 0x1400c1ad0
xor eax, eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x30], SafeArrayUnaccessData
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x38]
lea rdx, [rsp + 0x38]
repne scasb al, byte [rdi]
mov rax, qword [rsp + 0x38]
not rcx
dec rcx
mov rcx, qword [rbx + 0x14c0]
cmove rax, r14
add rcx, 5
mov qword [rsp + 0x38], rax
nop word [rax + rax]
movzx eax, byte [rdx]
inc rcx
inc rdx
mov byte [rcx - 1], al
test al, al
jne 0x1400c1ac0
mov rdi, qword [rbx + 0x14c0]
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
movzx eax, word [0x1402065d0]
or rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
movzx eax, byte [0x1402065d2]
mov byte [rdi + 1], al
mov rdx, qword [rbx + 0x14c0]
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.1400c0fb0
test eax, eax
jne 0x1400c1d07
lea edx, [rax + 2]
mov rcx, rbx
call fcn.1400c1300
mov esi, eax
test eax, eax
je 0x1400c1b81
mov rax, qword [rbx + 0x14c0]
or rcx, 0xffffffffffffffff
mov byte [rax], 0x48
mov rax, qword [rbx + 0x14c0]
mov byte [rax + 1], 0x45
mov rdx, qword [rbx + 0x14c0]
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.1400c0fb0
test eax, eax
jne 0x1400c1d07
lea edx, [rax + 2]
mov rcx, rbx
call fcn.1400c1300
mov esi, eax
test eax, eax
jne 0x1400c1d0c
cmp dword [rbx + 0x14d0], r13d
je 0x1400c1d3b
mov rcx, rbx
call fcn.1400c0360
test eax, eax
jne 0x1400c1d3b
mov rcx, qword [rbx + 0x1498]
lea rdx, str.250_STARTTLS
call fcn.1400c9790
test rax, rax
je 0x1400c1ca5
mov rax, qword [str.STARTTLS_r_n]
mov rcx, qword [rbx + 0x14c0]
mov qword [rcx], rax
movzx eax, word [0x14022e580]
mov word [rcx + 8], ax
movzx eax, byte [0x14022e582]
mov byte [rcx + 0xa], al
mov rdx, qword [rbx + 0x14c0]
or rcx, 0xffffffffffffffff
mov rdi, rdx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.1400c0fb0
test eax, eax
jne 0x1400c1ca0
lea edx, [rax + 0xb]
mov rcx, rbx
call fcn.1400c1300
mov esi, eax
test eax, eax
jne 0x1400c1ca5
xor edx, edx
mov rcx, rbx
call fcn.1400c0440
test eax, eax
je 0x1400c1a00
lea rdx, str._SECURITY_STATUS__0x_X_
lea rcx, [rsp + 0x38]
mov r8d, eax
mov esi, 6
call fcn.14010d754
lea rdx, str.554_TLS_Handshake_Failed.
lea rcx, [rbx + 0x1498]
mov dword [rbx + 0x14bc], 0x22a
call fcn.1400ca6a0
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 0x1498]
call fcn.1400ca830
cmp dword [rbx + 0x1490], r13d
je 0x1400c1ca5
mov r9, qword [rbx + 0x1498]
lea rcx, [rbx + 0x1470]
lea r8, str.TLS:__s
mov rax, qword [rcx]
lea edx, [rsi - 3]
call qword [rax + 0x10]
jmp 0x1400c1ca5
mov esi, 6
cmp dword [rbx + 0x14d0], 2
jne 0x1400c1d3b
mov rcx, rbx
call fcn.1400c0360
test eax, eax
jne 0x1400c1d3b
lea rdx, str.554_TLS_required_by_client.
lea rcx, [rbx + 0x1498]
lea esi, [rax + 6]
mov dword [rbx + 0x14bc], 0x22a
call fcn.1400ca6a0
cmp dword [rbx + 0x1490], r13d
je 0x1400c1d3b
mov r9, qword [rbx + 0x1498]
lea rcx, [rbx + 0x1470]
lea r8, str.TLS:__s
mov rax, qword [rcx]
lea edx, [rsi - 3]
call qword [rax + 0x10]
jmp 0x1400c1d3b
mov esi, 6
mov eax, dword [rbx + 0x14bc]
lea rcx, [rbx + 0x1470]
lea r8, str.SMTP::Helo___Error__d__Response__s_ReplyCode__d
mov rdi, qword [rcx]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x1498]
mov r9d, esi
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [rdi + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret