Function at 0x1000cd40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [0x100215e0]
mov dword [esp + 0xf0], eax
mov eax, 3
mov ecx, 6
push ebx
mov ebx, 2
push esi
mov esi, 1
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0xb0], ecx
mov eax, 0xa
lea ecx, [esp + 0x8c]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], eax
lea edx, [esp + 0xb8]
lea eax, [esp + 0x70]
push str.inetmib1.dll
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], 8
mov dword [esp + 0x40], eax
mov byte [ecx], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0x20
mov dword [esp + 0xc], eax
jae 0x1000ce8f
mov eax, 0x45a
mov ecx, dword [esp + 0xfc]
call fcn.1000e24e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SnmpExtensionInit
push eax
call edi
mov edx, dword [esp + 0xc]
push str.SnmpExtensionInitEx
push edx
mov dword [esp + 0x34], eax
call edi
mov eax, dword [esp + 0xc]
push str.SnmpExtensionQuery
push eax
call edi
mov ecx, dword [esp + 0xc]
push str.SnmpExtensionTrap
push ecx
mov dword [esp + 0x3c], eax
call edi
mov edx, dword [esp + 0xc]
push str.SnmpExtensionClose
push edx
call edi
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [esp + 0x38]
xor eax, eax
xor ecx, ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], ecx
push eax
mov ecx, edx
push ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
call sub.snmpapi.dll_SnmpUtilOidCpy
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0xa1
call edi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x2c], ebx
call sub.snmpapi.dll_SnmpUtilOidCpy
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x5c]
push edx
call sub.snmpapi.dll_SnmpUtilOidCpy
mov esi, dword [ebp + 0xc]
mov bl, 0x54
mov edi, edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
push 0xa1
call edi
test al, al
je 0x1000d081
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x48]
push edx
call sub.snmpapi.dll_SnmpUtilOidNCmp
test eax, eax
jne 0x1000d081
cmp dword [esp + 0x4c], 6
jne 0x1000cf60
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x60]
push edx
call sub.snmpapi.dll_SnmpUtilOidNCmp
test eax, eax
jne 0x1000d081
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1000cf60
mov cl, byte [eax]
cmp cl, 0x44
jne 0x1000cfe8
cmp byte [eax + 1], 0x45
jne 0x1000cfe8
cmp byte [eax + 2], 0x53
jne 0x1000cfe8
cmp byte [eax + 3], bl
jne 0x1000cfe8
mov dl, byte [eax + 4]
test dl, dl
je 0x1000cf60
test cl, cl
jne 0x1000d013
mov dl, byte [eax + 1]
test dl, dl
jne 0x1000d013
mov dl, byte [eax + 2]
test dl, dl
jne 0x1000d013
mov dl, byte [eax + 3]
test dl, dl
jne 0x1000d013
mov dl, byte [eax + 4]
test dl, dl
jne 0x1000d013
mov dl, byte [eax + 5]
test dl, dl
je 0x1000cf60
movzx edx, byte [eax + 5]
push edx
movzx edx, byte [eax + 4]
push edx
movzx edx, byte [eax + 3]
push edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 1]
push edx
push eax
movzx ecx, cl
push ecx
push str._02x_02x_02x_02x_02x_02x
lea edx, [esp + 0x108]
push 0xd
push edx
call fcn.100015a7
add esp, 0x24
cmp esi, 0x7fffffff
ja 0x1000d069
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xec]
push eax
push esi
push ecx
call fcn.10001de0
test eax, eax
je 0x1000cf60
mov eax, 0x7a
mov ecx, dword [esp + 0xfc]
call fcn.1000e24e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x40]
push eax
call sub.snmpapi.dll_SnmpUtilVarBindFree
lea ecx, [esp + 0x58]
push ecx
call sub.snmpapi.dll_SnmpUtilVarBindFree
mov ecx, dword [esp + 0xfc]
xor eax, eax
call fcn.1000e24e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret