Function at 0x408d30
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x20d0
call fcn.0040ce80
push esi
mov esi, dword [esp + 0x20d8]
push edi
lea eax, [esp + 0x1554]
push 0x200
push eax
push str.alias
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
lea ecx, [esp + 0x1754]
push 0x100
push ecx
push 0x41e2e4
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
lea edx, [esp + 8]
push 0x20
push edx
push str.hubip
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
lea eax, [esp + 8]
push eax
call sub.WSOCK32.dll_inet_addr
lea ecx, [esp + 8]
push 0x20
push ecx
push str.hubport
push 0
push esi
mov dword [esp + 0x14c], eax
call sym.Sure_XLite.exe__WS_XMLparm_20
lea edx, [esp + 8]
push edx
call fcn.0040dfdf
add esp, 4
mov word [esp + 0x13c], ax
lea eax, [esp + 8]
push 0x20
push eax
push 0x41e2d0
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
lea ecx, [esp + 8]
push ecx
call fcn.0040dfdf
add esp, 4
lea edx, [esp + 8]
mov dword [esp + 0x150], eax
push 0x20
push edx
push 0x41e2cc
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
lea eax, [esp + 8]
push eax
call fcn.0040dfdf
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x144], eax
push 0x20
push ecx
push 0x41e2c8
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
lea edx, [esp + 8]
push edx
call fcn.0040dfdf
add esp, 4
mov dword [esp + 0x148], eax
lea eax, [esp + 8]
push 0x20
push eax
push 0x41e2c4
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
lea ecx, [esp + 8]
push ecx
call fcn.0040dfdf
add esp, 4
lea edx, [esp + 0x18a4]
mov dword [esp + 0x14c], eax
push 0x20
push edx
push str.network
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
lea eax, [esp + 0x154]
push 0x1000
push eax
push str.export
push 0
push esi
call sym.Sure_XLite.exe__WS_XMLparm_20
mov edi, 0xba7e18
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1854]
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]
mov edi, 0x460170
or ecx, 0xffffffff
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
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1554]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea eax, [esi - 1]
test eax, eax
jle 0x408f34
mov cl, 0x2e
cmp byte [esp + eax + 0x1554], cl
je 0x408f11
dec eax
test eax, eax
jg 0x408f01
jmp 0x408f34
sub esi, eax
lea ecx, [esp + eax + 0x1555]
push esi
lea edx, [esp + 0x18d8]
push ecx
push edx
call fcn.0040e9d0
add esp, 0xc
mov byte [esp + esi + 0x18d4], 0
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
lea eax, [esp + 0x18d4]
push eax
push ecx
push edx
push 0xba80b2
lea eax, [esp + 0x1164]
push str._sCID_d._d._s.tmp
push eax
call fcn.0040d799
lea ecx, [esp + 0x156c]
lea edx, [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x1374]
push 0x41e298
push eax
call fcn.0040d799
lea ecx, [esp + 0x168]
mov dword [esp + 0x15c], 0
push ecx
mov dword [esp + 0x158], 0x64
call fcn.0040c91f
lea edx, [esp + 0x154]
push edx
call fcn.004038d0
push 0xba7df8
lea eax, [esp + 0x190c]
push str.__xml_version_1.0__encoding_utf_8____r_n_agent__r_n____MAC__s__MAC__r_n____status_OK__status__r_n__agent_
push eax
call fcn.0040d799
lea edi, [esp + 0x1914]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x3c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x20e0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x20d0
ret