Function at 0x42fde0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x110
push ebp
push 0x7f7838
mov dword [esp + 0x14], ecx
push str.wolbanlist.txt
call fcn.0078ce49
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0xc], ebp
je 0x430006
push ebx
push esi
push edi
mov byte [esp + 0x13], 0
xor edi, edi
lea esi, [esp + 0x20]
push ebp
push 1
push 1
push esi
call fcn.0078d730
add esp, 0x10
test eax, eax
je 0x42fe3c
cmp byte [esi], 0xa
je 0x42fe41
inc edi
inc esi
cmp edi, 0x100
jl 0x42fe19
jmp 0x42fe41
mov byte [esp + 0x13], 1
cmp edi, 0xa
jle 0x42ffee
lea eax, [esp + 0x20]
push 0x3a
push eax
mov byte [esp + edi + 0x29], 0
call fcn.0078c230
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42ffee
mov byte [ebx], 0
mov edi, dword [0x809d38]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x42fee8
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x42fe9b
inc ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005dcfa0
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
lea esi, [ebp + 1]
push esi
call fcn.005dd330
mov edi, dword [esp + 0x14]
mov eax, dword [0x809d38]
cmp edi, eax
je 0x42fecc
mov dword [edi - 4], ebp
mov edi, dword [esp + 0x14]
mov ecx, esi
lea esi, [esp + 0x20]
mov edx, ecx
mov ebp, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x100]
lea esi, [eax + 0xf8]
mov eax, dword [eax + 0x108]
cmp eax, ecx
jl 0x42ff2c
mov al, byte [esi + 0xd]
test al, al
jne 0x42ff11
test ecx, ecx
jne 0x42ff91
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x42ff91
mov edx, dword [esi]
add eax, ecx
push 0
push eax
mov ecx, esi
call dword [edx + 8]
test al, al
je 0x42ff91
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
lea ecx, [eax + 1]
lea ebp, [edx + eax*4]
mov dword [esi + 0x10], ecx
mov eax, dword [0x809d38]
xor esi, esi
cmp edi, eax
je 0x42ff63
mov esi, dword [edi - 4]
test esi, esi
jne 0x42ff63
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x14]
push esi
call fcn.004029d0
lea edi, [esi + 1]
mov ecx, ebp
push edi
call fcn.005dd330
push esi
mov ecx, ebp
call fcn.004029d0
mov esi, dword [esp + 0x14]
mov ecx, edi
mov edi, dword [ebp]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [esp + 0x18]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.005dd410
inc ebx
push ebx
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [ecx + 0x118]
lea esi, [ecx + 0x110]
mov ecx, dword [ecx + 0x120]
cmp ecx, eax
jl 0x42ffdf
mov cl, byte [esi + 0xd]
test cl, cl
jne 0x42ffc8
test eax, eax
jne 0x42ffee
mov ecx, dword [esi + 0x14]
test ecx, ecx
jle 0x42ffee
mov edx, dword [esi]
add ecx, eax
push 0
push ecx
mov ecx, esi
call dword [edx + 8]
test al, al
je 0x42ffee
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
lea ecx, [eax + 1]
mov dword [esi + 0x10], ecx
mov dword [edx + eax*4], edi
mov al, byte [esp + 0x13]
test al, al
je 0x42fe13
push ebp
call fcn.0078cc10
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x110
ret