Function at 0x4087d0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x1a0
push ebx
push ebp
mov ebp, dword [esp + 0x1ac]
push esi
push edi
push 0x20
push 0xba7df8
push str.macstr
push 0
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
lea eax, [esp + 0xb0]
push 0x100
push eax
push 0x41e228
push 0
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov bl, 0x5c
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x408888
cmp byte [esp + ecx + 0xaf], bl
je 0x40885e
mov edi, 0x41c0cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
lea eax, [esp + 0x30]
push 0x40
push eax
push str.user
push 0
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
lea ecx, [esp + 0x70]
push 0x40
push ecx
push str.pass
push 0
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
jmp 0x4088d4
mov edi, 0x460170
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x70]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push 0x460170
push ecx
call fcn.0040eb50
add esp, 8
test eax, eax
je 0x40897e
push 0x460170
push 0xba7e18
call fcn.0040eb50
add esp, 8
test eax, eax
je 0x408962
lea edx, [esp + 0xb0]
push 0xba7e18
push edx
call fcn.0040eb50
add esp, 8
test eax, eax
jne 0x408949
lea eax, [esp + 0x30]
push 0xba7f18
push eax
call fcn.0040eb50
add esp, 8
test eax, eax
jne 0x408949
lea ecx, [esp + 0x70]
push 0xba7f38
push ecx
call fcn.0040eb50
add esp, 8
test eax, eax
je 0x408962
push 2
push 0xba7f38
push 0xba7f18
push 0xba7e18
call fcn.0040b270
add esp, 0x10
lea edx, [esp + 0x70]
push 1
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0xb8]
push eax
push ecx
call fcn.0040b270
add esp, 0x10
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0xba7e18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0xba7f18
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 + 0x74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0xb4]
mov edx, ecx
mov esi, edi
mov edi, 0xba7f38
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.diru
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x408a7c
cmp byte [esp + ecx + 0xaf], bl
je 0x408a52
mov edi, 0x41c0cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
lea eax, [esp + 0x30]
push 0x40
push eax
push str.useru
push 0
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
lea ecx, [esp + 0x70]
push 0x40
push ecx
push str.passu
push 0
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
jmp 0x408ac8
mov edi, 0x460170
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x70]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push 0x460170
push ecx
call fcn.0040eb50
add esp, 8
test eax, eax
je 0x408b72
push 0x460170
push 0xba7f58
call fcn.0040eb50
add esp, 8
test eax, eax
je 0x408b56
lea edx, [esp + 0xb0]
push 0xba7f58
push edx
call fcn.0040eb50
add esp, 8
test eax, eax
jne 0x408b3d
lea eax, [esp + 0x30]
push 0xba8058
push eax
call fcn.0040eb50
add esp, 8
test eax, eax
jne 0x408b3d
lea ecx, [esp + 0x70]
push 0xba8078
push ecx
call fcn.0040eb50
add esp, 8
test eax, eax
je 0x408b56
push 2
push 0xba8078
push 0xba8058
push 0xba7f58
call fcn.0040b270
add esp, 0x10
lea edx, [esp + 0x70]
push 1
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0xb8]
push eax
push ecx
call fcn.0040b270
add esp, 0x10
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
xor eax, eax
push 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0xba7f58
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0xba8058
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 + 0x74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x14]
mov edx, ecx
mov esi, edi
mov edi, 0xba8078
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.convert
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
lea ecx, [esp + 0x10]
push str.true
push ecx
call fcn.0040eb50
add esp, 8
test eax, eax
lea eax, [esp + 0x10]
push 0x20
push eax
push str.delete
sete dl
push 0
push ebp
mov byte [0xba81b3], dl
call sym.Sure_XLite.exe__WS_XMLparm_20
lea ecx, [esp + 0x10]
push str.true
push ecx
call fcn.0040eb50
add esp, 8
test eax, eax
lea eax, [esp + 0x10]
push 0x20
push eax
push str.nidu
sete dl
push 0
push ebp
mov byte [0xba81b4], dl
call sym.Sure_XLite.exe__WS_XMLparm_20
lea ecx, [esp + 0x10]
push ecx
call fcn.0040dfdf
add esp, 4
lea edx, [esp + 0x10]
mov dword [0xba80a8], eax
push 0x20
push edx
push str.proxyip
push 0
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
mov esi, 0x460170
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x408cac
test cl, cl
je 0x408ca8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x408cac
add eax, 2
add esi, 2
test cl, cl
jne 0x408c84
xor eax, eax
jmp 0x408cb1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408cfd
lea eax, [esp + 0x10]
push eax
call sub.WSOCK32.dll_inet_addr
test eax, eax
mov dword [0xba80ac], eax
je 0x408cfd
cmp eax, 0xffffffff
je 0x408cfd
lea ecx, [esp + 0x10]
push 0x20
push ecx
push str.port
push 0
push ebp
call sym.Sure_XLite.exe__WS_XMLparm_20
lea edx, [esp + 0x10]
push edx
call fcn.0040dfdf
add esp, 4
mov word [0xba80b0], ax
mov byte [0xba81b2], 1
jmp 0x408d04
mov byte [0xba81b2], 0
mov eax, dword [esp + 0x1b8]
push str.__xml_version_1.0__encoding_utf_8____r_n_agent__r_n____status_OK__status__r_n__agent_
push eax
call fcn.0040d799
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a0
ret