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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x394
mov eax, dword [0x101b441c]
xor eax, esp
mov dword [esp + 0x390], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
mov dword [edi], eax
push 0x40
push eax
mov word [edi + 4], ax
lea eax, [esp + 0x108]
push eax
mov dword [esp + 0x24], edi
call fcn.100b0390
add esp, 0xc
lea ecx, [esp + 0x100]
push ecx
mov byte [esp + 0x104], 0x32
mov byte [esp + 0x134], 0
call sub.NETAPI32.dll_Netbios
test al, al
jne 0x1001d298
push 0x40
lea edx, [esp + 0x104]
push 0
push edx
call fcn.100b0390
mov eax, 0x2a
mov word [esp + 0x116], ax
add esp, 0xc
lea eax, [esp + 0x100]
lea ecx, [esp + 0x140]
mov edx, 0x258
push eax
mov byte [esp + 0x104], 0x33
mov byte [esp + 0x134], 0
mov dword [esp + 0x108], ecx
mov word [esp + 0x10c], dx
call sub.NETAPI32.dll_Netbios
test al, al
jne 0x1001d298
movzx eax, byte [esp + 0x142]
movzx ecx, byte [esp + 0x140]
movzx edx, byte [esp + 0x141]
mov byte [edi + 2], al
movzx eax, byte [esp + 0x145]
mov byte [edi], cl
movzx ecx, byte [esp + 0x143]
mov byte [edi + 1], dl
movzx edx, byte [esp + 0x144]
mov byte [edi + 5], al
mov byte [edi + 3], cl
mov byte [edi + 4], dl
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x390]
xor ecx, esp
call fcn.100aefaf
mov esp, ebp
pop ebp
ret
push str.snmpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [esp + 0x44], esi
cmp esi, 0x20
jb 0x1001d596
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SnmpUtilOidCpy
push esi
call ebx
push str.SnmpUtilOidNCmp
push esi
mov dword [esp + 0x3c], eax
call ebx
push str.SnmpUtilVarBindFree
push esi
mov dword [esp + 0x1c], eax
call ebx
push str.inetmib1.dll
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], eax
cmp eax, 0x20
jb 0x1001d58f
mov esi, 1
mov edx, 3
mov ecx, 6
mov edi, 2
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xf0], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xc8], ecx
mov ecx, 0xa
lea edx, [esp + 0xa4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
push str.SnmpExtensionInit
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x88]
push eax
mov dword [esp + 0xd4], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], 8
mov dword [esp + 0x58], edx
call ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
push str.SnmpExtensionQuery
push eax
call ebx
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0xf8]
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [esp + 0x44]
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], eax
xor eax, eax
push ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x38]
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x74], eax
call esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
push 0xa1
call ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x28], edi
call esi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x70]
push eax
call esi
lea esp, [esp]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x24]
push eax
push 0xa1
call ebx
test al, al
je 0x1001d56a
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x5c]
push eax
call dword [esp + 0x20]
test eax, eax
jne 0x1001d56a
cmp dword [esp + 0x60], 6
jne 0x1001d4a0
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x74]
push eax
call dword [esp + 0x20]
test eax, eax
jne 0x1001d56a
mov eax, dword [esp + 0x78]
test eax, eax
je 0x1001d4a0
mov cl, byte [eax]
cmp cl, 0x44
jne 0x1001d51e
cmp byte [eax + 1], 0x45
jne 0x1001d51e
cmp byte [eax + 2], 0x53
jne 0x1001d51e
cmp byte [eax + 3], 0x54
jne 0x1001d51e
cmp byte [eax + 4], 0
je 0x1001d4a0
test cl, cl
jne 0x1001d53f
cmp byte [eax + 1], cl
jne 0x1001d53f
cmp byte [eax + 2], cl
jne 0x1001d53f
cmp byte [eax + 3], cl
jne 0x1001d53f
cmp byte [eax + 4], cl
jne 0x1001d53f
cmp byte [eax + 5], cl
je 0x1001d4a0
movzx edx, byte [eax]
mov ecx, dword [esp + 0x18]
mov byte [ecx], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 2]
mov byte [ecx + 2], dl
movzx edx, byte [eax + 3]
mov byte [ecx + 3], dl
movzx edx, byte [eax + 4]
mov byte [ecx + 4], dl
mov al, byte [eax + 5]
mov byte [ecx + 5], al
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x54]
push edx
call esi
lea eax, [esp + 0x6c]
push eax
call esi
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x39c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100aefaf
mov esp, ebp
pop ebp
ret