Function at 0x4133bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4458e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x460
mov dword [ebp - 0x450], ecx
push 0x104
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.00420250
add esp, 0xc
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x22c], 0x104
lea ecx, [ebp - 0x334]
call fcn.00404460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.00404460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00404460
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x413449
cmp dword [ebp + 0xc], 0
jne 0x41347e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.00437020
jmp 0x4137a0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x32c]
push edx
mov ecx, dword [ebp - 0x450]
call fcn.0041290e
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x120]
call fcn.004371a9
mov dword [ebp - 0x228], 0
jmp 0x4134c1
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
mov ecx, 0x462a44
call fcn.004045b0
cmp dword [ebp - 0x228], eax
jge 0x413650
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x228]
push eax
lea ecx, [ebp - 0x43c]
push ecx
mov ecx, 0x462a44
call fcn.004044e0
mov dword [ebp - 0x454], eax
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x458], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
push ecx
push str._IN_GetIPAddressByName____Compare_Monitor_Name_:__s__Curent_Monitor_Name_:__s
call fcn.00401000
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x43c]
call fcn.00437020
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x228]
push eax
lea ecx, [ebp - 0x444]
push ecx
mov ecx, 0x462a44
call fcn.004044e0
mov dword [ebp - 0x45c], eax
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x460], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x460]
push eax
call fcn.004137e0
mov byte [ebp - 0x440], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x444]
call fcn.00437020
mov ecx, dword [ebp - 0x440]
and ecx, 0xff
test ecx, ecx
je 0x41364b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x228]
push eax
lea ecx, [ebp - 0x448]
push ecx
mov ecx, 0x462a58
call fcn.004044e0
mov dword [ebp - 0x464], eax
mov edx, dword [ebp - 0x464]
mov eax, dword [edx]
push eax
push str._s_s
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00420bf4
add esp, 0x10
lea ecx, [ebp - 0x448]
call fcn.00437020
push 0x104
mov edx, dword [ebp - 0x228]
push edx
lea eax, [ebp - 0x44c]
push eax
mov ecx, 0x462a6c
call fcn.004044e0
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x46c], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x46c]
call fcn.004044d0
push eax
lea edx, [ebp - 0x224]
push edx
call fcn.004219e0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44c]
call fcn.00437020
mov dword [ebp - 0x10], 1
jmp 0x413650
jmp 0x4134b2
cmp dword [ebp - 0x10], 0
jne 0x413698
push str.mismatch_network_port
call fcn.00401000
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.00437020
jmp 0x4137a0
lea eax, [ebp - 0x11c]
push eax
push str.GetPrinterIPfromRegistry:_cszRegPath_s_n
call fcn.00401000
add esp, 8
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x11c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41375f
push str.Success_Open_reg_Key_IP_Ports_
call fcn.00401000
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x22c], 0x104
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push str.SNMP_Community
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41373f
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004207d0
add esp, 8
mov eax, dword [ebp - 0x330]
push eax
push str._SNMP_Community__SNMP_Community_is__s
call fcn.00401000
add esp, 8
jmp 0x41375d
push str._SNMP_Community__Cant_query_ip_reg_value___default_:_public
call fcn.00401000
add esp, 4
push 0x4579c8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004207d0
add esp, 8
jmp 0x413770
push str.public
mov edx, dword [ebp + 8]
push edx
call fcn.004207d0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.00437020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8