Function at 0x48b120
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3090
mov eax, dword fs:[0]
push eax
sub esp, 0x450
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 edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
push ecx
push str.TcpmonIniInfo::ReadPortInfoFromSection
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 1
call fcn.0040a480
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48b1f2
test byte [ecx + 0x1c], 1
je 0x48b1b2
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d09dc
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x14
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x48b1f2
test byte [ecx + 0x1c], 1
je 0x48b1f2
push dword [ebp + 0xc]
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [ebp + 8]
cmovae eax, dword [0x608f54]
mov edx, 0x5d09dc
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x15
call fcn.00430170
add esp, 0x14
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00571c00
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
add esp, 0xc
push dword [ebp + 8]
push 0x208
push eax
push 0x5c6930
push str.NAME
push dword [ebp + 0xc]
call ebx
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48b26d
test byte [ecx + 0x1c], 4
je 0x48b26d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5d09dc
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x16
call fcn.00405920
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x5c6930
push str.PORTS
push dword [ebp + 0xc]
call ebx
lea eax, [ebp - 0x420]
push eax
call fcn.00577bb7
mov edx, eax
add esp, 4
mov dword [edi + 0x410], edx
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48b2e3
test byte [ecx + 0x1c], 4
je 0x48b2e3
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edx
cmovae eax, dword [0x608f54]
mov edx, 0x5d09dc
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x17
call fcn.004018a0
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x5c6930
push str.PROTOCOL1
push dword [ebp + 0xc]
call ebx
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b310
sub ecx, edx
sar ecx, 1
je 0x48b33f
lea eax, [ebp - 0x420]
push eax
lea eax, [edi + 0x414]
push 0x104
push eax
call fcn.005746e6
add esp, 0xc
or dword [esi], 1
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x48b386
test byte [edx + 0x1c], 4
je 0x48b386
cmp dword [0x608f68], 8
lea eax, [edi + 0x414]
push eax
mov ecx, 0x608f54
cmovae ecx, dword [0x608f54]
push ecx
push dword [edx + 0x14]
mov ecx, 0x18
push dword [edx + 0x10]
mov edx, 0x5d09dc
call fcn.00405920
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x5c6930
push str.PORTNUMBER1
push dword [ebp + 0xc]
call ebx
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b3b0
sub ecx, edx
sar ecx, 1
je 0x48b3d9
lea eax, [ebp - 0x420]
push eax
call fcn.00577bb7
add esp, 4
mov dword [edi + 0x824], eax
or dword [esi], 8
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48b41f
test byte [ecx + 0x1c], 4
je 0x48b41f
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [edi + 0x824]
cmovae eax, dword [0x608f54]
mov edx, 0x5d09dc
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x19
call fcn.004018a0
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x5c6930
push str.SNMP1
push dword [ebp + 0xc]
call ebx
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b446
sub ecx, edx
sar ecx, 1
je 0x48b49b
mov ecx, 0x5c7da0
lea eax, [ebp - 0x420]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48b488
test dx, dx
je 0x48b484
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48b488
add eax, 4
add ecx, 4
test dx, dx
jne 0x48b462
xor eax, eax
jmp 0x48b48d
sbb eax, eax
or eax, 1
test eax, eax
sete al
mov byte [edi + 0x828], al
or dword [esi], 0x20
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x48b4e3
test byte [edx + 0x1c], 4
je 0x48b4e3
cmp dword [0x608f68], 8
mov ecx, 0x608f54
movzx eax, byte [edi + 0x828]
cmovae ecx, dword [0x608f54]
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x1a
push dword [edx + 0x10]
mov edx, 0x5d09dc
call fcn.004018a0
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x5c6930
push str.QUEUE1
push dword [ebp + 0xc]
call ebx
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b510
sub ecx, edx
sar ecx, 1
je 0x48b53f
lea eax, [ebp - 0x420]
push eax
lea eax, [edi + 0x61c]
push 0x104
push eax
call fcn.005746e6
add esp, 0xc
or dword [esi], 4
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x48b586
test byte [edx + 0x1c], 4
je 0x48b586
cmp dword [0x608f68], 8
lea eax, [edi + 0x61c]
push eax
mov ecx, 0x608f54
cmovae ecx, dword [0x608f54]
push ecx
push dword [edx + 0x14]
mov ecx, 0x1b
push dword [edx + 0x10]
mov edx, 0x5d09dc
call fcn.00405920
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x5c6930
push str.LPRDspool1
push dword [ebp + 0xc]
call ebx
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b5b0
sub ecx, edx
sar ecx, 1
je 0x48b609
mov ecx, 0x5c79bc
lea eax, [ebp - 0x420]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48b5f6
test dx, dx
je 0x48b5f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48b5f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x48b5d0
xor eax, eax
jmp 0x48b5fb
sbb eax, eax
or eax, 1
test eax, eax
sete al
mov byte [edi + 0x829], al
or dword [esi], 2
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x48b657
test byte [edx + 0x1c], 4
je 0x48b657
cmp dword [0x608f68], 8
mov ecx, 0x608f54
movzx eax, byte [edi + 0x829]
cmovae ecx, dword [0x608f54]
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x1c
push dword [edx + 0x10]
mov edx, 0x5d09dc
call fcn.004018a0
mov edx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0x454], 1
cmp edx, 0x608f30
je 0x48b69a
test byte [edx + 0x1c], 1
je 0x48b69a
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov ecx, 0x1d
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5d09dc
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x458]
call fcn.0040a570
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b6c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48b6e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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