Function at 0x44ed80
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
lea edi, [ebp - 0x414]
mov ecx, 0x105
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x94], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0
je 0x44ee21
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
cmp edx, dword [ecx + 4]
jne 0x44ee10
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x48]
push ecx
call fcn.00457da0
add esp, 4
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xa0], 0
jmp 0x44ee1f
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa0], ecx
jmp 0x44edc4
mov dword [ebp - 8], 0x9c11c
push 0xc
push 0
mov eax, 0xc
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x70]
push edx
call fcn.00428200
add esp, 0xc
mov eax, 0xc
imul ecx, eax, 0
mov dword [ebp + ecx - 0x6c], 2
push 0xc
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00428200
add esp, 0xc
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x34], eax
push 0xc
push 0
mov eax, 0xc
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x5c]
push edx
call fcn.00428200
add esp, 0xc
mov eax, 0xc
imul ecx, eax, 0
mov dword [ebp + ecx - 0x58], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0044b050
add esp, 8
mov edx, 0xc
imul ecx, edx, 0
mov dword [ebp + ecx - 0x54], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, 0xc
imul eax, edx, 0
mov ecx, dword [ecx + 8]
mov dword [ebp + eax - 0x5c], ecx
push 0xc
push 0
mov eax, 0xc
shl eax, 0
lea ecx, [ebp + eax - 0x5c]
push ecx
call fcn.00428200
add esp, 0xc
mov eax, 0xc
shl eax, 0
mov dword [ebp + eax - 0x58], 0
push 0xc
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00428200
add esp, 0xc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov esi, esp
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x18]
call edx
cmp esi, esp
call fcn.00457480
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x90312
je 0x44ef7e
cmp dword [ebp - 0x7c], 0x90320
jne 0x44f2f6
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp + ecx - 0x54]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xd0], 0
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
cmp dword [edx + ecx], 0
je 0x44f088
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0xdc], eax
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + ecx]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0044e2a0
add esp, 0xc
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xffffffff
jne 0x44f01b
call fcn.0044d0d0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp 0x44f03f
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0xe8], eax
mov eax, 0xc
imul ecx, eax, 0
mov esi, esp
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + ecx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x40]
call eax
cmp esi, esp
call fcn.00457480
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov dword [edx + ecx + 8], 0
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov dword [edx + ecx], 0
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0x204], 2
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x210], 0
jmp 0x44f0cb
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x1f4]
jae 0x44f0f2
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + eax*4 - 0x1f0]
cmp edx, dword [ecx + 4]
jne 0x44f0f0
jmp 0x44f0f2
jmp 0x44f0bc
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x1f4]
jne 0x44f12b
cmp dword [ebp - 0x1f4], 0x40
jae 0x44f12b
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp + eax*4 - 0x1f0], edx
mov eax, dword [ebp - 0x1f4]
add eax, 1
mov dword [ebp - 0x1f4], eax
xor eax, eax
jne 0x44f0b0
mov esi, esp
lea eax, [ebp - 0x204]
push eax
push 0
push 0
lea ecx, [ebp - 0x1f4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp esi, esp
call fcn.00457480
cmp dword [ebp - 0xd0], 0
jle 0x44f294
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0x3e8
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x338], 0
jmp 0x44f19d
mov eax, dword [ebp - 0x338]
add eax, 1
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x338]
cmp eax, dword [ebp - 0x31c]
jae 0x44f1c4
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + eax*4 - 0x318]
cmp edx, dword [ecx + 4]
jne 0x44f1c2
jmp 0x44f1c4
jmp 0x44f18e
mov eax, dword [ebp - 0x338]
cmp eax, dword [ebp - 0x31c]
jne 0x44f1fd
cmp dword [ebp - 0x31c], 0x40
jae 0x44f1fd
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp + eax*4 - 0x318], edx
mov eax, dword [ebp - 0x31c]
add eax, 1
mov dword [ebp - 0x31c], eax
xor eax, eax
jne 0x44f182
mov esi, esp
lea eax, [ebp - 0x32c]
push eax
push 0
push 0
lea ecx, [ebp - 0x31c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp esi, esp
call fcn.00457480
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 8]
sub edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.0044d200
add esp, 0xc
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jle 0x44f284
mov eax, dword [ebp - 0xc4]
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb8], eax
jmp 0x44f28f
call fcn.0044d0d0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp 0x44f157
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0xc4]
mov dword [ebp + ecx - 0x5c], edx
mov esi, esp
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x18]
call ecx
cmp esi, esp
call fcn.00457480
mov dword [ebp - 0x7c], eax
jmp 0x44ef68
cmp dword [ebp - 0x7c], 0
jne 0x44f3e4
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
cmp dword [edx + ecx], 0
je 0x44f3e4
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x344], eax
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x344]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0044e2a0
add esp, 0xc
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xffffffff
jne 0x44f377
call fcn.0044d0d0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp 0x44f39b
mov eax, dword [ebp - 0x344]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x350]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x350], eax
mov eax, 0xc
imul ecx, eax, 0
mov esi, esp
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + ecx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x40]
call eax
cmp esi, esp
call fcn.00457480
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov dword [edx + ecx + 8], 0
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov dword [edx + ecx], 0
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp + ecx - 0x54]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0044b290
add esp, 8
cmp dword [ebp - 0x7c], 0
je 0x44f415
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x64], ecx
xor eax, eax
jmp 0x44f4f1
mov eax, dword [ebp + 8]
add eax, 0x28
mov esi, esp
push eax
push 4
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x2c]
call ecx
cmp esi, esp
call fcn.00457480
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x30]
mov eax, dword [ebp + 8]
add ecx, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0044b050
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x30]
mov eax, dword [ebp + 8]
add ecx, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x58], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0044b050
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x54], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0044b050
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x50], 0
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x44f518]
call fcn.00457420
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x414
cmp ebp, esp
call fcn.00457480
mov esp, ebp
pop ebp
ret