Function at 0x6b4c9500
Capabilities:
Set socket configuration

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, dword [esp + 0x18]
push 0
call dword [sym.imp.msvcrt.dll_time]
add esp, 4
mov esi, eax
lea ebx, [edi + 0x130]
lea ebp, [edi + 0x13c]
mov eax, dword [edi + 0xcd7c]
cmp eax, 3
je 0x6b4c9580
cmp eax, 2
je 0x6b4c9550
test eax, eax
jne 0x6b4c95c6
mov dword [edi + 0xcd7c], 2
nop
nop
nop
nop
push ebx
call fcn.6b4c6140
add esp, 4
test eax, eax
je 0x6b4c9570
push eax
call fcn.6b4bbfa0
add esp, 4
cmp eax, 0xffffffdb
jne 0x6b4c9550
jmp 0x6b4c959b
mov dword [edi + 0xcd7c], 3
nop
nop
nop
nop
nop
nop
push ebp
call fcn.6b4c6140
add esp, 4
test eax, eax
je 0x6b4c95bc
push eax
call fcn.6b4bbe10
add esp, 4
cmp eax, 0xffffffdb
jne 0x6b4c9580
cmp dword [edi + 0x50], 0
je 0x6b4c99eb
push esi
push edi
call fcn.6b4c8dd0
add esp, 8
test eax, eax
je 0x6b4c9522
jmp 0x6b4c99e3
mov dword [edi + 0xcd7c], 4
test byte [edi + 0x34], 2
je 0x6b4c96af
mov eax, dword [edi + 0x58]
test eax, eax
je 0x6b4c95e8
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6b4c95e8
lea ecx, [edi + 0x5c]
push ecx
push edi
call eax
add esp, 8
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x6b4c9606
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6b4c9606
lea ecx, [edi + 0x100]
push ecx
push edi
call eax
add esp, 8
mov eax, dword [edi + 0x110]
test eax, eax
je 0x6b4c9626
mov eax, dword [eax + 0x18]
test eax, eax
je 0x6b4c9626
lea ecx, [edi + 0x114]
push ecx
push 1
push edi
call eax
add esp, 0xc
mov eax, dword [edi + 0x104]
test eax, eax
je 0x6b4c9644
mov eax, dword [eax + 0x14]
test eax, eax
je 0x6b4c9644
lea ecx, [edi + 0x10c]
push ecx
push edi
call eax
add esp, 8
mov eax, dword [edi + 0xc4]
test eax, eax
je 0x6b4c9662
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6b4c9662
lea ecx, [edi + 0xc8]
push ecx
push edi
call eax
add esp, 8
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x6b4c9682
mov eax, dword [eax + 0x18]
test eax, eax
je 0x6b4c9682
lea ecx, [edi + 0xdc]
push ecx
push 0
push edi
call eax
add esp, 0xc
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x6b4c96a0
mov eax, dword [eax + 0x14]
test eax, eax
je 0x6b4c96a0
lea ecx, [edi + 0xd4]
push ecx
push edi
call eax
add esp, 8
mov eax, dword [edi + 0x48]
test eax, eax
je 0x6b4c96af
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x6b4c96c1
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x6b4c96d3
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x6b4c96e2
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0x30]
test eax, eax
je 0x6b4c96f1
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x6b4c9703
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0x118]
test eax, eax
je 0x6b4c9715
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x6b4c9727
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0x120]
test eax, eax
je 0x6b4c9739
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0x124]
test eax, eax
je 0x6b4c974b
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x6b4c975d
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xe0]
test eax, eax
je 0x6b4c976f
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x6b4c9781
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x6b4c9793
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xec]
test eax, eax
je 0x6b4c97a5
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcb5c]
test eax, eax
je 0x6b4c97b7
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcb68]
test eax, eax
je 0x6b4c97c9
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcea4]
test eax, eax
je 0x6b4c97db
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xceb4]
test eax, eax
je 0x6b4c97ed
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcec0]
test eax, eax
je 0x6b4c97ff
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xced8]
test eax, eax
je 0x6b4c9811
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcee0]
test eax, eax
je 0x6b4c9823
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xced0]
test eax, eax
je 0x6b4c9835
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcef4]
test eax, eax
je 0x6b4c9847
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcefc]
test eax, eax
je 0x6b4c9859
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcf04]
test eax, eax
je 0x6b4c986b
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcf1c]
test eax, eax
je 0x6b4c987d
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcf24]
test eax, eax
je 0x6b4c988f
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcf38]
test eax, eax
je 0x6b4c98a1
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcf5c]
test eax, eax
je 0x6b4c98b3
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcf64]
test eax, eax
je 0x6b4c98c5
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcf74]
test eax, eax
je 0x6b4c98d7
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcf88]
test eax, eax
je 0x6b4c98e9
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xcfa4]
test eax, eax
je 0x6b4c98fb
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xd098]
test eax, eax
je 0x6b4c990d
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xd1c0]
test eax, eax
je 0x6b4c991f
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0xd07c]
test eax, eax
je 0x6b4c9931
push edi
push eax
call dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x417c], 0
je 0x6b4c9947
push edi
push dword [edi + 0x4180]
call dword [edi + 0xc]
add esp, 8
lea ebx, [edi + 0x128]
push ebx
call fcn.6b4c6140
add esp, 4
test eax, eax
je 0x6b4c998a
mov esi, eax
push esi
call fcn.6b4c6170
add esp, 4
push edi
push dword [esi + 0xc]
call dword [edi + 0xc]
add esp, 8
push edi
push esi
call dword [edi + 0xc]
add esp, 8
push ebx
call fcn.6b4c6140
add esp, 4
mov esi, eax
test eax, eax
jne 0x6b4c9960
cmp dword [edi + 0x150], 0
je 0x6b4c99af
mov eax, dword [edi + 0x144]
mov dword [esp], 0
mov ecx, esp
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x6b4c99be
push edi
push eax
call dword [edi + 0xc]
add esp, 8
mov eax, dword [edi + 0x154]
test eax, eax
je 0x6b4c99d9
test byte [edi + 0x15c], 1
je 0x6b4c99d9
push edi
push eax
call dword [edi + 0xc]
add esp, 8
push edi
push edi
call dword [edi + 0xc]
add esp, 8
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xffffffdb
jmp 0x6b4c99e3