Function at 0x4456a0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
lea edx, [ebp - 8]
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x154], 0x607c20
mov dword [ebp - 0x150], 0x60ee46
mov dword [ebp - 0x148], 0x4458f8
mov dword [ebp - 0x14c], edx
lea edx, [ebp - 0x16c]
mov dword [ebp - 0x144], esp
mov dword [esp], edx
call fcn.004cf190
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x10c], 1
mov edx, dword [ecx + 0x90]
mov eax, dword [ecx]
mov dword [ebp - 0x12c], edx
mov edx, dword [ecx + 0x94]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x128], edx
mov edx, dword [ebp + 8]
test edx, edx
je 0x445790
cmp dword [ebp + 8], 1
jne 0x445859
lea edx, [ebp - 0x12c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x10c]
mov dword [esp + 8], edx
add eax, 1
mov dword [esp], eax
mov dword [ebp - 0x168], 0xffffffff
call dword [sym.imp.WS2_32.dll_select]
sub esp, 0x14
cmp eax, 0xffffffff
je 0x4457b6
test eax, eax
lea eax, [ebp - 0x16c]
setne byte [ebp - 0x170]
mov dword [esp], eax
call fcn.004cf200
movzx eax, byte [ebp - 0x170]
leave
ret 4
lea edx, [ebp - 0x12c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x10c]
mov dword [esp + 4], edx
jmp 0x44574f
mov dword [esp], 0x20
call fcn.00606e10
lea edx, [ebp - 0x124]
mov dword [ebp - 0x178], eax
mov dword [esp], 0x63acfa
mov dword [ebp - 0x168], 3
mov dword [ebp - 0x170], edx
mov ecx, edx
call fcn.0060d710
push edx
mov dword [ebp - 0x168], 4
call dword [sym.imp.msvcrt.dll__errno]
mov edx, dword [ebp - 0x170]
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
mov ecx, dword [ebp - 0x178]
call fcn.0052a0d0
push eax
push eax
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x124]
cmp eax, edx
je 0x445831
mov dword [esp], eax
call fcn.00606c40
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
mov dword [ebp - 0x168], 0xffffffff
call fcn.00607a50
mov dword [esp], 0x20
call fcn.00606e10
lea edx, [ebp - 0x124]
mov dword [ebp - 0x174], eax
mov dword [esp], str.Socket::wait
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x170], edx
mov ecx, edx
call fcn.0060d710
push eax
mov edx, dword [ebp - 0x170]
mov dword [esp], 0x16
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x168], 2
call fcn.0052a0d0
push ecx
push ecx
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x124]
cmp eax, edx
je 0x4458d0
mov dword [esp], eax
call fcn.00606c40
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
mov dword [ebp - 0x168], 0xffffffff
call fcn.00607a50
add ebp, 8
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x44593a
sub eax, 1
je 0x445922
sub eax, 1
je 0x445978
sub eax, 1
je 0x445960
ud2
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x11c]
cmp eax, edx
je 0x44593a
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call fcn.00607340
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
mov dword [ebp - 0x168], 0xffffffff
call fcn.004cf4a0
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x11c]
cmp eax, edx
je 0x445978
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x178]
jmp 0x445940