Function at 0x4ea6c0
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 0x4ea740
cmp eax, 2
je 0x4ea710
test eax, eax
jne 0x4ea78a
mov dword [ebx + 0x11678], 2
nop dword [eax + eax]
push ebp
call fcn.004e4ab0
add esp, 4
test eax, eax
je 0x4ea730
push eax
call fcn.004d3900
add esp, 4
cmp eax, 0xffffffdb
jne 0x4ea710
jmp 0x4ea75b
mov dword [ebx + 0x11678], 3
nop word [eax + eax]
push esi
call fcn.004e4ab0
add esp, 4
test eax, eax
je 0x4ea780
push eax
call fcn.004d3770
add esp, 4
cmp eax, 0xffffffdb
jne 0x4ea740
cmp dword [ebx + 0x60], 0
je 0x4eabee
push edi
push dword [esp + 4]
push ebx
call fcn.004e9f60
add esp, 0xc
test eax, eax
je 0x4ea6e6
jmp 0x4eabe6
mov dword [ebx + 0x11678], 4
test byte [ebx + 0x40], 2
je 0x4ea873
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x4ea7ac
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4ea7ac
lea ecx, [ebx + 0x6c]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x114]
test eax, eax
je 0x4ea7ca
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4ea7ca
lea ecx, [ebx + 0x118]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x4ea7ea
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4ea7ea
lea ecx, [ebx + 0x12c]
push ecx
push 1
push ebx
call eax
add esp, 0xc
mov eax, dword [ebx + 0x11c]
test eax, eax
je 0x4ea808
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4ea808
lea ecx, [ebx + 0x124]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x4ea826
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4ea826
lea ecx, [ebx + 0xe0]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x4ea846
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4ea846
lea ecx, [ebx + 0xf4]
push ecx
push 0
push ebx
call eax
add esp, 0xc
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x4ea864
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4ea864
lea ecx, [ebx + 0xec]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x4ea873
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4ea885
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x4ea897
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4ea8a6
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4ea8b5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x4ea8c7
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x130]
test eax, eax
je 0x4ea8d9
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x134]
test eax, eax
je 0x4ea8eb
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x4ea8fd
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x4ea90f
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x4ea921
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x4ea933
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xfc]
test eax, eax
je 0x4ea945
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x100]
test eax, eax
je 0x4ea957
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x4ea969
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4ea97b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x4ea98d
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1142c]
test eax, eax
je 0x4ea99f
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11438]
test eax, eax
je 0x4ea9b1
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117a0]
test eax, eax
je 0x4ea9c3
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117a8]
test eax, eax
je 0x4ea9d5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117bc]
test eax, eax
je 0x4ea9e7
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117c8]
test eax, eax
je 0x4ea9f9
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117e4]
test eax, eax
je 0x4eaa0b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117ec]
test eax, eax
je 0x4eaa1d
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x117dc]
test eax, eax
je 0x4eaa2f
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11804]
test eax, eax
je 0x4eaa41
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1180c]
test eax, eax
je 0x4eaa53
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11814]
test eax, eax
je 0x4eaa65
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11834]
test eax, eax
je 0x4eaa77
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1183c]
test eax, eax
je 0x4eaa89
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11850]
test eax, eax
je 0x4eaa9b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11884]
test eax, eax
je 0x4eaaad
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1188c]
test eax, eax
je 0x4eaabf
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x1189c]
test eax, eax
je 0x4eaad1
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x118b0]
test eax, eax
je 0x4eaae3
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x118d4]
test eax, eax
je 0x4eaaf5
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11a04]
test eax, eax
je 0x4eab07
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x11b30]
test eax, eax
je 0x4eab19
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x119e8]
test eax, eax
je 0x4eab2b
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
cmp dword [ebx + 0x8a4c], 0
je 0x4eab41
push ebx
push dword [ebx + 0x8a50]
call dword [ebx + 0xc]
add esp, 8
lea edi, [ebx + 0x140]
push edi
call fcn.004e4ab0
add esp, 4
test eax, eax
je 0x4eab8a
mov esi, eax
nop word cs:[eax + eax]
push esi
call fcn.004e4ae0
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.004e4ab0
add esp, 4
mov esi, eax
test eax, eax
jne 0x4eab60
cmp dword [ebx + 0x168], 0
je 0x4eabb2
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 0x4eabc1
push ebx
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, dword [ebx + 0x16c]
test eax, eax
je 0x4eabdc
test byte [ebx + 0x174], 1
je 0x4eabdc
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 0x4eabe6