Function at 0x48ab30
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3053
mov eax, dword fs:[0]
push eax
mov eax, 0x526c
call fcn.0056e430
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 - 0x5264], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push ecx
push str.TcpmonIniInfo::GetTcpipPortInfoFromSysDesc
lea ecx, [ebp - 0x5248]
mov dword [ebp - 0x5270], eax
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48ac0d
test byte [ecx + 0x1c], 1
je 0x48abd2
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, 0xe
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x48ac0d
test byte [ecx + 0x1c], 1
je 0x48ac0d
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, 0xf
call fcn.00405920
add esp, 0x10
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x48b0fd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x525c], eax
mov byte [ebp - 4], 1
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x48b107
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5258], esi
push 0x5000
lea eax, [ebp - 0x5210]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00571c00
add esp, 0xc
mov dword [ebp - 0x5260], 0
lea eax, [ebp - 0x5210]
mov byte [ebp - 0x5249], 0
push 0x2800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x5210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ac91
sub ecx, edx
lea eax, [ebp - 0x5210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x525c]
call fcn.00403bb0
push 0xb
push str._tcpmon.ini
lea ecx, [ebp - 0x525c]
call fcn.00405fe0
push edi
lea ecx, [ebp - 0x5268]
call fcn.00403320
lea eax, [ebp - 0x5268]
mov byte [ebp - 4], 3
push eax
mov edx, 0x5cb1a4
lea ecx, [ebp - 0x5250]
call fcn.00415af0
push 0x5cb1a4
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5254]
call fcn.0042af40
add esp, 8
mov byte [ebp - 4], 5
lea edi, [esi - 0x10]
mov edx, dword [eax]
or ebx, 0xffffffff
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x48ad65
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x48ad50
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x48ad50
call fcn.00403af0
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x48ad42
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea esi, [ebx + 0x10]
or ebx, 0xffffffff
mov dword [ebp - 0x5258], esi
jmp 0x48ad65
push dword [edx - 0xc]
lea ecx, [ebp - 0x5258]
push edx
call fcn.00403bb0
mov esi, dword [ebp - 0x5258]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x5254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ad86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x5250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ada7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x608f30]
mov edi, dword [ebp - 0x525c]
cmp ecx, 0x608f30
je 0x48ae2f
test byte [ecx + 0x1c], 4
je 0x48adf4
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, 0x10
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp ecx, 0x608f30
je 0x48ae2f
test byte [ecx + 0x1c], 4
je 0x48ae2f
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5d09dc
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x11
call fcn.00405920
add esp, 0x10
push edi
push 0x2800
lea eax, [ebp - 0x5210]
push eax
push 0x5c6930
push 0
push str.Ports
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x48b02c
cmp word [ebp - 0x5210], 0
lea edx, [ebp - 0x5210]
mov dword [ebp - 0x5254], edx
je 0x48b02c
cmp byte [ebp - 0x5249], 0
jne 0x48b029
mov ecx, dword [ebp - 0x5264]
push esi
push edx
call fcn.0048b710
test eax, eax
je 0x48affa
push edi
push 0xff
lea eax, [ebp - 0x210]
push eax
push 0x5c6930
push dword [ebp - 0x5254]
push str.Ports
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48aefc
test byte [ecx + 0x1c], 4
je 0x48aefc
cmp dword [0x608f68], 8
lea edx, [ebp - 0x210]
push edx
mov eax, 0x608f54
mov edx, 0x5d09dc
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x12
call fcn.00405920
add esp, 0x10
call fcn.00550b4e
test eax, eax
je 0x48b0fd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x5250], eax
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x48af3b
movzx eax, ax
lea ecx, [ebp - 0x5250]
push eax
call fcn.00403020
jmp 0x48af66
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48af44
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5250]
call fcn.00403bb0
push dword [ebp - 0x5270]
mov byte [ebp - 4], 7
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x5250]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x5278], esp
mov ebx, esp
mov ecx, eax
mov dword [ebp - 0x526c], ebx
mov dword [ebp - 0x526c], eax
call fcn.00403af0
add eax, 0x10
mov dword [ebx], eax
push ecx
mov ebx, esp
mov byte [ebp - 4], 8
lea ecx, [edi - 0x10]
mov dword [ebp - 0x5274], ebx
call fcn.00403af0
mov ecx, dword [ebp - 0x5264]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
call fcn.0048b120
test eax, eax
je 0x48afdb
mov byte [ebp - 0x5249], 1
mov dword [ebp - 0x5260], 1
mov edx, dword [ebp - 0x526c]
or eax, 0xffffffff
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48affa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5254]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48b005
sub eax, ebx
sar eax, 1
lea edx, [edx + eax*2]
add edx, 2
mov dword [ebp - 0x5254], edx
cmp word [edx], cx
jne 0x48ae70
or ebx, 0xffffffff
mov byte [ebp - 0x5244], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48b079
test byte [ecx + 0x1c], 1
je 0x48b079
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [ebp - 0x5260]
cmovae eax, dword [0x608f54]
mov edx, 0x5d09dc
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x13
call fcn.004018a0
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x5268]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b09a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48b0b5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48b0ce
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x5248]
call fcn.0040a570
mov eax, dword [ebp - 0x5260]
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 0xc
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
int3