Function at 0x42f194
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb38
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x4b4f05
call fcn.0049af0c
mov eax, dword [ebx + 0x1a4]
cmp eax, 8
je 0x42f1d6
cmp eax, 0xa
je 0x42f1d6
cmp eax, 9
je 0x42f1d6
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov eax, edx
jmp 0x42f8cd
cmp dword [ebx + 0xc76], 0
je 0x42f463
mov eax, dword [ebx + 0x33]
test eax, eax
je 0x42f1f5
push 3
push eax
call fcn.00455bf4
add esp, 8
push 0x146
call fcn.004a4f8c
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x42f233
mov word [ebp - 0x18], 0x14
push 7
push 0x400
mov edx, dword [ebx + 0x3f]
push edx
mov ecx, dword [ebx + 0x3b]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.004559f8
add esp, 0x14
mov word [ebp - 0x18], 8
mov esi, dword [ebp - 4]
jmp 0x42f236
mov esi, dword [ebp - 4]
mov dword [ebx + 0x33], esi
test edi, edi
jne 0x42f286
mov eax, dword [ebx + 0x37]
push eax
push esi
call fcn.00456680
add esp, 8
mov edi, eax
cmp edi, 0xd
jne 0x42f273
push 3
mov eax, dword [ebx + 0x33]
push eax
call fcn.00455bf4
add esp, 8
xor edx, edx
mov dword [ebx + 0x33], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
jmp 0x42f8cd
mov eax, dword [ebx + 0x184]
push eax
mov edx, dword [ebx + 0x33]
push edx
call fcn.00459910
add esp, 8
push 3
mov ecx, dword [ebx + 0x37]
push ecx
call fcn.00455bf4
add esp, 8
xor eax, eax
mov dword [ebx + 0x37], eax
xor edx, edx
mov dword [ebx + 0xc76], edx
test edi, edi
jne 0x42f463
cmp dword [ebx + 0x1a4], 9
jne 0x42f35c
push 0xa0
lea ecx, [ebp - 0x290]
push ecx
push 0x41f
mov eax, dword [ebx + 0x3b]
push eax
call sub.USER32.dll_LoadStringA
cmp dword [ebx + 0xc72], 0
je 0x42f2ea
push edi
lea edi, [ebp - 0x34]
mov eax, edi
mov esi, 0x4b5919
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
jmp 0x42f2fa
push edi
lea edi, [ebp - 0x34]
mov eax, edi
mov esi, 0x4b591f
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
cmp dword [ebx + 0x194], 0
setne dl
and edx, 1
push edx
lea ecx, [ebx + 0x3ac]
push ecx
lea eax, [ebx + 0x9ac]
push eax
lea edx, [ebp - 0x29]
push edx
call fcn.004057fc
add esp, 0x10
push eax
push ebx
call fcn.0043026c
add esp, 8
push eax
lea ecx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x290]
push eax
lea edx, [ebp - 0x490]
push edx
call fcn.0049d914
add esp, 0x10
lea ecx, [ebp - 0x490]
push ecx
push ebx
call fcn.0042d938
add esp, 8
jmp 0x42f463
cmp dword [ebx + 0x1a4], 8
jne 0x42f439
xor esi, esi
lea eax, [ebp - 0x4b4]
push eax
lea edx, [ebx + 0x9ac]
push edx
call fcn.0049f51c
add esp, 8
test eax, eax
jne 0x42f38b
mov esi, dword [ebp - 0x4a2]
test esi, esi
jg 0x42f391
xor esi, esi
push 0xa0
lea eax, [ebp - 0x290]
push eax
push 0x407
mov edx, dword [ebx + 0x3b]
push edx
call sub.USER32.dll_LoadStringA
cmp dword [ebx + 0xc72], 0
je 0x42f3c7
push esi
push edi
mov esi, 0x4b5919
lea edi, [ebp - 0x40]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
jmp 0x42f3d9
push esi
push edi
mov esi, 0x4b591f
lea edi, [ebp - 0x40]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
lea ecx, [ebx + 0x3ac]
cmp dword [ebx + 0x194], 0
setne dl
and edx, 1
lea eax, [ebx + 0x9ac]
push edx
push ecx
push eax
lea edx, [ebp - 0x29]
push edx
call fcn.004057fc
add esp, 0x10
push eax
push ebx
call fcn.0043026c
add esp, 8
push eax
lea ecx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x290]
push eax
lea edx, [ebp - 0x490]
push edx
call fcn.0049d914
add esp, 0x14
lea ecx, [ebp - 0x490]
push ecx
push ebx
call fcn.0042d938
add esp, 8
jmp 0x42f463
push 0xa0
lea eax, [ebp - 0x290]
push eax
push 0x411
mov edx, dword [ebx + 0x3b]
push edx
call sub.USER32.dll_LoadStringA
lea ecx, [ebp - 0x290]
push ecx
push ebx
call fcn.0042d938
add esp, 8
push edi
mov esi, 0x4b4ee1
lea edi, [ebp - 0x4c8]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [0x4b4a18]
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x4bc], eax
push 1
lea edx, [ebp - 0x4c8]
push edx
mov ecx, dword [ebx + 0x33]
push ecx
call fcn.00459764
add esp, 0xc
xor eax, eax
mov dword [ebx + 0x8f], eax
xor edx, edx
mov dword [ebx + 0x9b], edx
test edi, edi
jne 0x42f7c9
mov esi, dword [ebx + 0x33]
cmp dword [0x4b4a1c], 0
jl 0x42f553
mov eax, dword [0x4b4a1c]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
cmp dword [esi + 8], 0xffffffff
jne 0x42f4e0
mov ecx, 9
jmp 0x42f553
mov eax, dword [esi + 8]
cmp dword [0x4bef08], 0
mov dword [ebp - 0x50], eax
jne 0x42f50a
push 4
lea edx, [ebp - 0x48]
push edx
push 0x100
push 0xffff
mov ecx, dword [ebp - 0x50]
push ecx
call sub.WSOCK32.dll_setsockopt
jmp 0x42f524
push 4
lea eax, [ebp - 0x48]
push eax
push 0x100
push 0xffff
mov edx, dword [ebp - 0x50]
push edx
push esi
call fcn.0045a67c
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x42f531
xor ecx, ecx
jmp 0x42f553
cmp dword [0x4bef08], 0
jne 0x42f541
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42f547
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
mov ecx, eax
cmp dword [0x4b4a20], 0
jl 0x42f5e6
mov eax, dword [0x4b4a20]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
cmp dword [esi + 8], 0xffffffff
jne 0x42f57b
mov eax, 9
jmp 0x42f5e6
mov edx, dword [esi + 8]
cmp dword [0x4bef08], 0
mov dword [ebp - 0x60], edx
jne 0x42f5a2
push 4
lea ecx, [ebp - 0x58]
push ecx
push 8
push 0xffff
mov eax, dword [ebp - 0x60]
push eax
call sub.WSOCK32.dll_setsockopt
jmp 0x42f5b9
push 4
lea edx, [ebp - 0x58]
push edx
push 8
push 0xffff
mov ecx, dword [ebp - 0x60]
push ecx
push esi
call fcn.0045a67c
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x42f5c6
xor eax, eax
jmp 0x42f5e6
cmp dword [0x4bef08], 0
jne 0x42f5d6
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42f5dc
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
cmp dword [0x4b4a24], 0
jl 0x42f674
mov edx, dword [0x4b4a24]
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
cmp dword [esi + 8], 0xffffffff
jne 0x42f60f
mov eax, 9
jmp 0x42f674
mov edx, dword [esi + 8]
cmp dword [0x4bef08], 0
mov dword [ebp - 0x70], edx
jne 0x42f633
push 4
lea ecx, [ebp - 0x68]
push ecx
push 1
push 6
mov eax, dword [ebp - 0x70]
push eax
call sub.WSOCK32.dll_setsockopt
jmp 0x42f647
push 4
lea edx, [ebp - 0x68]
push edx
push 1
push 6
mov ecx, dword [ebp - 0x70]
push ecx
push esi
call fcn.0045a67c
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x42f654
xor eax, eax
jmp 0x42f674
cmp dword [0x4bef08], 0
jne 0x42f664
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42f66a
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
cmp dword [0x4b4a28], 0
jl 0x42f70e
mov edx, dword [0x4b4a28]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
cmp dword [esi + 8], 0xffffffff
jne 0x42f69d
mov eax, 9
jmp 0x42f70e
mov edx, dword [esi + 8]
cmp dword [0x4bef08], 0
mov dword [ebp - 0x80], edx
jne 0x42f6c7
push 4
lea ecx, [ebp - 0x74]
push ecx
push 0x1001
push 0xffff
mov eax, dword [ebp - 0x80]
push eax
call sub.WSOCK32.dll_setsockopt
jmp 0x42f6e1
push 4
lea edx, [ebp - 0x74]
push edx
push 0x1001
push 0xffff
mov ecx, dword [ebp - 0x80]
push ecx
push esi
call fcn.0045a67c
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x42f6ee
xor eax, eax
jmp 0x42f70e
cmp dword [0x4bef08], 0
jne 0x42f6fe
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42f704
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
cmp dword [0x4b4a2c], 0
jl 0x42f7c9
mov edx, dword [0x4b4a2c]
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
cmp dword [esi + 8], 0xffffffff
jne 0x42f743
mov eax, 9
jmp 0x42f7c9
mov edx, dword [esi + 8]
cmp dword [0x4bef08], 0
mov dword [ebp - 0x90], edx
jne 0x42f776
push 4
lea ecx, [ebp - 0x84]
push ecx
push 0x1002
push 0xffff
mov eax, dword [ebp - 0x90]
push eax
call sub.WSOCK32.dll_setsockopt
jmp 0x42f796
push 4
lea edx, [ebp - 0x84]
push edx
push 0x1002
push 0xffff
mov ecx, dword [ebp - 0x90]
push ecx
push esi
call fcn.0045a67c
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x42f7a9
xor eax, eax
jmp 0x42f7c9
cmp dword [0x4bef08], 0
jne 0x42f7b9
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42f7bf
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
cmp dword [ebx + 0x1a4], 8
jne 0x42f813
test edi, edi
je 0x42f7f9
push 0
push 0x409
push 1
push 1
push ebx
call fcn.0042ea50
add esp, 0x14
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x42f8cd
mov dword [ebx + 0x1a4], 5
push 0
push ebx
call fcn.0042fb20
add esp, 8
jmp 0x42f8c3
cmp dword [ebx + 0x1a4], 9
jne 0x42f870
test edi, edi
jne 0x42f84f
mov dword [ebx + 0x1a4], 6
push 0
lea ecx, [ebx + 0x9b]
push ecx
mov eax, dword [ebx + 0x9f]
push eax
mov edx, dword [ebx + 0x83]
push edx
mov ecx, dword [ebx + 0x33]
push ecx
call fcn.004570a8
add esp, 0x14
mov edi, eax
test edi, edi
je 0x42f8c3
push 0
push 0x421
push 1
push ebx
call fcn.0042e1a4
add esp, 0x10
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
jmp 0x42f8cd
cmp dword [ebx + 0x1a4], 0xa
jne 0x42f8c3
test edi, edi
je 0x42f89d
push 0
push 0x40c
push 0
push 1
push ebx
call fcn.0042ea50
add esp, 0x14
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x42f8cd
mov dword [ebx + 0x1a4], 7
push 0x1f4
mov ecx, dword [ebx + 0x33]
push ecx
call fcn.00457200
add esp, 8
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
jmp 0x42f8cd
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret