Function at 0x1401d1780
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb98]
sub rsp, 0xc98
mov rax, qword [0x1403291e8]
xor rax, rsp
mov qword [rbp + 0xb80], rax
mov rsi, r9
mov qword [rsp + 0x48], r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov r12, qword [rbp + 0xc00]
mov rax, qword [rbp + 0xc08]
mov qword [rsp + 0x58], rax
mov r13, qword [rbp + 0xc10]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
mov dword [r12], 0
cmp byte [rcx + 0x118], 0
je 0x1401d18ae
test r8, r8
je 0x1401d1898
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
lea rcx, [rsp + 0x70]
call fcn.14007eda0
nop
mov r8, rdi
lea rdx, [0x14020eb90]
lea rcx, [rsp + 0x70]
call fcn.14007eeb0
lea rdx, [0x1402e4be0]
lea rcx, [rsp + 0x70]
call fcn.1400840c0
test al, al
jne 0x1401d186c
lea rdx, [0x1402e4be0]
lea rcx, [rsp + 0x70]
call fcn.14007f4d0
lea rcx, [rsp + 0x70]
call fcn.140084ca0
mov r9, rax
mov r8, r14
lea rdx, [0x14028bf08]
mov rcx, rbx
call fcn.1401d3030
nop
lea rcx, [rsp + 0x70]
call fcn.14007edf0
jmp 0x1401d18ae
lea r9, [0x1402e4be0]
mov r8, r14
lea rdx, [0x14028bf08]
call fcn.1401d3030
call sub.KERNEL32.dll_GetTickCount
mov dword [rbx + 0xb04], eax
inc dword [rbx + 0xb10]
lea rcx, [rbx + 0xc98]
call fcn.14008ed30
cmp dword [rbx + 0x1464], 0
je 0x1401d197f
cmp byte [rbx + 0xbf8], 0
je 0x1401d18fe
mov r8, r13
lea rdx, [rbx + 0xc98]
lea rcx, [rbx + 0xc00]
call fcn.1401d4120
mov byte [rbx + 0xbf8], 0
xor r14b, r14b
mov eax, dword [rbx + 0xdb8]
test eax, eax
je 0x1401d1916
mov r14b, 1
dec eax
mov dword [rbx + 0xdb8], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r13
lea r9, [rbx + 0xc98]
movzx r8d, r14b
mov rdx, rsi
lea rcx, [rbx + 0xc00]
call fcn.1401d3fc0
mov rcx, rsi
call fcn.1400913e0
mov esi, eax
test r14b, r14b
jne 0x1401d1973
cmp eax, 0x40
jbe 0x1401d1973
lea rcx, [rbx + 0xc98]
call fcn.1400913e0
mov ecx, esi
shr ecx, 3
add eax, ecx
cmp eax, esi
jbe 0x1401d1973
mov dword [rbx + 0xdb8], 0x10
lea rsi, [rbx + 0xc98]
mov qword [rsp + 0x48], rsi
mov edi, 8
mov eax, dword [rbx + 0x148c]
cmp eax, 0xf
ja 0x1401d199e
mov ecx, 0xde1e
bt ecx, eax
jae 0x1401d199e
mov edi, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.1400913e0
mov dword [rsp + 0x64], eax
cmp byte [rbx + 0x2700], 0
jne 0x1401d19c0
cmp dword [rbx + 0x148c], 0xd
je 0x1401d19c0
xor ecx, ecx
jmp 0x1401d19c5
mov ecx, 4
lea r8d, [rax + 5]
mov eax, r8d
sub eax, ecx
add eax, 4
xor edx, edx
div edi
mov eax, edi
sub eax, edx
xor edx, edx
div edi
lea edi, [rdx + 4]
mov dword [rsp + 0x40], edi
lea r15d, [r8 + rdi]
lea r14d, [r15 - 4]
mov dword [rsp + 0x60], r14d
mov dword [r12], r15d
lea r12, [rbx + 0xcf8]
mov rcx, r12
call fcn.14008ed30
mov ecx, dword [rbx + 0x148c]
cmp ecx, 0xd
jne 0x1401d1af0
lea r12d, [r15 + 0x10]
mov edx, r12d
lea rcx, [rbx + 0xcf8]
call fcn.140091030
mov r15, rax
mov ecx, r14d
shr ecx, 0x18
mov byte [rax], cl
mov ecx, r14d
shr ecx, 0x10
mov byte [rax + 1], cl
mov ecx, r14d
shr ecx, 8
mov byte [rax + 2], cl
mov byte [rax + 3], r14b
mov ecx, dword [rbx + 0xe50]
mov dword [rsp + 0x20], ecx
mov r9d, 4
mov r8, rax
lea rdx, [rbx + 0x23b8]
mov rcx, rbx
call fcn.1401c5c60
mov byte [r15 + 4], dil
mov edi, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x48]
call fcn.1400910b0
mov rdx, rax
lea rcx, [r15 + 5]
mov r8d, edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rsp + 0x64]
add edx, 5
add rdx, r15
mov ecx, dword [rsp + 0x40]
call fcn.1400b6bf0
lea rcx, [rbx + 0x243c]
mov r8d, r14d
lea rdx, [r15 + 4]
call fcn.1401c5890
mov qword [rsp + 0x20], r13
mov r9d, dword [rbx + 0xe50]
mov r8d, dword [rsp + 0x64]
add r8d, 5
add r8d, dword [rsp + 0x40]
mov rdx, r15
lea rcx, [rbx + 0x23b8]
call fcn.1401c3f20
mov edx, r12d
lea r12, [rbx + 0xcf8]
mov rcx, r12
call fcn.14008ce10
jmp 0x1401d1dc4
lea eax, [rcx - 0xe]
cmp eax, 1
jbe 0x1401d1c5b
test ecx, ecx
je 0x1401d1c2a
cmp byte [rbx + 0x2700], 0
jne 0x1401d1b18
mov rdx, r12
mov ecx, r14d
call fcn.1401f7480
movzx edx, dil
mov rcx, r12
call fcn.14008d1b0
mov rdx, rsi
mov rcx, r12
call fcn.14008ced0
mov rdx, r12
mov ecx, edi
call fcn.1400b6ad0
lea rsi, [rbx + 0xcc8]
mov rcx, rsi
call fcn.14008ed30
cmp qword [rbx + 0x14a8], 0
jne 0x1401d1b6a
mov rax, qword [r13]
lea rdx, str.No_output_encryptor_
mov rcx, r13
call qword [rax + 0x28]
xor al, al
jmp 0x1401d20d2
mov rcx, r12
call fcn.1400913e0
mov edi, eax
mov rcx, r12
call fcn.1400910b0
mov r9, rax
lea r8, [rbx + 0x15e0]
lea rdx, [rbx + 0x1c90]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
mov rcx, qword [rbx + 0x14a8]
call fcn.140145bd0
mov rcx, r12
call fcn.1400913e0
mov edi, eax
mov rcx, rsi
call fcn.1400913e0
cmp eax, edi
je 0x1401d1dc9
mov rax, qword [r13]
lea rdx, str.Size_of_encrypted_data_changed_
mov rcx, r13
call qword [rax + 0x28]
mov rcx, r12
call fcn.1400913e0
mov r8d, eax
lea rdx, str.unencryptedPacketSize
mov rcx, r13
call fcn.1400a1520
mov rcx, rsi
call fcn.1400913e0
mov r8d, eax
lea rdx, str.encryptedPacketSize
mov rcx, r13
call fcn.1400a1520
lea r9, [0x1402e4be0]
lea r8, str.Failed_to_encrypt.
lea rdx, str.TRAN
mov rcx, rbx
call fcn.1401d3030
xor al, al
jmp 0x1401d20d2
mov rdx, r12
mov ecx, r14d
call fcn.1401f7480
movzx edx, dil
mov rcx, r12
call fcn.14008d1b0
mov rdx, rsi
mov rcx, r12
call fcn.14008ced0
mov rdx, r12
mov ecx, edi
call fcn.1400b6ad0
jmp 0x1401d1dc9
cmp qword [rbx + 0x14a8], 0
jne 0x1401d1c7d
mov rax, qword [r13]
lea rdx, str.No_output_GCM_encryptor_
mov rcx, r13
call qword [rax + 0x28]
xor al, al
jmp 0x1401d20d2
lea rcx, [rbx + 0x1660]
call fcn.14008ed30
lea rdx, [rbx + 0x1660]
mov ecx, r14d
call fcn.1401f7480
lea r8, [rbx + 0x2568]
lea rdx, [rbx + 0x2564]
lea rcx, [rbx + 0x15e0]
call fcn.1401460e0
mov r9, r13
lea r8, [rbx + 0x15e0]
lea rdx, [rbx + 0x1c90]
mov rcx, qword [rbx + 0x14a8]
call fcn.1401e3560
mov edi, dword [rsp + 0x40]
movzx edx, dil
mov rcx, r12
call fcn.14008d1b0
mov rdx, rsi
mov rcx, r12
call fcn.14008ced0
mov rdx, r12
mov ecx, edi
call fcn.1400b6ad0
lea rsi, [rbx + 0xcc8]
mov rcx, rsi
call fcn.14008ed30
mov rcx, r12
call fcn.1400913e0
mov edi, eax
mov rcx, r12
call fcn.1400910b0
mov r9, rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
lea r8, [rbx + 0x15e0]
lea rdx, [rbx + 0x1c90]
mov rcx, qword [rbx + 0x14a8]
call fcn.140145bd0
mov r9, r13
lea r8, [rbx + 0x15e0]
lea rdx, [rbx + 0x1c90]
mov rcx, qword [rbx + 0x14a8]
call fcn.1401e34b0
test al, al
jne 0x1401d1d79
mov rax, qword [r13]
lea rdx, str.SSH_gcm_encrypt_finalize_failed.
mov rcx, r13
call qword [rax + 0x28]
xor al, al
jmp 0x1401d20d2
lea rcx, [rbx + 0x1690]
call fcn.1400913e0
cmp eax, 0x10
je 0x1401d1da2
mov rax, qword [r13]
lea rdx, str.SSH_GCM_auth_tag_is_not_16_bytes.
mov rcx, r13
call qword [rax + 0x28]
xor al, al
jmp 0x1401d20d2
lea rcx, [rbx + 0x256f]
mov rdx, 0xffffffffffffda98
sub rdx, rbx
add byte [rcx], 1
jne 0x1401d1dc4
dec rcx
lea rax, [rdx + rcx]
test rax, rax
jns 0x1401d1db3
mov r14d, dword [rsp + 0x60]
mov ecx, dword [rbx + 0x148c]
lea eax, [rcx - 0xe]
cmp eax, 1
jbe 0x1401d1f96
cmp ecx, 0xd
je 0x1401d1fc7
lea r15, [rbx + 0xc68]
mov rcx, r15
call fcn.14008ed30
cmp dword [rbx + 0x1470], 0
je 0x1401d1f2e
movzx eax, byte [rbx + 0xe53]
mov byte [rsp + 0x60], al
movzx eax, byte [rbx + 0xe52]
mov byte [rsp + 0x61], al
movzx eax, byte [rbx + 0xe51]
mov byte [rsp + 0x62], al
movzx eax, byte [rbx + 0xe50]
mov byte [rsp + 0x63], al
lea rcx, [rsp + 0x70]
call fcn.14008c970
nop
mov dword [rbp + 0xb78], 3
xor eax, eax
mov qword [rsp + 0x78], rax
mov dword [rbp + 0x778], eax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x77c], 4
cmp byte [rbx + 0x2700], 0
je 0x1401d1ece
mov eax, r14d
shr eax, 0x18
mov byte [rsp + 0x64], al
mov eax, r14d
shr eax, 0x10
mov byte [rsp + 0x65], al
mov eax, r14d
shr eax, 8
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], r14b
mov dword [rbp + 0xb78], 4
lea rax, [rsp + 0x64]
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x780], 4
lea rcx, [rbx + 0xcc8]
call fcn.1400910b0
mov qword [rbp - 0x70], rax
lea rcx, [rbx + 0xcc8]
call fcn.1400913e0
mov dword [rbp + 0x784], eax
jmp 0x1401d1ee8
mov rcx, r12
call fcn.1400910b0
mov qword [rbp - 0x78], rax
mov rcx, r12
call fcn.1400913e0
mov dword [rbp + 0x780], eax
lea rcx, [rbx + 0x2668]
call fcn.1400913e0
mov esi, eax
lea rcx, [rbx + 0x2668]
call fcn.1400910b0
mov rdx, rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov r9d, dword [rbx + 0x2630]
mov r8d, esi
lea rcx, [rsp + 0x70]
call fcn.1400ca170
nop
lea rcx, [rsp + 0x70]
call fcn.14008cb60
lea rdi, [rbx + 0xcc8]
cmp dword [rbx + 0x148c], 0
je 0x1401d1f6f
mov rcx, r12
cmp byte [rbx + 0x2700], 0
je 0x1401d1f67
call fcn.14008ed30
mov rdx, r12
mov ecx, r14d
call fcn.1401f7480
mov rdx, rdi
mov rcx, r12
call fcn.14008ced0
jmp 0x1401d1f6f
mov rdx, rdi
call fcn.140093330
mov rcx, r15
call fcn.1400913e0
test eax, eax
je 0x1401d1fc7
cmp dword [rbx + 0x1470], 6
jne 0x1401d1f91
mov edx, 8
mov rcx, r15
call fcn.140093150
mov rdx, r15
jmp 0x1401d1fbf
mov rcx, r12
call fcn.14008ed30
mov rdx, r12
mov ecx, r14d
call fcn.1401f7480
lea rdx, [rbx + 0xcc8]
mov rcx, r12
call fcn.14008ced0
lea rdx, [rbx + 0x1690]
mov rcx, r12
call fcn.14008ced0
mov edi, dword [rbx + 0xe58]
lea eax, [rdi - 1]
mov ecx, 0xbb8
cmp eax, 0xbb6
cmovbe edi, ecx
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x1401d1fef
mov byte [r14 + 0xdc], 1
mov dword [rsp + 0x68], 0
mov rcx, r12
call fcn.1400913e0
mov r8d, eax
lea rcx, [rbx + 0xb18]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov rdx, r12
call fcn.1401c1db0
movzx esi, al
test al, al
jne 0x1401d2099
cmp dword [rsp + 0x68], 0
jbe 0x1401d2088
mov rcx, r12
call fcn.1400913e0
mov r8d, eax
lea rdx, str.packetSize
mov rcx, r13
call fcn.1400a1520
mov r8d, dword [rsp + 0x68]
lea rdx, str.numBytesSent
mov rcx, r13
call fcn.1400a1520
mov r8d, edi
lea rdx, str.idleTimeoutMs
mov rcx, r13
call fcn.1400a1520
lea rdx, str.Failed_to_send_entire_SSH_packet.
jmp 0x1401d208f
lea rdx, str.SSH_SendBytes_failed.
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x28]
test r14, r14
je 0x1401d20a6
mov byte [r14 + 0xdc], 0
inc dword [rbx + 0xe50]
test sil, sil
jne 0x1401d20ce
lea r9, [0x1402e4be0]
lea r8, str.Failed_to_send.
lea rdx, str.TRAN
mov rcx, rbx
call fcn.1401d3030
movzx eax, sil
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.1401feb70
add rsp, 0xc98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret