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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f04b
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x8c4], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x8b8], eax
mov edx, dword [edx + 4]
mov dword [ebp - 0x8bc], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edi
mov dword [edx], 0
cmp byte [esi + 0xc4], 0
je 0x5ebc7e
test eax, eax
je 0x5ebc6c
push 0x74
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x9c]
call fcn.00494a40
push dword [ebp - 0x8b8]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0
push 0x6dcd7c
call fcn.00494b40
push 0x6dce1c
lea ecx, [ebp - 0x9c]
call fcn.00498780
test al, al
jne 0x5ebc3d
push 0x6dce1c
lea ecx, [ebp - 0x9c]
call fcn.00494f80
lea ecx, [ebp - 0x9c]
call fcn.00499300
push eax
push dword [ebp - 0x1c]
mov ecx, esi
push 0x6c8134
call fcn.005f04b0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call fcn.00494a90
jmp 0x5ebc7e
push 0x6dce1c
push ecx
push 0x6c8134
mov ecx, esi
call fcn.005f04b0
call sub.KERNEL32.dll_GetTickCount
inc dword [esi + 0x8b4]
lea ecx, [esi + 0x98c]
mov dword [esi + 0x8a8], eax
call fcn.004a0bb0
cmp dword [esi + 0xf24], 0
je 0x5ebd39
cmp byte [esi + 0x938], 0
je 0x5ebcca
push ebx
lea eax, [esi + 0x98c]
push eax
lea ecx, [esi + 0x93c]
call fcn.005f1760
mov byte [esi + 0x938], 0
mov eax, dword [esi + 0xa34]
mov byte [ebp - 0x1c], 0
test eax, eax
je 0x5ebce3
dec eax
mov byte [ebp - 0x1c], 1
mov dword [esi + 0xa34], eax
push 0
push ebx
lea eax, [esi + 0x98c]
push eax
push dword [ebp - 0x1c]
lea ecx, [esi + 0x93c]
push edi
call fcn.005f1650
mov ecx, edi
call fcn.0046e290
cmp byte [ebp - 0x1c], 0
mov edi, eax
jne 0x5ebd30
cmp edi, 0x40
jbe 0x5ebd30
lea ecx, [esi + 0x98c]
call fcn.0046e290
mov ecx, edi
shr ecx, 3
add eax, ecx
cmp eax, edi
jbe 0x5ebd30
mov dword [esi + 0xa34], 0x10
lea edi, [esi + 0x98c]
mov dword [ebp - 0x20], edi
mov eax, dword [esi + 0xf4c]
mov dword [ebp - 0x1c], 8
cmp eax, 1
je 0x5ebd78
cmp eax, 2
je 0x5ebd78
cmp eax, 0xc
je 0x5ebd78
cmp eax, 0xe
je 0x5ebd78
cmp eax, 0xf
je 0x5ebd78
cmp eax, 9
je 0x5ebd78
cmp eax, 0xa
je 0x5ebd78
cmp eax, 0xb
je 0x5ebd78
cmp eax, 3
je 0x5ebd78
cmp eax, 4
jne 0x5ebd7f
mov dword [ebp - 0x1c], 0x10
mov ecx, edi
call fcn.0046e290
cmp byte [esi + 0x2008], 0
mov dword [ebp - 0x8b8], eax
jne 0x5ebdae
mov ecx, dword [esi + 0xf4c]
cmp ecx, 0xd
je 0x5ebdae
cmp ecx, 0xe
je 0x5ebdae
cmp ecx, 0xf
je 0x5ebdae
xor edx, edx
jmp 0x5ebdb3
mov edx, 4
mov edi, dword [ebp - 0x1c]
lea ecx, [eax + 5]
mov eax, ecx
sub eax, edx
xor edx, edx
add eax, 4
div edi
mov eax, edi
sub eax, edx
xor edx, edx
div edi
lea edi, [esi + 0x9c4]
lea eax, [edx + 4]
add ecx, eax
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x8ac], ecx
mov dword [eax], ecx
mov ecx, edi
call fcn.004a0bb0
mov eax, dword [esi + 0xf4c]
cmp eax, 0xd
jne 0x5ebfa5
mov eax, dword [ebp - 0x8ac]
mov ecx, edi
add eax, 0x10
push eax
mov dword [ebp - 0x8c0], eax
call fcn.004a2c20
mov edx, eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x8ac]
add eax, 0xfffffffc
mov dword [ebp - 0x8b4], edx
mov ecx, eax
shr ecx, 0x18
mov byte [edx], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edx + 1], cl
mov ecx, eax
mov byte [edx + 3], al
shr ecx, 8
mov byte [edx + 2], cl
lea edx, [esi + 0x1d74]
mov ecx, dword [esi + 0xab0]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x13], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x12], al
lea eax, [ebp - 0x18]
mov byte [ebp - 0x14], cl
push eax
shr ecx, 0x18
push edx
mov byte [ebp - 0x11], cl
call fcn.005e1000
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x1df8]
push eax
call fcn.005e1000
mov edx, dword [ebp - 0x8b4]
lea eax, [esi + 0x1d74]
inc dword [eax + 0xb4]
push 4
push edx
push eax
call fcn.005e0c10
mov ecx, dword [ebp - 0x8b4]
add esp, 0x1c
mov eax, dword [ebp - 0x8b0]
add ecx, 4
mov dword [ebp - 0x14], ecx
push dword [ebp - 0x8b8]
mov byte [ecx], al
mov ecx, dword [ebp - 0x20]
call fcn.004a2ca0
push eax
mov eax, dword [ebp - 0x8b4]
add eax, 5
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x8b8]
add esp, 0xc
mov eax, dword [ebp - 0x8b4]
add ecx, 5
add eax, ecx
mov ecx, esi
push ebx
push eax
push dword [ebp - 0x8b0]
call fcn.005e6d90
test al, al
je 0x5ec027
mov eax, dword [ebp - 0x8ac]
add eax, 0xfffffffc
push eax
push dword [ebp - 0x14]
lea eax, [esi + 0x1df8]
push eax
call fcn.005e0c10
mov ecx, dword [esi + 0xab0]
add esp, 0xc
mov eax, ecx
mov byte [ebp - 0x1d], cl
shr eax, 0x18
xorps xmm0, xmm0
mov byte [ebp - 0x20], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x1f], al
mov eax, ecx
shr eax, 8
lea ecx, [esi + 0x1d74]
mov byte [ebp - 0x1e], al
lea eax, [ebp - 0x20]
push 4
mov dword [esi + 0x1e7c], 0
push eax
movq qword [esi + 0x1e80], xmm0
call fcn.005e0aa0
push dword [ebp - 0x8ac]
lea ecx, [esi + 0x1d74]
push dword [ebp - 0x8b4]
call fcn.005e0aa0
mov eax, dword [ebp - 0x8ac]
lea ecx, [esi + 0x1e88]
add eax, dword [ebp - 0x8b4]
push eax
call fcn.0060f860
push dword [ebp - 0x8c0]
mov ecx, edi
call fcn.0049f0d0
jmp 0x5ec295
cmp eax, 0xe
je 0x5ec137
cmp eax, 0xf
je 0x5ec137
test eax, eax
je 0x5ec0f1
cmp byte [esi + 0x2008], 0
jne 0x5ebfdb
mov eax, dword [ebp - 0x8ac]
add eax, 0xfffffffc
push edi
push eax
call fcn.00605aa0
add esp, 8
push dword [ebp - 0x8b0]
mov ecx, edi
call fcn.0049f460
push dword [ebp - 0x20]
mov ecx, edi
call fcn.0049f1b0
push ebx
push edi
push dword [ebp - 0x8b0]
mov ecx, esi
call fcn.005eec70
test al, al
je 0x5ec027
lea edi, [esi + 0x9a8]
mov ecx, edi
call fcn.004a0bb0
cmp dword [esi + 0xf68], 0
jne 0x5ec047
mov eax, dword [ebx]
push str.No_output_encryptor_
mov ecx, ebx
call dword [eax + 0x14]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x18
push ebx
push edi
lea ecx, [esi + 0x9c4]
call fcn.0046e290
push eax
lea ecx, [esi + 0x9c4]
call fcn.004a2ca0
mov ecx, dword [esi + 0xf68]
push eax
lea eax, [esi + 0x1040]
push eax
lea eax, [esi + 0x1678]
push eax
call fcn.00579830
lea ecx, [esi + 0x9c4]
call fcn.0046e290
lea ecx, [esi + 0x9a8]
mov edi, eax
call fcn.0046e290
cmp eax, edi
je 0x5ec295
mov eax, dword [ebx]
mov ecx, ebx
push str.Size_of_encrypted_data_changed_
call dword [eax + 0x14]
lea ecx, [esi + 0x9c4]
call fcn.0046e290
push eax
push str.unencryptedPacketSize
mov ecx, ebx
call fcn.004b2d90
lea ecx, [esi + 0x9a8]
call fcn.0046e290
push eax
push str.encryptedPacketSize
mov ecx, ebx
call fcn.004b2d90
push 0x6dce1c
push str.Failed_to_encrypt.
push str.TRAN
mov ecx, esi
call fcn.005f04b0
jmp 0x5ec027
mov eax, dword [ebp - 0x8ac]
add eax, 0xfffffffc
push edi
push eax
call fcn.00605aa0
add esp, 8
mov ecx, edi
push dword [ebp - 0x8b0]
call fcn.0049f460
push dword [ebp - 0x20]
mov ecx, edi
call fcn.0049f1b0
push ebx
push edi
push dword [ebp - 0x8b0]
mov ecx, esi
call fcn.005eec70
test al, al
je 0x5ec027
jmp 0x5ec295
cmp dword [esi + 0xf68], 0
jne 0x5ec14c
mov eax, dword [ebx]
push str.No_output_GCM_encryptor_
jmp 0x5ec022
lea edi, [esi + 0x1090]
mov ecx, edi
call fcn.004a0bb0
mov eax, dword [ebp - 0x8ac]
add eax, 0xfffffffc
push edi
push eax
call fcn.00605aa0
add esp, 8
lea eax, [esi + 0x1f18]
lea edi, [esi + 0x1040]
mov ecx, edi
push eax
lea eax, [esi + 0x1f14]
push eax
call fcn.0057a9c0
mov ecx, dword [esi + 0xf68]
lea eax, [esi + 0x1678]
push ebx
push edi
push eax
call fcn.0060bcc0
push dword [ebp - 0x8b0]
lea ecx, [esi + 0x9c4]
call fcn.0049f460
push dword [ebp - 0x20]
lea ecx, [esi + 0x9c4]
call fcn.0049f1b0
mov eax, dword [ebp - 0x8b0]
cmp eax, 0x40
ja 0x5ec027
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
mov ecx, esi
call fcn.005e6d90
test al, al
je 0x5ec027
push dword [ebp - 0x8b0]
lea eax, [ebp - 0x68]
push eax
lea ecx, [esi + 0x9c4]
call fcn.0049f210
test al, al
je 0x5ec027
lea edi, [esi + 0x9a8]
mov ecx, edi
call fcn.004a0bb0
push ebx
push edi
lea ecx, [esi + 0x9c4]
call fcn.0046e290
push eax
lea ecx, [esi + 0x9c4]
call fcn.004a2ca0
mov ecx, dword [esi + 0xf68]
lea edi, [esi + 0x1040]
push eax
push edi
lea eax, [esi + 0x1678]
push eax
call fcn.00579830
mov ecx, dword [esi + 0xf68]
lea eax, [esi + 0x1678]
push ebx
push edi
push eax
call fcn.0060bc00
test al, al
jne 0x5ec25f
mov eax, dword [ebx]
push str.SSH_gcm_encrypt_finalize_failed.
jmp 0x5ec022
lea ecx, [esi + 0x10ac]
call fcn.0046e290
cmp eax, 0x10
je 0x5ec27b
mov eax, dword [ebx]
push str.SSH_GCM_auth_tag_is_not_16_bytes.
jmp 0x5ec022
mov edx, 0xffffe0e8
lea ecx, [esi + 0x1f1f]
sub edx, esi
add byte [ecx], 1
jne 0x5ec295
dec ecx
lea eax, [edx + ecx]
test eax, eax
jns 0x5ec288
mov eax, dword [esi + 0xf4c]
cmp eax, 0xe
je 0x5ec489
cmp eax, 0xf
je 0x5ec489
cmp eax, 0xd
je 0x5ec4d1
lea ecx, [esi + 0x970]
call fcn.004a0bb0
cmp dword [esi + 0xf30], 0
je 0x5ec40c
mov al, byte [esi + 0xab3]
lea ecx, [ebp - 0x8a4]
mov byte [ebp - 0x24], al
mov al, byte [esi + 0xab2]
mov byte [ebp - 0x23], al
mov al, byte [esi + 0xab1]
mov byte [ebp - 0x22], al
mov al, byte [esi + 0xab0]
mov byte [ebp - 0x21], al
call fcn.0049eba0
cmp byte [esi + 0x2008], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
mov dword [ebp - 0xa0], 3
mov dword [ebp - 0x8a0], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x89c], eax
mov dword [ebp - 0x49c], 4
je 0x5ec3a3
mov ecx, dword [ebp - 0x8ac]
add ecx, 0xfffffffc
mov dword [ebp - 0xa0], 4
mov eax, ecx
mov byte [ebp - 0x19], cl
shr eax, 0x18
mov byte [ebp - 0x1c], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x1b], al
mov eax, ecx
shr eax, 8
lea ecx, [esi + 0x9a8]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x498], 4
call fcn.004a2ca0
lea ecx, [esi + 0x9a8]
mov dword [ebp - 0x894], eax
call fcn.0046e290
mov dword [ebp - 0x494], eax
jmp 0x5ec3c5
lea ecx, [esi + 0x9c4]
call fcn.004a2ca0
lea ecx, [esi + 0x9c4]
mov dword [ebp - 0x898], eax
call fcn.0046e290
mov dword [ebp - 0x498], eax
push ebx
lea eax, [esi + 0x970]
push eax
push dword [esi + 0x1f90]
lea ecx, [esi + 0x1fb0]
call fcn.0046e290
push eax
lea ecx, [esi + 0x1fb0]
call fcn.004a2ca0
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.004da610
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8a4]
call fcn.0049ee20
cmp dword [esi + 0xf4c], 0
je 0x5ec45c
cmp byte [esi + 0x2008], 0
lea edi, [esi + 0x9a8]
lea ecx, [esi + 0x9c4]
je 0x5ec456
call fcn.004a0bb0
lea eax, [esi + 0x9c4]
push eax
mov eax, dword [ebp - 0x8ac]
add eax, 0xfffffffc
push eax
call fcn.00605aa0
add esp, 8
lea ecx, [esi + 0x9c4]
push edi
call fcn.0049f1b0
jmp 0x5ec45c
push edi
call fcn.004a4ea0
lea ecx, [esi + 0x970]
call fcn.0046e290
test eax, eax
je 0x5ec4d1
cmp dword [esi + 0xf30], 6
jne 0x5ec481
push 8
lea ecx, [esi + 0x970]
call fcn.004a4d80
lea eax, [esi + 0x970]
jmp 0x5ec4c5
lea ecx, [esi + 0x9c4]
call fcn.004a0bb0
lea eax, [esi + 0x9c4]
push eax
mov eax, dword [ebp - 0x8ac]
add eax, 0xfffffffc
push eax
call fcn.00605aa0
add esp, 8
lea eax, [esi + 0x9a8]
lea ecx, [esi + 0x9c4]
push eax
call fcn.0049f1b0
lea eax, [esi + 0x10ac]
push eax
lea ecx, [esi + 0x9c4]
call fcn.0049f1b0
mov edi, dword [esi + 0xab8]
test edi, edi
je 0x5ec4e5
mov eax, 0xbb8
cmp edi, eax
cmovb edi, eax
mov eax, dword [ebp - 0x8bc]
test eax, eax
je 0x5ec4f6
mov byte [eax + 0x94], 1
push dword [ebp - 0x8c4]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push ebx
push eax
push edi
push 0
lea ecx, [esi + 0x9c4]
call fcn.0046e290
push eax
lea eax, [esi + 0x9c4]
push eax
lea ecx, [esi + 0x8b8]
call fcn.005debe0
mov byte [ebp - 0x8a5], al
test al, al
jne 0x5ec586
cmp dword [ebp - 0x28], 0
jbe 0x5ec574
lea ecx, [esi + 0x9c4]
call fcn.0046e290
push eax
push str.packetSize
mov ecx, ebx
call fcn.004b2d90
push dword [ebp - 0x28]
mov ecx, ebx
push str.numBytesSent
call fcn.004b2d90
push edi
push str.idleTimeoutMs
mov ecx, ebx
call fcn.004b2d90
push str.Failed_to_send_entire_SSH_packet.
jmp 0x5ec579
push str.SSH_SendBytes_failed.
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov al, byte [ebp - 0x8a5]
mov edx, dword [ebp - 0x8bc]
test edx, edx
je 0x5ec597
mov byte [edx + 0x94], 0
inc dword [esi + 0xab0]
test al, al
jne 0x5ec029
push 0x6dce1c
push str.Failed_to_send.
push str.TRAN
mov ecx, esi
call fcn.005f04b0
mov al, byte [ebp - 0x8a5]
jmp 0x5ec029