Function at 0x450bb0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x6a7d40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov al, dl
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x112], al
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], ecx
push esi
mov esi, dword [ebp + 0x18]
push edi
cmp ebx, 0xffffffff
jne 0x450c3c
mov ecx, dword [0x6a89a0]
mov eax, dword [0x6a89a4]
cmp ecx, 0x257edfd1
jne 0x450c01
cmp eax, 0xb2ab117a
je 0x450c10
cmp ecx, 0x257edfd0
jne 0x450c1d
cmp eax, 0xb2ab117a
jne 0x450c1d
mov al, 1
mov dword [esi], 0x2719
jmp 0x450e88
mov eax, dword [0x6a8998]
mov ecx, 0x6a8998
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x2719
jmp 0x450e88
and al, 0x10
cmp byte [ebp + 0x14], 0
mov byte [ebp - 0x111], al
je 0x450c6f
test al, al
je 0x450c75
xorps xmm0, xmm0
xor eax, eax
movq qword [esi], xmm0
mov dword [esi + 8], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df387
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x111], al
push esi
push ecx
push dword [ebp + 0xc]
mov edx, ecx
mov ecx, ebx
call fcn.004509a0
add esp, 0xc
cmp byte [ebp - 0x111], 0
je 0x450c97
test eax, eax
je 0x450de4
test eax, eax
jns 0x450e9a
test byte [ebp - 0x112], 1
jne 0x450e98
mov ebx, dword [0x6a89a0]
mov edi, dword [0x6a89a4]
cmp ebx, 0x257edfd1
jne 0x450cc8
cmp edi, 0xb2ab117a
je 0x450cd8
cmp ebx, 0x257edfd0
jne 0x450cdc
cmp edi, 0xb2ab117a
jne 0x450cdc
mov al, 1
jmp 0x450cfc
mov eax, dword [0x6a8998]
mov ecx, 0x6a8998
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov edi, dword [0x6a89a4]
mov ebx, dword [0x6a89a0]
movzx eax, al
lea edx, [ebp - 0x128]
add eax, 2
mov dword [ebp - 0x128], 0x2733
mov ecx, esi
mov dword [ebp - 0x124], 0x6a8998
mov dword [ebp - 0x120], eax
call fcn.0044da80
test al, al
jne 0x450d9a
cmp ebx, 0x257edfd1
jne 0x450d3d
cmp edi, 0xb2ab117a
je 0x450d4d
cmp ebx, 0x257edfd0
jne 0x450d51
cmp edi, 0xb2ab117a
jne 0x450d51
mov al, 1
jmp 0x450d65
mov eax, dword [0x6a8998]
mov ecx, 0x6a8998
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
lea edx, [ebp - 0x134]
add eax, 2
mov dword [ebp - 0x134], 0x4d5
mov ecx, esi
mov dword [ebp - 0x130], 0x6a8998
mov dword [ebp - 0x12c], eax
call fcn.0044da80
test al, al
je 0x450e98
mov ebx, dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push 0
push 0
push 0
push eax
lea eax, [ebx + 1]
mov dword [ebp - 0x10c], ebx
push eax
mov dword [ebp - 0x110], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x450e3e
mov ecx, dword [ebp - 0x11c]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
jmp 0x450c75
mov ecx, dword [0x6a8920]
mov eax, dword [0x6a8924]
cmp ecx, 0x257edfd1
jne 0x450dfe
cmp eax, 0xb2ab117a
je 0x450e0d
cmp ecx, 0x257edfd0
jne 0x450e1e
cmp eax, 0xb2ab117a
jne 0x450e1e
mov dword [esi], 2
mov al, 1
mov dword [esi + 4], 0x6a8918
jmp 0x450e8f
mov eax, dword [0x6a8918]
mov ecx, 0x6a8918
push 2
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 2
mov dword [esi + 4], 0x6a8918
jmp 0x450e8f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [0x6a89a0]
mov edi, eax
mov eax, dword [0x6a89a4]
cmp ecx, 0x257edfd1
jne 0x450e60
cmp eax, 0xb2ab117a
je 0x450e6f
cmp ecx, 0x257edfd0
jne 0x450e76
cmp eax, 0xb2ab117a
jne 0x450e76
test edi, edi
setne al
jmp 0x450e86
mov eax, dword [0x6a8998]
mov ecx, 0x6a8998
push edi
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], edi
mov dword [esi + 4], 0x6a8998
movzx eax, al
add eax, 2
mov dword [esi + 8], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005df387
mov esp, ebp
pop ebp
ret