Function at 0x4e4bd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a96a1
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], ecx
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ecx
push str.CBaseInfoEnvIni::LoadTcpipPortSetting
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x268], eax
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4e4c6e
test byte [ecx + 0x1c], 1
je 0x4e4c6e
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d9c30
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x29
call fcn.00401840
add esp, 0xc
push ebx
lea ecx, [ebp - 0x270]
call fcn.00403320
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4e4cd1
push esi
mov edx, 0x5cf8cc
lea ecx, [ebp - 0x26c]
call fcn.00415af0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00405fe0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e4cd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x22c], str.ProtocolType
xor ebx, ebx
mov dword [ebp - 0x228], str.DoubleSpool
mov esi, 1
mov dword [ebp - 0x224], str.Queue
mov dword [ebp - 0x220], str.PortNumber
mov dword [ebp - 0x21c], str.SNMPCommunity
mov dword [ebp - 0x218], str.SNMPEnabled
mov dword [ebp - 0x214], str.SNMPDevIndex
nop
test dword [edi], esi
ja case.0x4e4da7.3
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00571c00
mov eax, dword [ebp - 0x278]
add esp, 0xc
add eax, 0x1a78
push eax
push 0x100
lea eax, [ebp - 0x210]
push eax
push 0x5c6930
push dword [ebp + ebx*4 - 0x22c]
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push 0x5c6930
push eax
call fcn.00574f99
add esp, 8
test eax, eax
je case.0x4e4da7.3
lea eax, [esi - 1]
mov dword [ebp - 0x26c], 0
cmp eax, 0x3f
ja case.0x4e4da7.3
movzx eax, byte [eax + 0x4e506c]
jmp dword [eax*4 + 0x4e504c]
lea eax, [ebp - 0x210]
push 0x5cc4b8
push eax
call fcn.00574f99
add esp, 8
test eax, eax
jne 0x4e4ddb
mov eax, dword [ebp - 0x268]
mov dword [eax + 0x84], 1
jmp 0x4e4fa3
lea eax, [ebp - 0x210]
push 0x5cc4b0
push eax
call fcn.00574f99
add esp, 8
test eax, eax
jne case.0x4e4da7.3
mov eax, dword [ebp - 0x268]
mov dword [eax + 0x84], 2
jmp 0x4e4fa3
lea eax, [ebp - 0x210]
push 0x5ca984
push eax
call fcn.00574f99
add esp, 8
test eax, eax
jne 0x4e4e39
mov eax, dword [ebp - 0x268]
mov dword [eax + 0x134], 1
jmp 0x4e4fa3
lea eax, [ebp - 0x210]
push 0x5ca378
push eax
call fcn.00574f99
add esp, 8
test eax, eax
jne case.0x4e4da7.3
mov eax, dword [ebp - 0x268]
mov dword [eax + 0x134], 0
jmp 0x4e4fa3
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x268]
add eax, 0x138
push 0x21
push eax
call fcn.005746e6
add esp, 0xc
jmp 0x4e4fa3
push 0xa
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.005809d5
mov edx, dword [ebp - 0x26c]
add esp, 0xc
mov dword [ebp - 0x274], eax
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4e4eb3
sub edx, eax
sar edx, 1
jne case.0x4e4da7.3
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x274]
mov dword [eax + 0x3b8], ecx
jmp 0x4e4fa3
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x268]
add eax, 0xf2
push 0x21
push eax
call fcn.005746e6
add esp, 0xc
jmp 0x4e4fa3
lea eax, [ebp - 0x210]
push 0x5ca984
push eax
call fcn.00574f99
add esp, 8
test eax, eax
jne 0x4e4f2b
mov eax, dword [ebp - 0x268]
mov dword [eax + 0x3bc], 1
jmp 0x4e4fa3
lea eax, [ebp - 0x210]
push 0x5ca378
push eax
call fcn.00574f99
add esp, 8
test eax, eax
jne case.0x4e4da7.3
mov eax, dword [ebp - 0x268]
mov dword [eax + 0x3bc], 0
jmp 0x4e4fa3
push 0xa
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.005809d5
mov edx, dword [ebp - 0x26c]
add esp, 0xc
mov dword [ebp - 0x274], eax
lea eax, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4e4f80
sub edx, eax
sar edx, 1
jne case.0x4e4da7.3
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x274]
mov dword [eax + 0x3c0], ecx
or dword [edi], esi
inc ebx
rol esi, 1
cmp ebx, 7
jb 0x4e4d20
mov byte [ebp - 0x260], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4e4ffa
test byte [ecx + 0x1c], 1
je 0x4e4ffa
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov edx, 0x5d9c30
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2a
call fcn.004018a0
add esp, 0x10
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e501c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x264]
call fcn.0040a570
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 0x10