Function at 0x4e90b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x1c]
push 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
add esp, 4
mov dword [esp], eax
mov edi, edx
lea ebp, [ebx + 0x148]
lea esi, [ebx + 0x154]
mov eax, dword [ebx + 0x11678]
cmp eax, 3
je 0x4e9130
cmp eax, 2
je 0x4e9100
test eax, eax
jne 0x4e917a
mov dword [ebx + 0x11678], 2
nop dword [eax + eax]
push ebp
call fcn.004e34a0
add esp, 4
test eax, eax
je 0x4e9120
push eax
call fcn.004d22f0
add esp, 4
cmp eax, 0xffffffdb
jne 0x4e9100
jmp 0x4e914b
mov dword [ebx + 0x11678], 3
nop word [eax + eax]
push esi
call fcn.004e34a0
add esp, 4
test eax, eax
je 0x4e9170
push eax
call fcn.004d2160
add esp, 4
cmp eax, 0xffffffdb
jne 0x4e9130
cmp dword [ebx + 0x60], 0
je 0x4e95de
push edi
push dword [esp + 4]
push ebx
call fcn.004e8950
add esp, 0xc
test eax, eax
je 0x4e90d6
jmp 0x4e95d6
mov dword [ebx + 0x11678], 4
test byte [ebx + 0x40], 2
je 0x4e9263
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x4e919c
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4e919c
lea ecx, [ebx + 0x6c]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x114]
test eax, eax
je 0x4e91ba
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4e91ba
lea ecx, [ebx + 0x118]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x4e91da
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4e91da
lea ecx, [ebx + 0x12c]
push ecx
push 1
push ebx
call eax
add esp, 0xc
mov eax, dword [ebx + 0x11c]
test eax, eax
je 0x4e91f8
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4e91f8
lea ecx, [ebx + 0x124]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x4e9216
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4e9216
lea ecx, [ebx + 0xe0]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x4e9236
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4e9236
lea ecx, [ebx + 0xf4]
push ecx
push 0
push ebx
call eax
add esp, 0xc
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x4e9254
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4e9254
lea ecx, [ebx + 0xec]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x4e9263
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4e9275
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x4e9287
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4e9296
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4e92a5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x4e92b7
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x130]
test eax, eax
je 0x4e92c9
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x134]
test eax, eax
je 0x4e92db
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x4e92ed
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x4e92ff
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x4e9311
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x4e9323
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xfc]
test eax, eax
je 0x4e9335
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x100]
test eax, eax
je 0x4e9347
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x4e9359
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4e936b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x4e937d
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1142c]
test eax, eax
je 0x4e938f
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11438]
test eax, eax
je 0x4e93a1
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117a0]
test eax, eax
je 0x4e93b3
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117a8]
test eax, eax
je 0x4e93c5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117bc]
test eax, eax
je 0x4e93d7
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117c8]
test eax, eax
je 0x4e93e9
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117e4]
test eax, eax
je 0x4e93fb
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117ec]
test eax, eax
je 0x4e940d
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117dc]
test eax, eax
je 0x4e941f
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11804]
test eax, eax
je 0x4e9431
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1180c]
test eax, eax
je 0x4e9443
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11814]
test eax, eax
je 0x4e9455
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11834]
test eax, eax
je 0x4e9467
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1183c]
test eax, eax
je 0x4e9479
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11850]
test eax, eax
je 0x4e948b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11884]
test eax, eax
je 0x4e949d
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1188c]
test eax, eax
je 0x4e94af
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1189c]
test eax, eax
je 0x4e94c1
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x118b0]
test eax, eax
je 0x4e94d3
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x118d4]
test eax, eax
je 0x4e94e5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11a04]
test eax, eax
je 0x4e94f7
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11b30]
test eax, eax
je 0x4e9509
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x119e8]
test eax, eax
je 0x4e951b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
cmp dword [ebx + 0x8a4c], 0
je 0x4e9531
push ebx
push dword [ebx + 0x8a50]
call dword [ebx + 0xc]
add esp, 8
lea edi, [ebx + 0x140]
push edi
call fcn.004e34a0
add esp, 4
test eax, eax
je 0x4e957a
mov esi, eax
nop word cs:[eax + eax]
push esi
call fcn.004e34d0
add esp, 4
push ebx
push dword [esi + 0xc]
call dword [ebx + 0xc]
add esp, 8
push ebx
push esi
call dword [ebx + 0xc]
add esp, 8
push edi
call fcn.004e34a0
add esp, 4
mov esi, eax
test eax, eax
jne 0x4e9550
cmp dword [ebx + 0x168], 0
je 0x4e95a2
mov eax, dword [ebx + 0x15c]
mov dword [esp + 4], 0
lea ecx, [esp + 4]
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x4e95b1
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x16c]
test eax, eax
je 0x4e95cc
test byte [ebx + 0x174], 1
je 0x4e95cc
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
push ebx
push ebx
call dword [ebx + 0xc]
add esp, 8
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xffffffdb
jmp 0x4e95d6