Function at 0x483a56
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5385d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x116]
push 0x103
mov word [ebp - 0x118], bx
stosw word es:[edi], ax
lea eax, [ebp - 0x10f]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x120], esi
mov byte [ebp - 0x110], bl
call fcn.004b7880
add esp, 0xc
mov edx, esi
call fcn.0047ebaf
test eax, eax
je 0x483abd
push str.:7:Empty_string_was_passed_into_OpenTelNetSession__.
call fcn.0041936e
pop ecx
jmp 0x483e8f
push esi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.0047ebe1
pop ecx
mov esi, 0x4f58cc
push esi
push eax
mov dword [ebp - 0x11c], ebx
call fcn.004b6b90
test eax, eax
pop ecx
pop ecx
je 0x483b24
push esi
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x114], ebx
call fcn.00480650
cmp eax, ebx
pop ecx
je 0x483b24
push esi
lea eax, [ebp - 0x114]
xor ecx, ecx
call fcn.00480650
cmp eax, ebx
pop ecx
je 0x483b24
push eax
call fcn.004b8944
pop ecx
mov dword [ebp - 0x11c], eax
mov eax, 0x646fd8
call fcn.0047eb32
push dword [ebp + 8]
lea ecx, [ebp - 0x110]
push dword [ebp - 0x11c]
call fcn.00485f43
mov esi, eax
cmp esi, 0xffffffff
pop ecx
pop ecx
mov dword [ebp - 0x114], esi
jne 0x483b83
call fcn.00410123
test eax, eax
je 0x483b6d
inc dword [0x6470f8]
cmp dword [0x6470f8], 3
jg 0x483e8f
push dword [ebp - 0x120]
push str.OpenTelNetSession___FAILED_to_connect_to___s_
call fcn.0041936e
pop ecx
jmp 0x483ab7
push ebx
push 1
push ebx
push 3
push 0xc0000000
call dword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
mov edi, eax
cmp edi, 0xffffffff
jne 0x483bb6
push str.OpenTelNetSession___FAILED:_Could_not_create_console_screen_buffer___GetLastError_
call fcn.00418e96
pop ecx
push esi
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
jmp 0x483e8f
mov word [ebp - 0x118], 0x50
mov word [ebp - 0x116], 0xfb
push dword [ebp - 0x118]
mov ebx, edi
call fcn.0040d328
test eax, eax
pop ecx
jne 0x483bfb
push 0xfb
push 0x50
push str.OpenTelNetSession___FAILED:_Could_not_create_screen_buffer_of_size__dx_d_
call fcn.00418e96
add esp, 0xc
push esi
call sub.WSOCK32.dll_closesocket
call fcn.0041ed31
jmp 0x483bac
push 3
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 1
mov esi, 0x1050
push esi
call fcn.004b66ca
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x483c3b
push 1
push esi
push str.OpenTelNetSession___FAILED:_Could_not_calloc__d___d__
call fcn.00418e96
add esp, 0xc
push dword [ebp - 0x114]
jmp 0x483bef
push esi
push 0
push ebx
call fcn.004b7880
mov ecx, dword [ebp - 0x114]
and dword [ebx + 0xaa8], 0
and dword [ebx + 0xd2c], 0
add esp, 0xc
push 0x50
pop eax
mov dword [ebx + 0x104], edi
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xd8], eax
mov edi, str..TelNet.c
lea eax, [ebx + 0xb20]
push edi
push eax
mov dword [ebx + 0xec], 0xfb
mov dword [ebx + 0xacc], ecx
mov dword [ebx + 0xdc], 0x19
mov word [ebx + 0x100], 7
call fcn.00420a71
test eax, eax
pop ecx
pop ecx
jne 0x483cb6
push str.:5:OpenTelNetSession_Sub___EAP:_InitializeLock_LockParams__FAILED.
call fcn.00418e96
pop ecx
mov esi, str.A_TelNet_handle_had_to_be_forced_to_unlock___
lea eax, [ebx + 0xb20]
call fcn.00420d70
mov eax, 0xfa0
lea ecx, [ebx + 0xb20]
call fcn.00420dad
lea eax, [ebx + 0xd44]
push edi
push eax
call fcn.00420a71
test eax, eax
pop ecx
pop ecx
jne 0x483cf4
push str.:5:OpenTelNetSession_Sub___EAP:_InitializeLock_LockParamsConsole__FAILED.
call fcn.00418e96
pop ecx
lea edi, [ebx + 0xd44]
mov esi, str.A_TelNet_handles_CONSOLE_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.00420d70
mov eax, 0xbb8
mov ecx, edi
call fcn.00420dad
push 0x50
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.00444279
add esp, 0xc
test eax, eax
jne 0x483d4d
lea eax, [ebp - 0x110]
push eax
push str.:4:OpenTelNetSession__:_ResolveHostNameToIP___s___FAILED.
call fcn.0041936e
lea eax, [ebp - 0x110]
push eax
push 0x50
pop ecx
mov eax, ebx
call fcn.0047ebe1
add esp, 0xc
mov eax, dword [ebp - 0x11c]
xor edi, edi
mov dword [ebx + 0x54], eax
mov esi, 0x61a80
mov dword [ebx + 0xa80], edi
mov dword [ebx + 0xa84], edi
lea eax, [esi + 1]
push eax
push 1
call fcn.004b66ca
cmp eax, edi
pop ecx
pop ecx
mov dword [ebx + 0xa80], eax
je 0x483d97
lea eax, [esi + 1]
push eax
push 4
call fcn.004b66ca
cmp eax, edi
pop ecx
pop ecx
mov dword [ebx + 0xa84], eax
jne 0x483df7
mov eax, dword [ebx + 0xa80]
shr esi, 1
cmp eax, edi
je 0x483db0
push eax
call fcn.004b651e
pop ecx
mov dword [ebx + 0xa80], edi
mov eax, dword [ebx + 0xa84]
cmp eax, edi
je 0x483dc7
push eax
call fcn.004b651e
pop ecx
mov dword [ebx + 0xa84], edi
cmp esi, 0x9c40
jb 0x483e7d
push esi
push 0x50
pop ecx
xor edx, edx
mov eax, esi
div ecx
push 0x19
pop ecx
xor edx, edx
div ecx
push eax
push str.OpenTelNetSession___could_not_create_a__ld_page_receive_buffer_of_size__ld_bytes:__OUT_OF_MEMORY__
call fcn.0041936e
add esp, 0xc
jmp 0x483d69
mov dword [ebx + 0xa88], esi
mov dword [ebx + 0xa8c], edi
mov dword [eax + esi*4 - 4], edi
mov eax, dword [0x646fc8]
cmp eax, edi
mov dword [ebx + 0xd0], edi
mov dword [ebx + 0xd4], edi
jne 0x483e26
call fcn.00471551
mov dword [0x646fc8], eax
push ebx
call fcn.0047163a
pop ecx
mov eax, ebx
call fcn.00485d37
test eax, eax
jne 0x483e6d
mov eax, ebx
call fcn.00483f18
mov eax, dword [0x646fc8]
call fcn.004717ac
push dword [0x646fc8]
call fcn.00471a0e
test eax, eax
pop ecx
jg 0x483e8f
mov edi, dword [0x646fc8]
call fcn.004715f4
and dword [0x646fc8], 0
jmp 0x483e8f
mov esi, ebx
call fcn.00483ed5
call fcn.00483686
mov eax, ebx
jmp 0x483e91
push str.OpenTelNetSession___FAILED:_Could_not_create_20_page_data_receive_buffer:__OUT_OF_MEMORY__
call fcn.00418e96
pop ecx
mov eax, ebx
call fcn.00483f18
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7140
leave
ret