Function at 0x430d10
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
cmp dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 4
jne 0x430d4b
lea eax, [esp + 0x18]
mov edx, edi
call fcn.00430c20
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
jmp 0x430d8a
mov eax, edi
call fcn.00430be0
mov esi, eax
call fcn.00419d30
test eax, eax
je 0x430d8a
mov eax, dword [esp + 0x2c]
push eax
push esi
push str.Requested__s_is__d_n
push str.verbose:socket:buffer
call fcn.00419d00
mov ecx, dword [esp + 0x3c]
push ecx
push esi
push str.Requested__s_is__d_n
push str.verbose:socket:buffer
call fcn.00419bb0
add esp, 0x20
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.WS2_32.dll_getsockopt]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push edi
push 0xffff
push ebx
call ebp
test eax, eax
jne 0x430e1e
cmp dword [esp + 0x14], 4
jne 0x430e1e
call fcn.00419d30
test eax, eax
je 0x430de8
mov ecx, dword [esp + 0x10]
push ecx
push esi
push str.Original__s_is__d_n
push str.verbose:socket:buffer
call fcn.00419d00
mov edx, dword [esp + 0x20]
push edx
push esi
push str.Original__s_is__d_n
push str.verbose:socket:buffer
call fcn.00419bb0
add esp, 0x20
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jl 0x430e1e
call fcn.00419d30
test eax, eax
je 0x430e1e
push esi
push str.New__s_size_is_smaller_than_original__n
push str.verbose:socket:buffer
call fcn.00419d00
push esi
push str.New__s_size_is_smaller_than_original__n
push str.verbose:socket:buffer
call fcn.00419bb0
add esp, 0x18
cmp dword [esp + 0x2c], 0
jg 0x430e67
call fcn.00419d30
test eax, eax
je 0x430e5b
mov ecx, dword [esp + 0x10]
push ecx
push esi
push str._s_not_valid_or_not_specified__using_OS_default__d__n
push str.socket:buffer
call fcn.00419d00
mov edx, dword [esp + 0x20]
push edx
push esi
push str._s_not_valid_or_not_specified__using_OS_default__d__n
push str.socket:buffer
call fcn.00419bb0
add esp, 0x20
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 4
lea eax, [esp + 0x30]
push eax
push edi
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x430f59
call fcn.00419d30
test eax, eax
je 0x430f2f
push str.socket:buffer
call fcn.00419b00
add esp, 4
test eax, eax
jne 0x430f2f
call fcn.00419d30
test eax, eax
je 0x430edb
mov ecx, dword [esp + 0x2c]
push ecx
push esi
push str.Set__s_to__d_n
push str.socket:buffer
call fcn.00419d00
mov edx, dword [esp + 0x3c]
push edx
push esi
push str.Set__s_to__d_n
push str.socket:buffer
call fcn.00419bb0
add esp, 0x20
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
push 0xffff
push ebx
call ebp
test eax, eax
jne 0x430f2f
cmp dword [esp + 0x14], 4
jne 0x430f2f
call fcn.00419d30
test eax, eax
je 0x430f2f
mov edx, dword [esp + 0x10]
push edx
push esi
push str.Now__s_is__d_n
push str.verbose:socket:buffer
call fcn.00419d00
mov eax, dword [esp + 0x20]
push eax
push esi
push str.Now__s_is__d_n
push str.verbose:socket:buffer
call fcn.00419bb0
add esp, 0x20
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x10], eax
jge 0x430fd9
push eax
push edi
push ebx
call fcn.00430950
add esp, 0xc
cmp eax, 0xffffffff
je 0x430fd5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.00419d30
test eax, eax
je 0x430fc1
push 0x1d1
push str....._snmplib_snmpUDPDomain.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0x1d1
push str....._snmplib_snmpUDPDomain.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
mov ecx, dword [esp + 0x4c]
push ecx
push esi
push str.couldnt_set__s_to__d_n
push str.socket:buffer
call fcn.00419d00
mov edx, dword [esp + 0x5c]
push edx
push esi
push str.couldnt_set__s_to__d_n
push str.socket:buffer
call fcn.00419bb0
add esp, 0x40
mov eax, dword [esp + 0x2c]
push eax
push edi
push ebx
call fcn.00430950
add esp, 0xc
cmp eax, 0xffffffff
jne 0x430fd9
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret