Function at 0x3ed74b4
Capabilities:
Set tcp connection state

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x3ed74bd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.03cb7f34
mov eax, dword [ebp - 8]
call fcn.03cb7f34
lea edi, [ebp - 0x25]
xor eax, eax
push ebp
push 0x3ed76eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [0x3f3719c]
mov ebx, dword [eax]
test ebx, ebx
jl 0x3ed7642
inc ebx
xor esi, esi
lea eax, [esi + esi*2]
mov edx, dword [0x3f3719c]
push esi
push edi
lea esi, [edx + eax*8 + 4]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea edx, [ebp - 0x30]
mov eax, dword [edi + 4]
call fcn.03ed73b4
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.03cb8e78
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
call fcn.03cb9124
je 0x3ed7588
lea edx, [ebp - 0x40]
mov eax, dword [edi + 4]
call fcn.03ed73b4
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov ecx, 0
call fcn.03cb8628
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.03ed72bc
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.03cb8e58
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 4]
call fcn.03cb9124
jne 0x3ed763a
mov eax, dword [edi + 8]
call fcn.03ed74a0
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
cmp edx, dword [esp + 4]
jne 0x3ed75a1
cmp eax, dword [esp]
pop edx
pop eax
jne 0x3ed763a
lea edx, [ebp - 0x48]
mov eax, dword [edi + 0xc]
call fcn.03ed73b4
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
call fcn.03cb8e78
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 8]
call fcn.03cb9124
je 0x3ed760a
lea edx, [ebp - 0x58]
mov eax, dword [edi + 0xc]
call fcn.03ed73b4
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov ecx, 0
call fcn.03cb8628
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.03ed72bc
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
call fcn.03cb8e58
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 8]
call fcn.03cb9124
jne 0x3ed763a
mov eax, dword [edi + 0x10]
call fcn.03ed74a0
xor edx, edx
push edx
push eax
mov eax, dword [ebp + 8]
cdq
cmp edx, dword [esp + 4]
jne 0x3ed7623
cmp eax, dword [esp]
pop edx
pop eax
jne 0x3ed763a
mov dword [edi], 0xc
push edi
call dword [sym.imp.IPHLPAPI.DLL_SetTcpEntry]
mov byte [ebp - 0xd], 1
jmp 0x3ed7642
inc esi
dec ebx
jne 0x3ed750b
cmp dword [0x3f3719c], 0
je 0x3ed765c
mov eax, dword [0x3f3719c]
call fcn.03cb5068
xor eax, eax
mov dword [0x3f3719c], eax
cmp dword [0x3f371a0], 0
je 0x3ed7676
mov eax, dword [0x3f371a0]
call fcn.03cb5068
xor eax, eax
mov dword [0x3f371a0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed76f2
lea eax, [ebp - 0x58]
call fcn.03cb7e98
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.03cb7ee0
lea eax, [ebp - 0x4c]
call fcn.03cb7e50
lea eax, [ebp - 0x48]
call fcn.03cb7e98
lea eax, [ebp - 0x44]
call fcn.03cb7e50
lea eax, [ebp - 0x40]
call fcn.03cb7e98
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.03cb7ee0
lea eax, [ebp - 0x34]
call fcn.03cb7e50
lea eax, [ebp - 0x30]
call fcn.03cb7e98
lea eax, [ebp - 0x2c]
call fcn.03cb7e50
lea eax, [ebp - 8]
mov edx, 2
call fcn.03cb7eb0
ret