Function at 0x434720
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push ebx
push esi
push edi
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x328], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x434779
cmp dword [ebp + 0xc], 0xffffffff
jne 0x434779
cmp dword [ebp + 0x10], 0xffffffff
jne 0x434779
mov eax, dword [ebp + 0x14]
push eax
call fcn.004346c0
add esp, 4
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x330]
jmp 0x434d3d
cmp dword [ebp + 0x14], 0
jle 0x434799
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x328], ecx
call fcn.004476c0
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], edx
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x31c], 0xffffffff
mov dword [ebp - 0x110], 0
cmp dword [ebp + 8], 0xffffffff
je 0x4348c6
xor edx, edx
test edx, edx
jne 0x4347c1
mov dword [ebp - 0x338], 0
jmp 0x4347e2
mov eax, dword [ebp - 0x338]
add eax, 1
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x338]
cmp ecx, dword [ebp - 0x110]
jae 0x434806
mov edx, dword [ebp - 0x338]
mov eax, dword [ebp + edx*4 - 0x10c]
cmp eax, dword [ebp + 8]
jne 0x434804
jmp 0x434806
jmp 0x4347d3
mov ecx, dword [ebp - 0x338]
cmp ecx, dword [ebp - 0x110]
jne 0x43483c
cmp dword [ebp - 0x110], 0x40
jae 0x43483c
mov edx, dword [ebp - 0x338]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x10c], eax
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
xor edx, edx
test edx, edx
jne 0x4347c7
mov dword [ebp - 0x33c], 0
jmp 0x43485d
mov eax, dword [ebp - 0x33c]
add eax, 1
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
cmp ecx, dword [ebp - 0x318]
jae 0x434881
mov edx, dword [ebp - 0x33c]
mov eax, dword [ebp + edx*4 - 0x314]
cmp eax, dword [ebp + 8]
jne 0x43487f
jmp 0x434881
jmp 0x43484e
mov ecx, dword [ebp - 0x33c]
cmp ecx, dword [ebp - 0x318]
jne 0x4348b7
cmp dword [ebp - 0x318], 0x40
jae 0x4348b7
mov edx, dword [ebp - 0x33c]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x314], eax
mov ecx, dword [ebp - 0x318]
add ecx, 1
mov dword [ebp - 0x318], ecx
xor edx, edx
test edx, edx
jne 0x434842
mov eax, dword [ebp + 8]
mov dword [ebp - 0x31c], eax
cmp dword [ebp + 0xc], 0xffffffff
je 0x4349e0
xor ecx, ecx
test ecx, ecx
jne 0x4348d0
mov dword [ebp - 0x340], 0
jmp 0x4348f1
mov edx, dword [ebp - 0x340]
add edx, 1
mov dword [ebp - 0x340], edx
mov eax, dword [ebp - 0x340]
cmp eax, dword [ebp - 0x110]
jae 0x434915
mov ecx, dword [ebp - 0x340]
mov edx, dword [ebp + ecx*4 - 0x10c]
cmp edx, dword [ebp + 0xc]
jne 0x434913
jmp 0x434915
jmp 0x4348e2
mov eax, dword [ebp - 0x340]
cmp eax, dword [ebp - 0x110]
jne 0x43494b
cmp dword [ebp - 0x110], 0x40
jae 0x43494b
mov ecx, dword [ebp - 0x340]
mov edx, dword [ebp + 0xc]
mov dword [ebp + ecx*4 - 0x10c], edx
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
xor ecx, ecx
test ecx, ecx
jne 0x4348d6
mov dword [ebp - 0x344], 0
jmp 0x43496c
mov edx, dword [ebp - 0x344]
add edx, 1
mov dword [ebp - 0x344], edx
mov eax, dword [ebp - 0x344]
cmp eax, dword [ebp - 0x318]
jae 0x434990
mov ecx, dword [ebp - 0x344]
mov edx, dword [ebp + ecx*4 - 0x314]
cmp edx, dword [ebp + 0xc]
jne 0x43498e
jmp 0x434990
jmp 0x43495d
mov eax, dword [ebp - 0x344]
cmp eax, dword [ebp - 0x318]
jne 0x4349c6
cmp dword [ebp - 0x318], 0x40
jae 0x4349c6
mov ecx, dword [ebp - 0x344]
mov edx, dword [ebp + 0xc]
mov dword [ebp + ecx*4 - 0x314], edx
mov eax, dword [ebp - 0x318]
add eax, 1
mov dword [ebp - 0x318], eax
xor ecx, ecx
test ecx, ecx
jne 0x434951
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x31c]
jbe 0x4349e0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x214], 0
cmp dword [ebp + 0x10], 0xffffffff
je 0x434b04
xor ecx, ecx
test ecx, ecx
jne 0x4349f4
mov dword [ebp - 0x348], 0
jmp 0x434a15
mov edx, dword [ebp - 0x348]
add edx, 1
mov dword [ebp - 0x348], edx
mov eax, dword [ebp - 0x348]
cmp eax, dword [ebp - 0x214]
jae 0x434a39
mov ecx, dword [ebp - 0x348]
mov edx, dword [ebp + ecx*4 - 0x210]
cmp edx, dword [ebp + 0x10]
jne 0x434a37
jmp 0x434a39
jmp 0x434a06
mov eax, dword [ebp - 0x348]
cmp eax, dword [ebp - 0x214]
jne 0x434a6f
cmp dword [ebp - 0x214], 0x40
jae 0x434a6f
mov ecx, dword [ebp - 0x348]
mov edx, dword [ebp + 0x10]
mov dword [ebp + ecx*4 - 0x210], edx
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
xor ecx, ecx
test ecx, ecx
jne 0x4349fa
mov dword [ebp - 0x34c], 0
jmp 0x434a90
mov edx, dword [ebp - 0x34c]
add edx, 1
mov dword [ebp - 0x34c], edx
mov eax, dword [ebp - 0x34c]
cmp eax, dword [ebp - 0x318]
jae 0x434ab4
mov ecx, dword [ebp - 0x34c]
mov edx, dword [ebp + ecx*4 - 0x314]
cmp edx, dword [ebp + 0x10]
jne 0x434ab2
jmp 0x434ab4
jmp 0x434a81
mov eax, dword [ebp - 0x34c]
cmp eax, dword [ebp - 0x318]
jne 0x434aea
cmp dword [ebp - 0x318], 0x40
jae 0x434aea
mov ecx, dword [ebp - 0x34c]
mov edx, dword [ebp + 0x10]
mov dword [ebp + ecx*4 - 0x314], edx
mov eax, dword [ebp - 0x318]
add eax, 1
mov dword [ebp - 0x318], eax
xor ecx, ecx
test ecx, ecx
jne 0x434a75
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x31c]
jbe 0x434b04
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x31c], eax
xor ecx, ecx
cmp dword [ebp + 0x14], 0
setl cl
dec ecx
lea edx, [ebp - 8]
and ecx, edx
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x14], 0
jle 0x434b46
mov eax, dword [ebp - 0x328]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x328]
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 4], edx
jmp 0x434b5a
cmp dword [ebp + 0x14], 0
jne 0x434b5a
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x214]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x214]
and ecx, edx
push ecx
mov eax, dword [ebp - 0x110]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x110]
and eax, ecx
push eax
mov edx, dword [ebp - 0x31c]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0x330], 0xffffffff
je 0x434bac
jmp 0x434c28
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x434bd8
cmp dword [0x4abd38], 0
jne 0x434bd6
cmp dword [ebp - 0x32c], 0x2714
je 0x434bd8
jmp 0x434c28
cmp dword [ebp + 0x14], 0
jle 0x434c1b
mov eax, dword [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x324]
push ecx
call fcn.004476c0
push edx
push eax
call fcn.00447710
add esp, 0x10
mov edx, dword [ebp + 0x14]
sub edx, eax
mov dword [ebp - 0x328], edx
cmp dword [ebp - 0x328], 0
jg 0x434c1b
mov dword [ebp - 0x330], 0
jmp 0x434c28
cmp dword [ebp - 0x330], 0xffffffff
je 0x434b16
cmp dword [ebp - 0x330], 0
jge 0x434c39
or eax, 0xffffffff
jmp 0x434d3d
cmp dword [ebp - 0x330], 0
jne 0x434c49
xor eax, eax
jmp 0x434d3d
mov dword [ebp - 0x334], 0
cmp dword [ebp + 8], 0xffffffff
je 0x434c9f
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x434c7c
mov edx, dword [ebp - 0x334]
or edx, 1
mov dword [ebp - 0x334], edx
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x434c9f
mov edx, dword [ebp - 0x334]
or edx, 4
mov dword [ebp - 0x334], edx
cmp dword [ebp + 0xc], 0xffffffff
je 0x434ceb
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x434cc8
mov edx, dword [ebp - 0x334]
or edx, 8
mov dword [ebp - 0x334], edx
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x434ceb
mov edx, dword [ebp - 0x334]
or edx, 4
mov dword [ebp - 0x334], edx
cmp dword [ebp + 0x10], 0xffffffff
je 0x434d37
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x434d14
mov edx, dword [ebp - 0x334]
or edx, 2
mov dword [ebp - 0x334], edx
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x434d37
mov edx, dword [ebp - 0x334]
or edx, 4
mov dword [ebp - 0x334], edx
mov eax, dword [ebp - 0x334]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret