Function at 0x425ce0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x334
mov eax, dword [0x4bb0c4]
xor eax, esp
mov dword [esp + 0x330], eax
mov edx, dword [esp + 0x338]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
push ebp
mov ebp, dword [esp + 0x344]
mov dword [esp + 8], ebp
test edx, edx
je 0x425d3b
mov ecx, dword [esp + 0x340]
xor eax, eax
test ecx, ecx
je 0x425d3b
nop dword [eax]
cmp dword [edx + eax*8], 0xffffffff
jne 0x425d6d
inc eax
cmp eax, ecx
jb 0x425d30
test ebp, ebp
je 0x4260cf
jns 0x4260c8
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.00453227
add esp, 0x334
ret
test ebp, ebp
jle 0x425d7e
call fcn.0041c880
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
xor eax, eax
mov ecx, ebp
push ebx
test ebp, ebp
mov dword [esp + 0x10], eax
push esi
cmovle ecx, eax
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0x1c], ecx
xor esi, esi
mov dword [esp + 0x34], edi
or edx, 0xffffffff
mov dword [esp + 0x138], ebx
mov dword [esp + 0x23c], esi
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x20]
xor ebp, ebp
mov word [ecx + eax*8 + 6], bp
mov ecx, dword [ecx + eax*8]
mov ebp, dword [esp + 0x34c]
cmp ecx, 0xffffffff
je 0x425eb3
mov edx, dword [esp + 0x20]
movzx edx, word [edx + eax*8 + 4]
test edx, 0x710
je 0x425eaf
cmp ecx, dword [esp + 0x10]
mov eax, ecx
cmovbe eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test edx, 0x300
je 0x425e22
xor eax, eax
test edi, edi
je 0x425e0c
cmp dword [esp + eax*4 + 0x38], ecx
je 0x425e0c
inc eax
cmp eax, edi
jb 0x425e01
cmp eax, edi
jne 0x425e22
cmp edi, 0x40
jae 0x425e22
mov dword [esp + eax*4 + 0x38], ecx
mov edi, dword [esp + 0x34]
inc edi
mov dword [esp + 0x34], edi
test dl, 0x10
je 0x425e5d
xor eax, eax
test ebx, ebx
je 0x425e3e
nop dword [eax]
cmp dword [esp + eax*4 + 0x13c], ecx
je 0x425e3e
inc eax
cmp eax, ebx
jb 0x425e30
cmp eax, ebx
jne 0x425e5d
cmp ebx, 0x40
jae 0x425e5d
mov dword [esp + eax*4 + 0x13c], ecx
mov ebx, dword [esp + 0x138]
inc ebx
mov dword [esp + 0x138], ebx
test edx, 0x600
je 0x425eab
xor eax, eax
test esi, esi
je 0x425e7e
nop dword [eax + eax]
cmp dword [esp + eax*4 + 0x240], ecx
je 0x425e7e
inc eax
cmp eax, esi
jb 0x425e70
cmp eax, esi
jne 0x425e9d
cmp esi, 0x40
jae 0x425e9d
mov dword [esp + eax*4 + 0x240], ecx
mov esi, dword [esp + 0x23c]
inc esi
mov dword [esp + 0x23c], esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
jmp 0x425eb3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], eax
cmp eax, ebp
jb 0x425db1
mov ebp, dword [esp + 0x14]
test edi, edi
jne 0x425f08
test ebx, ebx
jne 0x425f08
test esi, esi
jne 0x425f08
test ebp, ebp
je 0x425f04
jns 0x425efd
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.00453227
add esp, 0x334
ret
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x425ee4
xor ecx, ecx
lea eax, [esp + 0x2c]
test ebp, ebp
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmovs eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
test eax, eax
jle 0x425f56
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [esp + 0x30], eax
jmp 0x425f68
jne 0x425f68
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
push dword [esp + 0x18]
xor ecx, ecx
lea eax, [esp + 0x240]
test esi, esi
cmove eax, ecx
test ebx, ebx
push eax
lea eax, [esp + 0x140]
cmove eax, ecx
test edi, edi
push eax
lea eax, [esp + 0x40]
cmove eax, ecx
push eax
lea eax, [edx + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x42602e
call ebp
test eax, eax
je 0x425fc3
cmp dword [0x4bd748], 0
jne 0x425ee1
cmp eax, 0x2714
jne 0x425ee1
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x425fe6
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x138]
mov esi, dword [esp + 0x23c]
mov edx, dword [esp + 0x10]
jmp 0x425f21
push dword [esp + 0x24]
push dword [esp + 0x2c]
call fcn.0041c880
push edx
push eax
call fcn.0041c7e0
mov ecx, dword [esp + 0x24]
add esp, 0x10
sub ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x425f04
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x138]
mov esi, dword [esp + 0x23c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x425f25
test eax, eax
js 0x425ee1
je 0x425f04
mov esi, dword [esp + 0x20]
xor edi, edi
add esi, 6
mov ebx, 0x300
nop word [eax + eax]
xor eax, eax
mov word [esi], ax
mov eax, dword [esi - 6]
cmp eax, 0xffffffff
je 0x4260b4
lea ecx, [esp + 0x34]
push ecx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x42606f
or word [esi], bx
lea eax, [esp + 0x138]
push eax
push dword [esi - 6]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x426087
or word [esi], 0x10
lea eax, [esp + 0x23c]
push eax
push dword [esi - 6]
call sub.WS2_32.dll___WSAFDIsSet
movzx ecx, word [esi]
test eax, eax
je 0x4260ac
or ecx, 0x400
mov word [esi], cx
movzx eax, cx
jmp 0x4260ae
mov eax, ecx
test ax, ax
je 0x4260b4
inc edi
add esi, 8
sub dword [esp + 0x34c], 1
jne 0x426050
mov eax, edi
jmp 0x425ee4
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x334]
xor eax, eax
pop ebp
xor ecx, esp
call fcn.00453227
add esp, 0x334
ret