Function at 0x4e8b00
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 0x4e8b80
cmp eax, 2
je 0x4e8b50
test eax, eax
jne 0x4e8bca
mov dword [ebx + 0x11678], 2
nop dword [eax + eax]
push ebp
call fcn.004e2ef0
add esp, 4
test eax, eax
je 0x4e8b70
push eax
call fcn.004d1d40
add esp, 4
cmp eax, 0xffffffdb
jne 0x4e8b50
jmp 0x4e8b9b
mov dword [ebx + 0x11678], 3
nop word [eax + eax]
push esi
call fcn.004e2ef0
add esp, 4
test eax, eax
je 0x4e8bc0
push eax
call fcn.004d1bb0
add esp, 4
cmp eax, 0xffffffdb
jne 0x4e8b80
cmp dword [ebx + 0x60], 0
je 0x4e902e
push edi
push dword [esp + 4]
push ebx
call fcn.004e83a0
add esp, 0xc
test eax, eax
je 0x4e8b26
jmp 0x4e9026
mov dword [ebx + 0x11678], 4
test byte [ebx + 0x40], 2
je 0x4e8cb3
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x4e8bec
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4e8bec
lea ecx, [ebx + 0x6c]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x114]
test eax, eax
je 0x4e8c0a
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4e8c0a
lea ecx, [ebx + 0x118]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x4e8c2a
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4e8c2a
lea ecx, [ebx + 0x12c]
push ecx
push 1
push ebx
call eax
add esp, 0xc
mov eax, dword [ebx + 0x11c]
test eax, eax
je 0x4e8c48
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4e8c48
lea ecx, [ebx + 0x124]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x4e8c66
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4e8c66
lea ecx, [ebx + 0xe0]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x4e8c86
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4e8c86
lea ecx, [ebx + 0xf4]
push ecx
push 0
push ebx
call eax
add esp, 0xc
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x4e8ca4
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4e8ca4
lea ecx, [ebx + 0xec]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x4e8cb3
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4e8cc5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x4e8cd7
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4e8ce6
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4e8cf5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x4e8d07
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x130]
test eax, eax
je 0x4e8d19
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x134]
test eax, eax
je 0x4e8d2b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x4e8d3d
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x4e8d4f
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x4e8d61
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x4e8d73
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xfc]
test eax, eax
je 0x4e8d85
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x100]
test eax, eax
je 0x4e8d97
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x4e8da9
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4e8dbb
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x4e8dcd
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1142c]
test eax, eax
je 0x4e8ddf
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11438]
test eax, eax
je 0x4e8df1
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117a0]
test eax, eax
je 0x4e8e03
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117a8]
test eax, eax
je 0x4e8e15
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117bc]
test eax, eax
je 0x4e8e27
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117c8]
test eax, eax
je 0x4e8e39
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117e4]
test eax, eax
je 0x4e8e4b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117ec]
test eax, eax
je 0x4e8e5d
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117dc]
test eax, eax
je 0x4e8e6f
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11804]
test eax, eax
je 0x4e8e81
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1180c]
test eax, eax
je 0x4e8e93
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11814]
test eax, eax
je 0x4e8ea5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11834]
test eax, eax
je 0x4e8eb7
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1183c]
test eax, eax
je 0x4e8ec9
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11850]
test eax, eax
je 0x4e8edb
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11884]
test eax, eax
je 0x4e8eed
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1188c]
test eax, eax
je 0x4e8eff
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1189c]
test eax, eax
je 0x4e8f11
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x118b0]
test eax, eax
je 0x4e8f23
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x118d4]
test eax, eax
je 0x4e8f35
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11a04]
test eax, eax
je 0x4e8f47
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11b30]
test eax, eax
je 0x4e8f59
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x119e8]
test eax, eax
je 0x4e8f6b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
cmp dword [ebx + 0x8a4c], 0
je 0x4e8f81
push ebx
push dword [ebx + 0x8a50]
call dword [ebx + 0xc]
add esp, 8
lea edi, [ebx + 0x140]
push edi
call fcn.004e2ef0
add esp, 4
test eax, eax
je 0x4e8fca
mov esi, eax
nop word cs:[eax + eax]
push esi
call fcn.004e2f20
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.004e2ef0
add esp, 4
mov esi, eax
test eax, eax
jne 0x4e8fa0
cmp dword [ebx + 0x168], 0
je 0x4e8ff2
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 0x4e9001
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x16c]
test eax, eax
je 0x4e901c
test byte [ebx + 0x174], 1
je 0x4e901c
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 0x4e9026