Function at 0x1004a910
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x1008f414]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [ebp + 8]
mov edx, 3
mov ecx, 6
push ebx
mov ebx, 2
push esi
mov esi, 1
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xb8], ecx
mov ecx, 0xa
lea edx, [esp + 0x94]
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc0]
lea edx, [esp + 0x78]
push str.inetmib1.dll
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc4], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], 8
mov dword [esp + 0x48], edx
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0x20
mov dword [esp + 0x10], eax
jae 0x1004aa67
mov eax, 0x45a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.10050837
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SnmpExtensionInit
push eax
call edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
push str.SnmpExtensionInitEx
push eax
call edi
mov ecx, dword [esp + 0x10]
push str.SnmpExtensionQuery
push ecx
call edi
mov edx, dword [esp + 0x10]
push str.SnmpExtensionTrap
push edx
mov dword [esp + 0x34], eax
call edi
mov eax, dword [esp + 0x10]
push str.SnmpExtensionClose
push eax
call edi
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0xec]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [esp + 0x40]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x64], ecx
lea eax, [esp + 0x48]
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], eax
xor eax, eax
push ecx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x30], esi
call sub.snmpapi.dll_SnmpUtilOidCpy
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0xa1
call esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x30], ebx
call sub.snmpapi.dll_SnmpUtilOidCpy
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x64]
push eax
call sub.snmpapi.dll_SnmpUtilOidCpy
mov edi, dword [ebp + 0xc]
mov bl, 0x54
jmp 0x1004ab40
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x2c]
push eax
push 0xa1
call esi
test al, al
je 0x1004ac51
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x50]
push eax
call sub.snmpapi.dll_SnmpUtilOidNCmp
test eax, eax
jne 0x1004ac51
cmp dword [esp + 0x54], 6
jne 0x1004ab40
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x68]
push eax
call sub.snmpapi.dll_SnmpUtilOidNCmp
test eax, eax
jne 0x1004ac51
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1004ab40
mov cl, byte [eax]
cmp cl, 0x44
jne 0x1004abc7
cmp byte [eax + 1], 0x45
jne 0x1004abc7
cmp byte [eax + 2], 0x53
jne 0x1004abc7
cmp byte [eax + 3], bl
jne 0x1004abc7
cmp byte [eax + 4], 0
je 0x1004ab40
test cl, cl
jne 0x1004abe8
cmp byte [eax + 1], cl
jne 0x1004abe8
cmp byte [eax + 2], cl
jne 0x1004abe8
cmp byte [eax + 3], cl
jne 0x1004abe8
cmp byte [eax + 4], cl
jne 0x1004abe8
cmp byte [eax + 5], cl
je 0x1004ab40
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 + 0x110]
push 0xd
push edx
call fcn.100011f2
mov ecx, dword [esp + 0x5c]
add esp, 0x24
lea eax, [esp + 0xf4]
push eax
push edi
push ecx
call fcn.1001961e
test eax, eax
je 0x1004ab40
mov eax, 0x7a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.10050837
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x48]
push eax
call sub.snmpapi.dll_SnmpUtilVarBindFree
lea ecx, [esp + 0x60]
push ecx
call sub.snmpapi.dll_SnmpUtilVarBindFree
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10050837
mov esp, ebp
pop ebp
ret