Function at 0x5d8f17
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f399c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x760
push esi
push edi
lea edi, [ebp - 0x76c]
mov ecx, 0x1d8
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x650]
call fcn.005d9cb0
mov dword [ebp - 4], 0
mov byte [ebp - 0x634], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x633]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], 0
mov word [ebp - 0x664], 0
mov dword [ebp - 0x230], 0
mov ecx, 0x85
xor eax, eax
lea edi, [ebp - 0x22c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x768], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x767]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x277eeb0]
add eax, 0x342
mov dword [ebp - 0x14], eax
cmp dword [0x277eeb0], 0
je 0x5d9115
mov dword [ebp - 0x76c], 0
jmp 0x5d8fff
mov ecx, dword [ebp - 0x76c]
add ecx, 1
mov dword [ebp - 0x76c], ecx
cmp dword [ebp - 0x76c], 0x40
jge 0x5d9032
mov edx, dword [ebp - 0x76c]
lea eax, [ebp + edx - 0x768]
push eax
push 0x630f40
mov ecx, dword [ebp - 0x76c]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx*2]
push eax
call fcn.005c7d69
add esp, 0xc
jmp 0x5d8ff0
push 0x10
push 0x630f48
push 0x40
lea ecx, [ebp - 0x768]
push ecx
call fcn.005e1fb0
add esp, 0x10
lea edx, [ebp - 0x768]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x234]
mov edx, dword [eax]
xor edx, dword [ecx + 8]
mov eax, dword [ebp - 0x234]
xor edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x234]
xor edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x234]
xor edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x234]
xor edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov edx, dword [0x277eeb0]
add edx, 0x342
mov esi, esp
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.005eddb2
test eax, eax
je 0x5d90cd
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x5d90cd
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 4]
mov dword [ebp - 0x22c], eax
jmp 0x5d90d7
mov dword [ebp - 0x22c], 0xfff
mov ecx, dword [ebp - 0x22c]
and ecx, 0xff000000
push ecx
call fcn.005d9e60
mov ecx, eax
call fcn.005da0ec
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x22c]
and edx, 0xff000000
push edx
call fcn.005d9e60
mov ecx, eax
call fcn.005da173
mov word [ebp - 0x664], ax
jmp 0x5d9134
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x22c], eax
push 0x630f5c
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x10], eax
mov word [ebp - 0x664], 0x978
mov cx, word [ebp - 0x664]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x650]
push eax
call fcn.005d8e54
add esp, 0xc
mov dword [ebp - 0x660], eax
cmp dword [ebp - 0x660], 0
jne 0x5d9175
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.005d9d70
jmp 0x5d93e4
cmp dword [0x277eeb4], 0
je 0x5d91fb
mov dword [ebp - 0x128], 0
push 0x3e
mov ecx, dword [0x277eeb4]
add ecx, 0x60
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.005c5df0
add esp, 0xc
push 0x3e
mov eax, dword [0x277eeb4]
add eax, 0xa4
push eax
lea ecx, [ebp - 0x1e8]
push ecx
call fcn.005c5df0
add esp, 0xc
push 0x3e
mov edx, dword [0x277eeb4]
add edx, 0xe4
push edx
lea eax, [ebp - 0x1a8]
push eax
call fcn.005c5df0
add esp, 0xc
push 0x3e
mov ecx, dword [0x277eeb4]
add ecx, 0x124
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.005c5df0
add esp, 0xc
call fcn.005d8570
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x64c]
mov dword [ebp - 0x11c], eax
call fcn.005d87a1
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xd5000551
cmp dword [0x277eeb0], 0
je 0x5d927f
mov edx, dword [0x277eeb0]
mov dword [edx + 0x24], 0xe5000000
mov dword [ebp - 0xf4], 0xe5000000
mov dword [ebp - 0xf0], 0
cmp dword [ebp - 0x234], 0
je 0x5d92d8
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xe8], ecx
cmp dword [ebp + 8], 0
je 0x5d930c
push 0xc6
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xe0]
push eax
call fcn.005c5df0
add esp, 0xc
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0xe0]
push edx
call fcn.005d8d8a
add esp, 8
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x634]
push ecx
call fcn.005d8944
add esp, 8
mov byte [ebp - 0x65c], 0
xor edx, edx
mov dword [ebp - 0x65b], edx
mov dword [ebp - 0x657], edx
mov word [ebp - 0x653], dx
mov byte [ebp - 0x651], dl
push 0x630f6c
push 0x630f78
lea eax, [ebp - 0x65c]
push eax
call fcn.005c5b24
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x634]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.005eddb2
add eax, 0x20
mov dword [ebp - 0x654], eax
push 0xc
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x634]
push eax
call fcn.005c5f60
add esp, 0xc
mov ecx, dword [ebp - 0x654]
push ecx
lea edx, [ebp - 0x634]
push edx
call fcn.005d8830
add esp, 8
mov eax, dword [ebp - 0x654]
push eax
lea ecx, [ebp - 0x634]
push ecx
lea edx, [ebp - 0x650]
push edx
call fcn.005d8ebc
add esp, 0xc
lea ecx, [ebp - 0x650]
call fcn.005d9db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.005d9d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x76c
cmp ebp, esp
call fcn.005eddb2
mov esp, ebp
pop ebp
ret