Function at 0x7982e0
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x7e3e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x744
push ebx
push ebp
push edi
lea ecx, [esp + 0x18]
call fcn.00797970
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x351]
mov byte [esp + 0x350], bl
mov ebp, dword [sym.imp.kernel32.dll_lstrlenA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x85
xor eax, eax
lea edi, [esp + 0x13c]
mov dword [esp + 0x138], ebx
rep stosd dword es:[edi], eax
push 0x9ed694
mov dword [esp + 0x75c], ebx
call ebp
test eax, eax
je 0x79835b
cmp word [0x9ed798], bx
jne 0x79837b
push 0x866338
push 0x82d434
push 0x9ed694
call fcn.007a3155
add esp, 0xc
mov word [0x9ed798], 0x978
push 0x9ed694
call dword [sym.imp.wsock32.dll_inet_addr]
mov ecx, dword [0x9ed798]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.007979f0
add esp, 0xc
test eax, eax
je 0x798611
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push esi
mov dword [esp + 0x13c], 1
xor edi, edi
mov esi, 0x9ed79a
lea ecx, [esp + edi + 0x38]
push ecx
push 0x865ecc
push esi
call fcn.007a42e5
add esp, 0xc
cmp eax, 0xffffffff
je 0x7983ee
add esi, 2
inc edi
cmp esi, 0x9ed81a
jl 0x7983ca
push 0x10
push 0x866324
lea edx, [esp + 0x40]
push 0x40
push edx
call fcn.00796840
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
xor ecx, eax
xor ecx, esi
mov esi, dword [esp + 0x5c]
xor ecx, edx
mov edx, dword [esp + 0x60]
xor ecx, edi
add esp, 0x10
xor ecx, esi
cmp ecx, edx
pop esi
jne 0x798611
push 0x3e
lea edx, [esp + 0x144]
push 0x9ed350
push edx
mov dword [esp + 0x148], eax
call fcn.007a6840
push 0x3e
lea eax, [esp + 0x190]
push 0x9ed394
push eax
call fcn.007a6840
push 0x3e
lea ecx, [esp + 0x1dc]
push 0x9ed3d4
push ecx
call fcn.007a6840
push 0x3e
lea edx, [esp + 0x228]
push 0x9ed414
push edx
call fcn.007a6840
mov eax, dword [0x9ed390]
mov dword [esp + 0x270], eax
call fcn.00797cb0
mov dword [esp + 0x274], eax
call fcn.00797c20
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x278], eax
mov dword [esp + 0x27c], ecx
call fcn.00797c10
mov edx, dword [esp + 0x794]
mov ecx, dword [esp + 0x79c]
mov dword [esp + 0x288], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x280], eax
mov eax, dword [esp + 0x798]
mov dword [esp + 0x294], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x298], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x290], eax
mov eax, dword [0x9ed480]
mov dword [esp + 0x2ac], ecx
mov ecx, dword [esp + 0x790]
mov dword [esp + 0x2b4], edx
mov dword [esp + 0x2a0], eax
mov eax, dword [esp + 0x78]
push 0xc6
lea edx, [esp + 0x2bc]
push ecx
push edx
mov dword [esp + 0x290], 3
mov dword [esp + 0x298], ebx
mov dword [esp + 0x2a8], ebx
mov dword [esp + 0x2b0], 0xe5000000
mov dword [esp + 0x2b4], ebx
mov dword [esp + 0x2bc], eax
call fcn.007a6840
lea eax, [esp + 0x174]
lea ecx, [esp + 0x38c]
push eax
push ecx
call fcn.00797eb0
xor edx, edx
add esp, 0x44
mov dword [esp + 0xd], edx
lea eax, [esp + 0xc]
mov dword [esp + 0x11], edx
push 0x866318
mov word [esp + 0x19], dx
push 0x82d434
push eax
mov byte [esp + 0x18], bl
mov byte [esp + 0x23], dl
call fcn.007a3155
add esp, 0xc
lea ecx, [esp + 0x350]
push ecx
call ebp
add eax, 0x20
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x350], edx
lea edx, [esp + 0x350]
push eax
push edx
mov dword [esp + 0x35c], ecx
mov dword [esp + 0x360], eax
call fcn.007981e0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x358]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00797a30
add esp, 0x14
lea ecx, [esp + 0x18]
call fcn.00797c00
lea ecx, [esp + 0x18]
call fcn.007979d0
mov ecx, dword [esp + 0x750]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x750
ret