Function at 0x48ea10
Capabilities:
Initialize winsock library
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x278
mov eax, 6
mov ecx, 3
lea edx, [esp + 0x8c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0xb8], ecx
push ebx
mov ebx, 0xa
mov dword [esp + 0x98], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xdc], eax
push edi
mov edi, 2
mov dword [esp + 0x28], edx
push ebp
lea ecx, [esp + 0xf4]
push esi
mov ebp, 1
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0xc4]
mov dword [esp + 0x24], ebx
lea edx, [esp + 0x7c]
push ecx
push edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], ebp
mov dword [esp + 0x4c], 8
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], eax
call sub.WS2_32.dll_WSAStartup
or eax, eax
jne 0x48ed62
push str.inetmib1.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, 0x20
mov dword [esp + 0x18], ebx
jb 0x48ed62
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SnmpExtensionInit
push ebx
call esi
push str.SnmpExtensionInitEx
push ebx
mov dword [esp + 0x3c], eax
call esi
push str.SnmpExtensionQuery
push ebx
call esi
push str.SnmpExtensionTrap
push ebx
mov dword [esp + 0x48], eax
call esi
push str.snmpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], eax
cmp eax, 0x20
jae 0x48eba6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebp
or eax, 0xffffffff
pop edi
pop ebx
add esp, 0x278
ret
push str.SnmpUtilOidCpy
push eax
call esi
mov ebx, eax
mov edx, dword [esp + 0x10]
push str.SnmpUtilOidNCmp
push edx
call esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push str.SnmpUtilVarBindFree
push eax
call esi
lea ecx, [esp + 0xf0]
lea edx, [esp + 0xec]
mov esi, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [esp + 0x40]
lea eax, [esp + 0x4c]
lea edx, [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], eax
push ecx
xor eax, eax
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], ebp
call ebx
lea eax, [esp + 0x3c]
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push 0xa1
call ebp
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov dword [esp + 0x28], edi
call ebx
lea edx, [esp + 0x24]
lea eax, [esp + 0x64]
push edx
push eax
call ebx
mov bl, 0x54
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push 0xa1
call ebp
or eax, eax
je 0x48ed40
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
call dword [esp + 0x20]
test eax, eax
jne 0x48ed40
cmp dword [esp + 0x58], 6
jne 0x48ec4d
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
call dword [esp + 0x20]
test eax, eax
jne 0x48ed40
mov eax, dword [esp + 0x70]
or eax, eax
je 0x48ec4d
mov cl, byte [eax]
cmp cl, 0x44
jne 0x48ecd3
cmp byte [eax + 1], 0x45
jne 0x48ecd3
cmp byte [eax + 2], 0x53
jne 0x48ecd3
cmp byte [eax + 3], bl
jne 0x48ecd3
mov dl, byte [eax + 4]
or dl, dl
je 0x48ec4d
test cl, cl
jne 0x48ecfe
mov cl, byte [eax + 1]
or cl, cl
jne 0x48ecfe
mov cl, byte [eax + 2]
or cl, cl
jne 0x48ecfe
mov cl, byte [eax + 3]
or cl, cl
jne 0x48ecfe
mov cl, byte [eax + 4]
test cl, cl
jne 0x48ecfe
mov cl, byte [eax + 5]
or cl, cl
je 0x48ec4d
lea ecx, [esp + 0x4c]
mov ebx, dword [esp + 0x28c]
mov edx, dword [eax]
mov dword [ebx], edx
mov ax, word [eax + 4]
mov word [ebx + 4], ax
push ecx
call esi
lea edx, [esp + 0x64]
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call edi
pop esi
pop ebp
pop edi
pop ebx
xor eax, eax
add esp, 0x278
ret
lea edx, [esp + 0x4c]
push edx
call esi
lea eax, [esp + 0x64]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebx
pop esi
or eax, 0xffffffff
pop ebp
pop edi
pop ebx
sub esp, 0xfffffd88
ret