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

Disassembly:
mov eax, 0x5024
call fcn.00458680
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [esp + 0x5030]
push esi
push edi
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x422159
mov ecx, dword [eax + 0xc70]
test ecx, ecx
je 0x422159
mov ecx, dword [eax + 0xc94]
test ecx, ecx
je 0x422159
call fcn.00419470
test al, al
jne 0x422159
mov eax, dword [ebx + 0x24]
mov ecx, ebp
push eax
call fcn.00423f00
mov edi, str.200_CCProxy_NNTP_Service_r_n
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
mov byte [esp + 0x1020], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov edx, dword [ebx + 4]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], edx
push ecx
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.0041c6a0
test eax, eax
jne 0x4221c6
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 ebx
push ecx
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.0041ced0
test eax, eax
jne 0x4221fb
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.0041c6a0
test eax, eax
jne 0x422260
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 ebx
push esi
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.0041ced0
test eax, eax
jne 0x422291
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.0045a6b0
add esp, 0xc
test eax, eax
je 0x4222c4
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
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x302c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + 0x240bc]
push edx
push eax
call fcn.00458e20
add esp, 8
test eax, eax
jne 0x42231c
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.0041c6a0
test eax, eax
jne 0x422380
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 ebx
push esi
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.0041ced0
test eax, eax
jne 0x4223b1
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.0045a6b0
add esp, 0xc
test eax, eax
je 0x4223e4
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 [ebp + 4]
mov esi, eax
push esi
push ebx
add ecx, 0x36510
mov dword [esp + 0x24], esi
call fcn.00442ed0
mov cl, byte [0x494b70]
mov edx, dword [ebx + 0x10]
mov byte [esp + 0x1024], cl
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x1025]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
je 0x422497
mov ecx, dword [ebp + 4]
mov edi, dword [ecx + 0x364d8]
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
lea ecx, [edi + eax*4]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x102c]
push str._s__s_NEWS
push edx
call fcn.004585a3
add esp, 0x10
jmp 0x4224b4
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [esp + 0x1028]
push str._s_unknown_NEWS
push eax
call fcn.004585a3
add esp, 0xc
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0xa558]
test eax, eax
je 0x42252f
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2029]
mov byte [esp + 0x2028], dl
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2028]
push eax
push str.OPEN__s
push ecx
call fcn.004585a3
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 edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1024]
push eax
call fcn.00430d10
mov ecx, dword [esp + 0x1c]
add esp, 4
push 4
push 0x77
push ecx
push ebx
push esi
mov ecx, ebp
call fcn.00426140
test eax, eax
jne 0x422567
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
push eax
push ebx
push esi
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.0041ced0
test eax, eax
jne 0x422598
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.004585a3
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.0041c6a0
test eax, eax
jne 0x4225dc
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 ebx
push esi
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.0041ced0
test eax, eax
jne 0x42260d
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 0x4226e5
lea edx, [esp + 0x302c]
lea eax, [esp + 0x20]
push edx
push str.AUTHINFO_USER__s_r_n
push eax
call fcn.004585a3
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.0041c6a0
test eax, eax
jne 0x422668
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 ebx
push esi
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.0041ced0
test eax, eax
jne 0x422699
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.004585a3
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.0041c6a0
test eax, eax
jne 0x42272d
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.004585a3
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.0041c6a0
test eax, eax
jne 0x42272d
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x5024
ret 4
mov ecx, dword [esp + 0x14]
push 0
push ecx
push esi
push ebx
mov ecx, ebp
call fcn.00423f50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5024
ret 4