Function at 0x1801d7d80
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 [0x1802cd010]
xor rax, rsp
mov qword [rbp + 0xb80], rax
mov rsi, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
mov rcx, qword [rbp + 0xc00]
mov qword [rsp + 0x60], rcx
mov rax, qword [rbp + 0xc08]
mov qword [rsp + 0x50], rax
mov r14, qword [rbp + 0xc10]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
xor r12d, r12d
mov dword [rcx], r12d
cmp byte [rbx + 0x118], r12b
je 0x1801d7eaf
test r8, r8
je 0x1801d7e96
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.18000aea0
nop
mov r8, rdi
lea rdx, [0x1801f2c4c]
lea rcx, [rsp + 0x70]
call fcn.18000afa0
lea rdx, [0x1801f1bb4]
lea rcx, [rsp + 0x70]
call fcn.18000fdb0
test al, al
jne 0x1801d7e6a
lea rdx, [0x1801f1bb4]
lea rcx, [rsp + 0x70]
call fcn.18000b3e0
lea rcx, [rsp + 0x70]
call fcn.180010a70
mov r9, rax
mov r8, r15
lea rdx, [0x180289300]
mov rcx, rbx
call fcn.1801dc8d0
nop
lea rcx, [rsp + 0x70]
call fcn.18000aef0
jmp 0x1801d7eaf
lea r9, [0x1801f1bb4]
mov r8, r15
lea rdx, [0x180289300]
mov rcx, rbx
call fcn.1801dc8d0
call sub.KERNEL32.dll_GetTickCount
mov dword [rbx + 0xbcc], eax
inc dword [rbx + 0xbd8]
lea rcx, [rbx + 0xd60]
call fcn.18001d560
cmp dword [rbx + 0x152c], 0
je 0x1801d7f77
cmp byte [rbx + 0xcc0], 0
je 0x1801d7eff
lea rcx, [rbx + 0xcc8]
mov r8, r14
lea rdx, [rbx + 0xd60]
call fcn.180194f20
mov byte [rbx + 0xcc0], 0
xor r15b, r15b
mov eax, dword [rbx + 0xe80]
test eax, eax
je 0x1801d7f17
mov r15b, 1
dec eax
mov dword [rbx + 0xe80], eax
lea rcx, [rbx + 0xcc8]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
lea r9, [rbx + 0xd60]
movzx r8d, r15b
mov rdx, rsi
call fcn.180194dc0
mov rcx, rsi
call fcn.18001fd80
mov esi, eax
test r15b, r15b
jne 0x1801d7f70
cmp eax, 0x40
jbe 0x1801d7f70
lea rcx, [rbx + 0xd60]
call fcn.18001fd80
mov ecx, esi
shr ecx, 3
add eax, ecx
cmp eax, esi
jbe 0x1801d7f70
mov dword [rbx + 0xe80], 0x10
lea rsi, [rbx + 0xd60]
mov edi, 8
mov eax, dword [rbx + 0x1554]
cmp eax, 0xf
ja 0x1801d7f96
mov ecx, 0xde1e
bt ecx, eax
jae 0x1801d7f96
mov edi, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.18001fd80
mov dword [rsp + 0x58], eax
cmp byte [rbx + 0x27c8], 0
jne 0x1801d7fbc
mov ecx, dword [rbx + 0x1554]
sub ecx, 0xd
cmp ecx, 2
mov ecx, r12d
ja 0x1801d7fc1
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 r13d, [rdx + 4]
lea edi, [r8 + r13]
lea r12d, [rdi - 4]
mov rax, qword [rsp + 0x60]
mov dword [rax], edi
lea r15, [rbx + 0xdc0]
mov rcx, r15
call fcn.18001d560
mov ecx, dword [rbx + 0x1554]
cmp ecx, 0xd
jne 0x1801d80ed
lea eax, [rdi + 0x10]
mov dword [rsp + 0x60], eax
mov edx, eax
mov rcx, r15
call fcn.18001f8a0
mov rdi, rax
mov qword [rsp + 0x40], rax
mov ecx, r12d
shr ecx, 0x18
mov byte [rax], cl
mov ecx, r12d
shr ecx, 0x10
mov byte [rax + 1], cl
mov ecx, r12d
shr ecx, 8
mov byte [rax + 2], cl
mov byte [rax + 3], r12b
lea rdx, [rbx + 0x2480]
mov ecx, dword [rbx + 0xf18]
mov dword [rsp + 0x20], ecx
mov r9d, 4
mov r8, rax
mov rcx, rbx
call fcn.1801d3060
mov byte [rdi + 4], r13b
mov edi, dword [rsp + 0x58]
mov rcx, rsi
call fcn.18001f920
mov rdx, rax
mov rsi, qword [rsp + 0x40]
lea rcx, [rsi + 5]
mov r8d, edi
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [rsp + 0x58]
add edi, 5
mov r8d, edi
add r8, rsi
mov r9, r14
mov edx, r13d
mov rcx, rbx
call fcn.1801d2f80
test al, al
je 0x1801d828e
lea rcx, [rbx + 0x2504]
mov r8d, r12d
lea rdx, [rsi + 4]
call fcn.1801ccd30
mov qword [rsp + 0x20], r14
mov r9d, dword [rbx + 0xf18]
lea r8d, [rdi + r13]
mov rdx, rsi
lea rcx, [rbx + 0x2480]
call fcn.1801cc8f0
mov edx, dword [rsp + 0x60]
mov rcx, r15
call fcn.18001b700
jmp 0x1801d83e5
lea eax, [rcx - 0xe]
cmp eax, 1
jbe 0x1801d8274
test ecx, ecx
je 0x1801d8234
cmp byte [rbx + 0x27c8], 0
jne 0x1801d8115
mov rdx, r15
mov ecx, r12d
call fcn.18016f0b0
movzx edx, r13b
mov rcx, r15
call fcn.18001baf0
mov rdx, rsi
mov rcx, r15
call fcn.18001b7c0
mov r9, r14
mov r8, r15
mov edx, r13d
mov rcx, rbx
call fcn.1801daef0
test al, al
je 0x1801d828e
lea rsi, [rbx + 0xd90]
mov rcx, rsi
call fcn.18001d560
cmp qword [rbx + 0x1570], 0
jne 0x1801d8175
mov rax, qword [r14]
lea rdx, str.No_output_encryptor_
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x1801d86ee
mov rcx, r15
call fcn.18001fd80
mov edi, eax
mov rcx, r15
call fcn.18001f920
mov r9, rax
lea r8, [rbx + 0x16a8]
lea rdx, [rbx + 0x1d58]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
mov rcx, qword [rbx + 0x1570]
call fcn.1800ce7a0
mov rcx, r15
call fcn.18001fd80
mov edi, eax
mov rcx, rsi
call fcn.18001fd80
cmp eax, edi
je 0x1801d83e5
mov rax, qword [r14]
lea rdx, str.Size_of_encrypted_data_changed_
mov rcx, r14
call qword [rax + 0x28]
mov rcx, r15
call fcn.18001fd80
mov r8d, eax
lea rdx, str.unencryptedPacketSize
mov rcx, r14
call fcn.18002a810
mov rcx, rsi
call fcn.18001fd80
mov r8d, eax
lea rdx, str.encryptedPacketSize
mov rcx, r14
call fcn.18002a810
lea r9, [0x1801f1bb4]
lea r8, str.Failed_to_encrypt.
lea rdx, str.TRAN
mov rcx, rbx
call fcn.1801dc8d0
xor al, al
jmp 0x1801d86ee
mov rdx, r15
mov ecx, r12d
call fcn.18016f0b0
movzx edx, r13b
mov rcx, r15
call fcn.18001baf0
mov rdx, rsi
mov rcx, r15
call fcn.18001b7c0
mov r9, r14
mov r8, r15
mov edx, r13d
mov rcx, rbx
call fcn.1801daef0
test al, al
jne 0x1801d83e5
jmp 0x1801d86ee
cmp qword [rbx + 0x1570], 0
jne 0x1801d8295
mov rax, qword [r14]
lea rdx, str.No_output_GCM_encryptor_
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x1801d86ee
lea rcx, [rbx + 0x1728]
call fcn.18001d560
lea rdx, [rbx + 0x1728]
mov ecx, r12d
call fcn.18016f0b0
lea r8, [rbx + 0x2630]
lea rdx, [rbx + 0x262c]
lea rcx, [rbx + 0x16a8]
call fcn.1800d0170
lea rdx, [rbx + 0x1d58]
mov r9, r14
lea r8, [rbx + 0x16a8]
mov rcx, qword [rbx + 0x1570]
call fcn.18013fe60
movzx edx, r13b
mov rcx, r15
call fcn.18001baf0
mov rdx, rsi
mov rcx, r15
call fcn.18001b7c0
mov r9, r14
mov r8, r15
mov edx, r13d
mov rcx, rbx
call fcn.1801daef0
test al, al
je 0x1801d828e
lea rsi, [rbx + 0xd90]
mov rcx, rsi
call fcn.18001d560
mov rcx, r15
call fcn.18001fd80
mov edi, eax
mov rcx, r15
call fcn.18001f920
mov r9, rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
lea r8, [rbx + 0x16a8]
lea rdx, [rbx + 0x1d58]
mov rcx, qword [rbx + 0x1570]
call fcn.1800ce7a0
mov r9, r14
lea r8, [rbx + 0x16a8]
lea rdx, [rbx + 0x1d58]
mov rcx, qword [rbx + 0x1570]
call fcn.18013fdb0
test al, al
jne 0x1801d839b
mov rax, qword [r14]
lea rdx, str.SSH_gcm_encrypt_finalize_failed.
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x1801d86ee
lea rcx, [rbx + 0x1758]
call fcn.18001fd80
cmp eax, 0x10
je 0x1801d83c3
mov rax, qword [r14]
lea rdx, str.SSH_GCM_auth_tag_is_not_16_bytes.
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x1801d86ee
lea rcx, [rbx + 0x2637]
mov rdx, 0xffffffffffffd9d0
sub rdx, rbx
add byte [rcx], 1
jne 0x1801d83e5
dec rcx
lea rax, [rdx + rcx]
test rax, rax
jns 0x1801d83d4
mov ecx, dword [rbx + 0x1554]
lea eax, [rcx - 0xe]
cmp eax, 1
jbe 0x1801d85b3
cmp ecx, 0xd
je 0x1801d85e4
lea r13, [rbx + 0xd30]
mov rcx, r13
call fcn.18001d560
cmp dword [rbx + 0x1538], 0
je 0x1801d854a
movzx eax, byte [rbx + 0xf1b]
mov byte [rsp + 0x60], al
movzx eax, byte [rbx + 0xf1a]
mov byte [rsp + 0x61], al
movzx eax, byte [rbx + 0xf19]
mov byte [rsp + 0x62], al
movzx eax, byte [rbx + 0xf18]
mov byte [rsp + 0x63], al
lea rcx, [rsp + 0x70]
call fcn.18001b260
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 + 0x27c8], 0
je 0x1801d84ea
mov eax, r12d
shr eax, 0x18
mov byte [rsp + 0x58], al
mov eax, r12d
shr eax, 0x10
mov byte [rsp + 0x59], al
mov eax, r12d
shr eax, 8
mov byte [rsp + 0x5a], al
mov byte [rsp + 0x5b], r12b
mov dword [rbp + 0xb78], 4
lea rax, [rsp + 0x58]
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x780], 4
lea rcx, [rbx + 0xd90]
call fcn.18001f920
mov qword [rbp - 0x70], rax
lea rcx, [rbx + 0xd90]
call fcn.18001fd80
mov dword [rbp + 0x784], eax
jmp 0x1801d8504
mov rcx, r15
call fcn.18001f920
mov qword [rbp - 0x78], rax
mov rcx, r15
call fcn.18001fd80
mov dword [rbp + 0x780], eax
lea rcx, [rbx + 0x2730]
call fcn.18001fd80
mov esi, eax
lea rcx, [rbx + 0x2730]
call fcn.18001f920
mov rdx, rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
mov r9d, dword [rbx + 0x26f8]
mov r8d, esi
lea rcx, [rsp + 0x70]
call fcn.1800e2d40
nop
lea rcx, [rsp + 0x70]
call fcn.18001b450
cmp dword [rbx + 0x1554], 0
je 0x1801d858c
mov rcx, r15
cmp byte [rbx + 0x27c8], 0
je 0x1801d8580
call fcn.18001d560
mov rdx, r15
mov ecx, r12d
call fcn.18016f0b0
lea rdx, [rbx + 0xd90]
mov rcx, r15
call fcn.18001b7c0
jmp 0x1801d858c
lea rdx, [rbx + 0xd90]
call fcn.180022020
mov rcx, r13
call fcn.18001fd80
test eax, eax
je 0x1801d85e4
cmp dword [rbx + 0x1538], 6
jne 0x1801d85ae
mov edx, 8
mov rcx, r13
call fcn.180021f00
mov rdx, r13
jmp 0x1801d85dc
mov rcx, r15
call fcn.18001d560
mov rdx, r15
mov ecx, r12d
call fcn.18016f0b0
lea rdx, [rbx + 0xd90]
mov rcx, r15
call fcn.18001b7c0
lea rdx, [rbx + 0x1758]
mov rcx, r15
call fcn.18001b7c0
mov edi, dword [rbx + 0xf20]
lea eax, [rdi - 1]
mov ecx, 0xbb8
cmp eax, 0xbb6
cmovbe edi, ecx
mov r13, qword [rsp + 0x48]
test r13, r13
je 0x1801d860c
mov byte [r13 + 0xdc], 1
mov dword [rsp + 0x68], 0
mov rcx, r15
call fcn.18001fd80
mov r8d, eax
lea rcx, [rbx + 0xbe0]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov rdx, r15
call fcn.1801ca730
movzx esi, al
test al, al
jne 0x1801d86b5
cmp dword [rsp + 0x68], 0
jbe 0x1801d86a5
mov rcx, r15
call fcn.18001fd80
mov r8d, eax
lea rdx, str.packetSize
mov rcx, r14
call fcn.18002a810
mov r8d, dword [rsp + 0x68]
lea rdx, str.numBytesSent
mov rcx, r14
call fcn.18002a810
mov r8d, edi
lea rdx, str.idleTimeoutMs
mov rcx, r14
call fcn.18002a810
lea rdx, str.Failed_to_send_entire_SSH_packet.
jmp 0x1801d86ac
lea rdx, str.SSH_SendBytes_failed.
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x28]
test r13, r13
je 0x1801d86c2
mov byte [r13 + 0xdc], 0
inc dword [rbx + 0xf18]
test sil, sil
jne 0x1801d86ea
lea r9, [0x1801f1bb4]
lea r8, str.Failed_to_send.
lea rdx, str.TRAN
mov rcx, rbx
call fcn.1801dc8d0
movzx eax, sil
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.180009610
add rsp, 0xc98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret