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

Disassembly:
push 0xffffffffffffffff
push 0x101a70b6
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x8a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x8c0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8e0]
mov edx, dword [esp + 0x8e4]
mov ebp, dword [esp + 0x8d0]
mov esi, dword [esp + 0x8d4]
mov ebx, dword [esp + 0x8d8]
mov edi, ecx
mov ecx, dword [esp + 0x8dc]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov dword [ecx], 0
cmp byte [edi + 0xc4], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], eax
je 0x10143849
test esi, esi
je 0x10143837
lea ecx, [esp + 0x848]
call fcn.10010fb0
push esi
push 0x101e8698
lea ecx, [esp + 0x850]
mov dword [esp + 0x8d0], 0
call fcn.10013890
push 0x1023db2c
lea ecx, [esp + 0x84c]
call fcn.10010c10
test al, al
jne 0x10143804
push 0x1023db2c
lea ecx, [esp + 0x84c]
call fcn.10010b90
lea ecx, [esp + 0x848]
call fcn.1008be90
push eax
push ebp
push 0x1022a378
mov ecx, edi
call fcn.1013f7f0
lea ecx, [esp + 0x848]
mov dword [esp + 0x8c8], 0xffffffff
call fcn.10011070
jmp 0x10143849
push 0x1023db2c
push ebp
push 0x1022a378
mov ecx, edi
call fcn.1013f7f0
call sub.KERNEL32.dll_GetTickCount
add dword [edi + 0x81c], 1
lea esi, [edi + 0x8f4]
mov ecx, esi
mov dword [edi + 0x810], eax
mov dword [esp + 0x24], ebx
call fcn.10017ff0
cmp dword [edi + 0xe8c], 0
je 0x10143905
cmp byte [edi + 0x8a0], 0
je 0x1014389a
mov ecx, dword [esp + 0x14]
push ecx
push esi
lea ecx, [edi + 0x8a4]
call fcn.100cc1f0
mov byte [edi + 0x8a0], 0
mov eax, dword [edi + 0x99c]
test eax, eax
mov byte [esp + 0x18], 0
je 0x101438b7
add eax, 0xffffffff
mov byte [esp + 0x18], 1
mov dword [edi + 0x99c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
push edx
push esi
push eax
push ebx
lea ecx, [edi + 0x8a4]
call fcn.100cc2f0
mov ecx, ebx
call fcn.100f6330
cmp byte [esp + 0x18], 0
mov ebx, eax
jne 0x10143901
cmp ebx, 0x40
jbe 0x10143901
mov ecx, esi
call fcn.100f6330
mov ecx, ebx
shr ecx, 3
add eax, ecx
cmp eax, ebx
jbe 0x10143901
mov dword [edi + 0x99c], 0x10
mov dword [esp + 0x24], esi
mov eax, dword [edi + 0xeb4]
cmp eax, 1
mov ebx, 8
je 0x10143938
cmp eax, 2
je 0x10143938
cmp eax, 0xc
je 0x10143938
cmp eax, 9
je 0x10143938
cmp eax, 0xa
je 0x10143938
cmp eax, 0xb
je 0x10143938
cmp eax, 3
je 0x10143938
cmp eax, 4
jne 0x1014393d
mov ebx, 0x10
mov ecx, dword [esp + 0x24]
call fcn.100f6330
cmp byte [edi + 0x1f58], 0
mov dword [esp + 0x3c], eax
jne 0x10143960
cmp dword [edi + 0xeb4], 0xd
je 0x10143960
xor ecx, ecx
jmp 0x10143965
mov ecx, 4
lea esi, [eax + 5]
mov eax, esi
sub eax, ecx
add eax, 4
xor edx, edx
div ebx
mov eax, ebx
lea ebp, [edi + 0x92c]
mov ecx, ebp
sub eax, edx
xor edx, edx
div ebx
mov eax, dword [esp + 0x2c]
mov ebx, edx
add ebx, 4
add esi, ebx
lea edx, [esi - 4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], edx
mov dword [eax], esi
call fcn.10017ff0
mov eax, dword [edi + 0xeb4]
cmp eax, 0xd
jne 0x10143abb
add esi, 0x10
push esi
mov ecx, ebp
mov dword [esp + 0x30], esi
call fcn.1001d220
mov ebx, eax
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x18
mov byte [ebx], cl
mov edx, eax
mov ecx, eax
shr ecx, 8
shr edx, 0x10
mov byte [ebx + 2], cl
mov byte [ebx + 1], dl
mov byte [ebx + 3], al
mov eax, dword [edi + 0xa18]
push eax
push 4
push ebx
lea ebp, [edi + 0x1cdc]
push ebp
mov ecx, edi
call fcn.1013b760
mov eax, 4
mov dword [esp + 0x18], eax
mov esi, ebx
mov ecx, 0x40
cmp dword [ebp + 0x40], ecx
jb 0x10143a23
push ebp
call fcn.1013b2e0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [ebp + 0x40], 0x40
jae 0x10143a43
mov ecx, 0x40
test eax, eax
je 0x10143a47
mov edx, dword [ebp + 0x40]
mov dl, byte [edx + ebp + 0x44]
xor byte [esi], dl
add dword [ebp + 0x40], 1
sub eax, 1
add esi, 1
cmp dword [ebp + 0x40], ecx
mov dword [esp + 0x18], eax
jb 0x10143a23
test eax, eax
jne 0x10143a01
mov al, byte [esp + 0x30]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push esi
mov byte [ebx + 4], al
call fcn.1008bea0
push eax
lea ecx, [ebx + 5]
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x3c]
lea edx, [ebx + esi + 5]
push edx
push eax
call fcn.1002f280
mov eax, dword [esp + 0x34]
add esp, 0x14
lea esi, [edi + 0x1d60]
lea ecx, [ebx + 4]
call fcn.1013b710
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0xa18]
mov eax, dword [esp + 0x20]
push ecx
push edx
add eax, 4
push eax
push ebx
mov ecx, ebp
call fcn.1013dd30
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [edi + 0x92c]
call fcn.10018010
jmp 0x10143bef
test eax, eax
je 0x10143bc3
cmp byte [edi + 0x1f58], 0
jne 0x10143ada
mov edx, dword [esp + 0x20]
push ebp
push edx
call fcn.10187240
add esp, 8
push ebx
mov ecx, ebp
call fcn.10018f60
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebp
call fcn.1001b160
push ebp
push ebx
call fcn.1002f830
lea ebx, [edi + 0x910]
add esp, 8
mov ecx, ebx
call fcn.10017ff0
cmp dword [edi + 0xed0], 0
jne 0x10143b25
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.No_output_encryptor_
call eax
xor al, al
jmp 0x10143eaf
mov esi, dword [esp + 0x14]
push esi
push ebx
mov ecx, ebp
call fcn.100f6330
push eax
mov ecx, ebp
call fcn.1008bea0
push eax
lea ecx, [edi + 0xfa8]
push ecx
mov ecx, dword [edi + 0xed0]
lea edx, [edi + 0x15e0]
push edx
call fcn.100c7280
mov ecx, ebx
call fcn.100f6330
mov ecx, ebp
mov ebx, eax
call fcn.100f6330
cmp ebx, eax
je 0x10143bf3
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Size_of_encrypted_data_changed_
mov ecx, esi
call edx
mov ecx, ebp
call fcn.100f6330
push eax
push str.unencryptedPacketSize
mov ecx, esi
call fcn.100612a0
lea ecx, [edi + 0x910]
call fcn.100f6330
push eax
push str.encryptedPacketSize
mov ecx, esi
call fcn.100612a0
push 0x1023db2c
push str.Failed_to_encrypt.
push str.TRAN
mov ecx, edi
call fcn.1013f7f0
xor al, al
jmp 0x10143eaf
mov eax, dword [esp + 0x20]
push ebp
push eax
call fcn.10187240
add esp, 8
push ebx
mov ecx, ebp
call fcn.10018f60
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.1001b160
push ebp
push ebx
call fcn.1002f830
add esp, 8
mov esi, dword [esp + 0x14]
cmp dword [edi + 0xeb4], 0xd
je 0x10143dcc
lea ecx, [edi + 0x8d8]
call fcn.10017ff0
xor ebx, ebx
cmp dword [edi + 0xe98], ebx
je 0x10143d4e
movzx edx, byte [edi + 0xa1b]
mov cl, byte [edi + 0xa19]
mov al, byte [edi + 0xa1a]
mov byte [esp + 0x14], dl
movzx edx, byte [edi + 0xa18]
mov byte [esp + 0x16], cl
lea ecx, [esp + 0x40]
mov byte [esp + 0x15], al
mov byte [esp + 0x17], dl
call fcn.100189f0
cmp byte [edi + 0x1f58], bl
lea eax, [esp + 0x14]
mov dword [esp + 0x48], eax
mov eax, 4
mov dword [esp + 0x8c8], 1
mov dword [esp + 0x844], 3
mov dword [esp + 0x44], ebx
mov dword [esp + 0x444], ebx
mov dword [esp + 0x448], eax
je 0x10143ce3
mov ebx, dword [esp + 0x20]
mov ecx, ebx
shr ecx, 0x18
mov byte [esp + 0x18], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], cl
lea edx, [esp + 0x18]
lea ebp, [edi + 0x910]
mov ecx, ebp
mov byte [esp + 0x1b], bl
mov dword [esp + 0x844], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44c], eax
call fcn.1008bea0
mov ecx, ebp
mov dword [esp + 0x50], eax
call fcn.100f6330
mov dword [esp + 0x450], eax
jmp 0x10143d06
lea ebx, [edi + 0x92c]
mov ecx, ebx
call fcn.1008bea0
mov ecx, ebx
mov dword [esp + 0x4c], eax
call fcn.100f6330
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x44c], eax
push esi
lea eax, [edi + 0x8d8]
push eax
mov eax, dword [edi + 0x1ee0]
lea ebp, [edi + 0x1f00]
push eax
mov ecx, ebp
call fcn.100f6330
push eax
mov ecx, ebp
call fcn.1008bea0
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.10085630
add esp, 0x18
lea ecx, [esp + 0x40]
mov dword [esp + 0x8c8], 0xffffffff
call fcn.10018a10
jmp 0x10143d52
mov ebx, dword [esp + 0x20]
cmp dword [edi + 0xeb4], 0
je 0x10143d9d
cmp byte [edi + 0x1f58], 0
je 0x10143d8b
lea ebp, [edi + 0x92c]
mov ecx, ebp
call fcn.10017ff0
push ebp
push ebx
call fcn.10187240
add esp, 8
lea edx, [edi + 0x910]
push edx
mov ecx, ebp
call fcn.1001b160
jmp 0x10143d9d
lea eax, [edi + 0x910]
push eax
lea ecx, [edi + 0x92c]
call fcn.10018ef0
lea ebx, [edi + 0x8d8]
mov ecx, ebx
call fcn.100f6330
test eax, eax
je 0x10143dcc
cmp dword [edi + 0xe98], 6
jne 0x10143dc0
push 8
mov ecx, ebx
call fcn.10018240
push ebx
lea ecx, [edi + 0x92c]
call fcn.1001b160
mov ebx, dword [edi + 0xa20]
test ebx, ebx
je 0x10143de3
cmp ebx, 0xbb8
jae 0x10143de3
mov ebx, 0xbb8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10143df2
mov byte [eax + 0x94], 1
mov ecx, dword [esp + 0x38]
push ecx
push esi
lea edx, [esp + 0x30]
push edx
push ebx
lea ebp, [edi + 0x92c]
push 0
mov ecx, ebp
mov dword [esp + 0x3c], 0
call fcn.100f6330
push eax
push ebp
lea ecx, [edi + 0x820]
call fcn.1014a4a0
test al, al
mov byte [esp + 0x1f], al
jne 0x10143e78
cmp dword [esp + 0x28], 0
jbe 0x10143e6a
mov ecx, ebp
call fcn.100f6330
push eax
push str.packetSize
mov ecx, esi
call fcn.100612a0
mov eax, dword [esp + 0x28]
push eax
push str.numBytesSent
mov ecx, esi
call fcn.100612a0
push ebx
push str.idleTimeoutMs
mov ecx, esi
call fcn.100612a0
push str.Failed_to_send_entire_SSH_packet.
jmp 0x10143e6f
push str.SSH_SendBytes_failed.
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10143e87
mov byte [eax + 0x94], 0
add dword [edi + 0xa18], 1
cmp byte [esp + 0x1f], 0
jne 0x10143eab
push 0x1023db2c
push str.Failed_to_send.
push str.TRAN
mov ecx, edi
call fcn.1013f7f0
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x8c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8a8]
xor ecx, esp
call fcn.1018f87e
add esp, 0x8b8
ret 0x18