Function at 0x42cb90
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push edi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0xffff
mov edi, 4
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x42cdab
cmp dword [esp + 0x14], edi
jne 0x42cdab
call fcn.004051c0
test eax, eax
je 0x42cc44
push 0xdd
push str....._snmplib_snmpUDPDomain.c
push 0x473320
push 0x473318
call fcn.00405190
push 0xdd
push str....._snmplib_snmpUDPDomain.c
push 0x473320
push 0x473318
call fcn.00405040
mov ecx, dword [esp + 0x2c]
push ecx
push esi
push str.Current__s_is__d_n
push str.verbose:socket:buffer:max
call fcn.00405190
mov edx, dword [esp + 0x3c]
push edx
push esi
push str.Current__s_is__d_n
push str.verbose:socket:buffer:max
call fcn.00405040
add esp, 0x40
mov ebx, dword [esp + 0xc]
cmp ebp, ebx
jg 0x42ccb9
call fcn.004051c0
test eax, eax
je 0x42ce11
push 0xe5
push str....._snmplib_snmpUDPDomain.c
push 0x473320
push 0x473318
call fcn.00405190
push 0xe5
push str....._snmplib_snmpUDPDomain.c
push 0x473320
push 0x473318
call fcn.00405040
push esi
push str.Requested__s___current_buffer_n
push str.verbose:socket:buffer:max
call fcn.00405190
push esi
push str.Requested__s___current_buffer_n
push str.verbose:socket:buffer:max
call fcn.00405040
mov eax, dword [esp + 0x44]
add esp, 0x38
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, ebp
sub ebp, ebx
cmp ebp, 0x400
jle 0x42cd0d
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
jmp 0x42ccd0
mov ecx, dword [esp + 0x20]
lea eax, [ebx + edi]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
push 0xffff
push edx
call ebp
test eax, eax
jne 0x42ccfe
mov ebx, dword [esp + 0x10]
jmp 0x42cd02
mov edi, dword [esp + 0x10]
mov eax, edi
sub eax, ebx
cmp eax, 0x400
jg 0x42ccd0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x42ce11
call fcn.004051c0
test eax, eax
je 0x42ce11
push 0x100
push str....._snmplib_snmpUDPDomain.c
push 0x473320
push 0x473318
call fcn.00405190
push 0x100
push str....._snmplib_snmpUDPDomain.c
push 0x473320
push 0x473318
call fcn.00405040
mov edx, dword [esp + 0x2c]
push edx
push esi
push str.Maximized__s:__d_n
push str.socket:buffer:max
call fcn.00405190
mov eax, dword [esp + 0x3c]
push eax
push esi
push str.Maximized__s:__d_n
push str.socket:buffer:max
call fcn.00405040
mov eax, dword [esp + 0x4c]
add esp, 0x40
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.004051c0
test eax, eax
je 0x42ce09
push 0x109
push str....._snmplib_snmpUDPDomain.c
push 0x473320
push 0x473318
call fcn.00405190
push 0x109
push str....._snmplib_snmpUDPDomain.c
push 0x473320
push 0x473318
call fcn.00405040
push esi
push str.Get__s_failed_..._giving_up__n
push str.socket:buffer:max
call fcn.00405190
push esi
push str.Get__s_failed_..._giving_up__n
push str.socket:buffer:max
call fcn.00405040
add esp, 0x38
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
add esp, 0xc
ret