Function at 0x444390
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x4901c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x18]
mov al, dl
push esi
mov esi, ecx
mov byte [ebp - 0x116], al
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], ecx
push edi
cmp esi, 0xffffffff
jne 0x444429
mov ecx, dword [0x490a50]
mov eax, dword [0x490a54]
cmp ecx, 0x257edfd1
jne 0x4443e1
cmp eax, 0xb2ab117a
je 0x4443f0
cmp ecx, 0x257edfd0
jne 0x4443f4
cmp eax, 0xb2ab117a
jne 0x4443f4
mov al, 1
jmp 0x444408
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov dword [ebp - 0x138], 0x2719
mov dword [ebp - 0x134], 0x490a48
movq xmm0, qword [ebp - 0x138]
jmp 0x4446c0
and al, 0x10
cmp byte [ebp + 0x14], 0
mov byte [ebp - 0x115], al
je 0x44445c
test al, al
je 0x444462
xorps xmm0, xmm0
xor eax, eax
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046e4b9
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x115], al
push ebx
push ecx
push dword [ebp + 0xc]
mov edx, ecx
mov ecx, esi
call fcn.00444160
add esp, 0xc
cmp byte [ebp - 0x115], 0
je 0x444484
test eax, eax
je 0x4445f5
test eax, eax
jns 0x4446cf
test byte [ebp - 0x116], 1
jne 0x4446cd
mov edi, dword [0x490a50]
mov esi, dword [0x490a54]
cmp edi, 0x257edfd1
jne 0x4444b5
cmp esi, 0xb2ab117a
je 0x4444c5
cmp edi, 0x257edfd0
jne 0x4444c9
cmp esi, 0xb2ab117a
jne 0x4444c9
mov al, 1
jmp 0x4444e9
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x490a54]
mov edi, dword [0x490a50]
movzx eax, al
lea edx, [ebp - 0x144]
add eax, 2
mov dword [ebp - 0x138], 0x2733
mov dword [ebp - 0x134], 0x490a48
mov ecx, ebx
movq xmm0, qword [ebp - 0x138]
movq qword [ebp - 0x144], xmm0
mov dword [ebp - 0x13c], eax
call fcn.004411e0
test al, al
jne 0x4445a7
cmp edi, 0x257edfd1
jne 0x44453a
cmp esi, 0xb2ab117a
je 0x44454a
cmp edi, 0x257edfd0
jne 0x44454e
cmp esi, 0xb2ab117a
jne 0x44454e
mov al, 1
jmp 0x444562
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
lea edx, [ebp - 0x124]
add eax, 2
mov dword [ebp - 0x150], 0x4d5
mov dword [ebp - 0x14c], 0x490a48
mov ecx, ebx
movq xmm0, qword [ebp - 0x150]
movq qword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
call fcn.004411e0
test al, al
je 0x4446cd
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x114]
push 0
push 0
push 0
push eax
lea eax, [esi + 1]
mov dword [ebp - 0x110], esi
push eax
mov dword [ebp - 0x114], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x444660
mov ecx, dword [ebp - 0x12c]
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
jmp 0x444462
mov ecx, dword [0x490a00]
mov eax, dword [0x490a04]
cmp ecx, 0x257edfd1
jne 0x44460f
cmp eax, 0xb2ab117a
je 0x44461e
cmp ecx, 0x257edfd0
jne 0x444639
cmp eax, 0xb2ab117a
jne 0x444639
mov al, 1
mov dword [ebp - 0x124], 2
mov dword [ebp - 0x120], 0x4909f8
jmp 0x4446b8
mov eax, dword [0x4909f8]
mov ecx, 0x4909f8
push 2
mov eax, dword [eax + 0x18]
call eax
mov dword [ebp - 0x124], 2
mov dword [ebp - 0x120], 0x4909f8
jmp 0x4446b8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [0x490a50]
mov esi, eax
mov eax, dword [0x490a54]
cmp ecx, 0x257edfd1
jne 0x444682
cmp eax, 0xb2ab117a
je 0x444691
cmp ecx, 0x257edfd0
jne 0x444698
cmp eax, 0xb2ab117a
jne 0x444698
test esi, esi
setne al
jmp 0x4446a8
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push esi
mov eax, dword [eax + 0x18]
call eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], 0x490a48
movq xmm0, qword [ebp - 0x124]
movzx eax, al
add eax, 2
movq qword [ebx], xmm0
mov dword [ebx + 8], eax
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e4b9
mov esp, ebp
pop ebp
ret