Function at 0x4abbd0
Capabilities:
Get socket status

Disassembly:
push 0xffffffffffffffff
push 0x579cd4
mov eax, dword fs:[0]
push eax
sub esp, 0x874
push ebx
push ebp
push esi
push edi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x888]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x8a4]
mov ecx, edi
call fcn.004725a0
cmp byte [esp + 0x89c], 0
je 0x4abc28
mov dword [esp + 0x898], 1
jmp 0x4abc3d
cmp dword [esp + 0x898], 0
jne 0x4abc3d
mov dword [esp + 0x898], 0x1499700
mov eax, dword [edi + 4]
test eax, eax
je 0x4abc65
cmp dword [eax + 0x88], 0
jne 0x4abc65
mov ecx, edi
call fcn.004725d0
test al, al
je 0x4abc65
mov eax, dword [edi + 4]
mov dword [eax + 0x88], 0x42
cmp dword [esi + 0x294], 0xffffffff
jne 0x4abc8a
mov ecx, dword [esp + 0x8a8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.invalid_socket__not_ready_for_writing.
call eax
mov byte [edi + 0x16], 1
jmp 0x4ac285
mov eax, dword [edi + 4]
mov ecx, 0x32
mov dword [esp + 0x24], ecx
test eax, eax
je 0x4abcac
mov eax, dword [eax + 0x88]
mov dword [esp + 0x24], eax
cmp eax, ecx
jae 0x4abcac
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x898], 0
mov esi, dword [esp + 0x8a8]
mov dword [esp + 0x20], 0
jbe 0x4abf4f
lea esp, [esp]
xor ebx, ebx
xor edx, edx
xor eax, eax
cmp byte [esp + 0x89c], bl
jne 0x4abd2d
mov ecx, dword [esp + 0x898]
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, dword [esp + 0x20]
mov ebx, edx
cmp ecx, eax
jbe 0x4abcf8
mov ebx, eax
test edx, edx
je 0x4abd02
cmp ebx, edx
jbe 0x4abd02
mov ebx, edx
cmp ebx, ecx
jbe 0x4abd11
mov ebx, ecx
test ecx, ecx
jne 0x4abd11
mov ebx, 1
mov eax, 0x10624dd3
mul ebx
shr edx, 6
mov ecx, edx
imul ecx, ecx, 0x3e8
mov eax, ebx
sub eax, ecx
imul eax, eax, 0x3e8
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.00439510
mov edi, 0x3004bc8d
mov dword [esp + 0x34], vtable.ckFdSet.0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x884], edi
xor ebp, ebp
push 0x40
lea edx, [esp + 0x848]
push ebp
push edx
mov dword [esp + 0x89c], ebp
mov dword [esp + 0x4c], ebp
call fcn.00554cc0
add esp, 0xc
cmp dword [esp + 0x3c], edi
je 0x4abd85
push ebp
call fcn.0049ce60
add esp, 4
cmp dword [esp + 0x884], edi
je 0x4abd97
push ebp
call fcn.0049ce60
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x294]
cmp edx, ebp
jl 0x4ac0fd
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp ecx, ebp
jbe 0x4abdbe
cmp dword [esp + eax*4 + 0x44], edx
je 0x4abdbe
inc eax
cmp eax, ecx
jb 0x4abdb3
cmp eax, ecx
jne 0x4abdd2
cmp ecx, 0x200
jae 0x4abdd2
mov dword [esp + eax*4 + 0x44], edx
inc dword [esp + 0x40]
lea ecx, [esp + 0x18]
call fcn.00439600
cmp byte [esp + 0x8a0], 0
mov byte [esp + 0x890], 1
je 0x4abe9c
push 0x854
call fcn.0055562d
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
mov byte [esp + 0x890], 2
test edi, edi
je 0x4abe2d
mov ecx, edi
call fcn.00439510
mov eax, 0x3004bc8d
mov dword [edi], vtable.ckFdSet.0
mov dword [edi + 8], eax
mov dword [edi + 0x850], eax
jmp 0x4abe2f
xor edi, edi
push 0x40
lea ecx, [edi + 0x810]
push 0
lea ebp, [edi + 0xc]
push ecx
mov byte [esp + 0x89c], 1
mov dword [ebp], 0
call fcn.00554cc0
add esp, 0xc
cmp dword [edi + 8], 0x3004bc8d
je 0x4abe67
push 0
call fcn.0049ce60
add esp, 4
cmp dword [edi + 0x850], 0x3004bc8d
je 0x4abe7d
push 0
call fcn.0049ce60
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x294]
push esi
push eax
mov ecx, edi
mov dword [esp + 0x24], edi
call fcn.004aaa40
test al, al
je 0x4ac0ec
lea ecx, [esp + 0x28]
push ecx
push ebp
lea edx, [esp + 0x48]
push edx
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ac170
test edi, edi
jl 0x4ac170
jg 0x4abf84
cmp byte [esp + 0x89c], 0
jne 0x4ac118
mov edi, dword [esp + 0x20]
add edi, ebx
mov ebx, dword [esp + 0x898]
mov dword [esp + 0x20], edi
test ebx, ebx
je 0x4abef5
cmp edi, ebx
jae 0x4ac128
mov ebp, dword [esp + 0x8a4]
push esi
mov ecx, ebp
call fcn.004725e0
test al, al
jne 0x4ac159
lea ecx, [esp + 0x18]
mov byte [esp + 0x890], al
call fcn.00439610
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x890], 0xffffffff
mov dword [esp + 0x34], vtable.ckFdSet.0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x884], eax
call fcn.00439400
cmp edi, ebx
jb 0x4abcd0
mov edi, ebp
cmp byte [esp + 0x8a0], 0
je 0x4ac225
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.timeout_waiting_for_connect_to_complete_
mov ecx, esi
call edx
mov eax, dword [esp + 0x898]
push eax
push str.timeoutMs
mov ecx, esi
call fcn.004373b0
jmp 0x4ac281
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x294]
lea eax, [esp + 0x40]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x4ac0ec
test ebp, ebp
je 0x4ac072
mov edx, dword [ebx + 0x294]
push ebp
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4ac072
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Connection_attempt_failed.
mov ecx, esi
call edx
mov edi, dword [esp + 0x898]
push edi
push str.maxWaitTimeMs
mov ecx, esi
call fcn.004373b0
mov ebx, dword [esp + 0x20]
cmp edi, ebx
jbe 0x4ac03b
lea eax, [ebx - 0x4e20]
cmp eax, 0x7d0
ja 0x4ac03b
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.The_Windows_TCP_IP_stack_has_a_system_wide_retry_delay_and_retry_count_for_the_initial_connection.
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.The_default_settings_result_in_an_overall_21_second_timeout.
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.If_you_see_this_error_message_21_seconds_after_the_connection_attempt_is_initiated__it_usually_means_one_of_two_things:
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str._1__The_server_is_not_there__not_listening_for_connection_attempts_on_the_specified_IP_address_and_port_.
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str._2__A_firewall_is_blocking_your_connection_attempt_from_reaching_the_server.
mov ecx, esi
call eax
push ebx
push str.totalMsWaitedSoFar
mov ecx, esi
call fcn.004373b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x890], 0
call fcn.00439610
lea ecx, [esp + 0x34]
mov dword [esp + 0x890], 0xffffffff
call fcn.004aa9d0
jmp 0x4ac285
push 0
push str.nfds
mov ecx, esi
call fcn.004373b0
push edi
push str.nStatus
mov ecx, esi
call fcn.004373b0
mov ecx, dword [ebx + 0x294]
push ecx
push str.socketNum
mov ecx, esi
call fcn.004373b0
mov edx, dword [esp + 0x898]
push edx
push str.timeoutMs
mov ecx, esi
call fcn.004373b0
movzx eax, byte [esp + 0x89c]
push eax
push str.bPoll
mov ecx, esi
call fcn.004373b0
movzx ecx, byte [esp + 0x8a0]
push ecx
push str.bForConnect
mov ecx, esi
call fcn.004373b0
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Socket_select_for_writeability_returned_unexpected_result_
mov ecx, esi
call eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x890], 0
call fcn.00439610
lea ecx, [esp + 0x34]
mov dword [esp + 0x890], 0xffffffff
call fcn.004aa9d0
mov al, 1
jmp 0x4ac287
mov ecx, dword [esp + 0x8a4]
mov byte [ecx + 0x14], 1
jmp 0x4ac048
lea ecx, [esp + 0x18]
mov byte [esp + 0x890], 0
call fcn.00439610
lea ecx, [esp + 0x34]
mov dword [esp + 0x890], 0xffffffff
call fcn.004aa9d0
mov edi, dword [esp + 0x8a4]
jmp 0x4abf4f
mov byte [ebp + 0x15], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.socket_write_aborted_by_application..
mov ecx, esi
call eax
jmp 0x4ac048
mov ecx, esi
call fcn.00437570
xor edi, edi
push edi
push str.nfds
mov ecx, esi
call fcn.004373b0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x294]
push edx
push str.socketNum
mov ecx, esi
call fcn.004373b0
mov eax, dword [esp + 0x898]
push eax
push str.timeoutMs
mov ecx, esi
call fcn.004373b0
movzx ecx, byte [esp + 0x89c]
push ecx
push str.bPoll
mov ecx, esi
call fcn.004373b0
movzx edx, byte [esp + 0x8a0]
push edx
push str.bForConnect
mov ecx, esi
call fcn.004373b0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Socket_select_for_writeable_returned_an_error_
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x890], 0
call fcn.00439610
lea ecx, [esp + 0x34]
mov dword [esp + 0x890], 0xffffffff
mov dword [esp + 0x34], vtable.ckFdSet.0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x884], edi
call fcn.00439400
mov al, 1
jmp 0x4ac287
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x294]
push edx
push str.socketNum
mov ecx, esi
call fcn.004373b0
mov eax, dword [esp + 0x898]
push eax
push str.timeoutMs
mov ecx, esi
call fcn.004373b0
movzx ecx, byte [esp + 0x89c]
push ecx
push str.bPoll
mov ecx, esi
call fcn.004373b0
push 0
push str.bForConnect
mov ecx, esi
call fcn.004373b0
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.socket_is_not_ready_for_writing_
mov ecx, esi
call eax
mov byte [edi + 0x14], 1
xor al, al
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x880
ret 0x14