Function at 0x465e70
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469e10
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x48948c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x184], ecx
call fcn.00457980
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
call fcn.00457980
cmp eax, dword [ebp - 0x14]
jb 0x465ec7
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x466253
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x13c], 0
jmp 0x465ef7
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp - 0x13c], ecx
mov ecx, dword [ebp - 0x184]
call fcn.00419ce0
cmp dword [ebp - 0x13c], eax
jae 0x465fe5
mov dword [ebp - 0x140], 0
jmp 0x465f29
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x12c]
jae 0x465f63
mov ecx, dword [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
call fcn.0041d3e0
mov edx, dword [ebp - 0x140]
cmp dword [ebp + edx*4 - 0x128], eax
jne 0x465f61
jmp 0x465f63
jmp 0x465f1a
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x12c]
jne 0x465faf
cmp dword [ebp - 0x12c], 0x40
jae 0x465faf
mov ecx, dword [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
call fcn.0041d3e0
mov edx, dword [ebp - 0x140]
mov dword [ebp + edx*4 - 0x128], eax
mov eax, dword [ebp - 0x12c]
add eax, 1
mov dword [ebp - 0x12c], eax
xor ecx, ecx
jne 0x465f0e
mov edx, dword [ebp - 0x13c]
push edx
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
call fcn.0041d3e0
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.0041d370
add esp, 8
mov dword [ebp - 0x24], eax
jmp 0x465ee8
call fcn.00457980
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x138]
xor edx, edx
mov ecx, 0x3e8
div ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x130], edx
lea edx, [ebp - 0x134]
push edx
push 0
push 0
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x46609d
push str.SocketGroup::listen:_could_not_perform_socket_select
lea ecx, [ebp - 0x180]
call fcn.0040d100
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x180]
push edx
push 0xb
lea ecx, [ebp - 0x164]
call fcn.004195d0
push 0x4823fc
lea eax, [ebp - 0x164]
push eax
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.0040df60
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x20]
jge 0x466244
mov ecx, dword [ebp - 0x184]
call fcn.00419ce0
cmp dword [ebp - 0x1c], eax
jae 0x466244
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
call fcn.0041d3e0
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x466236
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
call fcn.0041d3c0
cmp eax, 1
jne 0x46617c
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
call fcn.0041d3a0
test eax, eax
jne 0x46617c
mov ecx, dword [ebp - 0x184]
cmp dword [ecx + 0x18], 0
je 0x466177
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x184]
mov eax, dword [edx + 0x18]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx]
call eax
jmp 0x466236
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
call fcn.0041d3a0
test eax, eax
jne 0x4661f3
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
call fcn.00457c80
test eax, eax
jne 0x4661f3
mov eax, dword [ebp - 0x184]
cmp dword [eax + 0x20], 0
je 0x4661f1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x184]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x184]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x184]
mov ecx, dword [ecx + 0x20]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
jmp 0x466236
mov ecx, dword [ebp - 0x184]
cmp dword [ecx + 0x1c], 0
je 0x466236
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.0041d400
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x184]
mov eax, dword [edx + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x4660ab
cmp dword [ebp - 0x18], 0
je 0x46624e
mov byte [ebp - 0xe], 1
jmp 0x465eb1
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8