Function at 0x48b280
Capabilities:
Get socket status

Disassembly:
sub esp, 0x13c
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x148]
push ebx
mov ebx, dword [esp + 0x15c]
push ebp
mov ebp, dword [esp + 0x148]
mov dword [esp + 8], eax
cmp ebp, 0xffffffff
jne 0x48b331
mov ecx, dword [0x7f5030]
mov eax, dword [0x7f5034]
cmp ecx, 0x257edfd1
jne 0x48b2ce
cmp eax, 0xb2ab117a
je 0x48b2dd
cmp ecx, 0x257edfd0
jne 0x48b2e1
cmp eax, 0xb2ab117a
jne 0x48b2e1
mov al, 1
jmp 0x48b2f5
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esp + 0xc], 0x2719
add eax, 2
mov dword [esp + 0x10], 0x7f5028
movq xmm0, qword [esp + 0xc]
movq qword [ebx], xmm0
mov dword [ebx + 8], eax
xor eax, eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.006def69
add esp, 0x13c
ret
cmp byte [esp + 0x15c], 0
je 0x48b36c
test byte [esp + 0x14c], 0x10
je 0x48b36c
xorps xmm0, xmm0
xor eax, eax
movq qword [ebx], xmm0
pop ebp
mov dword [ebx + 8], 0
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.006def69
add esp, 0x13c
ret
push esi
push edi
push ebx
push dword [esp + 0x164]
push dword [esp + 0x164]
push eax
push ebp
call fcn.00480480
add esp, 0x14
test eax, eax
jns 0x48b51a
test byte [esp + 0x154], 1
jne 0x48b518
nop dword [eax]
mov edi, dword [0x7f5030]
mov esi, dword [0x7f5034]
cmp edi, 0x257edfd1
jne 0x48b3bc
cmp esi, 0xb2ab117a
je 0x48b3cc
cmp edi, 0x257edfd0
jne 0x48b3d0
cmp esi, 0xb2ab117a
jne 0x48b3d0
mov al, 1
jmp 0x48b3f0
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x7f5034]
mov edi, dword [0x7f5030]
movzx eax, al
add eax, 2
mov dword [esp + 0x14], 0x2733
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x1c], 0x7f5028
movq xmm0, qword [esp + 0x18]
push ebx
movq qword [esp + 0x34], xmm0
call fcn.0046a970
add esp, 8
test al, al
jne 0x48b49c
cmp edi, 0x257edfd1
jne 0x48b438
cmp esi, 0xb2ab117a
je 0x48b448
cmp edi, 0x257edfd0
jne 0x48b44c
cmp esi, 0xb2ab117a
jne 0x48b44c
mov al, 1
jmp 0x48b460
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x38], 0x4d5
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x40], 0x7f5028
movq xmm0, qword [esp + 0x3c]
push ebx
movq qword [esp + 0x28], xmm0
call fcn.0046a970
add esp, 8
test al, al
je 0x48b518
push 0
push 0
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], ebp
push eax
push 0
lea eax, [ebp + 1]
mov dword [esp + 0x54], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x48b4f5
push ebx
push dword [esp + 0x164]
xorps xmm0, xmm0
push dword [esp + 0x164]
movq qword [ebx], xmm0
push dword [esp + 0x1c]
mov dword [ebx + 8], 0
push ebp
call fcn.00480480
add esp, 0x14
test eax, eax
js 0x48b3a0
jmp 0x48b51a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f5028
push eax
lea ecx, [esp + 0x28]
call fcn.0044c740
movq xmm0, qword [eax]
movq qword [ebx], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
xor eax, eax
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x13c
ret