Function at 0x416520
Capabilities:
Create raw socket
Create tcp socket
Create udp socket

Disassembly:
mov eax, 0x5024
call fcn.0043ae00
mov eax, dword [esp + 0x5028]
push ebx
push ebp
push esi
lea eax, [eax + eax*2]
mov ebp, ecx
push edi
mov edi, str.200_CCProxy_NNTP_Service_r_n
lea ebx, [eax + eax*4]
mov eax, dword [0x51a850]
or ecx, 0xffffffff
lea esi, [esp + 0x20]
lea ebx, [ebx + ebx*4]
mov dword [esp + 0x18], esi
shl ebx, 2
mov edx, dword [ebx + eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1020], 0
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.00411190
test eax, eax
jne 0x4165b5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5024
ret 4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], 0x1000
call fcn.004123e0
test eax, eax
jne 0x4165e9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5024
ret 4
mov edi, str.200_CCProxy_NNTP_Service_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + edx + 0x1e], 0
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x14]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, ebp
call fcn.00411190
test eax, eax
jne 0x41664e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5024
ret 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x1c], 0x1000
call fcn.004123e0
test eax, eax
jne 0x41667e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5024
ret 4
mov ecx, dword [esp + 0x10]
push 0xe
lea edx, [esp + 0x24]
push str.AUTHINFO_USER
push edx
mov byte [esp + ecx + 0x2a], 0
call fcn.00445b80
add esp, 0xc
test eax, eax
je 0x4166b1
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x5024
ret 4
lea edi, [esp + 0x2e]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x302c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x302c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x51a840]
push ecx
push edx
call fcn.0043beb0
add esp, 8
test eax, eax
jne 0x416706
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x5024
ret 4
mov byte [eax], 0
inc eax
mov dword [esp + 0x18], eax
mov edi, str.381_wait_for_pass_r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x14]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, ebp
call fcn.00411190
test eax, eax
jne 0x41676a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5024
ret 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x1c], 0x1000
call fcn.004123e0
test eax, eax
jne 0x41679a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5024
ret 4
mov ecx, dword [esp + 0x10]
push 0xe
lea edx, [esp + 0x24]
push str.AUTHINFO_PASS
push edx
mov byte [esp + ecx + 0x2a], 0
call fcn.00445b80
add esp, 0xc
test eax, eax
je 0x4167cd
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x5024
ret 4
lea edi, [esp + 0x2e]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4030]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
push 1
push 2
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [0x51a850]
mov esi, eax
xor eax, eax
lea edi, [esp + 0x1025]
mov dword [ebx + ecx + 4], esi
mov dl, byte [0x473aa0]
mov ecx, 0x400
mov byte [esp + 0x1024], dl
rep stosd dword es:[edi], eax
mov eax, dword [0x51a850]
mov dword [esp + 0x1c], esi
mov ecx, dword [ebx + eax + 0xc]
mov ebx, dword [ebx + eax + 0x20]
cmp ebx, 0xffffffff
je 0x416876
mov edx, dword [0x4f4398]
mov eax, ebx
shl eax, 5
add eax, ebx
lea eax, [edx + eax*4]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x102c]
push str._s__s_NEWS
push ecx
call fcn.0043afc4
add esp, 0x10
jmp 0x416893
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x1028]
push str._s_unknown_NEWS
push edx
call fcn.0043afc4
add esp, 0xc
mov eax, dword [0x501cf0]
test eax, eax
je 0x416909
mov al, byte [0x473aa0]
mov ecx, 0x400
mov byte [esp + 0x2028], al
xor eax, eax
lea edi, [esp + 0x2029]
lea edx, [esp + 0x2028]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push ecx
push str.OPEN__s
push edx
call fcn.0043afc4
lea edi, [esp + 0x2034]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1024]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1024]
push eax
call fcn.0040a330
mov ecx, dword [esp + 0x1c]
add esp, 4
push 4
push 0x77
push ecx
push esi
mov ecx, ebp
call fcn.00419740
test eax, eax
jne 0x416940
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x5024
ret 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
mov ebx, 0x1000
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.004123e0
test eax, eax
jne 0x416971
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x5024
ret 4
lea ecx, [esp + 0x20]
push str.MODE_READER_r_n
push ecx
call fcn.0043afc4
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x20]
push ecx
push edx
push esi
mov ecx, ebp
call fcn.00411190
test eax, eax
jne 0x4169b5
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x5024
ret 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push esi
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.004123e0
test eax, eax
jne 0x4169e1
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x5024
ret 4
mov al, byte [esp + 0x302c]
test al, al
je 0x416ab4
lea edx, [esp + 0x302c]
lea eax, [esp + 0x20]
push edx
push str.AUTHINFO_USER__s_r_n
push eax
call fcn.0043afc4
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, ebp
call fcn.00411190
test eax, eax
jne 0x416a3c
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x5024
ret 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.004123e0
test eax, eax
jne 0x416a68
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x5024
ret 4
lea ecx, [esp + 0x4030]
lea edx, [esp + 0x20]
push ecx
push str.AUTHINFO_PASS__s_r_n
push edx
call fcn.0043afc4
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x20]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.00411190
test eax, eax
jne 0x416afc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x5024
ret 4
lea ecx, [esp + 0x20]
push str.250_OK__r_n
push ecx
call fcn.0043afc4
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
not ecx
dec ecx
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00411190
test eax, eax
jne 0x416afc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x5024
ret 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5038]
push 0
push ecx
push esi
push edx
mov ecx, ebp
call fcn.00417ca0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5024
ret 4