Function at 0x475ad0
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 0x568e42
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x31dc
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 - 0x3128], ecx
call fcn.00460e70
test eax, eax
je 0x475b22
call fcn.00461150
test eax, eax
jne 0x475c3c
lea eax, [ebp - 0x30b0]
push eax
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x312c], eax
mov ecx, dword [ebp - 0x312c]
mov dword [ebp - 0x3130], ecx
mov dword [ebp - 4], 0
push 0x581b5c
mov edx, dword [ebp - 0x3130]
push edx
lea eax, [ebp - 0x30b4]
push eax
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x3134], eax
mov ecx, dword [ebp - 0x3134]
call fcn.00415f60
push eax
push 0x581b78
push 0x581b7c
push 0x581b8c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x30b4]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30b0]
call fcn.00415e20
lea ecx, [ebp - 0x30b8]
push ecx
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x3138], eax
mov edx, dword [ebp - 0x3138]
mov dword [ebp - 0x313c], edx
mov dword [ebp - 4], 1
push 0x581b9c
mov eax, dword [ebp - 0x313c]
push eax
lea ecx, [ebp - 0x30bc]
push ecx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x3140], eax
mov ecx, dword [ebp - 0x3140]
call fcn.00415f60
push eax
push 0x581bb8
push 0x581bbc
push 0x581bd0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x30bc]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30b8]
call fcn.00415e20
call fcn.0043c150
xor eax, eax
jmp 0x47685b
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 0x475c5d
xor eax, eax
jmp 0x47685b
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x206c], eax
mov byte [ebp - 0x1030], 0
push 0x1000
push 0
lea ecx, [ebp - 0x102f]
push ecx
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x30], 0
push 0x581be0
lea edx, [ebp - 0x30c0]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x3144], eax
mov eax, dword [ebp - 0x3144]
mov ecx, dword [eax]
push ecx
push str.OK_CCProxy__s_POP3_Service_Ready_r_n
lea edx, [ebp - 0x1030]
push edx
call fcn.0052a9d1
add esp, 0xc
lea ecx, [ebp - 0x30c0]
call fcn.00412130
lea eax, [ebp - 0x1030]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x1030]
push ecx
mov edx, dword [ebp - 0x206c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x3128]
call fcn.004c7f70
mov dword [ebp - 0x3148], eax
cmp dword [ebp - 0x3148], 0
jne 0x475d36
mov dword [ebp - 0x30c4], 1
push 0x5b15cc
lea ecx, [ebp - 0x30c4]
push ecx
call fcn.005286d1
mov dword [ebp - 0x20], 0x1000
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x3128]
call fcn.004c7870
mov dword [ebp - 0x314c], eax
cmp dword [ebp - 0x314c], 0
jne 0x475d86
mov dword [ebp - 0x30c8], 1
push 0x5b15cc
lea eax, [ebp - 0x30c8]
push eax
call fcn.005286d1
lea ecx, [ebp - 0x1030]
push ecx
call fcn.00529140
add esp, 4
mov byte [ebp + eax - 0x1032], 0
push 5
push str.USER
lea edx, [ebp - 0x1030]
push edx
call fcn.0055bb6c
add esp, 0xc
test eax, eax
je 0x475e40
push str._ERR_bad_command_r_n
mov eax, dword [ebp - 0x206c]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x3128]
call fcn.004c81b0
mov dword [ebp - 0x20], 0x1000
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x3128]
call fcn.004c7870
mov dword [ebp - 0x3150], eax
cmp dword [ebp - 0x3150], 0
jne 0x475e24
mov dword [ebp - 0x30cc], 1
push 0x5b15cc
lea eax, [ebp - 0x30cc]
push eax
call fcn.005286d1
lea ecx, [ebp - 0x1030]
push ecx
call fcn.00529140
add esp, 4
mov byte [ebp + eax - 0x1032], 0
jmp 0x475d9d
mov byte [ebp - 0x3078], 0
push 0x1000
push 0
lea edx, [ebp - 0x3077]
push edx
call fcn.005281f0
add esp, 0xc
lea eax, [ebp - 0x102b]
push eax
lea ecx, [ebp - 0x3078]
push ecx
call fcn.0052a310
add esp, 8
push 0x581c28
lea edx, [ebp - 0x3078]
push edx
call fcn.00420b60
add esp, 8
mov dword [ebp - 0x3154], eax
mov eax, dword [ebp - 0x3154]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x475ea2
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], 0
push 0x23
lea edx, [ebp - 0x3078]
push edx
call fcn.00460d00
add esp, 8
mov dword [ebp - 0x3158], eax
mov eax, dword [ebp - 0x3158]
mov dword [ebp - 0x203c], eax
cmp dword [ebp - 0x203c], 0
jne 0x475ee9
mov dword [ebp - 0x30d0], 2
push 0x5b15cc
lea ecx, [ebp - 0x30d0]
push ecx
call fcn.005286d1
mov edx, dword [ebp - 0x203c]
mov byte [edx], 0
mov eax, dword [ebp - 0x203c]
add eax, 1
mov dword [ebp - 0x203c], eax
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 - 0x2038], 0
push 0x1000
push 0
lea ecx, [ebp - 0x2037]
push ecx
call fcn.005281f0
add esp, 0xc
lea edx, [ebp - 0x3078]
push edx
mov eax, dword [ebp - 0x203c]
push eax
push 0x581c2c
lea ecx, [ebp - 0x2038]
push ecx
call fcn.0052a9d1
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x30d4], esp
push 0x581c44
call fcn.00415da0
mov dword [ebp - 0x315c], eax
mov edx, dword [ebp - 0x315c]
mov dword [ebp - 0x3160], edx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x30d8], esp
push 0x581c48
call fcn.00415da0
mov dword [ebp - 0x3164], eax
mov eax, dword [ebp - 0x3164]
mov dword [ebp - 0x3168], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x30dc], esp
push 0x581c4c
call fcn.00415da0
mov dword [ebp - 0x316c], eax
mov ecx, dword [ebp - 0x316c]
mov dword [ebp - 0x3170], ecx
mov byte [ebp - 4], 5
push 0
push 0
push 0xc8
push ecx
mov edx, esp
mov dword [ebp - 0x30e0], esp
lea eax, [ebp - 0x2038]
push eax
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x3174], eax
mov ecx, dword [ebp + 8]
push ecx
mov byte [ebp - 4], 2
mov ecx, 0x5c8578
call fcn.004514c0
lea ecx, [ebp - 0x2068]
call fcn.00460d70
mov dword [ebp - 0x3178], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2068]
push edx
push 3
mov ecx, 0x5ca8a8
call fcn.0048bcd0
mov dword [ebp - 0x2040], 0
cmp dword [0x5ec65c], 0
je 0x476076
mov dword [ebp - 0x308c], 0x10
lea eax, [ebp - 0x308c]
push eax
lea ecx, [ebp - 0x3088]
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 - 0x3084]
mov dword [ebp - 0x2040], ecx
mov edx, dword [ebp - 0x203c]
push edx
lea eax, [ebp - 0x30e8]
push eax
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x317c], eax
mov ecx, dword [ebp - 0x317c]
mov dword [ebp - 0x3180], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2040]
push edx
lea eax, [ebp - 0x2068]
push eax
push 0x6e
mov ecx, dword [ebp - 0x3180]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x3128]
call fcn.004c8720
mov dword [ebp - 0x3184], eax
xor edx, edx
cmp dword [ebp - 0x3184], 0
sete dl
mov byte [ebp - 0x30e1], dl
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30e8]
call fcn.00415e20
movzx eax, byte [ebp - 0x30e1]
test eax, eax
je 0x47611a
mov dword [ebp - 0x30ec], 7
push 0x5b15cc
lea ecx, [ebp - 0x30ec]
push ecx
call fcn.005286d1
mov dword [ebp - 0x20], 0x1000
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x3128]
call fcn.004c7870
mov dword [ebp - 0x3188], eax
cmp dword [ebp - 0x3188], 0
jne 0x476165
mov dword [ebp - 0x30f0], 4
push 0x5b15cc
lea edx, [ebp - 0x30f0]
push edx
call fcn.005286d1
push 3
push 0x581c58
lea eax, [ebp - 0x1030]
push eax
call fcn.0055bb6c
add esp, 0xc
test eax, eax
je 0x47619a
mov dword [ebp - 0x30f4], 5
push 0x5b15cc
lea ecx, [ebp - 0x30f4]
push ecx
call fcn.005286d1
lea edx, [ebp - 0x3078]
push edx
push str.USER__s_r_n
lea eax, [ebp - 0x1030]
push eax
call fcn.0052a9d1
add esp, 0xc
lea ecx, [ebp - 0x1030]
push ecx
call fcn.00529140
add esp, 4
push eax
lea edx, [ebp - 0x1030]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x3128]
call fcn.004c7f70
mov dword [ebp - 0x318c], eax
cmp dword [ebp - 0x318c], 0
jne 0x476205
mov dword [ebp - 0x30f8], 6
push 0x5b15cc
lea ecx, [ebp - 0x30f8]
push ecx
call fcn.005286d1
cmp dword [0x5cd190], 0
jne 0x47624d
mov edx, dword [ebp - 0x206c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x3128]
call fcn.004c81e0
mov dword [ebp - 0x3190], eax
mov eax, dword [ebp - 0x3190]
mov dword [ebp - 0x30fc], eax
push 0x5b15cc
lea ecx, [ebp - 0x30fc]
push ecx
call fcn.005286d1
mov edx, dword [ebp + 8]
cmp dword [edx], 2
jne 0x4767c4
mov eax, dword [ebp - 0x3128]
cmp dword [eax + 0x210], 0
je 0x4767c4
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004c76c0
add esp, 8
mov dword [ebp - 0x3194], eax
cmp dword [ebp - 0x3194], 0
je 0x476301
mov dword [ebp - 0x20], 0x1000
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x3128]
call fcn.004c7870
mov dword [ebp - 0x3198], eax
cmp dword [ebp - 0x3198], 0
jne 0x4762d4
mov dword [ebp - 0x3100], 0
push 0x5b15cc
lea edx, [ebp - 0x3100]
push edx
call fcn.005286d1
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x3128]
call fcn.004c81b0
push 1
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d350
add esp, 0xc
push 0
mov edx, dword [ebp - 0x206c]
mov eax, dword [edx]
push eax
call fcn.004c76c0
add esp, 8
mov dword [ebp - 0x319c], eax
cmp dword [ebp - 0x319c], 0
je 0x4767b7
mov dword [ebp - 0x20], 0x1000
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1030]
push edx
mov eax, dword [ebp - 0x206c]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x3128]
call fcn.004c7870
mov dword [ebp - 0x31a0], eax
cmp dword [ebp - 0x31a0], 0
jne 0x476377
mov dword [ebp - 0x3104], 0
push 0x5b15cc
lea edx, [ebp - 0x3104]
push edx
call fcn.005286d1
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x3128]
call fcn.004c81b0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044d350
add esp, 0xc
push 4
push str.RETR
lea ecx, [ebp - 0x1030]
push ecx
call fcn.0055bb6c
add esp, 0xc
test eax, eax
jne 0x4767b7
lea ecx, [ebp - 0x30a0]
call fcn.004ef757
mov dword [ebp - 0x31a4], eax
mov byte [ebp - 4], 8
mov edx, dword [ebp + 8]
cmp dword [edx], 2
jne 0x4767a8
mov eax, dword [ebp - 0x3128]
cmp dword [eax + 0x210], 0
je 0x4767a8
mov dword [ebp - 0x20], 0x1000
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1030]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x3128]
call fcn.004c7870
mov dword [ebp - 0x31a8], eax
cmp dword [ebp - 0x31a8], 0
jne 0x47643c
mov dword [ebp - 0x3108], 0
push 0x5b15cc
lea ecx, [ebp - 0x3108]
push ecx
call fcn.005286d1
push 0x581c70
call fcn.00529140
add esp, 4
push eax
push str.received:
lea edx, [ebp - 0x1030]
push edx
call fcn.0055bb6c
add esp, 0xc
test eax, eax
jne 0x4764c9
lea ecx, [ebp - 0x30a0]
call fcn.0046b6c0
mov dword [ebp - 0x31ac], eax
cmp dword [ebp - 0x31ac], 0x14
jge 0x4764c9
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x310c]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x31b0], eax
mov edx, dword [ebp - 0x31b0]
mov dword [ebp - 0x31b4], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x31b4]
push eax
lea ecx, [ebp - 0x30a0]
call fcn.004244f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x310c]
call fcn.00415e20
push 0x581c88
call fcn.00529140
add esp, 4
push eax
push 0x581c94
lea ecx, [ebp - 0x1030]
push ecx
call fcn.0055bb6c
add esp, 0xc
test eax, eax
jne 0x47675c
push 0x581ca0
lea ecx, [ebp - 0x30a8]
call fcn.00415da0
mov dword [ebp - 0x31b8], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x30a4]
call fcn.00415d60
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x30a8]
push edx
lea eax, [ebp - 0x30a0]
push eax
call fcn.004747c0
add esp, 8
mov dword [ebp - 0x31bc], eax
cmp dword [ebp - 0x31bc], 0
je 0x47665d
push str.subject:
call fcn.00529140
add esp, 4
lea ecx, [ebp + eax - 0x1030]
push ecx
lea edx, [ebp - 0x30ac]
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x31c0], eax
mov byte [ebp - 4], 0xc
push 0x581cb4
lea ecx, [ebp - 0x30ac]
call fcn.00412370
push 0x581cb8
lea ecx, [ebp - 0x3110]
call fcn.00415da0
mov dword [ebp - 0x31c4], eax
mov eax, dword [ebp - 0x31c4]
mov dword [ebp - 0x31c8], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x31c8]
push ecx
push str.Subject:
lea edx, [ebp - 0x3114]
push edx
call fcn.0043b3d0
add esp, 0xc
mov dword [ebp - 0x31cc], eax
mov eax, dword [ebp - 0x31cc]
mov dword [ebp - 0x31d0], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x30ac]
push ecx
mov edx, dword [ebp - 0x31d0]
push edx
lea eax, [ebp - 0x3118]
push eax
call fcn.0043b320
add esp, 0xc
mov dword [ebp - 0x31d4], eax
mov ecx, dword [ebp - 0x31d4]
mov dword [ebp - 0x31d8], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x31d8]
push edx
lea ecx, [ebp - 0x30a4]
call fcn.00415e40
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3118]
call fcn.00415e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3114]
call fcn.00415e20
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3110]
call fcn.00415e20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30ac]
call fcn.00415e20
jmp 0x4766aa
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x311c]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x31dc], eax
mov edx, dword [ebp - 0x31dc]
mov dword [ebp - 0x31e0], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x31e0]
push eax
lea ecx, [ebp - 0x30a4]
call fcn.00415e40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x311c]
call fcn.00415e20
push str.X_CCProxy_AntiSpamRBL:
lea ecx, [ebp - 0x30a4]
call fcn.00424520
lea ecx, [ebp - 0x30a8]
push ecx
lea ecx, [ebp - 0x30a4]
call fcn.004115f0
push 0x581d0c
lea ecx, [ebp - 0x30a4]
call fcn.00424520
lea ecx, [ebp - 0x30a4]
call fcn.00415f60
push eax
lea edx, [ebp - 0x3120]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x31e4], eax
mov eax, dword [ebp - 0x31e4]
mov dword [ebp - 0x31e8], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x31e8]
call fcn.00412150
push eax
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x3128]
call fcn.004c81b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3120]
call fcn.00412130
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x30a4]
call fcn.00415e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30a8]
call fcn.00415e20
jmp 0x4767a8
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x3128]
call fcn.004c81b0
push 1
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d350
add esp, 0xc
push 0x581d14
lea edx, [ebp - 0x1030]
push edx
call fcn.0052b680
add esp, 8
test eax, eax
jne 0x4767a3
jmp 0x4767a8
jmp 0x4763d2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30a0]
call fcn.004efa9a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47624d
mov eax, dword [ebp - 0x206c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3128]
call fcn.004c81e0
mov dword [ebp - 0x31ec], eax
mov ecx, dword [ebp - 0x31ec]
mov dword [ebp - 0x3124], ecx
push 0x5b15cc
lea edx, [ebp - 0x3124]
push edx
call fcn.005286d1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2068]
call fcn.00460d20
jmp 0x476844
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
push edx
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