Function at 0x1401a8db0
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 [0x1402c8b58]
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 0x1401a8edf
test r8, r8
je 0x1401a8ec6
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.140030810
nop
mov r8, rdi
lea rdx, [0x1401f1a90]
lea rcx, [rsp + 0x70]
call fcn.140030920
lea rdx, [0x1401ed194]
lea rcx, [rsp + 0x70]
call fcn.140035a50
test al, al
jne 0x1401a8e9a
lea rdx, [0x1401ed194]
lea rcx, [rsp + 0x70]
call fcn.140030f40
lea rcx, [rsp + 0x70]
call fcn.1400366f0
mov r9, rax
mov r8, r15
lea rdx, [0x1402773c0]
mov rcx, rbx
call fcn.1401ad940
nop
lea rcx, [rsp + 0x70]
call fcn.140030860
jmp 0x1401a8edf
lea r9, [0x1401ed194]
mov r8, r15
lea rdx, [0x1402773c0]
mov rcx, rbx
call fcn.1401ad940
call sub.KERNEL32.dll_GetTickCount
mov dword [rbx + 0xbcc], eax
inc dword [rbx + 0xbd8]
lea rcx, [rbx + 0xd60]
call fcn.1400409a0
cmp dword [rbx + 0x152c], 0
je 0x1401a8fa7
cmp byte [rbx + 0xcc0], 0
je 0x1401a8f2f
lea rcx, [rbx + 0xcc8]
mov r8, r14
lea rdx, [rbx + 0xd60]
call fcn.1401aee80
mov byte [rbx + 0xcc0], 0
xor r15b, r15b
mov eax, dword [rbx + 0xe80]
test eax, eax
je 0x1401a8f47
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.1401aed20
mov rcx, rsi
call fcn.140043080
mov edi, eax
test r15b, r15b
jne 0x1401a8fa0
cmp eax, 0x40
jbe 0x1401a8fa0
lea rcx, [rbx + 0xd60]
call fcn.140043080
mov ecx, edi
shr ecx, 3
add eax, ecx
cmp eax, edi
jbe 0x1401a8fa0
mov dword [rbx + 0xe80], 0x10
lea rsi, [rbx + 0xd60]
mov edi, 8
mov eax, dword [rbx + 0x1554]
cmp eax, 0xf
ja 0x1401a8fc6
mov ecx, 0xde1e
bt ecx, eax
jae 0x1401a8fc6
mov edi, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.140043080
mov dword [rsp + 0x58], eax
cmp byte [rbx + 0x27c8], 0
jne 0x1401a8fec
mov ecx, dword [rbx + 0x1554]
sub ecx, 0xd
cmp ecx, 2
mov ecx, r12d
ja 0x1401a8ff1
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.1400409a0
mov ecx, dword [rbx + 0x1554]
cmp ecx, 0xd
jne 0x1401a911d
lea eax, [rdi + 0x10]
mov dword [rsp + 0x60], eax
mov edx, eax
mov rcx, r15
call fcn.140042cd0
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.1401a3fd0
mov byte [rdi + 4], r13b
mov edi, dword [rsp + 0x58]
mov rcx, rsi
call fcn.140042d50
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.1401a3ef0
test al, al
je 0x1401a92ca
lea rcx, [rbx + 0x2504]
mov r8d, r12d
lea rdx, [rsi + 4]
call fcn.14019dee0
mov qword [rsp + 0x20], r14
mov r9d, dword [rbx + 0xf18]
lea r8d, [rdi + r13]
mov rdx, rsi
lea rcx, [rbx + 0x2480]
call fcn.14019dac0
mov edx, dword [rsp + 0x60]
mov rcx, r15
call fcn.14003e9b0
jmp 0x1401a9421
lea eax, [rcx - 0xe]
cmp eax, 1
jbe 0x1401a92b0
test ecx, ecx
je 0x1401a9274
cmp byte [rbx + 0x27c8], 0
jne 0x1401a9145
mov rdx, r15
mov ecx, r12d
call fcn.1401c5030
movzx edx, r13b
mov rcx, r15
call fcn.14003ed50
mov rdx, rsi
mov rcx, r15
call fcn.14003ea70
mov r9, r14
mov r8, r15
mov edx, r13d
mov rcx, rbx
call fcn.1401abf60
test al, al
je 0x1401a92ca
lea rsi, [rbx + 0xd90]
mov rcx, rsi
call fcn.1400409a0
cmp qword [rbx + 0x1570], 0
jne 0x1401a91a5
mov rax, qword [r14]
lea rdx, str.No_output_encryptor_
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x1401a976c
lea rcx, [rbx + 0xdc0]
call fcn.140043080
mov edi, eax
lea rcx, [rbx + 0xdc0]
call fcn.140042d50
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.14012aa00
lea rcx, [rbx + 0xdc0]
call fcn.140043080
mov edi, eax
mov rcx, rsi
call fcn.140043080
cmp eax, edi
je 0x1401a9421
mov rax, qword [r14]
lea rdx, str.Size_of_encrypted_data_changed_
mov rcx, r14
call qword [rax + 0x28]
lea rcx, [rbx + 0xdc0]
call fcn.140043080
mov r8d, eax
lea rdx, str.unencryptedPacketSize
mov rcx, r14
call fcn.140053ac0
mov rcx, rsi
call fcn.140043080
mov r8d, eax
lea rdx, str.encryptedPacketSize
mov rcx, r14
call fcn.140053ac0
lea r9, [0x1401ed194]
lea r8, str.Failed_to_encrypt.
lea rdx, str.TRAN
mov rcx, rbx
call fcn.1401ad940
xor al, al
jmp 0x1401a976c
mov rdx, r15
mov ecx, r12d
call fcn.1401c5030
movzx edx, r13b
mov rcx, r15
call fcn.14003ed50
mov rdx, rsi
mov rcx, r15
call fcn.14003ea70
mov r9, r14
mov r8, r15
mov edx, r13d
mov rcx, rbx
call fcn.1401abf60
test al, al
je 0x1401a92ca
jmp 0x1401a9421
cmp qword [rbx + 0x1570], 0
jne 0x1401a92d1
mov rax, qword [r14]
lea rdx, str.No_output_GCM_encryptor_
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x1401a976c
lea rcx, [rbx + 0x1728]
call fcn.1400409a0
lea rdx, [rbx + 0x1728]
mov ecx, r12d
call fcn.1401c5030
lea r8, [rbx + 0x2630]
lea rdx, [rbx + 0x262c]
lea rcx, [rbx + 0x16a8]
call fcn.14012bf70
lea rdx, [rbx + 0x1d58]
mov r9, r14
lea r8, [rbx + 0x16a8]
mov rcx, qword [rbx + 0x1570]
call fcn.1401cb9c0
movzx edx, r13b
mov rcx, r15
call fcn.14003ed50
mov rdx, rsi
mov rcx, r15
call fcn.14003ea70
mov r9, r14
mov r8, r15
mov edx, r13d
mov rcx, rbx
call fcn.1401abf60
test al, al
je 0x1401a92ca
lea rsi, [rbx + 0xd90]
mov rcx, rsi
call fcn.1400409a0
mov rcx, r15
call fcn.140043080
mov edi, eax
mov rcx, r15
call fcn.140042d50
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.14012aa00
mov r9, r14
lea r8, [rbx + 0x16a8]
lea rdx, [rbx + 0x1d58]
mov rcx, qword [rbx + 0x1570]
call fcn.1401cb910
test al, al
jne 0x1401a93d7
mov rax, qword [r14]
lea rdx, str.SSH_gcm_encrypt_finalize_failed.
mov rcx, r14
call qword [rax + 0x28]
xor al, al
jmp 0x1401a976c
lea rcx, [rbx + 0x1758]
call fcn.140043080
cmp eax, 0x10
je 0x1401a93ff
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 0x1401a976c
lea rcx, [rbx + 0x2637]
mov rdx, 0xffffffffffffd9d0
sub rdx, rbx
add byte [rcx], 1
jne 0x1401a9421
dec rcx
lea rax, [rdx + rcx]
test rax, rax
jns 0x1401a9410
mov ecx, dword [rbx + 0x1554]
lea eax, [rcx - 0xe]
cmp eax, 1
jbe 0x1401a9615
cmp ecx, 0xd
je 0x1401a9656
lea r15, [rbx + 0xd30]
mov rcx, r15
call fcn.1400409a0
cmp dword [rbx + 0x1538], 0
je 0x1401a9594
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.14003e510
nop
mov dword [rbp + 0xb78], 3
mov qword [rsp + 0x78], 0
mov dword [rbp + 0x778], 0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x77c], 4
cmp byte [rbx + 0x27c8], 0
je 0x1401a952c
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.140042d50
mov qword [rbp - 0x70], rax
lea rcx, [rbx + 0xd90]
call fcn.140043080
mov dword [rbp + 0x784], eax
jmp 0x1401a954e
lea rcx, [rbx + 0xdc0]
call fcn.140042d50
mov qword [rbp - 0x78], rax
lea rcx, [rbx + 0xdc0]
call fcn.140043080
mov dword [rbp + 0x780], eax
lea rcx, [rbx + 0x2730]
call fcn.140043080
mov esi, eax
lea rcx, [rbx + 0x2730]
call fcn.140042d50
mov rdx, rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r9d, dword [rbx + 0x26f8]
mov r8d, esi
lea rcx, [rsp + 0x70]
call fcn.14007e5c0
nop
lea rcx, [rsp + 0x70]
call fcn.14003e700
cmp dword [rbx + 0x1554], 0
je 0x1401a95e2
lea rcx, [rbx + 0xdc0]
cmp byte [rbx + 0x27c8], 0
je 0x1401a95d6
call fcn.1400409a0
lea rdx, [rbx + 0xdc0]
mov ecx, r12d
call fcn.1401c5030
lea rdx, [rbx + 0xd90]
lea rcx, [rbx + 0xdc0]
call fcn.14003ea70
jmp 0x1401a95e2
lea rdx, [rbx + 0xd90]
call fcn.140045230
lea rcx, [rbx + 0xd30]
call fcn.140043080
test eax, eax
je 0x1401a9656
cmp dword [rbx + 0x1538], 6
jne 0x1401a960c
lea rcx, [rbx + 0xd30]
mov edx, 8
call fcn.140045010
lea rdx, [rbx + 0xd30]
jmp 0x1401a964a
lea rcx, [rbx + 0xdc0]
call fcn.1400409a0
lea rdx, [rbx + 0xdc0]
mov ecx, r12d
call fcn.1401c5030
lea rdx, [rbx + 0xd90]
lea rcx, [rbx + 0xdc0]
call fcn.14003ea70
lea rdx, [rbx + 0x1758]
lea rcx, [rbx + 0xdc0]
call fcn.14003ea70
mov edi, dword [rbx + 0xf20]
lea eax, [rdi - 1]
mov ecx, 0xbb8
cmp eax, 0xbb6
cmovbe edi, ecx
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1401a967e
mov byte [r15 + 0xdc], 1
mov dword [rsp + 0x68], 0
lea rcx, [rbx + 0xdc0]
call fcn.140043080
mov r8d, eax
lea rdx, [rbx + 0xdc0]
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
call fcn.14019b7b0
movzx esi, al
test al, al
jne 0x1401a9733
cmp dword [rsp + 0x68], 0
jbe 0x1401a9723
lea rcx, [rbx + 0xdc0]
call fcn.140043080
mov r8d, eax
lea rdx, str.packetSize
mov rcx, r14
call fcn.140053ac0
mov r8d, dword [rsp + 0x68]
lea rdx, str.numBytesSent
mov rcx, r14
call fcn.140053ac0
mov r8d, edi
lea rdx, str.idleTimeoutMs
mov rcx, r14
call fcn.140053ac0
lea rdx, str.Failed_to_send_entire_SSH_packet.
jmp 0x1401a972a
lea rdx, str.SSH_SendBytes_failed.
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x28]
test r15, r15
je 0x1401a9740
mov byte [r15 + 0xdc], 0
inc dword [rbx + 0xf18]
test sil, sil
jne 0x1401a9768
lea r9, [0x1401ed194]
lea r8, str.Failed_to_send.
lea rdx, str.TRAN
mov rcx, rbx
call fcn.1401ad940
movzx eax, sil
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.1401e12d0
add rsp, 0xc98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret