Function at 0x473cf0
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568b0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x416c
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4100], ecx
call fcn.00460e70
test eax, eax
je 0x473d42
call fcn.00461150
test eax, eax
jne 0x473e5c
lea eax, [ebp - 0x4090]
push eax
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x4104], eax
mov ecx, dword [ebp - 0x4104]
mov dword [ebp - 0x4108], ecx
mov dword [ebp - 4], 0
push 0x5817a0
mov edx, dword [ebp - 0x4108]
push edx
lea eax, [ebp - 0x4094]
push eax
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x410c], eax
mov ecx, dword [ebp - 0x410c]
call fcn.00415f60
push eax
push 0x5817bc
push 0x5817c0
push 0x5817d0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x4094]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4090]
call fcn.00415e20
lea ecx, [ebp - 0x4098]
push ecx
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x4110], eax
mov edx, dword [ebp - 0x4110]
mov dword [ebp - 0x4114], edx
mov dword [ebp - 4], 1
push 0x5817e0
mov eax, dword [ebp - 0x4114]
push eax
lea ecx, [ebp - 0x409c]
push ecx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x4118], eax
mov ecx, dword [ebp - 0x4118]
call fcn.00415f60
push eax
push 0x5817fc
push 0x581800
push 0x581814
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x409c]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4098]
call fcn.00415e20
call fcn.0043c150
xor eax, eax
jmp 0x47472b
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov ecx, 0x5c8578
call fcn.0044e330
test eax, eax
jne 0x473e7d
xor eax, eax
jmp 0x47472b
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x3070], eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x1038], 0
push 0x581824
lea ecx, [ebp - 0x2038]
push ecx
call fcn.0052a310
add esp, 8
lea edx, [ebp - 0x2038]
push edx
call fcn.00529140
add esp, 4
push eax
lea eax, [ebp - 0x2038]
push eax
mov ecx, dword [ebp - 0x3070]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7f70
mov dword [ebp - 0x411c], eax
cmp dword [ebp - 0x411c], 0
jne 0x473f0e
mov dword [ebp - 0x40a0], 1
push 0x5b15cc
lea eax, [ebp - 0x40a0]
push eax
call fcn.005286d1
mov dword [ebp - 0x20], 0x1000
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x2038]
push edx
mov eax, dword [ebp - 0x3070]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7870
mov dword [ebp - 0x4120], eax
cmp dword [ebp - 0x4120], 0
jne 0x473f5e
mov dword [ebp - 0x40a4], 1
push 0x5b15cc
lea edx, [ebp - 0x40a4]
push edx
call fcn.005286d1
lea eax, [ebp - 0x2038]
push eax
call fcn.00529140
add esp, 4
mov byte [ebp + eax - 0x203a], 0
push str.200_CCProxy_NNTP_Service_r_n
lea ecx, [ebp - 0x2038]
push ecx
call fcn.0052a310
add esp, 8
lea edx, [ebp - 0x2038]
push edx
call fcn.00529140
add esp, 4
push eax
lea eax, [ebp - 0x2038]
push eax
mov ecx, dword [ebp - 0x3070]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7f70
mov dword [ebp - 0x4124], eax
cmp dword [ebp - 0x4124], 0
jne 0x473fde
mov dword [ebp - 0x40a8], 1
push 0x5b15cc
lea eax, [ebp - 0x40a8]
push eax
call fcn.005286d1
mov dword [ebp - 0x20], 0x1000
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x2038]
push edx
mov eax, dword [ebp - 0x3070]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7870
mov dword [ebp - 0x4128], eax
cmp dword [ebp - 0x4128], 0
jne 0x47402e
mov dword [ebp - 0x40ac], 1
push 0x5b15cc
lea edx, [ebp - 0x40ac]
push edx
call fcn.005286d1
lea eax, [ebp - 0x2038]
push eax
call fcn.00529140
add esp, 4
mov byte [ebp + eax - 0x203a], 0
push 0xe
push str.AUTHINFO_USER
lea ecx, [ebp - 0x2038]
push ecx
call fcn.0055bb6c
add esp, 0xc
test eax, eax
je 0x47407a
mov dword [ebp - 0x40b0], 8
push 0x5b15cc
lea edx, [ebp - 0x40b0]
push edx
call fcn.005286d1
lea eax, [ebp - 0x202a]
push eax
lea ecx, [ebp - 0x4078]
push ecx
call fcn.0052a310
add esp, 8
push 0x23
lea edx, [ebp - 0x4078]
push edx
call fcn.00460d00
add esp, 8
mov dword [ebp - 0x412c], eax
mov eax, dword [ebp - 0x412c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4740d1
mov dword [ebp - 0x40b4], 2
push 0x5b15cc
lea ecx, [ebp - 0x40b4]
push ecx
call fcn.005286d1
mov edx, dword [ebp - 0x18]
mov byte [edx], 0
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
push str.381_wait_for_pass_r_n
lea ecx, [ebp - 0x2038]
push ecx
call fcn.0052a310
add esp, 8
lea edx, [ebp - 0x2038]
push edx
call fcn.00529140
add esp, 4
push eax
lea eax, [ebp - 0x2038]
push eax
mov ecx, dword [ebp - 0x3070]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7f70
mov dword [ebp - 0x4130], eax
cmp dword [ebp - 0x4130], 0
jne 0x474149
mov dword [ebp - 0x40b8], 1
push 0x5b15cc
lea eax, [ebp - 0x40b8]
push eax
call fcn.005286d1
mov dword [ebp - 0x20], 0x1000
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x2038]
push edx
mov eax, dword [ebp - 0x3070]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7870
mov dword [ebp - 0x4134], eax
cmp dword [ebp - 0x4134], 0
jne 0x474199
mov dword [ebp - 0x40bc], 1
push 0x5b15cc
lea edx, [ebp - 0x40bc]
push edx
call fcn.005286d1
lea eax, [ebp - 0x2038]
push eax
call fcn.00529140
add esp, 4
mov byte [ebp + eax - 0x203a], 0
push 0xe
push str.AUTHINFO_PASS
lea ecx, [ebp - 0x2038]
push ecx
call fcn.0055bb6c
add esp, 0xc
test eax, eax
je 0x4741e5
mov dword [ebp - 0x40c0], 8
push 0x5b15cc
lea edx, [ebp - 0x40c0]
push edx
call fcn.005286d1
lea eax, [ebp - 0x202a]
push eax
lea ecx, [ebp - 0x1030]
push ecx
call fcn.0052a310
add esp, 8
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x3040], 0
push 0x1000
push 0
lea edx, [ebp - 0x303f]
push edx
call fcn.005281f0
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
push str.OPEN__s
lea ecx, [ebp - 0x3040]
push ecx
call fcn.0052a9d1
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x40c4], esp
push 0x581898
call fcn.00415da0
mov dword [ebp - 0x4138], eax
mov edx, dword [ebp - 0x4138]
mov dword [ebp - 0x413c], edx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x40c8], esp
push 0x58189c
call fcn.00415da0
mov dword [ebp - 0x4140], eax
mov eax, dword [ebp - 0x4140]
mov dword [ebp - 0x4144], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x40cc], esp
push 0x5818a0
call fcn.00415da0
mov dword [ebp - 0x4148], eax
mov ecx, dword [ebp - 0x4148]
mov dword [ebp - 0x414c], ecx
mov byte [ebp - 4], 5
push 0
push 0
push 0xc8
push ecx
mov edx, esp
mov dword [ebp - 0x40d0], esp
lea eax, [ebp - 0x3040]
push eax
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x4150], eax
mov ecx, dword [ebp + 8]
push ecx
mov byte [ebp - 4], 2
mov ecx, 0x5c8578
call fcn.004514c0
lea ecx, [ebp - 0x306c]
call fcn.00460d70
mov dword [ebp - 0x4154], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x306c]
push edx
push 4
mov ecx, 0x5ca8a8
call fcn.0048bcd0
mov dword [ebp - 0x3044], 0
cmp dword [0x5ec65c], 0
je 0x474366
mov dword [ebp - 0x408c], 0x10
lea eax, [ebp - 0x408c]
push eax
lea ecx, [ebp - 0x4088]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [ebp - 0x4084]
mov dword [ebp - 0x3044], ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x40d8]
push eax
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x4158], eax
mov ecx, dword [ebp - 0x4158]
mov dword [ebp - 0x415c], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x3044]
push edx
lea eax, [ebp - 0x306c]
push eax
push 0x77
mov ecx, dword [ebp - 0x415c]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4100]
call fcn.004c8720
mov dword [ebp - 0x4160], eax
xor edx, edx
cmp dword [ebp - 0x4160], 0
sete dl
mov byte [ebp - 0x40d1], dl
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40d8]
call fcn.00415e20
movzx eax, byte [ebp - 0x40d1]
test eax, eax
je 0x474407
mov dword [ebp - 0x40dc], 7
push 0x5b15cc
lea ecx, [ebp - 0x40dc]
push ecx
call fcn.005286d1
mov dword [ebp - 0x20], 0x1000
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x2038]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7870
mov dword [ebp - 0x4164], eax
cmp dword [ebp - 0x4164], 0
jne 0x474452
mov dword [ebp - 0x40e0], 4
push 0x5b15cc
lea edx, [ebp - 0x40e0]
push edx
call fcn.005286d1
push str.MODE_READER_r_n
lea eax, [ebp - 0x2038]
push eax
call fcn.0052a9d1
add esp, 8
lea ecx, [ebp - 0x2038]
push ecx
call fcn.00529140
add esp, 4
push eax
lea edx, [ebp - 0x2038]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x4100]
call fcn.004c7f70
mov dword [ebp - 0x4168], eax
cmp dword [ebp - 0x4168], 0
jne 0x4744b6
mov dword [ebp - 0x40e4], 6
push 0x5b15cc
lea ecx, [ebp - 0x40e4]
push ecx
call fcn.005286d1
mov dword [ebp - 0x20], 0x1000
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x2038]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7870
mov dword [ebp - 0x416c], eax
cmp dword [ebp - 0x416c], 0
jne 0x474501
mov dword [ebp - 0x40e8], 4
push 0x5b15cc
lea edx, [ebp - 0x40e8]
push edx
call fcn.005286d1
movsx eax, byte [ebp - 0x4078]
test eax, eax
je 0x474633
lea ecx, [ebp - 0x4078]
push ecx
push str.AUTHINFO_USER__s_r_n
lea edx, [ebp - 0x2038]
push edx
call fcn.0052a9d1
add esp, 0xc
lea eax, [ebp - 0x2038]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x2038]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x4100]
call fcn.004c7f70
mov dword [ebp - 0x4170], eax
cmp dword [ebp - 0x4170], 0
jne 0x47457b
mov dword [ebp - 0x40ec], 6
push 0x5b15cc
lea eax, [ebp - 0x40ec]
push eax
call fcn.005286d1
mov dword [ebp - 0x20], 0x1000
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x2038]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x4100]
call fcn.004c7870
mov dword [ebp - 0x4174], eax
cmp dword [ebp - 0x4174], 0
jne 0x4745c6
mov dword [ebp - 0x40f0], 4
push 0x5b15cc
lea ecx, [ebp - 0x40f0]
push ecx
call fcn.005286d1
lea edx, [ebp - 0x1030]
push edx
push str.AUTHINFO_PASS__s_r_n
lea eax, [ebp - 0x2038]
push eax
call fcn.0052a9d1
add esp, 0xc
lea ecx, [ebp - 0x2038]
push ecx
call fcn.00529140
add esp, 4
push eax
lea edx, [ebp - 0x2038]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x4100]
call fcn.004c7f70
mov dword [ebp - 0x4178], eax
cmp dword [ebp - 0x4178], 0
jne 0x474631
mov dword [ebp - 0x40f4], 6
push 0x5b15cc
lea ecx, [ebp - 0x40f4]
push ecx
call fcn.005286d1
jmp 0x47469c
push str.250_OK__r_n
lea edx, [ebp - 0x2038]
push edx
call fcn.0052a9d1
add esp, 8
lea eax, [ebp - 0x2038]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x2038]
push ecx
mov edx, dword [ebp - 0x3070]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x4100]
call fcn.004c7f70
mov dword [ebp - 0x417c], eax
cmp dword [ebp - 0x417c], 0
jne 0x47469c
mov dword [ebp - 0x40f8], 6
push 0x5b15cc
lea ecx, [ebp - 0x40f8]
push ecx
call fcn.005286d1
mov edx, dword [ebp - 0x3070]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x4100]
call fcn.004c81e0
mov dword [ebp - 0x40fc], 0
push 0x5b15cc
lea eax, [ebp - 0x40fc]
push eax
call fcn.005286d1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x306c]
call fcn.00460d20
jmp 0x474714
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x5c8578
call fcn.00451040
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 4