Function at 0x42af8e
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push str.PuTTY_Link:_command_line_connection_utility_n
call fcn.00430234
mov dword [esp], 0x448784
push 0x43785c
call fcn.00430234
push str.Usage:_plink__options___user__host__command__n
call fcn.00430234
push str._________host__can_also_be_a_PuTTY_saved_session_name__n
call fcn.00430234
push str.Options:_n
call fcn.00430234
push str.___V________print_version_information_and_exit_n
call fcn.00430234
push str.___pgpfp____print_PGP_key_fingerprints_and_exit_n
call fcn.00430234
push str.___v________show_verbose_messages_n
call fcn.00430234
push str.___load_sessname__Load_settings_from_saved_session_n
call fcn.00430234
push str.___ssh__telnet__rlogin__raw__serial_n
call fcn.00430234
push str.____________force_use_of_a_particular_protocol_n
call fcn.00430234
push str.___P_port___connect_to_specified_port_n
call fcn.00430234
push str.___l_user___connect_with_specified_username_n
call fcn.00430234
push str.___batch____disable_all_interactive_prompts_n
call fcn.00430234
push str.The_following_options_only_apply_to_SSH_connections:_n
call fcn.00430234
push str.___pw_passw_login_with_specified_password_n
call fcn.00430234
add esp, 0x40
push str.___D__listen_IP:_listen_port_n
call fcn.00430234
mov dword [esp], str.____________Dynamic_SOCKS_based_port_forwarding_n
call fcn.00430234
mov dword [esp], str.___L__listen_IP:_listen_port:host:port_n
call fcn.00430234
mov dword [esp], str.____________Forward_local_port_to_remote_address_n
call fcn.00430234
mov dword [esp], str.___R__listen_IP:_listen_port:host:port_n
call fcn.00430234
mov dword [esp], str.____________Forward_remote_port_to_local_address_n
call fcn.00430234
mov dword [esp], str.___X__x_____enable___disable_X11_forwarding_n
call fcn.00430234
mov dword [esp], str.___A__a_____enable___disable_agent_forwarding_n
call fcn.00430234
mov dword [esp], str.___t__T_____enable___disable_pty_allocation_n
call fcn.00430234
mov dword [esp], str.___1__2_____force_use_of_particular_protocol_version_n
call fcn.00430234
mov dword [esp], str.___4__6_____force_use_of_IPv4_or_IPv6_n
call fcn.00430234
mov dword [esp], str.___C________enable_compression_n
call fcn.00430234
mov dword [esp], str.___i_key____private_key_file_for_authentication_n
call fcn.00430234
mov dword [esp], str.___noagent__disable_use_of_Pageant_n
call fcn.00430234
mov dword [esp], str.___agent____enable_use_of_Pageant_n
call fcn.00430234
mov dword [esp], str.___m_file___read_remote_command_s__from_file_n
call fcn.00430234
mov dword [esp], str.___s________remote_command_is_an_SSH_subsystem__SSH_2_only__n
call fcn.00430234
mov dword [esp], str.___N________dont_start_a_shell_command__SSH_2_only__n
call fcn.00430234
mov dword [esp], str.___nc_host:port_n
call fcn.00430234
mov dword [esp], str.____________open_tunnel_in_place_of_session__SSH_2_only__n
call fcn.00430234
mov dword [esp], str.___sercfg_configuration_string__e.g._19200_8_n_1_X__n
call fcn.00430234
mov dword [esp], str.____________Specify_the_serial_configuration__serial_only__n
call fcn.00430234
pop ecx
push 1
call fcn.004300ff
int3
push ebp
mov ebp, esp
sub esp, 0x68
or dword [ebp - 0x14], 0xffffffff
push ebx
push esi
push edi
xor esi, esi
push 2
pop edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x1c], esi
mov dword [0x44a0ec], 3
mov dword [0x44a0f4], 0x16
mov dword [0x44a114], edi
call fcn.00401eb4
push eax
push esi
mov dword [0x449de0], eax
call fcn.00407ebf
push edi
push dword [0x449de0]
mov dword [0x44a124], esi
call fcn.00402036
push 1
push dword [0x449de0]
mov dword [0x44a0ec], eax
call fcn.00402036
push str.PLINK_PROTOCOL
mov dword [0x44a0f4], eax
mov dword [ebp - 0x10], esi
call fcn.00430182
add esp, 0x1c
cmp eax, esi
je 0x42b053
push eax
call fcn.00406b22
cmp eax, esi
pop ecx
je 0x42b053
mov ecx, dword [eax + 0x44]
push ecx
mov dword [0x44a0ec], ecx
mov eax, dword [eax + 0x48]
push edi
push dword [0x449de0]
mov dword [0x44a0f4], eax
call fcn.00402362
push dword [0x44a0f4]
push 1
push dword [0x449de0]
call fcn.00402362
add esp, 0x18
dec dword [ebp + 8]
je 0x42b405
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x2d
jne 0x42b175
xor edi, edi
inc edi
cmp dword [ebp + 8], edi
jle 0x42b07f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
jmp 0x42b081
xor eax, eax
push dword [0x449de0]
push edi
push eax
push esi
call fcn.004010f6
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x42b0af
push esi
push str.plink:_option___s__requires_an_argument_n
push 0x448950
call fcn.0042ef33
mov dword [ebp - 0x10], edi
jmp 0x42b329
cmp eax, 2
jne 0x42b0c0
dec dword [ebp + 8]
add dword [ebp + 0xc], 4
jmp 0x42b32c
cmp eax, edi
je 0x42b32c
push str._batch
push esi
call fcn.0042dac0
test eax, eax
pop ecx
pop ecx
jne 0x42b0e8
mov dword [0x4496a0], 1
jmp 0x42b32c
push 0x445c90
push esi
call fcn.0042dac0
test eax, eax
pop ecx
pop ecx
jne 0x42b105
mov dword [ebp - 0x18], 1
jmp 0x42b32c
push 0x445c8c
push esi
call fcn.0042dac0
test eax, eax
pop ecx
pop ecx
je 0x42b341
push str.__version
push esi
call fcn.0042dac0
test eax, eax
pop ecx
pop ecx
je 0x42b341
push str.__help
push esi
call fcn.0042dac0
test eax, eax
pop ecx
pop ecx
je 0x42b98e
push str._pgpfp
push esi
call fcn.0042dac0
test eax, eax
pop ecx
pop ecx
je 0x42b33a
push esi
push str.plink:_unknown_option___s__n
push 0x448950
call fcn.0042ef33
mov dword [ebp - 0x10], 1
jmp 0x42b329
test al, al
je 0x42b32c
push dword [0x449de0]
call fcn.00403c94
xor ebx, ebx
test eax, eax
pop ecx
je 0x42b1a4
cmp dword [ebp - 8], ebx
jne 0x42b359
cmp dword [0x44a124], ebx
jne 0x42b359
push 7
push str.telnet:
push esi
call fcn.0042d8a0
add esp, 0xc
test eax, eax
jne 0x42b246
add esi, 7
cmp byte [esi], 0x2f
jne 0x42b1cc
cmp byte [esi + 1], 0x2f
jne 0x42b1cc
inc esi
inc esi
xor edi, edi
inc edi
push edi
push 2
push dword [0x449de0]
call fcn.00402362
add esp, 0xc
cmp byte [esi], 0
mov eax, esi
je 0x42b1f9
mov cl, byte [eax]
cmp cl, 0x3a
je 0x42b1f9
cmp cl, 0x2f
je 0x42b1f9
inc eax
cmp byte [eax], 0
jne 0x42b1e7
mov cl, byte [eax]
test cl, cl
je 0x42b203
mov byte [eax], 0
inc eax
cmp cl, 0x3a
jne 0x42b220
push eax
call fcn.0042d9de
push eax
push edi
push dword [0x449de0]
call fcn.00402362
add esp, 0x10
jmp 0x42b231
push 0xffffffffffffffff
push edi
push dword [0x449de0]
call fcn.00402362
add esp, 0xc
push esi
push ebx
push dword [0x449de0]
call fcn.0040243b
mov dword [ebp - 8], edi
jmp 0x42b329
push 0x2c
push esi
call fcn.0042da00
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x42b288
push esi
mov byte [edi], 0
call fcn.00406b22
mov esi, eax
cmp esi, ebx
pop ecx
je 0x42b285
mov eax, dword [esi + 0x44]
push eax
push 2
push dword [0x449de0]
mov dword [0x44a0ec], eax
call fcn.00402362
mov eax, dword [esi + 0x48]
add esp, 0xc
mov dword [ebp - 0x14], eax
lea esi, [edi + 1]
push 0x40
push esi
call fcn.0042f660
cmp eax, esi
pop ecx
pop ecx
jne 0x42b299
inc esi
xor eax, eax
cmp eax, ebx
je 0x42b2a7
mov ebx, esi
mov byte [eax], 0
lea esi, [eax + 1]
jmp 0x42b2a9
xor ebx, ebx
call fcn.00401eb4
mov edi, eax
push edi
push esi
call fcn.00407ebf
cmp dword [0x44a124], 0
pop ecx
pop ecx
jne 0x42b2e7
push edi
call fcn.00403c94
test eax, eax
pop ecx
je 0x42b2e7
push edi
push dword [0x449de0]
call fcn.00401f60
pop ecx
pop ecx
mov dword [0x44a124], 1
jmp 0x42b310
push esi
push 0
push dword [0x449de0]
call fcn.0040243b
push dword [0x44a0f4]
xor esi, esi
inc esi
push esi
push dword [0x449de0]
call fcn.00402362
add esp, 0x18
mov dword [ebp - 8], esi
push edi
call fcn.00401efb
test ebx, ebx
pop ecx
je 0x42b32c
push ebx
push 0x32
push dword [0x449de0]
call fcn.0040243b
add esp, 0xc
dec dword [ebp + 8]
jne 0x42b05c
jmp 0x42b3fb
call fcn.0042734e
jmp 0x42b352
push 0x448784
push str.plink:__s_n
call fcn.00430234
pop ecx
pop ecx
push 1
call fcn.004300ff
xor edi, edi
xor eax, eax
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x42b3c9
cmp byte [esi], 0
je 0x42b391
lea ebx, [edi + 0x200]
cmp edi, dword [ebp - 4]
jl 0x42b384
push 1
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00403c21
add esp, 0xc
mov cl, byte [esi]
mov byte [eax + edi], cl
inc edi
inc ebx
inc esi
cmp byte [esi], 0
jne 0x42b370
cmp edi, dword [ebp - 4]
jl 0x42b3ab
lea ecx, [edi + 0x200]
push 1
push ecx
push eax
mov dword [ebp - 4], ecx
call fcn.00403c21
add esp, 0xc
mov byte [eax + edi], 0x20
inc edi
dec dword [ebp + 8]
je 0x42b3c0
add dword [ebp + 0xc], 4
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
jmp 0x42b365
test edi, edi
je 0x42b3c9
mov byte [eax + edi - 1], 0
push eax
push 0x13
push dword [0x449de0]
call fcn.0040243b
push 0x437367
push 0x14
push dword [0x449de0]
call fcn.0040243b
push 1
push 0x15
push dword [0x449de0]
call fcn.00402362
add esp, 0x24
cmp dword [ebp - 0x10], 0
jne 0x42b58c
push dword [0x449de0]
call fcn.00403c94
test eax, eax
pop ecx
je 0x42b98e
cmp dword [ebp - 8], 0
jne 0x42b42c
cmp dword [0x44a124], 0
je 0x42b98e
xor edi, edi
push edi
push dword [0x449de0]
call fcn.0040213a
push eax
call fcn.00403e18
mov ebx, eax
push 0x445c48
push ebx
call fcn.0042f690
mov esi, eax
add esi, ebx
add esp, 0x14
cmp byte [esi], 0
je 0x42b482
push 0x40
push esi
call fcn.0042f660
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x42b480
push esi
push 0x32
push dword [0x449de0]
mov byte [edi], 0
call fcn.0040243b
add esp, 0xc
lea esi, [edi + 1]
xor edi, edi
push 0x43bc68
push esi
call fcn.0042fb00
pop ecx
mov byte [eax + esi], 0
cmp byte [esi], 0
pop ecx
mov ecx, ebx
mov eax, esi
je 0x42b4b1
mov dl, byte [eax]
cmp dl, 0x20
je 0x42b4ab
cmp dl, 9
je 0x42b4ab
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x42b49c
push ebx
push edi
push dword [0x449de0]
mov byte [ecx], 0
call fcn.0040243b
push ebx
call fcn.00403c87
push dword [0x449de0]
call fcn.00401dd7
add esp, 0x14
cmp dword [ebp - 0x18], edi
je 0x42b4ec
push 1
push 0x29
push dword [0x449de0]
call fcn.00402362
add esp, 0xc
push 0x13
push dword [0x449de0]
call fcn.0040213a
cmp byte [eax], 0
pop ecx
pop ecx
jne 0x42b52f
push 0x14
push dword [0x449de0]
call fcn.0040213a
cmp byte [eax], 0
pop ecx
pop ecx
jne 0x42b52f
push 0x2c
push dword [0x449de0]
call fcn.0040213a
cmp byte [eax], 0
pop ecx
pop ecx
jne 0x42b52f
or dword [0x44a114], 4
push 2
push dword [0x449de0]
call fcn.00402036
push eax
call fcn.00406b55
add esp, 0xc
cmp eax, edi
mov dword [0x449de8], eax
jne 0x42b555
push str.Internal_fault:_Unsupported_protocol_found_n
jmp 0x42b580
cmp dword [ebp - 0x14], 0xffffffff
je 0x42b56e
push dword [ebp - 0x14]
push 1
push dword [0x449de0]
call fcn.00402362
add esp, 0xc
call fcn.00428751
cmp dword [0x44a134], edi
jne 0x42b594
push str.Plink_requires_WinSock_2_n
push 0x448950
call fcn.0042ef33
pop ecx
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
push dword [0x449de0]
push edi
call fcn.00403194
push eax
mov dword [0x44a0fc], eax
call fcn.00427360
add esp, 0xc
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 7
push dword [0x449de0]
mov dword [0x44a12c], eax
call fcn.00402036
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
pop ecx
pop ecx
je 0x42b5ed
push 0xfffffffffffffff6
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x42b5ed
xor ebx, ebx
inc ebx
mov edi, ebx
jmp 0x42b5f2
xor ebx, ebx
xor edi, edi
inc ebx
push 8
push dword [0x449de0]
call fcn.00402036
pop ecx
pop ecx
push eax
push edi
lea eax, [ebp + 8]
push eax
push ebx
push dword [0x449de0]
call fcn.00402036
pop ecx
pop ecx
push eax
xor edi, edi
push edi
push dword [0x449de0]
call fcn.0040213a
pop ecx
pop ecx
push eax
push dword [0x449de0]
mov eax, dword [0x449de8]
push 0x449de4
push edi
call dword [eax]
add esp, 0x20
cmp eax, edi
je 0x42b65b
push eax
push str.Unable_to_open_connection:_n_s
push 0x448950
call fcn.0042ef33
add esp, 0xc
mov eax, ebx
jmp 0x42b58f
push dword [0x44a0fc]
mov eax, dword [0x449de8]
push dword [0x449de4]
call dword [eax + 0x34]
push dword [ebp + 8]
call fcn.00403c87
add esp, 0xc
push 0xfffffffffffffff6
mov dword [0x44a138], ebx
call esi
push 0xfffffffffffffff5
mov dword [0x44a108], eax
call esi
push 0xfffffffffffffff4
mov dword [0x44a0f8], eax
call esi
push 0x44a118
push dword [0x44a108]
mov dword [0x44a128], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push ebx
push dword [0x44a108]
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push edi
push edi
mov esi, 0x42aeaa
push esi
push dword [0x44a0f8]
call fcn.0042801d
push edi
push edi
push esi
push dword [0x44a128]
mov dword [0x44a104], eax
call fcn.0042801d
add esp, 0x20
mov dword [0x44a130], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x449dec], eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
mov edi, 0x8004
jne 0x42b73d
push dword [0x449de4]
mov eax, dword [0x449de8]
call dword [eax + 0x28]
test eax, eax
pop ecx
je 0x42b73d
push ebx
push ebx
push 0x42add8
push dword [0x44a108]
call fcn.00427f80
add esp, 0x10
mov dword [0x44a110], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.00426198
test eax, eax
pop ecx
pop ecx
je 0x42b76c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x20]
mov edx, ecx
mov ebx, eax
sub edx, esi
sub ebx, esi
cmp ebx, edx
jbe 0x42b766
xor esi, esi
jmp 0x42b76f
sub ecx, eax
mov esi, ecx
jmp 0x42b76f
or esi, 0xffffffff
lea eax, [ebp + 8]
push eax
call fcn.0042815b
mov ecx, dword [ebp + 8]
push 4
inc ecx
push ecx
push eax
call fcn.00403c21
mov ecx, dword [0x44a12c]
add esp, 0x10
mov ebx, eax
mov eax, dword [ebp + 8]
push 8
push esi
mov dword [ebx + eax*4], ecx
mov eax, dword [ebp + 8]
push 0
push ebx
inc eax
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov ecx, eax
mov eax, dword [ebp + 8]
cmp ecx, eax
mov dword [ebp - 0x18], ecx
jae 0x42b7c4
push dword [ebx + ecx*4]
call fcn.00428255
pop ecx
jmp 0x42b8d5
jne 0x42b89f
lea eax, [ebp - 0x14]
push eax
xor esi, esi
call fcn.00429f6c
jmp 0x42b7e1
lea eax, [ebp - 0x14]
push eax
inc esi
call fcn.00429f91
cmp eax, 0xffffffff
pop ecx
jne 0x42b7d7
cmp esi, dword [ebp - 0x1c]
jle 0x42b803
add esi, 0x10
push 4
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], esi
call fcn.00403c21
add esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
xor ebx, ebx
call fcn.00429f6c
jmp 0x42b820
mov ecx, dword [ebp - 0xc]
mov dword [ecx + ebx*4], eax
lea eax, [ebp - 0x14]
push eax
inc ebx
call fcn.00429f91
cmp eax, 0xffffffff
pop ecx
jne 0x42b810
and dword [ebp - 8], 0
test ebx, ebx
jle 0x42b8d5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edi, dword [eax + ecx*4]
lea eax, [ebp - 0x68]
push eax
push 0
push edi
call dword [0x44a120]
test eax, eax
jne 0x42b895
push edi
call fcn.0042a4ea
push dword [ebp - 0x68]
call fcn.0042a4ea
pop ecx
pop ecx
xor esi, esi
mov eax, dword [ebp - 0x68]
lea ecx, [esi + 0x4453f4]
test dword [ecx], eax
je 0x42b88d
mov eax, dword [esi + 0x4453f0]
movzx eax, word [ebp + eax*4 - 0x64]
movzx ecx, word [ecx]
shl eax, 0x10
or eax, ecx
push eax
push edi
call fcn.00429be4
and dword [0x44a138], eax
pop ecx
pop ecx
add esi, 8
cmp esi, 0x30
jb 0x42b85e
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jl 0x42b832
jmp 0x42b8d5
inc eax
cmp ecx, eax
jne 0x42b8d5
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x42b8c5
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
mov esi, eax
push dword [eax + 8]
push dword [eax + 4]
call dword [eax]
push esi
call fcn.00403c87
add esp, 0x10
push 1
push edi
push edi
lea eax, [ebp - 0x3c]
push 0xffffffffffffffff
push eax
call ebx
test eax, eax
jne 0x42b8ac
cmp dword [ebp - 0x18], 0x102
jne 0x42b8e3
mov esi, dword [ebp - 0x20]
jmp 0x42b8eb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push dword [ebp - 4]
call fcn.00403c87
cmp dword [ebp - 0x10], 0
pop ecx
je 0x42b917
push dword [0x449de4]
mov eax, dword [0x449de8]
call dword [eax + 0x10]
push eax
push dword [0x44a110]
call fcn.00428341
add esp, 0xc
cmp dword [0x44a138], 0
je 0x42b937
push dword [0x449de4]
mov eax, dword [0x449de8]
call dword [eax + 0x20]
test eax, eax
pop ecx
jne 0x42b6fd
push dword [0x44a130]
call fcn.00428371
push dword [0x44a104]
mov edi, eax
call fcn.00428371
add edi, eax
pop ecx
pop ecx
jne 0x42b6fd
push dword [0x449de4]
mov eax, dword [0x449de8]
call dword [eax + 0x24]
test eax, eax
pop ecx
jge 0x42b980
push str.Remote_process_exit_code_unavailable_n
push 0x448950
call fcn.0042ef33
pop ecx
xor eax, eax
pop ecx
inc eax
push eax
call fcn.004270b0
pop ecx
xor eax, eax
jmp 0x42b58f
jmp 0x42abe2