Function at 0x5060c5
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x56ee83
call fcn.0053c1d0
sub esp, 0xa0
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x5af710]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp + 0x18]
xor eax, ebp
push ebx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x20]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], ecx
je 0x5061fe
cmp byte [eax], bl
je 0x5061fe
cmp dword [0x5b21d0], ebx
je 0x5061fe
push 0x572aed
call fcn.00404af0
mov ecx, dword [ebp - 0x4c]
or edi, 0xffffffff
push edi
push ebx
push eax
call fcn.00404360
mov ecx, dword [ebp - 0x50]
push edi
push ebx
push eax
call fcn.00404360
mov ecx, dword [ebp - 0x68]
push edi
push ebx
push eax
call fcn.00404360
push edi
push ebx
push eax
mov ecx, esi
call fcn.00404360
lea eax, [ebp - 0x54]
push eax
push ebx
mov dword [ebp - 0x54], ebx
call dword [0x5b21d0]
cmp eax, 0x6f
jne 0x5061fe
push dword [ebp - 0x54]
lea ecx, [ebp - 0x74]
call fcn.00402b40
mov esi, dword [ebp - 0x74]
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x5061fe
lea eax, [ebp - 0x54]
push eax
push esi
call dword [0x5b21d0]
cmp eax, ebx
jne 0x5061f5
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.004023c0
lea eax, [esi + 0x1ac]
cmp eax, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], eax
je 0x5061e1
jmp 0x5061c3
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x64]
add eax, 4
push eax
call fcn.005470ba
test eax, eax
pop ecx
pop ecx
je 0x506219
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp eax, ebx
mov dword [ebp - 0x58], eax
jne 0x5061c0
mov esi, dword [esi]
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00402c50
cmp esi, ebx
jne 0x50619d
push dword [ebp - 0x74]
call fcn.0055047a
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aaae
leave
ret
push 4
lea eax, [esi + 0x194]
push eax
push dword [esi + 0x190]
lea eax, [ebp - 0x2c]
push eax
call fcn.0050495c
add esp, 0x10
mov ecx, dword [ebp - 0x68]
push edi
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.00404360
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402c50
mov ecx, dword [ebp - 0x60]
lea eax, [esi + 8]
push eax
call fcn.00404af0
lea edi, [esi + 0x1ac]
call fcn.005040f5
test eax, eax
jne 0x50628f
cmp edi, ebx
je 0x5063f0
lea eax, [ebp - 0x48]
push eax
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00505ec6
add esp, 0xc
mov byte [ebp - 4], 3
jmp 0x5062b5
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x18], 0x10
jb 0x50629d
mov eax, dword [eax + 4]
jmp 0x5062a0
add eax, 4
lea ecx, [ebp - 0x48]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00505205
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00404360
push ebx
lea ecx, [ebp - 0x2c]
push 1
mov byte [ebp - 4], 1
call fcn.00402c50
jmp 0x5063e8
lea eax, [edi + 4]
push eax
call sub.WSOCK32.dll_inet_addr
push eax
call fcn.00503ddc
add esp, 4
test al, al
je 0x5063e6
push dword [ebp - 0x64]
lea eax, [edi + 4]
push eax
call fcn.005470ba
pop ecx
test eax, eax
pop ecx
lea eax, [edi + 4]
push eax
jne 0x5063b8
lea ecx, [ebp - 0x2c]
call fcn.00405500
push 0x572bf4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040b8bf
push dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00460ca3
add esp, 0xc
mov ecx, dword [ebp - 0x50]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 6
call fcn.00404360
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.00402c50
lea eax, [edi + 0x14]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404af0
push 0x572bf4
lea ecx, [ebp - 0x2c]
call fcn.0040b8bf
push dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00460ca3
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 7
call fcn.00404360
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.00402c50
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402c50
jmp 0x5063e6
mov ecx, dword [ebp - 0x50]
call fcn.0040b8bf
mov ecx, dword [ebp - 0x50]
push 0x572bf4
call fcn.0040b8bf
mov ecx, dword [ebp - 0x4c]
lea eax, [edi + 0x14]
push eax
call fcn.0040b8bf
mov ecx, dword [ebp - 0x4c]
push 0x572bf4
call fcn.0040b8bf
mov edi, dword [edi]
cmp edi, ebx
jne 0x5062d5
add esi, 0x1d4
jmp 0x506426
lea edi, [esi + 4]
push edi
call sub.WSOCK32.dll_inet_addr
push eax
call fcn.00503ddc
add esp, 4
test al, al
je 0x506424
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.0040b8bf
mov ecx, dword [ebp - 0x6c]
push 0x572bf4
call fcn.0040b8bf
mov esi, dword [esi]
cmp esi, ebx
jne 0x5063f8
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00402c50
push dword [ebp - 0x74]
call fcn.0055047a
xor eax, eax
pop ecx
inc eax
jmp 0x506200