Function at 0x4252a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
xor ebp, ebp
push edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
call fcn.00419d30
test eax, eax
mov edi, dword [esp + 0x18]
je 0x425311
push 0x3a9
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0x3a9
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
push edi
push str.netsnmp_getenv_called_with_name:__s_n
push str.read_config
call fcn.00419d00
push edi
push str.netsnmp_getenv_called_with_name:__s_n
push str.read_config
call fcn.00419bb0
add esp, 0x38
cmp edi, ebp
jne 0x42531d
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret
push esi
push edi
call fcn.0044f282
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x425394
call fcn.00419d30
test eax, eax
je 0x42556c
push 0x3b2
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0x3b2
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
push esi
push str.netsnmp_getenv_will_return_from_ENV:__s_n
push str.read_config
call fcn.00419d00
push esi
push str.netsnmp_getenv_will_return_from_ENV:__s_n
push str.read_config
call fcn.00419bb0
add esp, 0x38
jmp 0x42556c
push ebx
lea eax, [esp + 0x10]
push eax
push 1
push ebp
push str.SOFTWARENet_SNMP
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x425474
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push edi
push eax
call ebx
test eax, eax
jne 0x4253fe
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.0044e481
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x14]
push edx
mov ebp, eax
push ebp
lea eax, [esp + 0x20]
push eax
push 0
push edi
push ecx
call ebx
mov esi, ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x425474
call fcn.00419d30
test eax, eax
je 0x425552
push 0x3db
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0x3db
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
push esi
push str.netsnmp_getenv_will_return_from_HKCU:__s_n
push str.read_config
call fcn.00419d00
push esi
push str.netsnmp_getenv_will_return_from_HKCU:__s_n
push str.read_config
call fcn.00419bb0
add esp, 0x38
jmp 0x425552
lea eax, [esp + 0x10]
push eax
push 1
push 0
push str.SOFTWARENet_SNMP
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42554e
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x20]
push edi
push eax
call ebx
test eax, eax
jne 0x4254e1
test ebp, ebp
je 0x4254ba
push ebp
call fcn.0044ca3f
add esp, 4
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.0044e481
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x14]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x20]
push eax
push 0
push edi
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x42556b
call fcn.00419d30
test eax, eax
je 0x42554e
push 0x406
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0x406
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
push esi
push str.netsnmp_getenv_will_return_from_HKLM:__s_n
push str.read_config
call fcn.00419d00
push esi
push str.netsnmp_getenv_will_return_from_HKLM:__s_n
push str.read_config
call fcn.00419bb0
add esp, 0x38
test esi, esi
je 0x42556b
push 1
push esi
push edi
call fcn.00409100
add esp, 0xc
test esi, esi
je 0x42556b
push esi
call fcn.0044ca3f
add esp, 4
pop ebx
call fcn.00419d30
test eax, eax
pop esi
je 0x4255d7
push 0x40f
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0x40f
push str....._snmplib_tools.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
push edi
call fcn.0044f282
push eax
push str.netsnmp_getenv_returning:__s_n
push str.read_config
call fcn.00419d00
push edi
call fcn.0044f282
push eax
push str.netsnmp_getenv_returning:__s_n
push str.read_config
call fcn.00419bb0
add esp, 0x40
push edi
call fcn.0044f282
add esp, 4
pop edi
pop ebp
add esp, 0xc
ret